{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Notification", "type": "object", "required": ["notification"], "properties": { "notification": { "type": "object", "required": ["brand_name", "greetings", "message", "details"], "properties": { "brand_name": { "type": "string" }, "message": { "type": "string" }, "greetings": { "type": "object", "required": ["prefix", "username"], "properties": { "prefix": { "type": "string" }, "username": { "type": "string" } } }, "details": { "type": "array", "minItems": 1, "items": { "type": "object", "required": ["category", "type", "label", "value"], "properties": { "category": { "type": "string", "enum": ["main-details", "extra-details"] }, "type": { "type": "string", "enum": [ "assignment_title", "deadline", "lms_link", "associated_lecture_link", "youtube_lecture_link" ] }, "label": { "type": "string" }, "value": { "type": "string" } } } } } } } }