{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/StatusMappingDTO",
  "title": "StatusMappingDTO",
  "additionalProperties": true,
  "description": "The mapping of old to new status ID for a specific project and issue type.",
  "properties": {
    "issueTypeId": {
      "description": "The issue type for the status mapping.",
      "type": "string"
    },
    "projectId": {
      "description": "The project for the status mapping.",
      "type": "string"
    },
    "statusMigrations": {
      "description": "The list of old and new status ID mappings for the specified project and issue type.",
      "items": {
        "$ref": "#/components/schemas/StatusMigration"
      },
      "type": "array"
    }
  },
  "required": [
    "issueTypeId",
    "projectId",
    "statusMigrations"
  ],
  "type": "object"
}