"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.initRequestReceiptForTxResp = exports.schemaRequestReceiptForTxResp = void 0;
const AJVSchemaEnum_1 = require("../enum/AJVSchemaEnum");
const RepairOOSAccountsReq_1 = require("./RepairOOSAccountsReq");
const SchemaHelpers_1 = require("../../utils/serialization/SchemaHelpers");
exports.schemaRequestReceiptForTxResp = {
    type: 'object',
    properties: {
        receipt: RepairOOSAccountsReq_1.schemaSignedReceipt,
        note: { type: 'string' },
        success: { type: 'boolean' },
    },
    required: ['receipt', 'note', 'success'],
};
function initRequestReceiptForTxResp() {
    addSchemaDependencies();
    addSchemas();
}
exports.initRequestReceiptForTxResp = initRequestReceiptForTxResp;
function addSchemaDependencies() {
    // No dependencies
}
function addSchemas() {
    (0, SchemaHelpers_1.addSchema)(AJVSchemaEnum_1.AJVSchemaEnum.RequestReceiptForTxResp, exports.schemaRequestReceiptForTxResp);
}
//# sourceMappingURL=RequestReceiptForTxResp.js.map