ajv-json-logic
Version:
JSON Logic integration for Ajv validator
55 lines (51 loc) • 1.13 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var $schema = "http://json-schema.org/draft-07/schema#";
var $id = "http://jsonlogic.com/schemas/operators/logic/notnot.json";
var title = "!!";
var description = "Double negation, or “cast to a boolean.” Takes a single argument.";
var type = "object";
var additionalProperties = false;
var required = [
"!!"
];
var properties = {
"!!": {
$ref: "http://jsonlogic.com/schemas/common/unary-arg.json"
}
};
var examples = [
{
"!!": [
[
]
]
},
{
"!!": [
"0"
]
}
];
var logicNotNot = {
$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 = logicNotNot;
exports.description = description;
exports.examples = examples;
exports.properties = properties;
exports.required = required;
exports.title = title;
exports.type = type;
//# sourceMappingURL=notnot.json.cjs.map