{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/at-and-t/refs/heads/main/json-schema/mvnx-api-portability-order-schema.json",
  "title": "PortabilityOrder",
  "description": "PortabilityOrder schema from AT&T API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique port order identifier",
      "example": "port-500123"
    },
    "href": {
      "type": "string",
      "format": "uri",
      "example": "https://devex-web.att.com/portabilityOrder/port-500123"
    },
    "state": {
      "type": "string",
      "description": "Port order state",
      "enum": [
        "inProgress",
        "completed",
        "cancelled",
        "failed"
      ],
      "example": "inProgress"
    },
    "requestedCompletionDate": {
      "type": "string",
      "format": "date-time",
      "description": "Requested completion date for the port",
      "example": "2026-04-25T00:00:00Z"
    }
  }
}