"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.initGetAppliedVoteResp = exports.schemaGetAppliedVoteResp = void 0;
const AJVSchemaEnum_1 = require("../enum/AJVSchemaEnum");
const RepairOOSAccountsReq_1 = require("./RepairOOSAccountsReq");
const SchemaHelpers_1 = require("../../utils/serialization/SchemaHelpers");
exports.schemaGetAppliedVoteResp = {
    type: 'object',
    properties: {
        txId: { type: 'string' },
        appliedVote: RepairOOSAccountsReq_1.schemaAppliedVote,
        appliedVoteHash: { type: 'string' },
    },
    required: ['txId', 'appliedVote', 'appliedVoteHash'],
};
function initGetAppliedVoteResp() {
    addSchemaDependencies();
    addSchemas();
}
exports.initGetAppliedVoteResp = initGetAppliedVoteResp;
function addSchemaDependencies() {
    // No dependencies
}
function addSchemas() {
    (0, SchemaHelpers_1.addSchema)(AJVSchemaEnum_1.AJVSchemaEnum.GetAppliedVoteResp, exports.schemaGetAppliedVoteResp);
}
//# sourceMappingURL=GetAppliedVoteResp.js.map