{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/snyk/main/json-schema/snyk-bulk-package-urls-request-body-schema.json",
  "title": "BulkPackageUrlsRequestBody",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snyk-issues-api-openapi.yml#/components/schemas/BulkPackageUrlsRequestBody",
  "properties": {
    "data": {
      "properties": {
        "attributes": {
          "properties": {
            "purls": {
              "description": "An array of Package URLs (purl). Supported purl types are apk, cargo, cocoapods, composer, conan, deb, gem, generic, golang, hex, maven, npm, nuget, pub, pypi, rpm, and swift. A version for the package is also required.",
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          "required": [
            "purls"
          ],
          "type": "object"
        },
        "type": {
          "$ref": "#/$defs/Types"
        }
      },
      "required": [
        "attributes"
      ],
      "type": "object"
    }
  },
  "required": [
    "data"
  ],
  "type": "object",
  "$defs": {
    "Types": {
      "pattern": "^[a-z][a-z0-9]*(_[a-z][a-z0-9]*)*$",
      "type": "string"
    }
  }
}