{ "$id": "issues", "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "required": [ "title", "type", "status" ], "properties": { "title": { "type": "string", "minLength": 1 }, "description": { "type": "string" }, "type": { "type": "string", "enum": [ "bug", "feature", "task", "story", "epic" ] }, "priority": { "type": "string", "enum": [ "low", "medium", "high", "critical" ] }, "status": { "type": "string", "enum": [ "backlog", "todo", "in_progress", "review", "done" ] }, "estimate": { "type": "integer", "minimum": 0 }, "dueDate": { "type": "string", "format": "date" }, "project": { "type": "string", "x-relation": { "collection": "projects", "type": "single" } }, "assignee": { "type": "string", "x-relation": { "collection": "users", "type": "single" } }, "reporter": { "type": "string", "x-relation": { "collection": "users", "type": "single" } }, "labels": { "type": "array", "items": { "type": "string" }, "x-relation": { "collection": "labels", "type": "multiple", "maxItems": 5 } }, "sprint": { "type": "string", "x-relation": { "collection": "sprints", "type": "single" } } } }