"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.initBroadcastStateReq = void 0;
const SchemaHelpers_1 = require("../../utils/serialization/SchemaHelpers");
const AJVSchemaEnum_1 = require("../enum/AJVSchemaEnum");
const WrappedDataResponse_1 = require("./WrappedDataResponse");
const schemaBroadcastStateReq = {
    type: 'object',
    properties: {
        txid: { type: 'string' },
        stateList: {
            type: 'array',
            items: WrappedDataResponse_1.schemaWrappedDataResponse,
        },
    },
    required: ['txid', 'stateList'],
};
function initBroadcastStateReq() {
    addSchemaDependencies();
    addSchemas();
}
exports.initBroadcastStateReq = initBroadcastStateReq;
function addSchemaDependencies() { }
function addSchemas() {
    (0, SchemaHelpers_1.addSchema)(AJVSchemaEnum_1.AJVSchemaEnum.BroadcastStateReq, schemaBroadcastStateReq);
}
//# sourceMappingURL=BroadcastStateReq.js.map