{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hacktron/json-schema/hacktron-rest-hfw-batch-request-dto-schema.json",
  "title": "RestHfwBatchRequestDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hacktron-rest-api-hfw-api-openapi.yml#/components/schemas/RestHfwBatchRequestDto",
  "type": "object",
  "properties": {
    "packages": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RestHfwBatchPackageDto"
      }
    }
  },
  "required": [
    "packages"
  ],
  "$defs": {
    "RestHfwBatchPackageDto": {
      "type": "object",
      "properties": {
        "ecosystem": {
          "type": "string",
          "enum": [
            "npm",
            "pypi"
          ]
        },
        "package": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "ecosystem",
        "package",
        "version"
      ]
    }
  }
}