{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apiacre-com/json-schema/apiacre-com-dependency-audit-input-schema.json",
  "title": "DependencyAuditInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apiacre-com-developer-api-openapi.yml#/components/schemas/DependencyAuditInput",
  "properties": {
    "ecosystem": {
      "type": "string",
      "enum": [
        "PyPI",
        "npm",
        "Go",
        "Maven",
        "NuGet",
        "crates.io",
        "RubyGems"
      ],
      "title": "Ecosystem"
    },
    "dependencies": {
      "items": {
        "$ref": "#/$defs/Dependency"
      },
      "type": "array",
      "maxItems": 100,
      "minItems": 1,
      "title": "Dependencies"
    }
  },
  "type": "object",
  "required": [
    "ecosystem",
    "dependencies"
  ],
  "$defs": {
    "Dependency": {
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 240,
          "minLength": 1,
          "title": "Name"
        },
        "version": {
          "type": "string",
          "maxLength": 120,
          "minLength": 1,
          "title": "Version"
        }
      },
      "type": "object",
      "required": [
        "name",
        "version"
      ],
      "title": "Dependency"
    }
  }
}