Spaces:
Sleeping
Sleeping
Download validation_schema.json from Man1103/edupilot-openenv-docker: direct link, hf CLI and curl.
- Browser
- Download file 1.47 kB
-
https://huggingface.co/spaces/Man1103/edupilot-openenv-docker/resolve/main/validation_schema.json
- Command line
-
hf download hf://spaces/Man1103/edupilot-openenv-docker/validation_schema.json
-
curl -L -o validation_schema.json https://huggingface.co/spaces/Man1103/edupilot-openenv-docker/resolve/main/validation_schema.json
1.47 kB
| { | |
| "$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" } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |