{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/remote-com/json-schema/remote-com-cor-termination-request-envelope-schema.json",
  "title": "CorTerminationRequestEnvelope",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/remote-com-cor-termination-api-openapi.yml#/components/schemas/CorTerminationRequestEnvelope",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "cor_termination_request": {
          "$ref": "#/$defs/CorTerminationRequest"
        }
      }
    }
  },
  "$defs": {
    "CorTerminationRequest": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "employment_id": {
          "type": "string",
          "format": "uuid"
        },
        "status": {
          "type": "string",
          "enum": [
            "submitted",
            "review_started",
            "completed",
            "canceled"
          ]
        },
        "last_day_of_engagement": {
          "type": "string",
          "format": "date"
        },
        "reason": {
          "type": "string"
        }
      }
    }
  }
}