{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hardcover/json-schema/hardcover-post-oauth2-device-response-schema.json",
  "title": "PostOauth2DeviceResponse",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/hardcover-openapi-generated.yml#/components/schemas/PostOauth2DeviceResponse",
  "type": "object",
  "properties": {
    "device_code": {
      "type": "string",
      "description": "id you use to identify your polling requests"
    },
    "user_code": {
      "type": "string",
      "description": "the code you tell the user to enter"
    },
    "verification_uri": {
      "type": "string",
      "description": "where you tell the user to go"
    },
    "verification_uri_complete": {
      "type": "string",
      "description": "a complete url you can turn to a QR that will prefill the code"
    },
    "expires_in": {
      "type": "integer",
      "description": "in seconds, how long you have to do the auth before giving up"
    },
    "interval": {
      "type": "integer",
      "description": "in seconds, how often you should poll"
    }
  }
}