{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/romm/json-schema/romm-device-auth-pending-schema-schema.json",
  "title": "DeviceAuthPendingSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/romm-device-auth-api-openapi.yml#/components/schemas/DeviceAuthPendingSchema",
  "properties": {
    "client_device_identifier": {
      "type": "string",
      "title": "Client Device Identifier"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "client": {
      "type": "string",
      "title": "Client"
    },
    "platform": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Platform"
    },
    "client_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Version"
    },
    "requested_scopes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Requested Scopes"
    },
    "allowed_scopes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Allowed Scopes"
    },
    "expires_at": {
      "type": "string",
      "title": "Expires At"
    }
  },
  "type": "object",
  "required": [
    "client_device_identifier",
    "name",
    "client",
    "platform",
    "client_version",
    "requested_scopes",
    "allowed_scopes",
    "expires_at"
  ]
}