{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sealgate-ai/json-schema/sealgate-ai-device-authorization-status-response-schema.json",
  "title": "DeviceAuthorizationStatusResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sealgate-ai-device-auth-api-openapi.yml#/components/schemas/DeviceAuthorizationStatusResponse",
  "properties": {
    "client_id": {
      "type": "string",
      "title": "Client Id"
    },
    "scope": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Scope"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "approved",
        "denied",
        "consumed",
        "expired"
      ],
      "title": "Status"
    },
    "device_label": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Device Label"
    },
    "platform": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Platform"
    },
    "client_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Version"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "title": "Expires At"
    }
  },
  "type": "object",
  "required": [
    "client_id",
    "scope",
    "status",
    "device_label",
    "platform",
    "client_version",
    "created_at",
    "expires_at"
  ]
}