{ | |
"$id": "https://unomi.apache.org/schemas/json/eventscollectorrequest/1-0-0", | |
"$schema": "https://json-schema.org/draft/2019-09/schema", | |
"title": "EventsCollectorRequest", | |
"type": "object", | |
"allOf": [ | |
{ | |
"$ref": "https://unomi.apache.org/schemas/json/item/1-0-0" | |
} | |
], | |
"properties": { | |
"events" : { | |
"type": ["array"], | |
"items": { | |
"$ref": "https://unomi.apache.org/schemas/json/event/1-0-0" | |
}, | |
"minItems": 1 | |
}, | |
"sessionId" : { | |
"type": ["null", "string"], | |
"pattern" : "^(\\w|[-_@\\.]){0,60}$" | |
} | |
} | |
} |