UNPKG

ajv-json-logic

Version:
40 lines (38 loc) 617 B
var $defs = { conditionalObject: { type: "object", properties: { schema: { type: "object" }, rule: { $ref: "http://jsonlogic.com/schemas/json-logic.json" } }, required: [ "schema", "rule" ], additionalProperties: false } }; var oneOf = [ { type: "array", items: [ { $ref: "#/$defs/conditionalObject" } ], uniqueItems: true }, { $ref: "#/$defs/conditionalObject" } ]; var conditionalSchemaMetaSchema = { $defs: $defs, oneOf: oneOf }; export { $defs, conditionalSchemaMetaSchema as default, oneOf }; //# sourceMappingURL=conditional-schema.json.js.map