"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.initRequestStateForTxPostReq = initRequestStateForTxPostReq;
const SchemaHelpers_1 = require("../../utils/serialization/SchemaHelpers");
const AJVSchemaEnum_1 = require("../enum/AJVSchemaEnum");
const schemaRequestStateForTxPostReq = {
    type: 'object',
    properties: {
        txid: { type: 'string' },
        timestamp: { type: 'number' },
        key: { type: 'string' },
        hash: { type: 'string' },
    },
    required: ['txid', 'timestamp', 'key', 'hash'],
};
function initRequestStateForTxPostReq() {
    addSchemaDependencies();
    addSchemas();
}
// Function to add schema dependencies
function addSchemaDependencies() {
    // No dependencies
}
// Function to register the schema
function addSchemas() {
    (0, SchemaHelpers_1.addSchema)(AJVSchemaEnum_1.AJVSchemaEnum.RequestStateForTxPostReq, schemaRequestStateForTxPostReq);
}
//# sourceMappingURL=RequestStateForTxPostReq.js.map