@0xcert/conventions
Version:
Module with implementation of all confirmed conventions.
70 lines • 2.81 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.schema87 = void 0;
exports.schema87 = {
$schema: 'https://conventions.0xcert.org/xcert-schema.json',
description: 'Asset evidence schema.',
properties: {
$schema: {
description: 'A path to JSON Schema definition file.',
type: 'string',
},
data: {
description: 'Asset data evidence.',
items: {
type: 'object',
properties: {
nodes: {
description: 'A list of binary tree hash values.',
items: {
properties: {
index: {
description: 'A number representing the hash index in a binary tree.',
type: 'integer',
},
hash: {
description: 'A string representing the hash value in a binary tree.',
type: 'string',
},
},
type: 'object',
},
type: 'array',
},
path: {
description: 'A list of keys representing the JSON path.',
items: {
type: 'string',
},
type: 'array',
},
values: {
description: 'A list of binary tree values.',
items: {
properties: {
index: {
description: 'A number representing the value index in a binary tree.',
type: 'integer',
},
value: {
description: 'A string representing the value in a binary tree.',
type: 'string',
},
nonce: {
description: 'A string representing value secret.',
type: 'string',
},
},
type: 'object',
},
type: 'array',
},
},
},
type: 'array',
},
},
title: 'Asset evidence',
type: 'object',
};
//# sourceMappingURL=87-asset-evidence.js.map