{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Template",
  "title": "Template",
  "type": "object",
  "description": "An Experience Cloud site template",
  "properties": {
    "developerName": {
      "type": "string",
      "description": "Developer name of the template"
    },
    "id": {
      "type": "string",
      "description": "Template ID"
    },
    "label": {
      "type": "string",
      "description": "Display label for the template"
    },
    "publisher": {
      "type": "string",
      "description": "Publisher of the template (e.g., Salesforce)"
    },
    "templateCategory": {
      "type": "string",
      "description": "Category of the template",
      "enum": [
        "LWR",
        "Aura"
      ]
    },
    "templateType": {
      "type": "string",
      "description": "Type of template",
      "enum": [
        "Build Your Own (LWR)",
        "Microsite (LWR)",
        "Customer Account Portal",
        "Customer Service",
        "Partner Central",
        "Build Your Own (Aura)",
        "Help Center"
      ]
    },
    "description": {
      "type": "string",
      "description": "Description of the template"
    },
    "iconUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL of the template icon"
    },
    "previewUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL to preview the template"
    }
  }
}