{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/laddro-com/json-schema/laddro-com-template-detail-schema.json",
  "title": "TemplateDetail",
  "x-generated": "2026-11-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/laddro-com-openapi.json#/components/schemas/TemplateDetail",
  "type": "object",
  "allOf": [
    {
      "$ref": "#/$defs/Template"
    },
    {
      "type": "object",
      "properties": {
        "availableColors": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "backgroundColor": {
                "type": "string"
              },
              "backgroundPartColor": {
                "type": "string"
              },
              "underlineColor": {
                "type": "string"
              },
              "text": {
                "type": "string"
              },
              "textMuted": {
                "type": "string"
              }
            }
          }
        },
        "availableFonts": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "family": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  ],
  "$defs": {
    "Template": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "atsScore": {
          "type": "integer"
        },
        "layoutType": {
          "type": "string",
          "enum": [
            "single-column",
            "two-column",
            "two-column-sidebar"
          ]
        },
        "supportsProfileImage": {
          "type": "boolean"
        },
        "defaults": {
          "type": "object",
          "properties": {
            "pageSize": {
              "type": "string"
            },
            "spacing": {
              "type": "integer"
            },
            "fontSize": {
              "type": "integer"
            },
            "font": {
              "type": "string"
            },
            "pageNumbering": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}