diff --git a/services/ontology/schemas/task.json b/services/ontology/schemas/task.json index 88fc77871..fbed2dae0 100644 --- a/services/ontology/schemas/task.json +++ b/services/ontology/schemas/task.json @@ -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 }, @@ -73,7 +78,6 @@ "required": [ "id", "canonicalOwnerEName", - "homeProjectId", "relatedProjectIds", "relatedCompanyIds", "title", diff --git a/services/ontology/schemas/taskReference.json b/services/ontology/schemas/taskReference.json index 321d164c0..aefd07286 100644 --- a/services/ontology/schemas/taskReference.json +++ b/services/ontology/schemas/taskReference.json @@ -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