"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.shcemaRequestStateForTxReq = void 0;
exports.initRequestStateForTxReq = initRequestStateForTxReq;
const SchemaHelpers_1 = require("../../utils/serialization/SchemaHelpers");
const AJVSchemaEnum_1 = require("../enum/AJVSchemaEnum");
exports.shcemaRequestStateForTxReq = {
    type: 'object',
    properties: {
        txid: { type: 'string' },
        timestamp: { type: 'number' },
        keys: {
            type: 'array',
            items: { type: 'string' },
        },
    },
    required: ['txid', 'timestamp', 'keys'],
};
function initRequestStateForTxReq() {
    addSchemaDependencies();
    addSchemas();
}
function addSchemaDependencies() {
    // No dependencies
}
function addSchemas() {
    (0, SchemaHelpers_1.addSchema)(AJVSchemaEnum_1.AJVSchemaEnum.RequestStateForTxReq, exports.shcemaRequestStateForTxReq);
}
//# sourceMappingURL=RequestStateForTxReq.js.map