{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://example.local/schemas/plan_sessions.json", "title": "PlanSession", "type": "object", "additionalProperties": false, "required": ["id", "plan_id", "executed_at", "location", "coach", "group_label", "feedback", "used_equipment"], "properties": { "id": { "type": "string" }, "plan_id": { "type": "string" }, "executed_at": { "type": "string", "format": "date-time" }, "location": { "type": "string" }, "coach": { "type": "string" }, "group_label": { "type": "string" }, "feedback": { "type": "object", "additionalProperties": false, "required": ["rating", "notes"], "properties": { "rating": { "type": "integer", "minimum": 1, "maximum": 5 }, "notes": { "type": "string" } } }, "used_equipment": { "type": "array", "items": { "type": "string" } } } }