К содержимому

Template ​

Тип: object additionalProperties: false

ПолеОбязательноеТипОписание и ограничения
idДаstringformat: "uuid"
nameДаstringТочное нормализованное имя с необязательным тегом.
template_nameДаstring
tagДаstring / null
descriptionДаstring / null
activeДаboolean

JSON Schema ​

json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "name",
    "template_name",
    "tag",
    "description",
    "active"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string",
      "description": "Exact normalized reference including the optional tag."
    },
    "template_name": {
      "type": "string"
    },
    "tag": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "active": {
      "type": "boolean"
    }
  }
}

Все схемы · HTTP API