ajv-json-logic
Version:
JSON Logic integration for Ajv validator
61 lines (57 loc) • 1.43 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var $schema = "http://json-schema.org/draft-07/schema#";
var $id = "http://jsonlogic.com/schemas/operators/array/none.json";
var title = "none";
var description = "These operations take an array, and perform a test on each member of that array.\nThe most interesting part of these operations is that inside the test code, var operations are relative to the array element being tested.\nIt can be useful to use {\"var\":\"\"} to get the entire array element within the test.";
var type = "object";
var additionalProperties = false;
var required = [
"none"
];
var properties = {
none: {
$ref: "http://jsonlogic.com/schemas/common/binary-args.json"
}
};
var examples = [
{
none: [
[
-3,
-2,
-1
],
{
">": [
{
"var": ""
},
0
]
}
]
}
];
var arrayNone = {
$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 = arrayNone;
exports.description = description;
exports.examples = examples;
exports.properties = properties;
exports.required = required;
exports.title = title;
exports.type = type;
//# sourceMappingURL=none.json.cjs.map