{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/highlevel/json-schema/highlevel-get-brand-board-success-dto-schema.json",
  "title": "GetBrandBoardSuccessDTO",
  "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/GetBrandBoardSuccessDTO",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "description": "Brand board ID"
    },
    "locationId": {
      "type": "string",
      "description": "Location ID"
    },
    "name": {
      "type": "string",
      "description": "Brand board name"
    },
    "logos": {
      "description": "Array of logos",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Logo"
      }
    },
    "colors": {
      "description": "Array of brand colors",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Color"
      }
    },
    "fonts": {
      "description": "Array of brand fonts",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Font"
      }
    },
    "default": {
      "type": "boolean",
      "description": "Whether this is the default brand board for the location"
    },
    "deleted": {
      "type": "boolean",
      "description": "Whether the brand board has been soft deleted"
    },
    "parentId": {
      "type": "string",
      "description": "Parent folder ID in media library"
    },
    "folderId": {
      "type": "string",
      "description": "Media library folder ID for this brand board"
    },
    "originId": {
      "type": "string",
      "description": "Original brand board ID if cloned from snapshot"
    },
    "meta": {
      "description": "Metadata about the brand board",
      "allOf": [
        {
          "$ref": "#/$defs/MetaData"
        }
      ]
    },
    "createdAt": {
      "type": "string",
      "description": "Creation timestamp"
    },
    "updatedAt": {
      "type": "string",
      "description": "Last update timestamp"
    }
  },
  "required": [
    "_id",
    "locationId",
    "name",
    "default",
    "deleted"
  ],
  "$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"
      ]
    },
    "MetaData": {
      "type": "object",
      "properties": {
        "updatedBy": {
          "type": "string",
          "description": "User ID who last updated the brand board"
        },
        "lastAction": {
          "type": "string",
          "description": "Last action performed on the brand board"
        },
        "sourceId": {
          "type": "string",
          "description": "Source brand board ID if created from a template"
        },
        "sourceType": {
          "type": "string",
          "description": "How the brand board was created",
          "enum": [
            "template",
            "blank",
            "snapshot"
          ]
        }
      }
    }
  }
}