{ "CreateAppMessage": { "type": "object", "required": [ "yetto" ], "properties": { "yetto": { "type": "object", "required": [ "plug_installation", "message" ], "properties": { "plug_installation": { "type": "object", "required": [ "id", "settings" ], "properties": { "id": { "type": "string", "pattern": "^(?:pli)_[A-Z0-9]{26}$" }, "settings": { "type": "object", "required": [], "properties": {} } } }, "message": { "type": "object", "required": [ "id", "conversation", "text_content", "metadata" ], "properties": { "id": { "type": "string", "pattern": "^(?:msg)_[A-Z0-9]{26}$" }, "text_content": { "type": "string" }, "metadata": { "type": "object" }, "conversation": { "type": "object", "required": [ "id", "title", "metadata" ], "properties": { "id": { "type": "string", "pattern": "^(?:cnv)_[A-Z0-9]{26}$" }, "title": { "type": "string" }, "metadata": { "type": "object" } } } } } }, "additionalProperties": false } }, "additionalProperties": false }, "ConfigureApp": { "type": "object", "required": [ "yetto" ], "properties": { "yetto": { "type": "object", "required": [ "plug_installation", ], "properties": { "plug_installation": { "type": "object", "required": [ "id", "settings" ], "properties": { "id": { "type": "string", "pattern": "^(?:pli)_[A-Z0-9]{26}$" }, "settings": { "type": "object", "required": [], "properties": {} } } } }, "additionalProperties": false } }, "additionalProperties": false } }