UNPKG

ajv-json-logic

Version:
32 lines (30 loc) 823 B
var $schema = "http://json-schema.org/draft-07/schema#"; var $id = "http://jsonlogic.com/schemas/common/unary-arg.json"; var title = "Unary Arg"; var description = "Only one valid JSON Logic data source."; var oneOf = [ { title: "Single Array", description: "An array with just one element.", type: "array", minItems: 1, maxItems: 1, items: { $ref: "http://jsonlogic.com/schemas/common/any.json" } }, { $ref: "http://jsonlogic.com/schemas/common/any-wo-array.json", title: "Single Arg", description: "Note: unary operators can also take a single, non array argument:" } ]; var unaryArg = { $schema: $schema, $id: $id, title: title, description: description, oneOf: oneOf }; export { $id, $schema, unaryArg as default, description, oneOf, title }; //# sourceMappingURL=unary-arg.json.js.map