{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/brixsignage-com/json-schema/brixsignage-com-signage-master-template-schema.json",
  "title": "SignageMasterTemplate",
  "description": "A published template from the Brix catalog.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brixsignage-com-signage-master-templates-api-openapi.yml#/components/schemas/SignageMasterTemplate",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "industry": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "archetype": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "sortOrder": {
      "type": "integer"
    },
    "format": {
      "type": "string",
      "enum": [
        "engine",
        "creative"
      ],
      "description": "`engine`: `config` is the template. `creative`: `creative` is a finished design to create a creative from."
    },
    "config": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {},
      "description": "The template configuration: `archetype`, `style`, `palette`, `orientation`, `content`, and the `schemaVersion` the API stamps on every write."
    },
    "creative": {
      "anyOf": [
        {},
        {
          "type": "null"
        }
      ],
      "description": "`creative` format: the design (the body `POST /v1/creatives` takes). Null otherwise."
    },
    "updatedAt": {
      "type": "string",
      "description": "ISO-8601 timestamp (UTC)."
    }
  },
  "required": [
    "id",
    "name",
    "description",
    "industry",
    "archetype",
    "sortOrder",
    "format",
    "config",
    "creative",
    "updatedAt"
  ]
}