Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion services/ontology/schemas/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@
"createdBy": { "type": "string", "description": "Reporter eName" },
"assignees": { "type": "array", "items": { "type": "string" } },
"status": { "type": "string", "enum": ["planned", "in_progress", "done"] },
"intakeStatus": {
"type": "string",
"enum": ["draft", "ready"],
"description": "Cross-application intake state. Missing values are treated as legacy ready tasks unless required task fields are incomplete."
},
"priority": { "type": "integer", "enum": [0, 1, 2, 3] },
"progressPercent": { "type": "number", "minimum": 0, "maximum": 100 },
"estimatedHours": { "type": ["number", "null"], "minimum": 0 },
Expand All @@ -73,7 +78,6 @@
"required": [
"id",
"canonicalOwnerEName",
"homeProjectId",
"relatedProjectIds",
"relatedCompanyIds",
"title",
Expand Down
8 changes: 7 additions & 1 deletion services/ontology/schemas/taskReference.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
"isReference": { "const": true },
"canonicalTaskId": { "type": "string", "description": "Logical ID of the canonical task" },
"canonicalOwnerEName": { "type": "string", "description": "eName of the eVault holding the canonical task" },
"canonicalEnvelopeId": { "type": "string", "description": "MetaEnvelope ID of the canonical task" }
"canonicalEnvelopeId": { "type": "string", "description": "MetaEnvelope ID of the current canonical task" },
"referenceType": {
"type": "string",
"enum": ["canonical-relocation"],
"description": "Present when a former canonical Task envelope redirects to a relocated canonical envelope"
},
"relocatedAt": { "type": "string", "format": "date-time" }
},
"required": ["isReference", "canonicalTaskId", "canonicalOwnerEName"],
"additionalProperties": false
Expand Down
Loading