{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/replynodes-com/json-schema/replynodes-com-brand-styleguide-response-schema.json",
  "title": "BrandStyleguideResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/replynodes-com-openapi.json#/components/schemas/BrandStyleguideResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "domain": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "mode": {
          "type": "string"
        },
        "colors": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "role": {
                "type": "string"
              },
              "value": {
                "type": "string"
              },
              "source": {
                "type": "string"
              },
              "count": {
                "type": "integer"
              }
            },
            "additionalProperties": false,
            "required": [
              "value",
              "source"
            ]
          }
        },
        "typography": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "tag": {
                "type": "string"
              },
              "usage": {
                "type": "string"
              },
              "family": {
                "type": "string"
              },
              "size": {
                "type": "string"
              },
              "weight": {
                "type": "string"
              },
              "line_height": {
                "type": "string"
              },
              "source": {
                "type": "string"
              }
            },
            "additionalProperties": false,
            "required": [
              "source"
            ]
          }
        },
        "buttons": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "variant": {
                "type": "string"
              },
              "background": {
                "type": "string"
              },
              "color": {
                "type": "string"
              },
              "border_radius": {
                "type": "string"
              },
              "padding": {
                "type": "string"
              },
              "font_weight": {
                "type": "string"
              },
              "source": {
                "type": "string"
              }
            },
            "additionalProperties": false,
            "required": [
              "variant",
              "source"
            ]
          }
        },
        "card": {
          "type": "object",
          "properties": {
            "background": {
              "type": "string"
            },
            "border_radius": {
              "type": "string"
            },
            "box_shadow": {
              "type": "string"
            },
            "padding": {
              "type": "string"
            },
            "border": {
              "type": "string"
            },
            "source": {
              "type": "string"
            }
          },
          "additionalProperties": false,
          "required": [
            "source"
          ]
        },
        "spacing": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "shadows": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "radii": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false,
      "required": [
        "domain",
        "url",
        "status"
      ]
    },
    "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
    }
  }
}