{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/woocommerce/json-schema/woocommerce-store-brand-schema.json",
  "title": "StoreBrand",
  "description": "A product brand.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/woocommerce-product-attributes-api-openapi.yml#/components/schemas/StoreBrand",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Brand unique identifier."
    },
    "name": {
      "type": "string",
      "description": "Brand display name."
    },
    "slug": {
      "type": "string",
      "description": "URL-friendly brand slug."
    },
    "description": {
      "type": "string",
      "description": "Brand description."
    },
    "image": {
      "$ref": "#/$defs/StoreProductImage"
    }
  },
  "$defs": {
    "StoreProductImage": {
      "type": "object",
      "description": "Product image with thumbnail variants.",
      "properties": {
        "id": {
          "type": "integer",
          "description": "Image attachment ID."
        },
        "src": {
          "type": "string",
          "format": "uri",
          "description": "Full-size image URL."
        },
        "thumbnail": {
          "type": "string",
          "format": "uri",
          "description": "Thumbnail image URL."
        },
        "srcset": {
          "type": "string",
          "description": "Responsive image srcset attribute value."
        },
        "sizes": {
          "type": "string",
          "description": "Responsive image sizes attribute value."
        },
        "name": {
          "type": "string",
          "description": "Image file name."
        },
        "alt": {
          "type": "string",
          "description": "Image alternative text."
        }
      }
    }
  }
}