{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/replynodes-com/json-schema/replynodes-com-web-context-brand-response-schema.json",
  "title": "WebContextBrandResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/replynodes-com-openapi.json#/components/schemas/WebContextBrandResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "brand": {
          "type": "object",
          "properties": {
            "name": {
              "type": [
                "string",
                "null"
              ]
            },
            "logo_url": {
              "type": [
                "string",
                "null"
              ]
            },
            "logos": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "kind",
                  "url"
                ]
              }
            },
            "colors": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "object",
                "properties": {
                  "hex": {
                    "type": "string"
                  },
                  "usage": {
                    "type": "string"
                  },
                  "count": {
                    "type": "integer"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "hex",
                  "usage",
                  "count"
                ]
              }
            },
            "fonts": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              }
            },
            "favicon_url": {
              "type": [
                "string",
                "null"
              ]
            },
            "og_image": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "additionalProperties": false,
          "required": [
            "name",
            "logo_url",
            "logos",
            "colors",
            "fonts",
            "favicon_url",
            "og_image"
          ]
        }
      },
      "additionalProperties": false,
      "required": [
        "url",
        "brand"
      ]
    },
    "meta": {
      "$ref": "#/$defs/GatewayResponseMeta"
    }
  },
  "additionalProperties": false,
  "required": [
    "data",
    "meta"
  ],
  "$defs": {
    "GatewayResponseMeta": {
      "type": "object",
      "required": [
        "request_id"
      ],
      "properties": {
        "request_id": {
          "type": "string"
        },
        "contract_version": {
          "type": "string"
        },
        "generated_at": {
          "type": "string",
          "format": "date-time"
        },
        "availability": {
          "type": "string"
        },
        "detail": {
          "type": "string"
        },
        "missing_fields": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "next_cursor": {
          "type": "string"
        },
        "stale": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  }
}