{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/upriver-ai/json-schema/upriver-ai-brand-input-schema.json",
  "title": "BrandInput",
  "description": "Input model for brand research endpoint.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/upriver-ai-brands-api-openapi.yml#/components/schemas/BrandInput",
  "properties": {
    "brand_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Brand Url",
      "description": "The brand website URL to research. HTTP URLs are upgraded to HTTPS."
    },
    "brand_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Brand Name",
      "description": "The brand name to research"
    },
    "include": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Include",
      "description": "Optional list of extra data to include in the response. Supported values: 'colors'. When 'colors' is included, brand colors are extracted from the website CSS and logos.",
      "default": []
    }
  },
  "type": "object"
}