{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreatePriorityDetails",
  "title": "CreatePriorityDetails",
  "additionalProperties": true,
  "description": "Details of an issue priority.",
  "properties": {
    "description": {
      "description": "The description of the priority.",
      "maxLength": 255,
      "type": "string",
      "writeOnly": true
    },
    "iconUrl": {
      "description": "The URL of an icon for the priority. Accepted protocols are HTTP and HTTPS. Built in icons can also be used.",
      "enum": [
        "/images/icons/priorities/blocker.png",
        "/images/icons/priorities/critical.png",
        "/images/icons/priorities/high.png",
        "/images/icons/priorities/highest.png",
        "/images/icons/priorities/low.png",
        "/images/icons/priorities/lowest.png",
        "/images/icons/priorities/major.png",
        "/images/icons/priorities/medium.png",
        "/images/icons/priorities/minor.png",
        "/images/icons/priorities/trivial.png"
      ],
      "maxLength": 255,
      "type": "string",
      "writeOnly": true
    },
    "name": {
      "description": "The name of the priority. Must be unique.",
      "maxLength": 60,
      "type": "string",
      "writeOnly": true
    },
    "statusColor": {
      "description": "The status color of the priority in 3-digit or 6-digit hexadecimal format.",
      "type": "string",
      "writeOnly": true
    }
  },
  "required": [
    "name",
    "statusColor"
  ],
  "type": "object"
}