UNPKG

ajv-json-logic

Version:
66 lines (62 loc) 1.23 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var $schema = "http://json-schema.org/draft-07/schema#"; var $id = "http://jsonlogic.com/schemas/operators/numeric/less.json"; var title = "<"; var description = "Less than. You can use a special case of < to test that one value is exclusively between two others."; var type = "object"; var additionalProperties = false; var required = [ "<" ]; var properties = { "<": { $ref: "http://jsonlogic.com/schemas/common/trinary-args.json" } }; var examples = [ { "<": [ 1, 2 ] }, { "<": [ 1, 2, 3 ] }, { "<": [ 0, { "var": "temp" }, 100 ] } ]; var numericLess = { $schema: $schema, $id: $id, title: title, description: description, type: type, additionalProperties: additionalProperties, required: required, properties: properties, examples: examples }; exports.$id = $id; exports.$schema = $schema; exports.additionalProperties = additionalProperties; exports.default = numericLess; exports.description = description; exports.examples = examples; exports.properties = properties; exports.required = required; exports.title = title; exports.type = type; //# sourceMappingURL=less.json.cjs.map