{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hmcts/json-schema/hmcts-bulk-delete-results-dto-schema.json",
  "title": "bulk-delete-results-dto",
  "description": "Delete multiple Application List Entry Results atomically.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hmcts-application-list-entry-results-api-openapi.yml#/components/schemas/bulk-delete-results-dto",
  "additionalProperties": false,
  "properties": {
    "results": {
      "description": "Result delete requests to execute. Each item is validated using the same rules as the single-result delete endpoint. If any item is invalid, no results are deleted.\n",
      "items": {
        "$ref": "#/$defs/bulk-delete-result-item-dto"
      },
      "minItems": 1,
      "type": "array"
    }
  },
  "required": [
    "results"
  ],
  "type": "object",
  "$defs": {
    "bulk-delete-result-item-dto": {
      "additionalProperties": false,
      "properties": {
        "listId": {
          "description": "Public identifier of the Application List.",
          "format": "uuid",
          "type": "string"
        },
        "entryId": {
          "description": "Public identifier of the Application List Entry.",
          "format": "uuid",
          "type": "string"
        },
        "resultId": {
          "description": "Public identifier of the Application List Entry Result.",
          "format": "uuid",
          "type": "string"
        }
      },
      "required": [
        "entryId",
        "listId",
        "resultId"
      ],
      "type": "object"
    }
  }
}