Propriedades

NomeTipoObrigatórioDescrição
titlestringSim
descriptionstringNão
stateIdstringNãoOmitido ou null usa o estado padrão do projeto.
prioritystringNãoValores: None, Low, Medium, High, Urgent
labelIdsarrayNão

Definição

{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    },
    "description": {
      "type": "string",
      "nullable": true
    },
    "stateId": {
      "type": "string",
      "format": "uuid",
      "nullable": true,
      "description": "Omitido ou null usa o estado padrão do projeto."
    },
    "priority": {
      "type": "string",
      "enum": [
        "None",
        "Low",
        "Medium",
        "High",
        "Urgent"
      ],
      "nullable": true,
      "default": "None"
    },
    "labelIds": {
      "type": "array",
      "nullable": true,
      "items": {
        "type": "string",
        "format": "uuid"
      }
    }
  },
  "required": [
    "title"
  ]
}