| { |
| "$id": "https://unomi.apache.org/schemas/json/item/1-0-0", |
| "$schema": "https://json-schema.org/draft/2019-09/schema", |
| "self":{ |
| "vendor":"org.apache.unomi", |
| "name": "item", |
| "format":"jsonschema", |
| "version":"1-0-0" |
| }, |
| "title": "Item", |
| "type": "object", |
| "properties" : { |
| "itemId" : { |
| "type" : ["null","string"], |
| "pattern" : "^(\\w|[-_@\\.]){0,60}$", |
| "description" : "The identifier for the item" |
| }, |
| "itemType" : { |
| "type" : "string", |
| "description" : "The type for the item" |
| }, |
| "scope" : { |
| "type" : ["null","string"], |
| "description" : "The item's scope" |
| }, |
| "version" : { |
| "type" : ["null","integer"], |
| "minimum" : 0, |
| "description" : "The item's version number" |
| } |
| } |
| } |