{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/animgen-com/json-schema/animgen-com-resource-batch-delete-request-schema.json",
  "title": "ResourceBatchDeleteRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/animgen-com-resources-api-openapi.yml#/components/schemas/ResourceBatchDeleteRequest",
  "properties": {
    "workspaceId": {
      "type": "string",
      "format": "uuid",
      "title": "Workspaceid"
    },
    "resources": {
      "items": {
        "$ref": "#/$defs/ResourceSelection"
      },
      "type": "array",
      "maxItems": 100,
      "minItems": 1,
      "title": "Resources"
    }
  },
  "type": "object",
  "required": [
    "workspaceId",
    "resources"
  ],
  "$defs": {
    "ResourceSelection": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "title": "Id"
        },
        "resourceType": {
          "type": "string",
          "enum": [
            "asset",
            "upload"
          ],
          "title": "Resourcetype"
        }
      },
      "type": "object",
      "required": [
        "id",
        "resourceType"
      ],
      "title": "ResourceSelection"
    }
  }
}