{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/highlevel/json-schema/highlevel-create-brand-board-param-schema.json",
  "title": "CreateBrandBoardParam",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/highlevel-brand-boards-api-openapi.yml#/components/schemas/CreateBrandBoardParam",
  "type": "object",
  "properties": {
    "locationId": {
      "type": "string",
      "description": "Location ID where the brand board will be created"
    },
    "name": {
      "type": "string",
      "description": "Name of the brand board"
    },
    "logos": {
      "description": "Array of logos for the brand board",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Logo"
      }
    },
    "colors": {
      "description": "Array of colors for the brand board",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Color"
      }
    },
    "fonts": {
      "description": "Array of fonts for the brand board",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Font"
      }
    },
    "default": {
      "type": "boolean",
      "description": "Set as the default brand board for this location"
    },
    "brandBoardId": {
      "type": "string",
      "description": "Source brand board ID to copy from (creates a new brand board based on this template)"
    },
    "parentId": {
      "type": "string",
      "description": "Parent folder ID in media library for organizing brand boards"
    },
    "type": {
      "type": "string",
      "description": "Source type indicating how the brand board was created",
      "enum": [
        "template",
        "blank",
        "snapshot"
      ]
    }
  },
  "required": [
    "locationId",
    "name"
  ],
  "$defs": {
    "Color": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the color"
        },
        "hexa": {
          "type": "string",
          "description": "Color in HEXA format (with alpha)"
        },
        "rgba": {
          "type": "string",
          "description": "Color in RGBA format"
        },
        "hex": {
          "type": "string",
          "description": "Color in HEX format"
        },
        "rgb": {
          "type": "string",
          "description": "Color in RGB format"
        },
        "label": {
          "type": "string",
          "description": "Display label for the color"
        }
      },
      "required": [
        "id",
        "hexa",
        "rgba",
        "hex",
        "rgb",
        "label"
      ]
    },
    "Font": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the font"
        },
        "font": {
          "type": "string",
          "description": "Font family name"
        },
        "fallback": {
          "type": "string",
          "description": "Fallback font family"
        },
        "label": {
          "type": "string",
          "description": "Display label for the font"
        }
      },
      "required": [
        "id",
        "font",
        "fallback",
        "label"
      ]
    },
    "Logo": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the logo"
        },
        "url": {
          "type": "string",
          "description": "Public URL of the logo image. Used for uploading to the brand board folder in media library"
        },
        "label": {
          "type": "string",
          "description": "Display label for the logo (e.g., Primary, Secondary)"
        },
        "path": {
          "type": "string",
          "description": "Storage path of the logo in the media library"
        }
      },
      "required": [
        "id",
        "url",
        "label",
        "path"
      ]
    }
  }
}