{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/upspring-ai/json-schema/upspring-ai-request-advertiser-response-schema.json",
  "title": "RequestAdvertiserResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/upspring-ai-openapi.json#/components/schemas/RequestAdvertiserResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "ready",
            "pending"
          ]
        },
        "refetch_after": {
          "type": "number",
          "description": "Seconds to wait before the next `GET /v1/advertisers/{id}` poll. Present only when `status:\"pending\"` — absent on `\"ready\"`, where there's nothing left to wait for."
        },
        "name": {
          "type": "string",
          "description": "Best-known display name — present only on a freshly-accepted request (`status:\"pending\"`, no equivalent request already in flight)."
        },
        "category": {
          "type": [
            "string",
            "null"
          ]
        },
        "domain": {
          "type": [
            "string",
            "null"
          ]
        },
        "geo": {
          "type": [
            "string",
            "null"
          ]
        },
        "avatar": {
          "type": [
            "string",
            "null"
          ],
          "description": "Avatar image URL, or `null` when none is on file."
        }
      },
      "required": [
        "id",
        "status"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false
}