| { |
| "$id": "https://unomi.apache.org/schemas/json/session/1-0-0", |
| "$schema": "https://json-schema.org/draft/2019-09/schema", |
| "title": "Session", |
| "type": "object", |
| "allOf": [ |
| { |
| "$ref": "https://unomi.apache.org/schemas/json/timestampeditem/1-0-0" |
| } |
| ], |
| "properties": { |
| "profileId" : { |
| "type" : "string" |
| }, |
| "profile" : { |
| "$ref" : "https://unomi.apache.org/schemas/json/profile/1-0-0" |
| }, |
| "properties" : { |
| "type" : "object", |
| "unomiPropertyTypes" : [ "sessions" ], |
| "maxProperties": 50 |
| }, |
| "systemProperties" : { |
| "type" : "object", |
| "maxProperties": 50 |
| }, |
| "timeStamp" : { |
| "type" : "string", |
| "format" : "date-time" |
| }, |
| "lastEventDate" : { |
| "type" : "string", |
| "format" : "date-time" |
| }, |
| "size" : { |
| "type" : "integer" |
| }, |
| "duration" : { |
| "type" : "integer" |
| } |
| } |
| } |