{
"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"
]
}