{ "type": "object", "properties": { "@context": { "type": "string", "enum": [ "https://vocabularies.xenzone.com/context.jsonld" ] }, "@id": { "type": "string", "format": "uuid" }, "@type": { "type": "string", "enum": [ "Chat" ] }, "status": { "type": "object", "properties": { "@id": { "type": "string", "enum": [ "Active", "Archived", "Unassigned" ] }, "@type": { "type": "string", "enum": [ "ConversationStatus" ] } }, "required": [ "@id", "@type" ] }, "timer": { "type": "object", "properties": { "startTime": { "type": "string", "format": "date-time" }, "endTime": { "type": "string", "format": "date-time" } } }, "participants": { "type": "array", "items": { "type": "object", "properties": { "@id": { "type": "string", "format": "uuid" }, "@type": { "type": "string", "enum": [ "Worker", "ServiceUser" ] } }, "required": [ "@id", "@type" ] } }, "moderators": { "type": "array", "items": { "type": "object", "properties": { "@id": { "type": "string", "format": "uuid" }, "@type": { "type": "string", "enum": [ "Worker", "ServiceUser" ] } }, "required": [ "@id", "@type" ] } }, "application": { "type": "object", "properties": { "@id": { "type": "string", "format": "uuid" }, "@type": { "type": "string", "enum": [ "Application" ] } }, "required": [ "@id", "@type" ] } }, "required": [ "@type", "participants", "moderators" ] }