{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hydrafetch-com/json-schema/hydrafetch-com-brand-logo-response-dto-schema.json",
  "title": "BrandLogoResponseDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hydrafetch-com-brand-api-openapi.yml#/components/schemas/BrandLogoResponseDto",
  "type": "object",
  "properties": {
    "data": {
      "description": "Null when we hold no mark for the domain. A domain with no logo is free.",
      "type": [
        "object",
        "null"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/LogoDescriptionDto"
        }
      ]
    }
  },
  "required": [
    "data"
  ],
  "$defs": {
    "LogoDescriptionDto": {
      "type": "object",
      "properties": {
        "domain": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "description": "Public and immutable, so it can be embedded anywhere."
        },
        "kind": {
          "type": "string"
        },
        "variant": {
          "type": "string",
          "enum": [
            "light",
            "dark",
            "mono"
          ]
        },
        "format": {
          "type": "string"
        },
        "width": {
          "type": [
            "object",
            "null"
          ]
        },
        "height": {
          "type": [
            "object",
            "null"
          ]
        },
        "dominantColor": {
          "type": [
            "object",
            "null"
          ]
        },
        "blurhash": {
          "type": [
            "object",
            "null"
          ]
        }
      },
      "required": [
        "domain",
        "url",
        "kind",
        "variant",
        "format",
        "width",
        "height",
        "dominantColor",
        "blurhash"
      ]
    }
  }
}