{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/JiraStatus",
  "title": "JiraStatus",
  "additionalProperties": false,
  "description": "Details of a status.",
  "properties": {
    "description": {
      "description": "The description of the status.",
      "type": "string"
    },
    "id": {
      "description": "The ID of the status.",
      "type": "string"
    },
    "name": {
      "description": "The name of the status.",
      "type": "string"
    },
    "scope": {
      "$ref": "#/components/schemas/StatusScope"
    },
    "statusCategory": {
      "description": "The category of the status.",
      "enum": [
        "TODO",
        "IN_PROGRESS",
        "DONE"
      ],
      "type": "string"
    },
    "usages": {
      "description": "Projects and issue types where the status is used. Only available if the `usages` expand is requested.",
      "items": {
        "$ref": "#/components/schemas/ProjectIssueTypes"
      },
      "type": "array",
      "uniqueItems": true
    },
    "workflowUsages": {
      "description": "The workflows that use this status. Only available if the `workflowUsages` expand is requested.",
      "items": {
        "$ref": "#/components/schemas/WorkflowUsages"
      },
      "type": "array",
      "uniqueItems": true
    }
  },
  "type": "object"
}