ajv-json-logic
Version:
JSON Logic integration for Ajv validator
38 lines (34 loc) • 959 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var $schema = "http://json-schema.org/draft-07/schema#";
var $id = "http://jsonlogic.com/schemas/common/pointer.json";
var title = "Pointer";
var description = "Schema to access properties of an object or items of an array by index.";
var oneOf = [
{
type: "string",
title: "Property",
description: "The key passed to var can use dot-notation to get the property of a property (to any depth you need):",
minLength: 1
},
{
type: "integer",
title: "Index",
description: "You can also use the var operator to access an array by numeric index.",
minimum: 0
}
];
var pointer = {
$schema: $schema,
$id: $id,
title: title,
description: description,
oneOf: oneOf
};
exports.$id = $id;
exports.$schema = $schema;
exports.default = pointer;
exports.description = description;
exports.oneOf = oneOf;
exports.title = title;
//# sourceMappingURL=pointer.json.cjs.map