"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.initGetTxTimestampResp = void 0;
const SchemaHelpers_1 = require("../../utils/serialization/SchemaHelpers");
const schemaGetTxTimestampResp = {
    type: 'object',
    properties: {
        txId: { type: 'string' },
        cycleCounter: { type: 'number' },
        cycleMarker: { type: 'string' },
        timestamp: { type: 'number' },
        sign: {
            type: 'object',
            properties: {
                owner: { type: 'string' },
                sig: { type: 'string' },
            },
        },
        isResponse: { type: 'boolean' },
    },
    required: ['txId', 'cycleCounter', 'cycleMarker', 'timestamp'],
};
function initGetTxTimestampResp() {
    addSchemaDependencies();
    addSchemas();
}
exports.initGetTxTimestampResp = initGetTxTimestampResp;
// Function to add schema dependencies
function addSchemaDependencies() {
    // No dependencies
}
// Function to register the schema
function addSchemas() {
    (0, SchemaHelpers_1.addSchema)('GetTxTimestampResp', schemaGetTxTimestampResp);
}
//# sourceMappingURL=GetTxTimestampResp.js.map