{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://aisa.ablera.com/contracts/drafts/route-packet.schema.json",
  "title": "Route packet before a mechanism is known",
  "x-status": "draft",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "case_id",
    "request_type",
    "route",
    "reason",
    "evidence_refs",
    "open_questions"
  ],
  "properties": {
    "case_id": {
      "type": "string"
    },
    "request_type": {
      "type": "string"
    },
    "route": {
      "enum": [
        "data",
        "configuration",
        "source",
        "waiting"
      ]
    },
    "reason": {
      "type": "string"
    },
    "evidence_refs": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "open_questions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "waiting_trigger": {
      "type": "string"
    },
    "destination_initiation_policy_ref": {
      "type": "string"
    }
  }
}
