{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/1clickwebsite-ai/json-schema/1clickwebsite-ai-site-template-schema.json",
  "title": "SiteTemplate",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/1clickwebsite-ai-openapi.json#/components/schemas/SiteTemplate",
  "type": "object",
  "required": [
    "id",
    "templateId",
    "name",
    "description",
    "hasServices",
    "hasServiceAreas"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique template/theme selection identifier."
    },
    "templateId": {
      "type": "string",
      "description": "Value to send as `templateId` when creating a site."
    },
    "themeId": {
      "type": [
        "string",
        "null"
      ],
      "description": "Optional value to send as `themeId` when creating a site."
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "version": {
      "type": [
        "string",
        "null"
      ]
    },
    "hasServices": {
      "type": "boolean"
    },
    "hasServiceAreas": {
      "type": "boolean"
    },
    "featureImage": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri-reference"
    },
    "previewUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri-reference"
    }
  },
  "additionalProperties": false
}