{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ContentTemplateUpdate",
  "title": "ContentTemplateUpdate",
  "required": [
    "body",
    "name",
    "templateId",
    "templateType"
  ],
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "templateId": {
      "type": "string",
      "description": "The ID of the template being updated."
    },
    "name": {
      "type": "string",
      "description": "The name of the template. Set to the current `name` if this field is\nnot being updated."
    },
    "templateType": {
      "type": "string",
      "description": "The type of the template. Set to `page`.",
      "enum": [
        "page"
      ]
    },
    "body": {
      "$ref": "#/components/schemas/ContentTemplateBodyCreate"
    },
    "description": {
      "maxLength": 100,
      "type": "string",
      "description": "A description of the template."
    },
    "labels": {
      "type": "array",
      "description": "Labels for the template.",
      "items": {
        "$ref": "#/components/schemas/Label"
      }
    },
    "space": {
      "required": [
        "key"
      ],
      "type": "object",
      "additionalProperties": true,
      "nullable": true,
      "properties": {
        "key": {
          "type": "string"
        }
      },
      "description": "The key for the space of the template. Required if the template is a\nspace template. Set this to the current `space.key`."
    }
  },
  "description": "This object is used to update content templates."
}