Atlassian · Schema

ContentTemplateCreate

This object is used to create content templates.

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
name string The name of the new template.
templateType string The type of the new template. Set to `page`.
body object
description string A description of the new template.
labels array Labels for the new template.
space object The key for the space of the new template. Only applies to space templates. If the spaceKey is not specified, the template will be created as a global template.
View JSON Schema on GitHub

JSON Schema

atlassian-contenttemplatecreate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ContentTemplateCreate",
  "title": "ContentTemplateCreate",
  "required": [
    "body",
    "name",
    "templateType"
  ],
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the new template."
    },
    "templateType": {
      "type": "string",
      "description": "The type of the new template. Set to `page`."
    },
    "body": {
      "$ref": "#/components/schemas/ContentTemplateBodyCreate"
    },
    "description": {
      "maxLength": 255,
      "type": "string",
      "description": "A description of the new template."
    },
    "labels": {
      "type": "array",
      "description": "Labels for the new 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 new template. Only applies to space templates.\nIf the spaceKey is not specified, the template will be created as a global\ntemplate."
    }
  },
  "description": "This object is used to create content templates."
}