UNPKG

ajv-json-logic

Version:
41 lines (37 loc) 1.01 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var $schema = "http://json-schema.org/draft-07/schema#"; var $id = "http://jsonlogic.com/schemas/common/trinary-args.json"; var title = "Trinary Args"; var description = "Up to three args of valid JSON Logic data source."; var oneOf = [ { title: "Array", description: "An array with one or three elements.", type: "array", minItems: 1, maxItems: 3, items: { $ref: "http://jsonlogic.com/schemas/common/any.json" } }, { $ref: "http://jsonlogic.com/schemas/common/any-wo-array.json", title: "Single Arg", description: "Note: trinary operators can also take a single, non array argument:" } ]; var trinaryArgs = { $schema: $schema, $id: $id, title: title, description: description, oneOf: oneOf }; exports.$id = $id; exports.$schema = $schema; exports.default = trinaryArgs; exports.description = description; exports.oneOf = oneOf; exports.title = title; //# sourceMappingURL=trinary-args.json.cjs.map