UNPKG

@klayr/validator

Version:
65 lines 1.81 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.klayrmetaSchema = void 0; exports.klayrmetaSchema = { $schema: 'http://json-schema.org/draft-07/schema#', $id: 'http://klayr.xyz/klayr-schema/schema#', title: 'Klayr Schema', type: 'object', properties: { $schema: { type: 'string', const: 'http://klayr.xyz/klayr-schema/schema#', format: 'uri', }, $id: { type: 'string', format: 'uri-reference', }, title: { type: 'string', }, type: { type: 'string', const: 'object', }, properties: { type: 'object', propertyNames: { type: 'string', format: 'camelCase', }, additionalProperties: { anyOf: [ { $ref: '#/definitions/schema', }, { type: 'object', properties: { type: { type: 'string', enum: ['array', 'object'], }, }, }, ], }, }, required: { type: 'array', items: { type: 'string', }, uniqueItems: true, }, }, required: ['$id', '$schema', 'type', 'properties'], additionalProperties: false, definitions: { schema: { allOf: [{ $ref: 'http://json-schema.org/draft-07/schema#' }], }, }, }; //# sourceMappingURL=klayr_meta_schema.js.map