| { |
| "$id": "https://unomi.apache.org/schemas/json/item/1-0-0", |
| "$schema": "https://json-schema.org/draft/2019-09/schema", |
| "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" |
| }, |
| "systemMetadata" : { |
| "type" : ["null","object"], |
| "description" : "Any system metadata for the item", |
| "maxProperties" : 50 |
| } |
| } |
| } |