UNPKG

ajv-json-logic

Version:
29 lines (27 loc) 797 B
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 }; export { $id, $schema, pointer as default, description, oneOf, title }; //# sourceMappingURL=pointer.json.js.map