{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/upspring-ai/json-schema/upspring-ai-advertisers-list-response-schema.json",
  "title": "AdvertisersListResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/upspring-ai-openapi.json#/components/schemas/AdvertisersListResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AdvertiserListItem"
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "note": {
          "type": "string"
        },
        "next_cursor": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "note",
        "next_cursor"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "data",
    "meta"
  ],
  "additionalProperties": false,
  "$defs": {
    "AdvertiserListItem": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "domain": {
          "type": [
            "string",
            "null"
          ]
        },
        "vertical": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "label": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "label"
          ],
          "additionalProperties": false
        },
        "category": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "label": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "label"
          ],
          "additionalProperties": false
        },
        "subcategories": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "label"
            ],
            "additionalProperties": false
          }
        },
        "dominant": {
          "type": "object",
          "properties": {
            "archetype": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "label"
              ],
              "additionalProperties": false
            },
            "persona": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "label"
              ],
              "additionalProperties": false
            },
            "mechanism": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "label"
              ],
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "geo": {
          "type": [
            "string",
            "null"
          ]
        },
        "active_ads": {
          "type": [
            "number",
            "null"
          ]
        },
        "enrichment": {
          "type": "object",
          "properties": {
            "spend": {
              "type": "object",
              "properties": {
                "grade": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "D",
                    "C",
                    "B",
                    "A",
                    "A+"
                  ]
                },
                "floor": {
                  "type": "string"
                },
                "estimated": {
                  "type": "boolean",
                  "enum": [
                    true
                  ]
                },
                "note": {
                  "type": "string"
                }
              },
              "required": [
                "grade"
              ],
              "additionalProperties": false
            },
            "traffic": {
              "type": "object",
              "properties": {
                "grade": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "D",
                    "C",
                    "B",
                    "A",
                    "A+"
                  ]
                },
                "floor": {
                  "type": "string"
                },
                "estimated": {
                  "type": "boolean",
                  "enum": [
                    true
                  ]
                },
                "note": {
                  "type": "string"
                }
              },
              "required": [
                "grade"
              ],
              "additionalProperties": false
            },
            "sales": {
              "type": "object",
              "properties": {
                "grade": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "D",
                    "C",
                    "B",
                    "A",
                    "A+"
                  ]
                },
                "floor": {
                  "type": "string"
                },
                "estimated": {
                  "type": "boolean",
                  "enum": [
                    true
                  ]
                },
                "note": {
                  "type": "string"
                }
              },
              "required": [
                "grade"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "spend",
            "traffic",
            "sales"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "id",
        "name",
        "domain",
        "vertical",
        "category",
        "subcategories",
        "dominant",
        "geo",
        "active_ads",
        "enrichment"
      ],
      "additionalProperties": false
    }
  }
}