| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "title": "Exercise Schema", | |
| "type": "object", | |
| "properties": { | |
| "day": { | |
| "type": "integer", | |
| "description": "شماره روز مربوطه" | |
| }, | |
| "exercise": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "integer", | |
| "description": "شناسه یکتا برای تمرین" | |
| }, | |
| "question": { | |
| "type": "string", | |
| "description": "صورت سوال تمرین" | |
| }, | |
| "expected_keywords": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| }, | |
| "description": "کلمات کلیدی مورد انتظار در پاسخ" | |
| }, | |
| "hint": { | |
| "type": "string", | |
| "description": "راهنمایی برای تمرین" | |
| } | |
| }, | |
| "required": ["id", "question", "expected_keywords"] | |
| } | |
| }, | |
| "required": ["day", "exercise"] | |
| } |