{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "BrandProfile",
  "description": "Extracted profile for the submitted brand",
  "type": "object",
  "properties": {
    "id": { "type": "string", "description": "Unique report ID (uuid)" },
    "submitted_url": { "type": "string" },
    "created_at": { "type": "string", "format": "date-time" },
    "name": { "type": "string" },
    "tagline": { "type": "string" },
    "description": { "type": "string" },
    "category": { "type": "string" },
    "sub_category": { "type": "string" },
    "target_audience": { "type": "string" },
    "geography": { "type": "string" },
    "colors": {
      "type": "array",
      "items": { "type": "string", "pattern": "^#[0-9A-Fa-f]{6}$" }
    },
    "typography": {
      "type": "object",
      "properties": {
        "primary_font": { "type": "string" },
        "style": { "type": "string", "enum": ["serif", "sans-serif", "display", "monospace", "script"] }
      }
    },
    "visual_style": { "type": "string" },
    "tone_of_voice": { "type": "string" },
    "key_offerings": { "type": "array", "items": { "type": "string" } },
    "positioning_statement": { "type": "string" },
    "logo_url": { "type": "string" },
    "screenshot_url": { "type": "string" }
  },
  "required": ["id", "submitted_url", "created_at", "name", "category"]
}
