{
  "components": {
    "schemas": {
      "APIToken": {
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "lastUsedAt": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "type": "string"
          },
          "scopes": {
            "description": "Stored token scopes. An empty list inherits the owner's permissions. Native publication tokens store their repository ID here.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "tokenPrefix": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "userId",
          "name",
          "tokenPrefix",
          "scopes",
          "createdAt"
        ],
        "type": "object"
      },
      "APITokenList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/APITokenList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/APIToken"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "Artifact": {
        "additionalProperties": false,
        "properties": {
          "attributes": {},
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "namespace": {
            "type": "string"
          },
          "repoId": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "repoId",
          "namespace",
          "name",
          "version",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "ArtifactList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/ArtifactList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Artifact"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "Asset": {
        "additionalProperties": false,
        "properties": {
          "artifactId": {
            "type": "string"
          },
          "cachedAt": {
            "format": "date-time",
            "type": "string"
          },
          "contentType": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "downloadCount": {
            "format": "int64",
            "type": "integer"
          },
          "downloadUrl": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "lastDownloadedAt": {
            "format": "date-time",
            "type": "string"
          },
          "md5": {
            "type": "string"
          },
          "origin": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "repoId": {
            "type": "string"
          },
          "sha1": {
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "sha512": {
            "type": "string"
          },
          "sizeBytes": {
            "format": "int64",
            "type": "integer"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "uploader": {
            "type": "string"
          },
          "uploaderIp": {
            "type": "string"
          },
          "upstreamEtag": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "repoId",
          "path",
          "downloadUrl",
          "contentType",
          "sizeBytes",
          "sha256",
          "sha1",
          "md5",
          "sha512",
          "uploader",
          "uploaderIp",
          "origin",
          "downloadCount",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "AssetDetailResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/AssetDetailResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "artifact": {
            "$ref": "#/components/schemas/Artifact"
          },
          "asset": {
            "$ref": "#/components/schemas/Asset"
          },
          "downloadPath": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "repoName": {
            "type": "string"
          },
          "repoType": {
            "type": "string"
          },
          "security": {
            "$ref": "#/components/schemas/AssetSecuritySummary"
          },
          "siblingAssets": {
            "items": {
              "$ref": "#/components/schemas/Asset"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "usageSnippets": {
            "items": {
              "$ref": "#/components/schemas/ClientSnippet"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "asset",
          "repoName",
          "format",
          "repoType",
          "filename",
          "downloadPath",
          "usageSnippets",
          "siblingAssets",
          "security"
        ],
        "type": "object"
      },
      "AssetEvidenceStatus": {
        "additionalProperties": false,
        "properties": {
          "criticalCount": {
            "format": "int64",
            "type": "integer"
          },
          "highCount": {
            "format": "int64",
            "type": "integer"
          },
          "path": {
            "type": "string"
          },
          "scanStatus": {
            "enum": [
              "unscanned",
              "pending",
              "running",
              "completed",
              "failed"
            ],
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "verifiedSignature": {
            "description": "Whether a trusted signature satisfies the repository download signature check",
            "type": "boolean"
          }
        },
        "required": [
          "path",
          "sha256",
          "scanStatus",
          "criticalCount",
          "highCount",
          "verifiedSignature"
        ],
        "type": "object"
      },
      "AssetEvidenceStatusList": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "description": "Evidence for requested paths whose SHA-256 still matches the current asset",
            "items": {
              "$ref": "#/components/schemas/AssetEvidenceStatus"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "AssetLicenseAssessment": {
        "additionalProperties": false,
        "properties": {
          "componentCount": {
            "format": "int64",
            "type": "integer"
          },
          "components": {
            "items": {
              "$ref": "#/components/schemas/ComponentLicense"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "hasEvidence": {
            "description": "A current digest-bound scanner SBOM exists",
            "type": "boolean"
          },
          "licenseExpressions": {
            "description": "Distinct normalized component expressions",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "mode": {
            "enum": [
              "off",
              "audit",
              "enforce"
            ],
            "type": "string"
          },
          "outcome": {
            "enum": [
              "pass",
              "audit_violation",
              "blocked",
              "exempted",
              "unknown"
            ],
            "type": "string"
          },
          "unknownComponentCount": {
            "format": "int64",
            "type": "integer"
          },
          "unknownRate": {
            "description": "Fraction of unique components with unknown licenses, from 0 to 1. Zero when no components were identified",
            "format": "double",
            "type": "number"
          },
          "violations": {
            "items": {
              "$ref": "#/components/schemas/LicenseViolation"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "mode",
          "outcome",
          "hasEvidence",
          "licenseExpressions",
          "components",
          "componentCount",
          "unknownComponentCount",
          "unknownRate",
          "violations"
        ],
        "type": "object"
      },
      "AssetList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/AssetList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "evidence": {
            "$ref": "#/components/schemas/AssetEvidenceStatusList"
          },
          "evidenceUnavailable": {
            "description": "The requested evidence lookup failed. The asset page is still available",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Asset"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "AssetSBOM": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/AssetSBOM.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "assetId": {
            "format": "uuid",
            "type": "string"
          },
          "assetPath": {
            "type": "string"
          },
          "componentCount": {
            "format": "int64",
            "type": "integer"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "document": {},
          "format": {
            "enum": [
              "spdx",
              "cyclonedx"
            ],
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "repoId": {
            "format": "uuid",
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "specVersion": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "uploadedBy": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "repoId",
          "assetPath",
          "sha256",
          "format",
          "specVersion",
          "componentCount",
          "document",
          "uploadedBy",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "AssetSBOMDocument": {
        "additionalProperties": false,
        "properties": {
          "componentCount": {
            "format": "int64",
            "type": "integer"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "document": {},
          "documentSha256": {
            "description": "SHA-256 of the stored PostgreSQL JSON representation",
            "type": "string"
          },
          "format": {
            "enum": [
              "cyclonedx",
              "spdx"
            ],
            "type": "string"
          },
          "scannerDbVersion": {
            "type": "string"
          },
          "scannerEngine": {
            "type": "string"
          },
          "scannerEngineVersion": {
            "type": "string"
          },
          "source": {
            "enum": [
              "scanner",
              "uploaded"
            ],
            "type": "string"
          },
          "specVersion": {
            "type": "string"
          }
        },
        "required": [
          "format",
          "specVersion",
          "componentCount",
          "document",
          "documentSha256",
          "source",
          "createdAt"
        ],
        "type": "object"
      },
      "AssetSBOMList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/AssetSBOMList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/AssetSBOM"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "AssetSBOMResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/AssetSBOMResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "assetId": {
            "format": "uuid",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/AssetSBOMDocument"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "license": {
            "$ref": "#/components/schemas/AssetLicenseAssessment"
          },
          "policyRevision": {
            "description": "Current revision of the repository used for the request",
            "format": "int64",
            "type": "integer"
          },
          "repoId": {
            "format": "uuid",
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "assetId",
          "repoId",
          "sha256",
          "policyRevision",
          "license"
        ],
        "type": "object"
      },
      "AssetSecuritySummary": {
        "additionalProperties": false,
        "properties": {
          "criticalCount": {
            "format": "int64",
            "type": "integer"
          },
          "highCount": {
            "format": "int64",
            "type": "integer"
          },
          "latestScanStatus": {
            "type": "string"
          },
          "license": {
            "$ref": "#/components/schemas/AssetLicenseAssessment"
          },
          "lowCount": {
            "format": "int64",
            "type": "integer"
          },
          "mediumCount": {
            "format": "int64",
            "type": "integer"
          },
          "quarantineReason": {
            "type": "string"
          },
          "quarantined": {
            "type": "boolean"
          },
          "sbomCount": {
            "format": "int64",
            "type": "integer"
          },
          "verifiedSignatures": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "latestScanStatus",
          "criticalCount",
          "highCount",
          "mediumCount",
          "lowCount",
          "sbomCount",
          "verifiedSignatures",
          "quarantined",
          "quarantineReason"
        ],
        "type": "object"
      },
      "AssetSignature": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/AssetSignature.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "assetId": {
            "format": "uuid",
            "type": "string"
          },
          "assetPath": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "keyId": {
            "type": "string"
          },
          "payload": {},
          "payloadBase64": {
            "type": "string"
          },
          "publicKeyPem": {
            "type": "string"
          },
          "repoId": {
            "format": "uuid",
            "type": "string"
          },
          "scheme": {
            "enum": [
              "cosign",
              "sigstore",
              "pgp"
            ],
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "signature": {
            "type": "string"
          },
          "trustedBy": {
            "type": "string"
          },
          "verified": {
            "type": "boolean"
          },
          "verifiedAt": {
            "format": "date-time",
            "type": "string"
          },
          "verifyError": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "repoId",
          "assetPath",
          "sha256",
          "scheme",
          "keyId",
          "publicKeyPem",
          "signature",
          "payload",
          "verified",
          "verifyError",
          "createdBy",
          "createdAt"
        ],
        "type": "object"
      },
      "AssetSignatureList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/AssetSignatureList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/AssetSignature"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "AssetTreeDirectory": {
        "additionalProperties": false,
        "properties": {
          "itemCount": {
            "description": "Number of readable descendant assets",
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "prefix": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "prefix",
          "itemCount"
        ],
        "type": "object"
      },
      "AssetTreeResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/AssetTreeResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "directories": {
            "items": {
              "$ref": "#/components/schemas/AssetTreeDirectory"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "evidence": {
            "$ref": "#/components/schemas/AssetEvidenceStatusList"
          },
          "evidenceUnavailable": {
            "description": "The requested evidence lookup failed. The asset page is still available",
            "type": "boolean"
          },
          "files": {
            "items": {
              "$ref": "#/components/schemas/Asset"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "hasMore": {
            "type": "boolean"
          },
          "nextCursor": {
            "type": "string"
          },
          "prefix": {
            "type": "string"
          },
          "totalEntries": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "prefix",
          "directories",
          "files",
          "totalEntries",
          "hasMore",
          "nextCursor"
        ],
        "type": "object"
      },
      "AsyncJob": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/AsyncJob.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "attempts": {
            "format": "int64",
            "type": "integer"
          },
          "completedAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "blob_gc",
              "retention_run",
              "metadata_reindex",
              "webhook_delivery",
              "migration_sync",
              "vulnerability_scan"
            ],
            "type": "string"
          },
          "lastError": {
            "type": "string"
          },
          "leaseUntil": {
            "format": "date-time",
            "type": "string"
          },
          "lockedAt": {
            "format": "date-time",
            "type": "string"
          },
          "lockedBy": {
            "type": "string"
          },
          "maxAttempts": {
            "format": "int64",
            "type": "integer"
          },
          "payload": {},
          "repoId": {
            "type": "string"
          },
          "result": {},
          "runAfter": {
            "format": "date-time",
            "type": "string"
          },
          "startedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "enum": [
              "queued",
              "running",
              "succeeded",
              "failed",
              "dead_letter",
              "canceled"
            ],
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "status",
          "attempts",
          "maxAttempts",
          "runAfter",
          "createdBy",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "AsyncJobList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/AsyncJobList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/AsyncJob"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "AttachAssetSignatureRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/AttachAssetSignatureRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "assetPath": {
            "maxLength": 4096,
            "minLength": 1,
            "type": "string"
          },
          "keyId": {
            "type": "string"
          },
          "payload": {},
          "payloadBase64": {
            "description": "Exact signed JSON bytes in standard base64",
            "type": "string"
          },
          "publicKeyPem": {
            "type": "string"
          },
          "scheme": {
            "enum": [
              "cosign",
              "sigstore",
              "pgp"
            ],
            "type": "string"
          },
          "sha256": {
            "pattern": "^[a-fA-F0-9]{64}$",
            "type": "string"
          },
          "signature": {
            "type": "string"
          }
        },
        "required": [
          "assetPath",
          "scheme"
        ],
        "type": "object"
      },
      "AuditEvent": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "actor": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "detail": {},
          "id": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "requestId": {
            "type": "string"
          },
          "resourceId": {
            "type": "string"
          },
          "resourceType": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "actor",
          "action",
          "resourceType",
          "resourceId",
          "outcome",
          "requestId",
          "createdAt"
        ],
        "type": "object"
      },
      "AuditEventList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/AuditEventList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/AuditEvent"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "AuditExportResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/AuditExportResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "contentType": {
            "type": "string"
          },
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "filename": {
            "type": "string"
          },
          "format": {
            "enum": [
              "csv",
              "json"
            ],
            "type": "string"
          }
        },
        "required": [
          "format",
          "filename",
          "contentType",
          "count",
          "content"
        ],
        "type": "object"
      },
      "BlobGCRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/BlobGCRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "dryRun": {
            "type": "boolean"
          },
          "limit": {
            "format": "int64",
            "maximum": 5000,
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "dryRun"
        ],
        "type": "object"
      },
      "BlobGCResult": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/BlobGCResult.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "deletedBlobs": {
            "format": "int64",
            "type": "integer"
          },
          "dryRun": {
            "type": "boolean"
          },
          "orphanedBlobs": {
            "format": "int64",
            "type": "integer"
          },
          "reclaimedBytes": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "dryRun",
          "orphanedBlobs",
          "deletedBlobs",
          "reclaimedBytes"
        ],
        "type": "object"
      },
      "BlockedPromotionItem": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "code",
          "message"
        ],
        "type": "object"
      },
      "BuildArtifact": {
        "additionalProperties": false,
        "properties": {
          "assetId": {
            "format": "uuid",
            "type": "string"
          },
          "moduleName": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "repositoryId": {
            "format": "uuid",
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "sizeBytes": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "repositoryId",
          "path",
          "sha256",
          "sizeBytes"
        ],
        "type": "object"
      },
      "BuildArtifactReference": {
        "additionalProperties": false,
        "properties": {
          "assetId": {
            "format": "uuid",
            "type": "string"
          },
          "moduleName": {
            "maxLength": 512,
            "type": "string"
          },
          "path": {
            "description": "Used to locate the asset when assetId is absent",
            "maxLength": 4096,
            "type": "string"
          },
          "repositoryId": {
            "format": "uuid",
            "type": "string"
          },
          "sha256": {
            "pattern": "^[A-Fa-f0-9]{64}$",
            "type": "string"
          }
        },
        "required": [
          "repositoryId"
        ],
        "type": "object"
      },
      "BuildDependency": {
        "additionalProperties": false,
        "properties": {
          "moduleName": {
            "maxLength": 512,
            "type": "string"
          },
          "path": {
            "maxLength": 4096,
            "minLength": 1,
            "type": "string"
          },
          "repositoryId": {
            "description": "Repository UUID; omitted or empty for external dependencies",
            "type": "string"
          },
          "scope": {
            "maxLength": 128,
            "type": "string"
          },
          "sha256": {
            "description": "Derived from the stored asset when omitted for a repository dependency",
            "pattern": "^[A-Fa-f0-9]{64}$",
            "type": "string"
          }
        },
        "required": [
          "path"
        ],
        "type": "object"
      },
      "BuildDetail": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/BuildDetail.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "artifactCount": {
            "format": "int64",
            "type": "integer"
          },
          "artifacts": {
            "items": {
              "$ref": "#/components/schemas/BuildArtifact"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "ciUrl": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdBy": {
            "format": "uuid",
            "type": "string"
          },
          "dependencies": {
            "items": {
              "$ref": "#/components/schemas/BuildDependency"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "number": {
            "type": "string"
          },
          "promotions": {
            "items": {
              "$ref": "#/components/schemas/BuildPromotion"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "properties": {
            "items": {
              "$ref": "#/components/schemas/PropertyEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "startedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "vcsBranch": {
            "type": "string"
          },
          "vcsRevision": {
            "type": "string"
          },
          "vcsUrl": {
            "type": "string"
          }
        },
        "required": [
          "artifacts",
          "dependencies",
          "properties",
          "promotions",
          "id",
          "name",
          "number",
          "status",
          "createdAt",
          "artifactCount"
        ],
        "type": "object"
      },
      "BuildList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/BuildList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/BuildSummary"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "BuildPromotion": {
        "additionalProperties": false,
        "properties": {
          "buildId": {
            "format": "uuid",
            "type": "string"
          },
          "comment": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "promotedBy": {
            "format": "uuid",
            "type": "string"
          },
          "promotedCount": {
            "format": "int64",
            "type": "integer"
          },
          "skippedCount": {
            "format": "int64",
            "type": "integer"
          },
          "sourceRepositoryId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "targetRepositoryId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "id",
          "buildId",
          "sourceRepositoryId",
          "targetRepositoryId",
          "status",
          "promotedCount",
          "skippedCount",
          "createdAt"
        ],
        "type": "object"
      },
      "BuildSummary": {
        "additionalProperties": false,
        "properties": {
          "artifactCount": {
            "format": "int64",
            "type": "integer"
          },
          "ciUrl": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdBy": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "number": {
            "type": "string"
          },
          "startedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "vcsBranch": {
            "type": "string"
          },
          "vcsRevision": {
            "type": "string"
          },
          "vcsUrl": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "number",
          "status",
          "createdAt",
          "artifactCount"
        ],
        "type": "object"
      },
      "ChangePasswordRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/ChangePasswordRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "currentPassword": {
            "minLength": 1,
            "type": "string",
            "writeOnly": true
          },
          "newPassword": {
            "minLength": 8,
            "type": "string",
            "writeOnly": true
          }
        },
        "required": [
          "currentPassword",
          "newPassword"
        ],
        "type": "object"
      },
      "ClientSnippet": {
        "additionalProperties": false,
        "properties": {
          "content": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "language": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "title",
          "language",
          "description",
          "content"
        ],
        "type": "object"
      },
      "ClientSnippetList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/ClientSnippetList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/ClientSnippet"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "ComponentLicense": {
        "additionalProperties": false,
        "properties": {
          "componentName": {
            "type": "string"
          },
          "componentVersion": {
            "type": "string"
          },
          "isUnknown": {
            "type": "boolean"
          },
          "normalizedExpression": {
            "type": "string"
          },
          "purl": {
            "type": "string"
          },
          "rawExpression": {
            "type": "string"
          }
        },
        "required": [
          "componentName",
          "componentVersion",
          "purl",
          "rawExpression",
          "normalizedExpression",
          "isUnknown"
        ],
        "type": "object"
      },
      "ContentSelector": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/ContentSelector.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "maxLength": 1024,
            "type": "string"
          },
          "expression": {
            "maxLength": 8192,
            "minLength": 1,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "createdAt",
          "updatedAt",
          "name",
          "expression"
        ],
        "type": "object"
      },
      "ContentSelectorInput": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/ContentSelectorInput.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "description": {
            "maxLength": 1024,
            "type": "string"
          },
          "expression": {
            "maxLength": 8192,
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "name",
          "expression"
        ],
        "type": "object"
      },
      "ContentSelectorList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/ContentSelectorList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/ContentSelector"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "CreateAPITokenRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/CreateAPITokenRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "expiresInDays": {
            "format": "int64",
            "maximum": 3650,
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "scopes": {
            "description": "Optional permission ceiling. The highest scope applies: read permits reads, write also permits artifact mutations, and admin also permits management operations. The owner must still be authorized. Omit or use an empty list to inherit all owner permissions. Scoped tokens cannot manage credentials or exchange for an unscoped protocol session.",
            "items": {
              "enum": [
                "read",
                "write",
                "admin"
              ],
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "CreateAPITokenResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/CreateAPITokenResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "plaintext": {
            "description": "Returned once on creation; store securely",
            "type": "string"
          },
          "token": {
            "$ref": "#/components/schemas/APIToken"
          }
        },
        "required": [
          "token",
          "plaintext"
        ],
        "type": "object"
      },
      "CreateBuildRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/CreateBuildRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "artifacts": {
            "items": {
              "$ref": "#/components/schemas/BuildArtifactReference"
            },
            "maxItems": 1000,
            "minItems": 1,
            "type": [
              "array",
              "null"
            ]
          },
          "ciUrl": {
            "maxLength": 2048,
            "type": "string"
          },
          "dependencies": {
            "items": {
              "$ref": "#/components/schemas/BuildDependency"
            },
            "maxItems": 1000,
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "number": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "properties": {
            "items": {
              "$ref": "#/components/schemas/PropertyEntry"
            },
            "maxItems": 64,
            "type": [
              "array",
              "null"
            ]
          },
          "startedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "vcsBranch": {
            "maxLength": 256,
            "type": "string"
          },
          "vcsRevision": {
            "maxLength": 256,
            "type": "string"
          },
          "vcsUrl": {
            "maxLength": 2048,
            "type": "string"
          }
        },
        "required": [
          "name",
          "number",
          "status",
          "artifacts"
        ],
        "type": "object"
      },
      "CreateMigrationSourceRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/CreateMigrationSourceRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "baseUrl": {
            "format": "uri",
            "type": "string"
          },
          "bearerToken": {
            "type": "string"
          },
          "driver": {
            "default": "nexus3",
            "enum": [
              "nexus3",
              "arka",
              "artifactory",
              "harbor"
            ],
            "type": "string"
          },
          "name": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "password": {
            "description": "Source password, or Artifactory API key when username is omitted",
            "type": "string"
          },
          "username": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "baseUrl"
        ],
        "type": "object"
      },
      "CreateQuarantineAllowlistRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/CreateQuarantineAllowlistRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "assetPath": {
            "type": "string"
          },
          "cveId": {
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "reason": {
            "maxLength": 2048,
            "minLength": 1,
            "type": "string"
          },
          "sha256": {
            "pattern": "^[a-fA-F0-9]{64}$",
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "CreateRepositoryRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/CreateRepositoryRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "anonymousRead": {
            "type": "boolean"
          },
          "description": {
            "maxLength": 512,
            "type": "string"
          },
          "format": {
            "minLength": 1,
            "type": "string"
          },
          "formatConfig": {
            "$ref": "#/components/schemas/RepositoryFormatConfig"
          },
          "memberIds": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "maxLength": 64,
            "minLength": 1,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._-]{0,63}$",
            "type": "string"
          },
          "poolId": {
            "type": "string"
          },
          "proxyPolicy": {
            "$ref": "#/components/schemas/ProxyPolicy"
          },
          "quotaBytes": {
            "description": "Hard capacity quota in bytes (0 = unlimited)",
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "quotaWarnPercent": {
            "description": "Soft warning percentage (default 80)",
            "format": "int64",
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          },
          "routingRuleId": {
            "description": "Routing rule UUID. An empty string removes a binding.",
            "type": "string"
          },
          "type": {
            "enum": [
              "hosted",
              "proxy",
              "group"
            ],
            "type": "string"
          },
          "upstream": {
            "$ref": "#/components/schemas/UpstreamConfigInput"
          },
          "writePolicy": {
            "description": "Hosted repository write policy (default allow)",
            "enum": [
              "allow",
              "allow_once",
              "deny"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "format",
          "type"
        ],
        "type": "object"
      },
      "CreateStoragePoolRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/CreateStoragePoolRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "accessKey": {
            "description": "S3/RustFS access key ID",
            "type": "string"
          },
          "accountKey": {
            "description": "Azure shared key",
            "type": "string",
            "writeOnly": true
          },
          "accountName": {
            "description": "Azure storage account name",
            "type": "string"
          },
          "authMode": {
            "description": "Defaults to static for S3, shared_key for Azure Blob, and adc for GCS",
            "enum": [
              "static",
              "aws_default",
              "shared_key",
              "sas",
              "default_credential",
              "service_account_json",
              "adc",
              "anonymous"
            ],
            "type": "string"
          },
          "autoCreateBucket": {
            "description": "Automatically create bucket if missing (default true)",
            "type": "boolean"
          },
          "bucket": {
            "description": "Bucket name for S3/RustFS or GCS",
            "type": "string"
          },
          "container": {
            "description": "Existing Azure Blob container",
            "type": "string"
          },
          "driver": {
            "enum": [
              "fs",
              "s3",
              "azure_blob",
              "gcs"
            ],
            "type": "string"
          },
          "endpoint": {
            "description": "S3 service endpoint, optional Azure account endpoint (including the account path for Azurite), or optional GCS endpoint",
            "type": "string"
          },
          "fsAccelEnabled": {
            "description": "Enable internal reverse-proxy file serving on trusted connections",
            "type": "boolean"
          },
          "fsAccelHeader": {
            "description": "Defaults to X-Accel-Redirect when enabled",
            "enum": [
              "X-Accel-Redirect",
              "X-Sendfile"
            ],
            "type": "string"
          },
          "fsAccelPrefix": {
            "description": "Internal URI prefix for X-Accel-Redirect",
            "type": "string"
          },
          "isDefault": {
            "type": "boolean"
          },
          "name": {
            "maxLength": 64,
            "minLength": 1,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._-]{0,63}$",
            "type": "string"
          },
          "pathStyle": {
            "description": "Use path-style S3 addressing (default true for RustFS/MinIO)",
            "type": "boolean"
          },
          "prefix": {
            "description": "Optional Azure Blob or GCS object prefix",
            "type": "string"
          },
          "publicEndpoint": {
            "description": "Optional external endpoint URL used for 302 presigned GET URLs",
            "type": "string"
          },
          "region": {
            "description": "S3 region (default us-east-1)",
            "type": "string"
          },
          "rootDir": {
            "description": "Filesystem root directory (when driver=fs)",
            "type": "string"
          },
          "sasToken": {
            "description": "Azure SAS credential",
            "type": "string",
            "writeOnly": true
          },
          "secretKey": {
            "description": "S3/RustFS secret access key",
            "type": "string"
          },
          "serviceAccountJson": {
            "description": "GCS service account JSON key",
            "maxLength": 65536,
            "type": "string",
            "writeOnly": true
          }
        },
        "required": [
          "name",
          "driver"
        ],
        "type": "object"
      },
      "CreateTeamRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/CreateTeamRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "capabilities": {
            "items": {
              "type": "string"
            },
            "maxItems": 6,
            "type": [
              "array",
              "null"
            ]
          },
          "description": {
            "maxLength": 2048,
            "type": "string"
          },
          "externalGroups": {
            "items": {
              "type": "string"
            },
            "maxItems": 256,
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "role": {
            "default": "member",
            "enum": [
              "member",
              "admin"
            ],
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "CreateUserRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/CreateUserRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "displayName": {
            "maxLength": 128,
            "type": "string"
          },
          "email": {
            "maxLength": 256,
            "type": "string"
          },
          "password": {
            "minLength": 8,
            "type": "string"
          },
          "role": {
            "enum": [
              "admin",
              "member"
            ],
            "type": "string"
          },
          "username": {
            "maxLength": 64,
            "minLength": 2,
            "type": "string"
          }
        },
        "required": [
          "username",
          "role",
          "password"
        ],
        "type": "object"
      },
      "CreateWebhookRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/CreateWebhookRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "events": {
            "description": "Event actions to subscribe to (e.g. '*', 'repository.create', 'migration_job.complete')",
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "type": [
              "array",
              "null"
            ]
          },
          "formats": {
            "description": "Package formats to match",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "headers": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Custom receiver headers stored as credentials",
            "type": "object"
          },
          "name": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "repositoryIds": {
            "description": "Repository UUIDs to match",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "secret": {
            "maxLength": 256,
            "type": "string"
          },
          "url": {
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "name",
          "url",
          "events"
        ],
        "type": "object"
      },
      "CreateWorkloadOIDCProviderRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/CreateWorkloadOIDCProviderRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "audience": {
            "maxLength": 2048,
            "minLength": 1,
            "type": "string"
          },
          "claimMatches": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "All configured string claims must match. Use a JSON Pointer for nested claims. Uses the same pattern syntax as subjectPattern. The iss, aud, exp, nbf, iat, and jti claims do not count toward the required identity constraint.",
            "maxProperties": 32,
            "type": "object"
          },
          "enabled": {
            "description": "Defaults to true.",
            "type": "boolean"
          },
          "issuerUrl": {
            "maxLength": 2048,
            "minLength": 1,
            "type": "string"
          },
          "jwksUrl": {
            "description": "Optional JWKS endpoint override",
            "maxLength": 2048,
            "type": "string"
          },
          "maxTtlSeconds": {
            "description": "Maximum credential lifetime in seconds. Defaults to 900.",
            "format": "int64",
            "maximum": 3600,
            "minimum": 60,
            "type": "integer"
          },
          "name": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "principalUserId": {
            "format": "uuid",
            "type": "string"
          },
          "scopes": {
            "items": {
              "enum": [
                "read",
                "write"
              ],
              "type": "string"
            },
            "maxItems": 2,
            "minItems": 1,
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": true
          },
          "subjectPattern": {
            "description": "Whole subject match. Asterisk matches any sequence and question mark matches one character. The subject or at least one non-envelope claim pattern must contain a non-wildcard, non-whitespace character.",
            "maxLength": 2048,
            "type": "string"
          }
        },
        "required": [
          "name",
          "issuerUrl",
          "audience",
          "principalUserId",
          "scopes"
        ],
        "type": "object"
      },
      "CurrentPrincipal": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/CurrentPrincipal.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "authMethod": {
            "type": "string"
          },
          "authenticated": {
            "type": "boolean"
          },
          "capabilities": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "role": {
            "type": "string"
          },
          "teams": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "userId": {
            "type": "string"
          },
          "username": {
            "type": "string"
          }
        },
        "required": [
          "capabilities",
          "authenticated",
          "username",
          "role",
          "authMethod",
          "teams"
        ],
        "type": "object"
      },
      "DeleteDirectoryRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/DeleteDirectoryRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "confirmPrefix": {
            "description": "Must exactly match the submitted prefix",
            "maxLength": 4096,
            "minLength": 1,
            "type": "string"
          },
          "prefix": {
            "maxLength": 4096,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "prefix",
          "confirmPrefix"
        ],
        "type": "object"
      },
      "DirectoryDeletePreviewResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/DirectoryDeletePreviewResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "allowed": {
            "type": "boolean"
          },
          "deniedCount": {
            "format": "int64",
            "type": "integer"
          },
          "matchedCount": {
            "format": "int64",
            "type": "integer"
          },
          "prefix": {
            "description": "Normalized repository-relative directory prefix",
            "type": "string"
          },
          "samplePaths": {
            "description": "Up to 20 deletable paths in lexical order",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "totalBytes": {
            "description": "Logical size of all matching assets",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "prefix",
          "matchedCount",
          "totalBytes",
          "samplePaths",
          "deniedCount",
          "allowed"
        ],
        "type": "object"
      },
      "DirectoryDeleteResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/DirectoryDeleteResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "deletedBytes": {
            "description": "Logical repository bytes released; shared blobs are reclaimed by GC",
            "format": "int64",
            "type": "integer"
          },
          "deletedCount": {
            "format": "int64",
            "type": "integer"
          },
          "prefix": {
            "type": "string"
          }
        },
        "required": [
          "prefix",
          "deletedCount",
          "deletedBytes"
        ],
        "type": "object"
      },
      "EnqueueJobRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/EnqueueJobRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "dryRun": {
            "description": "Simulate execution without deleting assets or blobs",
            "type": "boolean"
          },
          "kind": {
            "enum": [
              "blob_gc",
              "retention_run",
              "metadata_reindex"
            ],
            "type": "string"
          },
          "limit": {
            "description": "Optional batch size for blob_gc",
            "format": "int64",
            "maximum": 5000,
            "minimum": 0,
            "type": "integer"
          },
          "maxAttempts": {
            "format": "int64",
            "maximum": 10,
            "minimum": 1,
            "type": "integer"
          },
          "repoId": {
            "description": "Target repository UUID (required for retention_run and metadata_reindex)",
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "ExchangeWorkloadOIDCTokenRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/ExchangeWorkloadOIDCTokenRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "jwt": {
            "maxLength": 65536,
            "minLength": 1,
            "type": "string",
            "writeOnly": true
          },
          "provider": {
            "description": "Exact workload provider name.",
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "scopes": {
            "description": "Defaults to the provider's scopes.",
            "items": {
              "enum": [
                "read",
                "write"
              ],
              "type": "string"
            },
            "maxItems": 2,
            "minItems": 1,
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": true
          },
          "ttlSeconds": {
            "description": "Defaults to the provider's maximum. Clamped to 60 seconds and the provider's maximum.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "provider",
          "jwt"
        ],
        "type": "object"
      },
      "ExchangeWorkloadOIDCTokenResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/ExchangeWorkloadOIDCTokenResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "provider": {
            "type": "string"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "token": {
            "type": "string"
          },
          "tokenType": {
            "enum": [
              "Bearer"
            ],
            "type": "string"
          },
          "username": {
            "type": "string"
          }
        },
        "required": [
          "token",
          "tokenType",
          "expiresAt",
          "scopes",
          "username",
          "provider"
        ],
        "type": "object"
      },
      "FormatCapabilities": {
        "additionalProperties": false,
        "properties": {
          "group": {
            "type": "boolean"
          },
          "hosted": {
            "type": "boolean"
          },
          "hostedDirectoryDelete": {
            "type": "boolean"
          },
          "nexusPathCompat": {
            "type": "boolean"
          },
          "proxy": {
            "type": "boolean"
          }
        },
        "required": [
          "hosted",
          "proxy",
          "group",
          "nexusPathCompat",
          "hostedDirectoryDelete"
        ],
        "type": "object"
      },
      "FormatDescriptor": {
        "additionalProperties": false,
        "properties": {
          "capabilities": {
            "$ref": "#/components/schemas/FormatCapabilities"
          },
          "description": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "displayName",
          "description",
          "capabilities"
        ],
        "type": "object"
      },
      "FormatList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/FormatList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/FormatDescriptor"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "GenerateSigningKeyRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/GenerateSigningKeyRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "algorithm": {
            "enum": [
              "rsa-2048",
              "rsa-4096",
              "ecdsa-p256"
            ],
            "type": "string"
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "repoId": {
            "format": "uuid",
            "type": "string"
          },
          "staged": {
            "description": "Generate an inactive repository key so clients can trust its public key before activation",
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "algorithm"
        ],
        "type": "object"
      },
      "Grant": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/Grant.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "pathPrefix": {
            "type": "string"
          },
          "permission": {
            "enum": [
              "read",
              "write",
              "admin"
            ],
            "type": "string"
          },
          "repoId": {
            "type": "string"
          },
          "selectorId": {
            "format": "uuid",
            "type": "string"
          },
          "teamId": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "repoId",
          "permission",
          "createdAt"
        ],
        "type": "object"
      },
      "GrantList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/GrantList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Grant"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "HealthResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/HealthResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "status": {
            "examples": [
              "ok"
            ],
            "type": "string"
          },
          "version": {
            "examples": [
              "0.1.0"
            ],
            "type": "string"
          }
        },
        "required": [
          "status",
          "version"
        ],
        "type": "object"
      },
      "LDAPProvider": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/LDAPProvider.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "adminGroups": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "bindDn": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "defaultRole": {
            "enum": [
              "member",
              "admin"
            ],
            "type": "string"
          },
          "displayNameAttr": {
            "type": "string"
          },
          "emailAttr": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "groupBaseDn": {
            "type": "string"
          },
          "groupFilter": {
            "type": "string"
          },
          "groupNameAttr": {
            "type": "string"
          },
          "hasBindPassword": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "insecureSkipVerify": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "startTls": {
            "type": "boolean"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "userBaseDn": {
            "type": "string"
          },
          "userFilter": {
            "type": "string"
          },
          "usernameAttr": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "url",
          "startTls",
          "insecureSkipVerify",
          "bindDn",
          "hasBindPassword",
          "userBaseDn",
          "userFilter",
          "usernameAttr",
          "displayNameAttr",
          "emailAttr",
          "groupBaseDn",
          "groupFilter",
          "groupNameAttr",
          "defaultRole",
          "adminGroups",
          "enabled",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "LDAPProviderList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/LDAPProviderList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/LDAPProvider"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "LDAPTestResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/LDAPTestResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "latencyMs": {
            "format": "int64",
            "type": "integer"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "latencyMs"
        ],
        "type": "object"
      },
      "LicenseDistribution": {
        "additionalProperties": false,
        "properties": {
          "assetCount": {
            "format": "int64",
            "type": "integer"
          },
          "licenseExpression": {
            "type": "string"
          }
        },
        "required": [
          "licenseExpression",
          "assetCount"
        ],
        "type": "object"
      },
      "LicenseExemption": {
        "additionalProperties": false,
        "properties": {
          "assetPath": {
            "description": "Exact repository-relative asset path",
            "maxLength": 4096,
            "type": "string"
          },
          "createdBy": {
            "description": "Actor that created this exemption",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "licenseExpression": {
            "description": "Optional exact normalized SPDX expression. At least one asset or component selector is required",
            "maxLength": 4096,
            "type": "string"
          },
          "packageName": {
            "description": "Exact component name",
            "maxLength": 1024,
            "type": "string"
          },
          "purl": {
            "description": "Exact package URL",
            "maxLength": 4096,
            "type": "string"
          },
          "reason": {
            "maxLength": 2048,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "createdBy",
          "reason",
          "expiresAt"
        ],
        "type": "object"
      },
      "LicenseExemptionInput": {
        "additionalProperties": false,
        "properties": {
          "assetPath": {
            "description": "Exact repository-relative asset path",
            "maxLength": 4096,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "licenseExpression": {
            "description": "Optional exact normalized SPDX expression. At least one asset or component selector is required",
            "maxLength": 4096,
            "type": "string"
          },
          "packageName": {
            "description": "Exact component name",
            "maxLength": 1024,
            "type": "string"
          },
          "purl": {
            "description": "Exact package URL",
            "maxLength": 4096,
            "type": "string"
          },
          "reason": {
            "maxLength": 2048,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "reason",
          "expiresAt"
        ],
        "type": "object"
      },
      "LicensePolicyInput": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/LicensePolicyInput.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "allowedLicenses": {
            "description": "SPDX identifiers or WITH terms. An empty array disables the allowlist",
            "items": {
              "type": "string"
            },
            "maxItems": 200,
            "type": "array"
          },
          "blockUnknownLicense": {
            "description": "Treat missing or invalid trusted SBOM license evidence as a violation",
            "type": "boolean"
          },
          "deniedLicenses": {
            "description": "SPDX identifiers or WITH terms. An empty array clears the denylist",
            "items": {
              "type": "string"
            },
            "maxItems": 200,
            "type": "array"
          },
          "licenseExemptions": {
            "description": "Replace exemptions. An empty array clears them. Omit to retain existing exemptions",
            "items": {
              "$ref": "#/components/schemas/LicenseExemptionInput"
            },
            "maxItems": 200,
            "type": "array"
          },
          "licensePolicyMode": {
            "description": "Omit to retain the current mode",
            "enum": [
              "off",
              "audit",
              "enforce"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "LicensePolicyProblem": {
        "additionalProperties": false,
        "properties": {
          "mode": {
            "enum": [
              "enforce"
            ],
            "type": "string"
          },
          "repoId": {
            "format": "uuid",
            "type": "string"
          },
          "violations": {
            "items": {
              "$ref": "#/components/schemas/LicenseViolation"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "repoId",
          "mode",
          "violations"
        ],
        "type": "object"
      },
      "LicenseViolation": {
        "additionalProperties": false,
        "properties": {
          "componentName": {
            "type": "string"
          },
          "componentVersion": {
            "type": "string"
          },
          "exempted": {
            "type": "boolean"
          },
          "licenseExpression": {
            "type": "string"
          },
          "purl": {
            "type": "string"
          },
          "reason": {
            "enum": [
              "denied_license",
              "license_not_allowed",
              "unknown_license"
            ],
            "type": "string"
          }
        },
        "required": [
          "componentName",
          "componentVersion",
          "purl",
          "licenseExpression",
          "reason",
          "exempted"
        ],
        "type": "object"
      },
      "LoginRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/LoginRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "password": {
            "minLength": 1,
            "type": "string"
          },
          "username": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "username",
          "password"
        ],
        "type": "object"
      },
      "LoginResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/LoginResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "token": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/User"
          }
        },
        "required": [
          "token",
          "expiresAt",
          "user"
        ],
        "type": "object"
      },
      "MigrationChecksumMismatch": {
        "additionalProperties": false,
        "properties": {
          "algorithm": {
            "enum": [
              "sha256",
              "sha1",
              "md5",
              "size"
            ],
            "type": "string"
          },
          "localValue": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "remoteValue": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "algorithm",
          "remoteValue",
          "localValue"
        ],
        "type": "object"
      },
      "MigrationCutoverBlocker": {
        "additionalProperties": false,
        "properties": {
          "expression": {
            "type": "string"
          },
          "itemId": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "parityBlockers": {
            "items": {
              "$ref": "#/components/schemas/MigrationParityBlocker"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "reason": {
            "type": "string"
          },
          "status": {
            "enum": [
              "failed",
              "manual_required",
              "blocked"
            ],
            "type": "string"
          },
          "suggestedAction": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "itemId",
          "status",
          "reason",
          "expression",
          "suggestedAction"
        ],
        "type": "object"
      },
      "MigrationCutoverReadinessResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/MigrationCutoverReadinessResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "blocked": {
            "format": "int64",
            "type": "integer"
          },
          "counts": {
            "items": {
              "$ref": "#/components/schemas/MigrationEntityCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "failedTotal": {
            "format": "int64",
            "type": "integer"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/MigrationRepositoryReadiness"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "manualRequired": {
            "format": "int64",
            "type": "integer"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "verified": {
            "format": "int64",
            "type": "integer"
          },
          "watermark": {
            "description": "Oldest complete scan among the returned repositories. Null when any scan is missing",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "items",
          "total",
          "verified",
          "manualRequired",
          "blocked",
          "failedTotal",
          "watermark",
          "counts"
        ],
        "type": "object"
      },
      "MigrationDriver": {
        "additionalProperties": false,
        "properties": {
          "displayName": {
            "type": "string"
          },
          "driver": {
            "type": "string"
          }
        },
        "required": [
          "driver",
          "displayName"
        ],
        "type": "object"
      },
      "MigrationDriverList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/MigrationDriverList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/MigrationDriver"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "MigrationEntityCount": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "kind",
          "status",
          "total"
        ],
        "type": "object"
      },
      "MigrationJob": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/MigrationJob.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "bytesTransferred": {
            "format": "int64",
            "type": "integer"
          },
          "completedAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "dryRun": {
            "type": "boolean"
          },
          "failedCount": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "importedCount": {
            "format": "int64",
            "type": "integer"
          },
          "lastError": {
            "type": "string"
          },
          "skippedCount": {
            "format": "int64",
            "type": "integer"
          },
          "sourceId": {
            "type": "string"
          },
          "sourceRepoName": {
            "type": "string"
          },
          "startedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "enum": [
              "pending",
              "running",
              "completed",
              "failed",
              "canceled"
            ],
            "type": "string"
          },
          "targetRepoId": {
            "type": "string"
          },
          "totalDiscovered": {
            "format": "int64",
            "type": "integer"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "sourceId",
          "sourceRepoName",
          "targetRepoId",
          "status",
          "dryRun",
          "totalDiscovered",
          "importedCount",
          "skippedCount",
          "failedCount",
          "bytesTransferred",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "MigrationJobList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/MigrationJobList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/MigrationJob"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "MigrationParityBlocker": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "enum": [
              "source_inventory_incomplete",
              "source_digest_missing",
              "byte_read_failed",
              "target_asset_missing",
              "checksum_mismatch",
              "extra_target_asset"
            ],
            "type": "string"
          },
          "count": {
            "description": "Number of occurrences of this blocker",
            "format": "int64",
            "type": "integer"
          },
          "detail": {
            "type": "string"
          },
          "path": {
            "description": "Path from the first occurrence, when applicable",
            "type": "string"
          }
        },
        "required": [
          "code",
          "count",
          "detail"
        ],
        "type": "object"
      },
      "MigrationPreflightResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/MigrationPreflightResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "groupCount": {
            "format": "int64",
            "type": "integer"
          },
          "hostedCount": {
            "format": "int64",
            "type": "integer"
          },
          "otherTypeCount": {
            "format": "int64",
            "type": "integer"
          },
          "proxyCount": {
            "format": "int64",
            "type": "integer"
          },
          "reachable": {
            "type": "boolean"
          },
          "repositoriesReadable": {
            "type": "boolean"
          },
          "repositorySettingsReadable": {
            "type": "boolean"
          },
          "securityApiReadable": {
            "type": "boolean"
          },
          "server": {
            "type": "string"
          },
          "supportedCount": {
            "format": "int64",
            "type": "integer"
          },
          "unsupportedCount": {
            "format": "int64",
            "type": "integer"
          },
          "version": {
            "type": "string"
          },
          "warnings": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "reachable",
          "repositoriesReadable",
          "repositorySettingsReadable",
          "securityApiReadable",
          "hostedCount",
          "proxyCount",
          "groupCount",
          "otherTypeCount",
          "supportedCount",
          "unsupportedCount",
          "warnings"
        ],
        "type": "object"
      },
      "MigrationReconciliationItem": {
        "additionalProperties": false,
        "properties": {
          "expression": {
            "description": "Original expression excerpt when equivalence could not be established",
            "type": "string"
          },
          "itemId": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "asset",
              "user",
              "role",
              "privilege",
              "content_selector",
              "routing_rule",
              "repository_config"
            ],
            "type": "string"
          },
          "lastAttemptAt": {
            "format": "date-time",
            "type": "string"
          },
          "parityBlockers": {
            "items": {
              "$ref": "#/components/schemas/MigrationParityBlocker"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "reason": {
            "type": "string"
          },
          "retryCount": {
            "format": "int64",
            "type": "integer"
          },
          "sourceModifiedAt": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "enum": [
              "succeeded",
              "failed",
              "manual_required",
              "blocked",
              "skipped"
            ],
            "type": "string"
          }
        },
        "required": [
          "kind",
          "itemId",
          "status",
          "reason",
          "expression",
          "retryCount",
          "lastAttemptAt",
          "sourceModifiedAt"
        ],
        "type": "object"
      },
      "MigrationReconciliationResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/MigrationReconciliationResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "counts": {
            "items": {
              "$ref": "#/components/schemas/MigrationEntityCount"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "failedTotal": {
            "format": "int64",
            "type": "integer"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/MigrationReconciliationItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "jobId": {
            "format": "uuid",
            "type": "string"
          },
          "jobStatus": {
            "type": "string"
          },
          "sourceRepository": {
            "type": "string"
          },
          "targetRepository": {
            "type": "string"
          },
          "targetRepositoryId": {
            "format": "uuid",
            "type": "string"
          },
          "total": {
            "description": "Number of items matching the filters before pagination",
            "format": "int64",
            "type": "integer"
          },
          "verifiedAt": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "watermark": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "jobId",
          "jobStatus",
          "sourceRepository",
          "targetRepositoryId",
          "targetRepository",
          "watermark",
          "verifiedAt",
          "failedTotal",
          "counts",
          "items",
          "total"
        ],
        "type": "object"
      },
      "MigrationRepositoryReadiness": {
        "additionalProperties": false,
        "properties": {
          "blockerTotal": {
            "format": "int64",
            "type": "integer"
          },
          "blockers": {
            "items": {
              "$ref": "#/components/schemas/MigrationCutoverBlocker"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "jobId": {
            "format": "uuid",
            "type": "string"
          },
          "sourceRepository": {
            "type": "string"
          },
          "status": {
            "enum": [
              "verified",
              "manual_required",
              "blocked"
            ],
            "type": "string"
          },
          "targetRepository": {
            "type": "string"
          },
          "targetRepositoryId": {
            "format": "uuid",
            "type": "string"
          },
          "verifiedAt": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "watermark": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "jobId",
          "sourceRepository",
          "targetRepositoryId",
          "targetRepository",
          "status",
          "watermark",
          "verifiedAt",
          "blockers",
          "blockerTotal"
        ],
        "type": "object"
      },
      "MigrationSource": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/MigrationSource.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "baseUrl": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "driver": {
            "enum": [
              "nexus3",
              "arka",
              "artifactory",
              "harbor"
            ],
            "type": "string"
          },
          "hasBearerToken": {
            "type": "boolean"
          },
          "hasPassword": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "username": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "driver",
          "baseUrl",
          "hasPassword",
          "hasBearerToken",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "MigrationSourceList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/MigrationSourceList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/MigrationSource"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "MigrationSyncRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/MigrationSyncRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "since": {
            "description": "Optional saved watermark. A different value is rejected",
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "MigrationTestResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/MigrationTestResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "ok": {
            "type": "boolean"
          }
        },
        "required": [
          "ok",
          "message"
        ],
        "type": "object"
      },
      "Nexus3CompatRoute": {
        "additionalProperties": false,
        "properties": {
          "method": {
            "type": "string"
          },
          "path": {
            "description": "Compatibility route template",
            "type": "string"
          }
        },
        "required": [
          "method",
          "path"
        ],
        "type": "object"
      },
      "Nexus3CompatStatusResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/Nexus3CompatStatusResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "routes": {
            "description": "Active compatibility routes; empty while disabled",
            "items": {
              "$ref": "#/components/schemas/Nexus3CompatRoute"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "enabled",
          "routes"
        ],
        "type": "object"
      },
      "OIDCCallbackRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/OIDCCallbackRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "code": {
            "minLength": 1,
            "type": "string"
          },
          "state": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "code",
          "state"
        ],
        "type": "object"
      },
      "OIDCProvider": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/OIDCProvider.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "adminGroups": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "clientId": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "defaultRole": {
            "enum": [
              "admin",
              "member"
            ],
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "hasClientSecret": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "issuerUrl": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "redirectUrl": {
            "type": "string"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "issuerUrl",
          "clientId",
          "hasClientSecret",
          "redirectUrl",
          "scopes",
          "defaultRole",
          "adminGroups",
          "enabled",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "OIDCProviderList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/OIDCProviderList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/OIDCProvider"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "OIDCStartLoginResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/OIDCStartLoginResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "authorizationUrl": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "authorizationUrl",
          "state"
        ],
        "type": "object"
      },
      "ObservabilityStatus": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/ObservabilityStatus.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "blobStoreErrors": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "gcDeletedBlobs": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "gcReclaimedBytes": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "httpRequestsTotal": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "metricsAuthMode": {
            "description": "Scrape authentication: public, static bearer token, or static token or platform administrator",
            "enum": [
              "none",
              "bearer",
              "bearer_or_admin"
            ],
            "type": "string"
          },
          "metricsEnabled": {
            "type": "boolean"
          },
          "metricsMode": {
            "description": "Listener serving Prometheus metrics",
            "enum": [
              "disabled",
              "main",
              "dedicated"
            ],
            "type": "string"
          },
          "metricsPath": {
            "description": "Scrape path on the selected listener, or empty when disabled",
            "type": "string"
          },
          "notModifiedCount": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "presignMinBytes": {
            "format": "int64",
            "type": "integer"
          },
          "presignRedirectEnabled": {
            "type": "boolean"
          },
          "presignRedirects": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "presignTtlSeconds": {
            "format": "int64",
            "type": "integer"
          },
          "proxyCacheHits": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "proxyCacheMisses": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "proxyNegativeHits": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "proxyRevalidated": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "rangeRequests": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "tracingEnabled": {
            "type": "boolean"
          }
        },
        "required": [
          "metricsEnabled",
          "metricsPath",
          "metricsMode",
          "metricsAuthMode",
          "tracingEnabled",
          "presignRedirectEnabled",
          "presignTtlSeconds",
          "presignMinBytes",
          "httpRequestsTotal",
          "proxyCacheHits",
          "proxyCacheMisses",
          "proxyRevalidated",
          "proxyNegativeHits",
          "presignRedirects",
          "rangeRequests",
          "notModifiedCount",
          "blobStoreErrors",
          "gcReclaimedBytes",
          "gcDeletedBlobs"
        ],
        "type": "object"
      },
      "OutboundProxy": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/OutboundProxy.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "bypassHosts": {
            "items": {
              "type": "string"
            },
            "maxItems": 64,
            "type": [
              "array",
              "null"
            ]
          },
          "hasPassword": {
            "type": "boolean"
          },
          "repositoryCount": {
            "format": "int64",
            "type": "integer"
          },
          "url": {
            "maxLength": 2048,
            "type": "string"
          },
          "username": {
            "maxLength": 255,
            "type": "string"
          }
        },
        "required": [
          "hasPassword",
          "repositoryCount",
          "url"
        ],
        "type": "object"
      },
      "OverviewStats": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/OverviewStats.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "artifacts": {
            "format": "int64",
            "type": "integer"
          },
          "assets": {
            "format": "int64",
            "type": "integer"
          },
          "repositories": {
            "format": "int64",
            "type": "integer"
          },
          "totalBytes": {
            "format": "int64",
            "type": "integer"
          },
          "uniqueBlobs": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "repositories",
          "artifacts",
          "assets",
          "uniqueBlobs",
          "totalBytes"
        ],
        "type": "object"
      },
      "PoolRepositoryUsage": {
        "additionalProperties": false,
        "properties": {
          "assetCount": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "quotaBytes": {
            "format": "int64",
            "type": "integer"
          },
          "quotaUsagePercent": {
            "description": "Omitted for unlimited quota.",
            "format": "double",
            "type": "number"
          },
          "usedBytes": {
            "description": "Logical asset bytes including duplicate references.",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "name",
          "assetCount",
          "usedBytes",
          "quotaBytes"
        ],
        "type": "object"
      },
      "PreviewDirectoryDeleteRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/PreviewDirectoryDeleteRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "prefix": {
            "maxLength": 4096,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "prefix"
        ],
        "type": "object"
      },
      "ProblemDetail": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/ProblemDetail.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "licensePolicy": {
            "$ref": "#/components/schemas/LicensePolicyProblem"
          },
          "readiness": {
            "$ref": "#/components/schemas/ReadinessResponse"
          },
          "references": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "requestId": {
            "type": "string"
          },
          "status": {
            "format": "int64",
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "title",
          "status",
          "code",
          "detail",
          "requestId"
        ],
        "type": "object"
      },
      "PromoteBuildRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/PromoteBuildRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "comment": {
            "maxLength": 2048,
            "type": "string"
          },
          "copyProperties": {
            "type": "boolean"
          },
          "dryRun": {
            "type": "boolean"
          },
          "enforcePolicyGate": {
            "default": true,
            "description": "Only administrators can disable the source download policy gate",
            "type": "boolean"
          },
          "properties": {
            "description": "Properties written on new target assets, overriding copied keys",
            "items": {
              "$ref": "#/components/schemas/PropertyEntry"
            },
            "maxItems": 64,
            "type": [
              "array",
              "null"
            ]
          },
          "sourceRepositoryId": {
            "format": "uuid",
            "type": "string"
          },
          "targetRepositoryId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "sourceRepositoryId",
          "targetRepositoryId"
        ],
        "type": "object"
      },
      "PromoteBuildResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/PromoteBuildResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "blockedItems": {
            "description": "Any blocked item prevents the entire batch from committing",
            "items": {
              "$ref": "#/components/schemas/BlockedPromotionItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "promotedPaths": {
            "description": "Eligible paths in a dry run, or committed paths in a real promotion",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "promotion": {
            "$ref": "#/components/schemas/BuildPromotion"
          },
          "skippedPaths": {
            "description": "Paths already holding the recorded content",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "status": {
            "enum": [
              "planned",
              "blocked",
              "completed"
            ],
            "type": "string"
          }
        },
        "required": [
          "status",
          "promotedPaths",
          "skippedPaths",
          "blockedItems"
        ],
        "type": "object"
      },
      "PropertyEntry": {
        "additionalProperties": false,
        "properties": {
          "key": {
            "pattern": "^[A-Za-z0-9._-]{1,128}$",
            "type": "string"
          },
          "value": {
            "maxLength": 1024,
            "type": "string"
          }
        },
        "required": [
          "key",
          "value"
        ],
        "type": "object"
      },
      "PropertyList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/PropertyList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/PropertyEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "ProvisionFromSourceRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/ProvisionFromSourceRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "anonymousRead": {
            "type": "boolean"
          },
          "cacheTtlSeconds": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "dryRun": {
            "type": "boolean"
          },
          "mode": {
            "description": "hosted (default), pull_through_proxy for cutover, or preserve_topology for hosted, proxy and group reconstruction",
            "enum": [
              "",
              "hosted",
              "pull_through_proxy",
              "preserve_topology"
            ],
            "type": "string"
          },
          "namePrefix": {
            "maxLength": 32,
            "type": "string"
          },
          "repoNames": {
            "description": "Optional subset of remote repository names to provision",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "ProvisionFromSourceResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/ProvisionFromSourceResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "created": {
            "format": "int64",
            "type": "integer"
          },
          "dryRun": {
            "type": "boolean"
          },
          "failed": {
            "format": "int64",
            "type": "integer"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/ProvisionedRepository"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "mode": {
            "type": "string"
          },
          "planned": {
            "format": "int64",
            "type": "integer"
          },
          "skipped": {
            "format": "int64",
            "type": "integer"
          },
          "sourceId": {
            "type": "string"
          },
          "sourceName": {
            "type": "string"
          },
          "unsupported": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "sourceId",
          "sourceName",
          "mode",
          "dryRun",
          "created",
          "planned",
          "skipped",
          "unsupported",
          "failed",
          "items"
        ],
        "type": "object"
      },
      "ProvisionedRepository": {
        "additionalProperties": false,
        "properties": {
          "format": {
            "type": "string"
          },
          "outcome": {
            "enum": [
              "created",
              "planned",
              "skipped_existing",
              "unsupported",
              "failed"
            ],
            "type": "string"
          },
          "rawFormat": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "repoId": {
            "type": "string"
          },
          "repoType": {
            "type": "string"
          },
          "sourceRepoName": {
            "type": "string"
          },
          "targetRepoName": {
            "type": "string"
          },
          "upstreamUrl": {
            "type": "string"
          }
        },
        "required": [
          "sourceRepoName",
          "targetRepoName",
          "format",
          "rawFormat",
          "repoType",
          "outcome"
        ],
        "type": "object"
      },
      "ProxyPolicy": {
        "additionalProperties": false,
        "properties": {
          "allowedRedirectHosts": {
            "items": {
              "type": "string"
            },
            "maxItems": 64,
            "type": [
              "array",
              "null"
            ]
          },
          "minimumReleaseAgeMinutes": {
            "format": "int64",
            "maximum": 5256000,
            "minimum": 0,
            "type": "integer"
          },
          "outboundBlocked": {
            "type": "boolean"
          },
          "outboundProxyMode": {
            "enum": [
              "inherit",
              "repo",
              "direct"
            ],
            "type": "string"
          },
          "remoteIndexPath": {
            "maxLength": 2048,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ProxyPolicyPatch": {
        "additionalProperties": false,
        "properties": {
          "allowedRedirectHosts": {
            "items": {
              "type": "string"
            },
            "maxItems": 64,
            "type": "array"
          },
          "minimumReleaseAgeMinutes": {
            "format": "int64",
            "maximum": 5256000,
            "minimum": 0,
            "type": "integer"
          },
          "outboundBlocked": {
            "type": "boolean"
          },
          "outboundProxyMode": {
            "enum": [
              "inherit",
              "repo",
              "direct"
            ],
            "type": "string"
          },
          "remoteIndexPath": {
            "maxLength": 2048,
            "type": "string"
          }
        },
        "type": "object"
      },
      "QuarantineAllowlist": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/QuarantineAllowlist.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "assetPath": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "cveId": {
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "repoId": {
            "format": "uuid",
            "type": "string"
          },
          "sha256": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "repoId",
          "cveId",
          "assetPath",
          "sha256",
          "reason",
          "createdBy",
          "createdAt"
        ],
        "type": "object"
      },
      "QuarantineAllowlistList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/QuarantineAllowlistList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/QuarantineAllowlist"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "ReadinessCheck": {
        "additionalProperties": false,
        "properties": {
          "latencyMs": {
            "format": "int64",
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "enum": [
              "ok",
              "error"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "status",
          "latencyMs"
        ],
        "type": "object"
      },
      "ReadinessResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/ReadinessResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "checks": {
            "items": {
              "$ref": "#/components/schemas/ReadinessCheck"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "replicaId": {
            "type": "string"
          },
          "status": {
            "enum": [
              "ready",
              "not_ready"
            ],
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "version",
          "replicaId",
          "checks"
        ],
        "type": "object"
      },
      "RemoteRepository": {
        "additionalProperties": false,
        "properties": {
          "format": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "online": {
            "type": "boolean"
          },
          "public": {
            "description": "Whether the source repository allows anonymous reads, when reported",
            "type": "boolean"
          },
          "rawFormat": {
            "type": "string"
          },
          "supported": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          },
          "unsupported": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "format",
          "rawFormat",
          "type",
          "url",
          "online",
          "supported"
        ],
        "type": "object"
      },
      "RemoteRepositoryList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/RemoteRepositoryList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/RemoteRepository"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "Repository": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/Repository.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "allowedActions": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "anonymousRead": {
            "type": "boolean"
          },
          "assetCount": {
            "format": "int64",
            "type": "integer"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "endpointUrl": {
            "description": "Nexus-compatible repository base URL (/repository/{name}/)",
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "formatConfig": {
            "$ref": "#/components/schemas/RepositoryFormatConfig"
          },
          "id": {
            "type": "string"
          },
          "memberIds": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "online": {
            "type": "boolean"
          },
          "poolId": {
            "type": "string"
          },
          "proxyPolicy": {
            "$ref": "#/components/schemas/ProxyPolicy"
          },
          "quotaBytes": {
            "description": "Hard capacity quota in bytes (0 = unlimited)",
            "format": "int64",
            "type": "integer"
          },
          "quotaStatus": {
            "enum": [
              "unlimited",
              "ok",
              "warning",
              "exceeded"
            ],
            "type": "string"
          },
          "quotaUsagePercent": {
            "format": "double",
            "type": "number"
          },
          "quotaWarnPercent": {
            "description": "Soft warning threshold percentage (0-100)",
            "format": "int64",
            "type": "integer"
          },
          "routingRuleId": {
            "description": "Routing rule UUID. An empty string removes a binding.",
            "type": "string"
          },
          "totalBytes": {
            "format": "int64",
            "type": "integer"
          },
          "type": {
            "enum": [
              "hosted",
              "proxy",
              "group"
            ],
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "upstream": {
            "$ref": "#/components/schemas/UpstreamConfigView"
          },
          "writePolicy": {
            "description": "Hosted repository write policy (default allow)",
            "enum": [
              "allow",
              "allow_once",
              "deny"
            ],
            "type": "string"
          }
        },
        "required": [
          "writePolicy",
          "id",
          "name",
          "format",
          "type",
          "poolId",
          "description",
          "anonymousRead",
          "online",
          "quotaBytes",
          "quotaWarnPercent",
          "quotaStatus",
          "quotaUsagePercent",
          "endpointUrl",
          "memberIds",
          "assetCount",
          "totalBytes",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "RepositoryFormatConfig": {
        "additionalProperties": false,
        "properties": {
          "aptSignatureRefreshSeconds": {
            "description": "APT refresh interval in seconds (0 disables, enabled range 60–604800)",
            "format": "int64",
            "maximum": 604800,
            "minimum": 0,
            "type": "integer"
          },
          "aptSignatureValiditySeconds": {
            "description": "APT Release validity in seconds (0 selects the default for an enabled interval)",
            "format": "int64",
            "maximum": 2592000,
            "minimum": 0,
            "type": "integer"
          },
          "architectures": {
            "description": "APT architectures",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "components": {
            "description": "APT components",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "distribution": {
            "description": "APT distribution",
            "type": "string"
          },
          "distributions": {
            "description": "APT distributions",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "ohpmPublishKeys": {
            "description": "Replace the OHPM signed publication bindings (platform admin only)",
            "items": {
              "$ref": "#/components/schemas/RepositoryPublishKey"
            },
            "maxItems": 64,
            "type": "array"
          },
          "repodataDepth": {
            "description": "YUM directory depth above repodata (default 0)",
            "format": "int64",
            "maximum": 5,
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "RepositoryLicenseCompliance": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/RepositoryLicenseCompliance.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "assetCount": {
            "format": "int64",
            "type": "integer"
          },
          "auditViolationCount": {
            "format": "int64",
            "type": "integer"
          },
          "blockedCount": {
            "format": "int64",
            "type": "integer"
          },
          "exemptedCount": {
            "format": "int64",
            "type": "integer"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/RepositoryLicenseViolation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "licenseDistribution": {
            "items": {
              "$ref": "#/components/schemas/LicenseDistribution"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "mode": {
            "enum": [
              "off",
              "audit",
              "enforce"
            ],
            "type": "string"
          },
          "policyRevision": {
            "format": "int64",
            "type": "integer"
          },
          "repoId": {
            "format": "uuid",
            "type": "string"
          },
          "scannedAssetCount": {
            "description": "Assets with current digest-bound scanner SBOM evidence",
            "format": "int64",
            "type": "integer"
          },
          "total": {
            "description": "Total assets matching the outcome filter",
            "format": "int64",
            "type": "integer"
          },
          "unknownAssetCount": {
            "description": "Assets with missing evidence, empty inventories, or at least one unknown component license",
            "format": "int64",
            "type": "integer"
          },
          "unknownRate": {
            "description": "Fraction of assets with unknown license evidence, from 0 to 1",
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "repoId",
          "policyRevision",
          "mode",
          "assetCount",
          "scannedAssetCount",
          "unknownAssetCount",
          "unknownRate",
          "auditViolationCount",
          "blockedCount",
          "exemptedCount",
          "licenseDistribution",
          "items",
          "total"
        ],
        "type": "object"
      },
      "RepositoryLicenseViolation": {
        "additionalProperties": false,
        "properties": {
          "assetId": {
            "format": "uuid",
            "type": "string"
          },
          "assetPath": {
            "type": "string"
          },
          "licenseExpressions": {
            "description": "Distinct normalized expressions for this asset",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "outcome": {
            "enum": [
              "pass",
              "audit_violation",
              "blocked",
              "exempted",
              "unknown"
            ],
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "sourceRepoId": {
            "format": "uuid",
            "type": "string"
          },
          "violations": {
            "items": {
              "$ref": "#/components/schemas/LicenseViolation"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "assetId",
          "sourceRepoId",
          "assetPath",
          "sha256",
          "outcome",
          "licenseExpressions",
          "violations"
        ],
        "type": "object"
      },
      "RepositoryList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/RepositoryList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Repository"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "RepositoryPublishKey": {
        "additionalProperties": false,
        "properties": {
          "publicKey": {
            "description": "RSA public key in PEM or OpenSSH format",
            "maxLength": 8192,
            "minLength": 1,
            "type": "string"
          },
          "publishId": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "publishId",
          "userId",
          "publicKey"
        ],
        "type": "object"
      },
      "RetentionPolicy": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/RetentionPolicy.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "excludeRegex": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "includeRegex": {
            "type": "string"
          },
          "keepLastVersions": {
            "description": "Number of versions to retain using versionGrouping",
            "format": "int64",
            "type": "integer"
          },
          "lastRunAt": {
            "format": "date-time",
            "type": "string"
          },
          "maxAgeDays": {
            "format": "int64",
            "type": "integer"
          },
          "minSizeBytes": {
            "format": "int64",
            "type": "integer"
          },
          "pathPrefix": {
            "type": "string"
          },
          "repoId": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "versionGrouping": {
            "description": "Format-derived unit of retention",
            "enum": [
              "asset",
              "maven_snapshot_build",
              "oci_manifest_digest"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "repoId",
          "enabled",
          "maxAgeDays",
          "keepLastVersions",
          "versionGrouping",
          "pathPrefix",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "RetentionRunRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/RetentionRunRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "dryRun": {
            "type": "boolean"
          }
        },
        "required": [
          "dryRun"
        ],
        "type": "object"
      },
      "RetentionRunResult": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/RetentionRunResult.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "deletedAssets": {
            "format": "int64",
            "type": "integer"
          },
          "deletedPaths": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "dryRun": {
            "type": "boolean"
          },
          "evaluatedCount": {
            "format": "int64",
            "type": "integer"
          },
          "reclaimedBytes": {
            "format": "int64",
            "type": "integer"
          },
          "repoId": {
            "type": "string"
          },
          "semantic": {
            "$ref": "#/components/schemas/RetentionSemanticSummary"
          }
        },
        "required": [
          "repoId",
          "dryRun",
          "evaluatedCount",
          "deletedAssets",
          "reclaimedBytes",
          "deletedPaths"
        ],
        "type": "object"
      },
      "RetentionSemanticSummary": {
        "additionalProperties": false,
        "properties": {
          "deletedGroups": {
            "format": "int64",
            "type": "integer"
          },
          "grouping": {
            "enum": [
              "maven_snapshot_build",
              "oci_manifest_digest"
            ],
            "type": "string"
          },
          "protectedSharedLayers": {
            "description": "OCI layers referenced by both removed and retained versions",
            "format": "int64",
            "type": "integer"
          },
          "retainedGroups": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "grouping",
          "retainedGroups",
          "deletedGroups",
          "protectedSharedLayers"
        ],
        "type": "object"
      },
      "RetryFailedMigrationRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/RetryFailedMigrationRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "itemIds": {
            "description": "Source reconciliation item IDs, such as asset paths",
            "items": {
              "type": "string"
            },
            "maxItems": 200,
            "type": [
              "array",
              "null"
            ]
          },
          "kind": {
            "enum": [
              "asset",
              "user",
              "role",
              "privilege",
              "content_selector",
              "routing_rule",
              "repository_config"
            ],
            "type": "string"
          },
          "repository": {
            "description": "Source repository name",
            "type": "string"
          }
        },
        "type": "object"
      },
      "RoutingRule": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/RoutingRule.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "maxLength": 1024,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "matchers": {
            "items": {
              "type": "string"
            },
            "maxItems": 128,
            "minItems": 1,
            "type": [
              "array",
              "null"
            ]
          },
          "mode": {
            "enum": [
              "allow",
              "block"
            ],
            "type": "string"
          },
          "name": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "createdAt",
          "updatedAt",
          "name",
          "mode",
          "matchers"
        ],
        "type": "object"
      },
      "RoutingRuleDraft": {
        "additionalProperties": false,
        "properties": {
          "matchers": {
            "items": {
              "type": "string"
            },
            "maxItems": 128,
            "minItems": 1,
            "type": [
              "array",
              "null"
            ]
          },
          "mode": {
            "enum": [
              "allow",
              "block"
            ],
            "type": "string"
          }
        },
        "required": [
          "mode",
          "matchers"
        ],
        "type": "object"
      },
      "RoutingRuleInput": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/RoutingRuleInput.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "description": {
            "maxLength": 1024,
            "type": "string"
          },
          "matchers": {
            "items": {
              "type": "string"
            },
            "maxItems": 128,
            "minItems": 1,
            "type": [
              "array",
              "null"
            ]
          },
          "mode": {
            "enum": [
              "allow",
              "block"
            ],
            "type": "string"
          },
          "name": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "name",
          "mode",
          "matchers"
        ],
        "type": "object"
      },
      "RoutingRuleList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/RoutingRuleList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/RoutingRule"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "RoutingRuleTestRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/RoutingRuleTestRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "draft": {
            "$ref": "#/components/schemas/RoutingRuleDraft"
          },
          "path": {
            "maxLength": 8192,
            "type": "string"
          },
          "ruleId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "path"
        ],
        "type": "object"
      },
      "RoutingRuleTestResult": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/RoutingRuleTestResult.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "allowed": {
            "type": "boolean"
          },
          "matched": {
            "type": "boolean"
          },
          "matcher": {
            "type": "string"
          },
          "normalizedPath": {
            "type": "string"
          }
        },
        "required": [
          "normalizedPath",
          "allowed",
          "matched"
        ],
        "type": "object"
      },
      "ScannerStatus": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/ScannerStatus.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "active": {
            "format": "int64",
            "type": "integer"
          },
          "configured": {
            "type": "boolean"
          },
          "connected": {
            "type": "boolean"
          },
          "dbAutoUpdate": {
            "type": "boolean"
          },
          "dbBuiltAt": {
            "format": "date-time",
            "type": "string"
          },
          "dbReady": {
            "type": "boolean"
          },
          "dbSchema": {
            "type": "string"
          },
          "dbVersion": {
            "type": "string"
          },
          "diskAvailableBytes": {
            "format": "int64",
            "type": "integer"
          },
          "diskQuotaBytes": {
            "format": "int64",
            "type": "integer"
          },
          "diskReady": {
            "type": "boolean"
          },
          "diskRejectedTotal": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "diskReservedBytes": {
            "format": "int64",
            "type": "integer"
          },
          "diskUsedBytes": {
            "format": "int64",
            "type": "integer"
          },
          "grypeVersion": {
            "type": "string"
          },
          "maxConcurrent": {
            "format": "int64",
            "type": "integer"
          },
          "maxQueueDepth": {
            "format": "int64",
            "type": "integer"
          },
          "queueDepth": {
            "format": "int64",
            "type": "integer"
          },
          "queueRejectedTotal": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "ready": {
            "type": "boolean"
          },
          "reason": {
            "type": "string"
          },
          "syftVersion": {
            "type": "string"
          }
        },
        "required": [
          "configured",
          "connected",
          "ready",
          "dbReady",
          "dbAutoUpdate",
          "active",
          "maxConcurrent",
          "queueDepth",
          "maxQueueDepth",
          "diskAvailableBytes",
          "diskUsedBytes",
          "diskReservedBytes",
          "diskQuotaBytes",
          "diskReady",
          "queueRejectedTotal",
          "diskRejectedTotal"
        ],
        "type": "object"
      },
      "SearchAssetItem": {
        "additionalProperties": false,
        "properties": {
          "assetId": {
            "format": "uuid",
            "type": "string"
          },
          "contentType": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "downloadPath": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "md5": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "namespace": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "repoId": {
            "format": "uuid",
            "type": "string"
          },
          "repoName": {
            "type": "string"
          },
          "repoType": {
            "type": "string"
          },
          "sha1": {
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "sizeBytes": {
            "format": "int64",
            "type": "integer"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "assetId",
          "repoId",
          "repoName",
          "format",
          "repoType",
          "path",
          "contentType",
          "sizeBytes",
          "sha256",
          "sha1",
          "md5",
          "namespace",
          "name",
          "version",
          "downloadPath",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "SearchAssetList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/SearchAssetList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/SearchAssetItem"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "nextCursor": {
            "description": "Continue a bounded search even if this page contains no items",
            "type": "string"
          },
          "total": {
            "description": "Exact visible match count by default. In bounded mode, the number of items in this page",
            "format": "int64",
            "type": "integer"
          },
          "totalExact": {
            "description": "False for bounded search; omitted for default exact search",
            "type": "boolean"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "SecurityPolicy": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/SecurityPolicy.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "allowedLicenses": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "blockSeverity": {
            "enum": [
              "critical",
              "high",
              "medium",
              "low"
            ],
            "type": "string"
          },
          "blockUnknownLicense": {
            "type": "boolean"
          },
          "blockUnscanned": {
            "type": "boolean"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "deniedLicenses": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "groupScanReuse": {
            "description": "Allow content evidence reuse across member repositories in a Group",
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "ignoredVulnerabilityIds": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "licenseExemptions": {
            "items": {
              "$ref": "#/components/schemas/LicenseExemption"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "licensePolicyMode": {
            "enum": [
              "off",
              "audit",
              "enforce"
            ],
            "type": "string"
          },
          "policyRevision": {
            "description": "Current repository policy revision, zero when no policy has been persisted",
            "format": "int64",
            "type": "integer"
          },
          "quarantineEnabled": {
            "type": "boolean"
          },
          "repoId": {
            "format": "uuid",
            "type": "string"
          },
          "requireSignature": {
            "type": "boolean"
          },
          "scanOnPublish": {
            "type": "boolean"
          },
          "scannerDriver": {
            "enum": [
              "builtin",
              "trivy",
              "grype"
            ],
            "type": "string"
          },
          "scannerExecution": {
            "enum": [
              "local",
              "sidecar"
            ],
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "repoId",
          "scanOnPublish",
          "quarantineEnabled",
          "blockSeverity",
          "blockUnscanned",
          "requireSignature",
          "scannerDriver",
          "scannerExecution",
          "policyRevision",
          "groupScanReuse",
          "ignoredVulnerabilityIds",
          "licensePolicyMode",
          "allowedLicenses",
          "deniedLicenses",
          "blockUnknownLicense",
          "licenseExemptions"
        ],
        "type": "object"
      },
      "SelectorPreview": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/SelectorPreview.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/SelectorPreviewAsset"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "scanned": {
            "format": "int64",
            "type": "integer"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "totalExact": {
            "type": "boolean"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "items",
          "total",
          "totalExact",
          "scanned",
          "truncated"
        ],
        "type": "object"
      },
      "SelectorPreviewAsset": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "path"
        ],
        "type": "object"
      },
      "SelectorPreviewRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/SelectorPreviewRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "expression": {
            "maxLength": 8192,
            "type": "string"
          },
          "repositoryId": {
            "format": "uuid",
            "type": "string"
          },
          "selectorId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "repositoryId"
        ],
        "type": "object"
      },
      "SetAssetPropertiesRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/SetAssetPropertiesRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "mode": {
            "default": "merge",
            "enum": [
              "merge",
              "replace"
            ],
            "type": "string"
          },
          "properties": {
            "items": {
              "$ref": "#/components/schemas/PropertyEntry"
            },
            "maxItems": 64,
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "properties"
        ],
        "type": "object"
      },
      "ShadowReadFailure": {
        "additionalProperties": false,
        "properties": {
          "path": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "reason"
        ],
        "type": "object"
      },
      "SigningKey": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/SigningKey.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "algorithm": {
            "enum": [
              "rsa-2048",
              "rsa-4096",
              "ecdsa-p256"
            ],
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "fingerprint": {
            "type": "string"
          },
          "hasPrivateKey": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "keyId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "publicKeyArmored": {
            "type": "string"
          },
          "repoId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "algorithm",
          "fingerprint",
          "keyId",
          "publicKeyArmored",
          "hasPrivateKey",
          "enabled",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "SigningKeyList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/SigningKeyList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/SigningKey"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "SigningPublicKey": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/SigningPublicKey.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "algorithm": {
            "enum": [
              "rsa-2048",
              "rsa-4096",
              "ecdsa-p256"
            ],
            "type": "string"
          },
          "fingerprint": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "keyId": {
            "type": "string"
          },
          "publicKeyArmored": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "algorithm",
          "fingerprint",
          "keyId",
          "publicKeyArmored"
        ],
        "type": "object"
      },
      "StartMigrationJobRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/StartMigrationJobRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "cutover": {
            "description": "Reconcile Nexus governance and persist an incremental cutover checkpoint",
            "type": "boolean"
          },
          "dryRun": {
            "type": "boolean"
          },
          "since": {
            "description": "Inclusive source timestamp for an incremental Artifactory or Harbor import",
            "format": "date-time",
            "type": "string"
          },
          "sourceId": {
            "type": "string"
          },
          "sourceRepoName": {
            "minLength": 1,
            "type": "string"
          },
          "targetRepoId": {
            "type": "string"
          }
        },
        "required": [
          "sourceId",
          "sourceRepoName",
          "targetRepoId"
        ],
        "type": "object"
      },
      "StoragePool": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/StoragePool.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "blobCount": {
            "format": "int64",
            "type": "integer"
          },
          "capabilities": {
            "$ref": "#/components/schemas/StoragePoolCapabilities",
            "description": "Features supported by the configured backend and authentication mode. Credentials must have the permissions required by each operation."
          },
          "config": {
            "$ref": "#/components/schemas/StoragePoolConfigView"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "driver": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "isDefault": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "repositoryCount": {
            "format": "int64",
            "type": "integer"
          },
          "totalBytes": {
            "format": "int64",
            "type": "integer"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "driver",
          "isDefault",
          "config",
          "capabilities",
          "repositoryCount",
          "blobCount",
          "totalBytes",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "StoragePoolCapabilities": {
        "additionalProperties": false,
        "properties": {
          "generationCleanup": {
            "description": "The backend can enumerate ordinary blob generations for orphan cleanup.",
            "type": "boolean"
          },
          "presignedDownload": {
            "description": "The backend can sign direct downloads when allowed by server policy.",
            "type": "boolean"
          },
          "uploadStaging": {
            "description": "The backend can store resumable upload parts. Filesystem pools require a shared mount for multiple replicas.",
            "type": "boolean"
          }
        },
        "required": [
          "uploadStaging",
          "generationCleanup",
          "presignedDownload"
        ],
        "type": "object"
      },
      "StoragePoolConfigView": {
        "additionalProperties": false,
        "properties": {
          "accountName": {
            "type": "string"
          },
          "authMode": {
            "description": "Credential source for object storage pools",
            "enum": [
              "static",
              "aws_default",
              "shared_key",
              "sas",
              "default_credential",
              "service_account_json",
              "adc",
              "anonymous"
            ],
            "type": "string"
          },
          "autoCreateBucket": {
            "type": "boolean"
          },
          "bucket": {
            "type": "string"
          },
          "container": {
            "type": "string"
          },
          "endpoint": {
            "type": "string"
          },
          "fsAccelEnabled": {
            "type": "boolean"
          },
          "fsAccelHeader": {
            "enum": [
              "X-Accel-Redirect",
              "X-Sendfile"
            ],
            "type": "string"
          },
          "fsAccelPrefix": {
            "type": "string"
          },
          "hasAccessKey": {
            "type": "boolean"
          },
          "hasAccountKey": {
            "type": "boolean"
          },
          "hasSasToken": {
            "type": "boolean"
          },
          "hasSecretKey": {
            "type": "boolean"
          },
          "hasServiceAccountJson": {
            "readOnly": true,
            "type": "boolean"
          },
          "pathStyle": {
            "type": "boolean"
          },
          "prefix": {
            "type": "string"
          },
          "publicEndpoint": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "rootDir": {
            "type": "string"
          }
        },
        "required": [
          "hasAccessKey",
          "hasSecretKey"
        ],
        "type": "object"
      },
      "StoragePoolList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/StoragePoolList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/StoragePool"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "StoragePoolTestResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/StoragePoolTestResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "driver": {
            "type": "string"
          },
          "latencyMs": {
            "format": "int64",
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "ok": {
            "type": "boolean"
          }
        },
        "required": [
          "ok",
          "driver",
          "latencyMs",
          "message"
        ],
        "type": "object"
      },
      "StoragePoolUsage": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/StoragePoolUsage.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "blobCount": {
            "format": "int64",
            "type": "integer"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/PoolRepositoryUsage"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "measuredAt": {
            "format": "date-time",
            "type": "string"
          },
          "physicalBytes": {
            "description": "Physical size of registered blobs, counted once per pool.",
            "format": "int64",
            "type": "integer"
          },
          "poolId": {
            "format": "uuid",
            "type": "string"
          },
          "reclaimableBlobCount": {
            "format": "int64",
            "type": "integer"
          },
          "reclaimableBytes": {
            "description": "Bytes of registered blobs currently unreferenced by any asset.",
            "format": "int64",
            "type": "integer"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "poolId",
          "measuredAt",
          "physicalBytes",
          "blobCount",
          "reclaimableBytes",
          "reclaimableBlobCount",
          "items",
          "total"
        ],
        "type": "object"
      },
      "Team": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/Team.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "capabilities": {
            "items": {
              "type": "string"
            },
            "maxItems": 6,
            "type": [
              "array",
              "null"
            ]
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "externalGroups": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "memberCount": {
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "role": {
            "enum": [
              "member",
              "admin"
            ],
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "role",
          "externalGroups",
          "memberCount",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "TeamDetail": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/TeamDetail.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "capabilities": {
            "items": {
              "type": "string"
            },
            "maxItems": 6,
            "type": [
              "array",
              "null"
            ]
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "externalGroups": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "memberCount": {
            "format": "int64",
            "type": "integer"
          },
          "members": {
            "items": {
              "$ref": "#/components/schemas/TeamMember"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "role": {
            "enum": [
              "member",
              "admin"
            ],
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "members",
          "id",
          "name",
          "description",
          "role",
          "externalGroups",
          "memberCount",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "TeamList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/TeamList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Team"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "TeamMember": {
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "source": {
            "enum": [
              "manual",
              "oidc",
              "ldap"
            ],
            "type": "string"
          },
          "teamId": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "userRole": {
            "enum": [
              "member",
              "admin"
            ],
            "type": "string"
          },
          "username": {
            "type": "string"
          }
        },
        "required": [
          "teamId",
          "userId",
          "username",
          "displayName",
          "email",
          "userRole",
          "source",
          "createdAt"
        ],
        "type": "object"
      },
      "TriggerScanRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/TriggerScanRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "assetPath": {
            "maxLength": 4096,
            "minLength": 1,
            "type": "string"
          },
          "findings": {
            "items": {
              "$ref": "#/components/schemas/VulnerabilityFinding"
            },
            "type": "array"
          },
          "scanner": {
            "type": "string"
          },
          "sha256": {
            "pattern": "^[a-fA-F0-9]{64}$",
            "type": "string"
          }
        },
        "required": [
          "assetPath"
        ],
        "type": "object"
      },
      "UpdateOutboundProxyRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/UpdateOutboundProxyRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "bypassHosts": {
            "items": {
              "type": "string"
            },
            "maxItems": 64,
            "type": [
              "array",
              "null"
            ]
          },
          "password": {
            "description": "Omit to retain the current password. An empty string removes it.",
            "maxLength": 1024,
            "type": "string",
            "writeOnly": true
          },
          "url": {
            "maxLength": 2048,
            "type": "string"
          },
          "username": {
            "maxLength": 255,
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "type": "object"
      },
      "UpdateRepositoryRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/UpdateRepositoryRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "anonymousRead": {
            "type": "boolean"
          },
          "description": {
            "maxLength": 512,
            "type": "string"
          },
          "formatConfig": {
            "$ref": "#/components/schemas/RepositoryFormatConfig",
            "description": "Patch the supplied format configuration fields"
          },
          "memberIds": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "online": {
            "type": "boolean"
          },
          "proxyPolicy": {
            "$ref": "#/components/schemas/ProxyPolicyPatch"
          },
          "quotaBytes": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "quotaWarnPercent": {
            "format": "int64",
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          },
          "routingRuleId": {
            "description": "Routing rule UUID. An empty string removes a binding.",
            "type": "string"
          },
          "upstream": {
            "$ref": "#/components/schemas/UpstreamConfigInput"
          },
          "writePolicy": {
            "description": "Hosted repository write policy (default allow)",
            "enum": [
              "allow",
              "allow_once",
              "deny"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateStoragePoolRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/UpdateStoragePoolRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "accessKey": {
            "type": "string"
          },
          "accountKey": {
            "type": "string",
            "writeOnly": true
          },
          "accountName": {
            "type": "string"
          },
          "authMode": {
            "description": "Changing credential source removes incompatible stored credentials",
            "enum": [
              "static",
              "aws_default",
              "shared_key",
              "sas",
              "default_credential",
              "service_account_json",
              "adc",
              "anonymous"
            ],
            "type": "string"
          },
          "autoCreateBucket": {
            "type": "boolean"
          },
          "bucket": {
            "type": "string"
          },
          "container": {
            "type": "string"
          },
          "endpoint": {
            "type": "string"
          },
          "fsAccelEnabled": {
            "type": "boolean"
          },
          "fsAccelHeader": {
            "enum": [
              "X-Accel-Redirect",
              "X-Sendfile"
            ],
            "type": "string"
          },
          "fsAccelPrefix": {
            "type": "string"
          },
          "isDefault": {
            "type": "boolean"
          },
          "name": {
            "maxLength": 64,
            "minLength": 1,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._-]{0,63}$",
            "type": "string"
          },
          "pathStyle": {
            "type": "boolean"
          },
          "prefix": {
            "type": "string"
          },
          "publicEndpoint": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "rootDir": {
            "type": "string"
          },
          "sasToken": {
            "type": "string",
            "writeOnly": true
          },
          "secretKey": {
            "type": "string"
          },
          "serviceAccountJson": {
            "description": "Replace the GCS service account JSON key",
            "maxLength": 65536,
            "type": "string",
            "writeOnly": true
          }
        },
        "type": "object"
      },
      "UpdateTeamRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/UpdateTeamRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "capabilities": {
            "items": {
              "type": "string"
            },
            "maxItems": 6,
            "type": "array"
          },
          "description": {
            "maxLength": 2048,
            "type": "string"
          },
          "externalGroups": {
            "items": {
              "type": "string"
            },
            "maxItems": 256,
            "type": [
              "array",
              "null"
            ]
          },
          "name": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "role": {
            "enum": [
              "member",
              "admin"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateUserRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/UpdateUserRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "disabled": {
            "type": "boolean"
          },
          "displayName": {
            "maxLength": 128,
            "type": "string"
          },
          "email": {
            "maxLength": 256,
            "type": "string"
          },
          "password": {
            "minLength": 8,
            "type": "string",
            "writeOnly": true
          },
          "role": {
            "enum": [
              "admin",
              "member"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateWebhookRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/UpdateWebhookRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "clearHeaders": {
            "type": "boolean"
          },
          "clearSecret": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          },
          "events": {
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "type": "array"
          },
          "formats": {
            "description": "An empty array clears the format scope",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "headers": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Replace custom headers. An empty object clears them.",
            "type": "object"
          },
          "name": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "repositoryIds": {
            "description": "An empty array clears the repository scope",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "secret": {
            "maxLength": 256,
            "type": "string"
          },
          "url": {
            "format": "uri",
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateWorkloadOIDCProviderRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/UpdateWorkloadOIDCProviderRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "audience": {
            "maxLength": 2048,
            "minLength": 1,
            "type": "string"
          },
          "claimMatches": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Replaces all claim assertions. An empty object clears them.",
            "maxProperties": 32,
            "type": "object"
          },
          "enabled": {
            "type": "boolean"
          },
          "issuerUrl": {
            "maxLength": 2048,
            "minLength": 1,
            "type": "string"
          },
          "jwksUrl": {
            "description": "An empty string restores OIDC discovery.",
            "maxLength": 2048,
            "type": "string"
          },
          "maxTtlSeconds": {
            "format": "int64",
            "maximum": 3600,
            "minimum": 60,
            "type": "integer"
          },
          "name": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "principalUserId": {
            "format": "uuid",
            "type": "string"
          },
          "scopes": {
            "items": {
              "enum": [
                "read",
                "write"
              ],
              "type": "string"
            },
            "maxItems": 2,
            "minItems": 1,
            "type": [
              "array",
              "null"
            ],
            "uniqueItems": true
          },
          "subjectPattern": {
            "description": "An empty string clears the subject constraint. The resulting policy must contain a concrete subject or non-envelope claim constraint.",
            "maxLength": 2048,
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpsertGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/UpsertGrantRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "pathPrefix": {
            "type": "string"
          },
          "permission": {
            "enum": [
              "read",
              "write",
              "admin"
            ],
            "type": "string"
          },
          "selectorId": {
            "format": "uuid",
            "type": "string"
          },
          "teamId": {
            "format": "uuid",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "permission"
        ],
        "type": "object"
      },
      "UpsertLDAPProviderRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/UpsertLDAPProviderRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "adminGroups": {
            "items": {
              "type": "string"
            },
            "maxItems": 256,
            "type": [
              "array",
              "null"
            ]
          },
          "bindDn": {
            "maxLength": 8192,
            "type": "string"
          },
          "bindPassword": {
            "type": "string"
          },
          "defaultRole": {
            "default": "member",
            "enum": [
              "member",
              "admin"
            ],
            "type": "string"
          },
          "displayNameAttr": {
            "maxLength": 128,
            "type": "string"
          },
          "emailAttr": {
            "maxLength": 128,
            "type": "string"
          },
          "enabled": {
            "default": true,
            "type": "boolean"
          },
          "groupBaseDn": {
            "maxLength": 8192,
            "type": "string"
          },
          "groupFilter": {
            "maxLength": 8192,
            "type": "string"
          },
          "groupNameAttr": {
            "maxLength": 128,
            "type": "string"
          },
          "insecureSkipVerify": {
            "type": "boolean"
          },
          "name": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "startTls": {
            "type": "boolean"
          },
          "url": {
            "maxLength": 2048,
            "minLength": 1,
            "type": "string"
          },
          "userBaseDn": {
            "maxLength": 8192,
            "minLength": 1,
            "type": "string"
          },
          "userFilter": {
            "maxLength": 8192,
            "type": "string"
          },
          "usernameAttr": {
            "maxLength": 128,
            "type": "string"
          }
        },
        "required": [
          "name",
          "url",
          "userBaseDn"
        ],
        "type": "object"
      },
      "UpsertOIDCProviderRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/UpsertOIDCProviderRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "adminGroups": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "clientId": {
            "minLength": 1,
            "type": "string"
          },
          "clientSecret": {
            "type": "string"
          },
          "defaultRole": {
            "enum": [
              "",
              "admin",
              "member"
            ],
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "issuerUrl": {
            "format": "uri",
            "type": "string"
          },
          "name": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "redirectUrl": {
            "format": "uri",
            "type": "string"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "issuerUrl",
          "clientId",
          "redirectUrl"
        ],
        "type": "object"
      },
      "UpsertRetentionPolicyRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/UpsertRetentionPolicyRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "excludeRegex": {
            "description": "Protect all asset paths matching this Go regular expression",
            "type": "string"
          },
          "includeRegex": {
            "description": "Only consider asset paths matching this Go regular expression",
            "type": "string"
          },
          "keepLastVersions": {
            "description": "Keep the newest N assets, timestamped builds per Maven snapshot version, or unique tagged manifest digests per OCI image",
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "maxAgeDays": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "minSizeBytes": {
            "description": "Only consider assets at or above this size in bytes",
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "pathPrefix": {
            "type": "string"
          }
        },
        "required": [
          "enabled",
          "maxAgeDays",
          "keepLastVersions"
        ],
        "type": "object"
      },
      "UpsertSBOMRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/UpsertSBOMRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "assetPath": {
            "maxLength": 4096,
            "minLength": 1,
            "type": "string"
          },
          "document": {},
          "format": {
            "enum": [
              "spdx",
              "cyclonedx"
            ],
            "type": "string"
          },
          "sha256": {
            "pattern": "^[a-fA-F0-9]{64}$",
            "type": "string"
          }
        },
        "required": [
          "assetPath",
          "format",
          "document"
        ],
        "type": "object"
      },
      "UpsertSecurityPolicyRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/UpsertSecurityPolicyRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "allowedLicenses": {
            "description": "SPDX identifiers or WITH terms. An empty array disables the allowlist",
            "items": {
              "type": "string"
            },
            "maxItems": 200,
            "type": "array"
          },
          "blockSeverity": {
            "default": "critical",
            "enum": [
              "critical",
              "high",
              "medium",
              "low"
            ],
            "type": "string"
          },
          "blockUnknownLicense": {
            "description": "Treat missing or invalid trusted SBOM license evidence as a violation",
            "type": "boolean"
          },
          "blockUnscanned": {
            "type": "boolean"
          },
          "deniedLicenses": {
            "description": "SPDX identifiers or WITH terms. An empty array clears the denylist",
            "items": {
              "type": "string"
            },
            "maxItems": 200,
            "type": "array"
          },
          "groupScanReuse": {
            "description": "Omit to retain the current value",
            "type": "boolean"
          },
          "ignoredVulnerabilityIds": {
            "description": "Omit to retain the current list or pass an empty array to clear it",
            "items": {
              "type": "string"
            },
            "maxItems": 200,
            "type": "array"
          },
          "licenseExemptions": {
            "description": "Replace exemptions. An empty array clears them. Omit to retain existing exemptions",
            "items": {
              "$ref": "#/components/schemas/LicenseExemptionInput"
            },
            "maxItems": 200,
            "type": "array"
          },
          "licensePolicyMode": {
            "description": "Omit to retain the current mode",
            "enum": [
              "off",
              "audit",
              "enforce"
            ],
            "type": "string"
          },
          "quarantineEnabled": {
            "type": "boolean"
          },
          "requireSignature": {
            "type": "boolean"
          },
          "scanOnPublish": {
            "type": "boolean"
          },
          "scannerDriver": {
            "default": "builtin",
            "enum": [
              "builtin",
              "trivy",
              "grype",
              "sidecar"
            ],
            "type": "string"
          },
          "scannerExecution": {
            "description": "Omit to retain sidecar execution for an existing Grype sidecar policy",
            "enum": [
              "local",
              "sidecar"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpstreamConfigInput": {
        "additionalProperties": false,
        "properties": {
          "bearerToken": {
            "type": "string"
          },
          "cacheTtlSeconds": {
            "description": "Cache TTL in seconds for immutable release artifacts (default 3600)",
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "clearProxyAuth": {
            "description": "Remove stored outbound proxy authentication credentials.",
            "type": "boolean"
          },
          "metadataCacheTtlSeconds": {
            "description": "Cache TTL in seconds for mutable index/metadata files (default 300)",
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "negativeCacheTtlSeconds": {
            "description": "Negative cache TTL in seconds for upstream 404 responses (0 disables)",
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "password": {
            "type": "string"
          },
          "proxyPassword": {
            "type": "string",
            "writeOnly": true
          },
          "proxyUrl": {
            "description": "Outbound proxy URL without inline credentials. Set to an empty string to disable it.",
            "type": "string"
          },
          "proxyUsername": {
            "type": "string"
          },
          "pullThroughPersist": {
            "description": "Persist proxied upstream assets locally for zero-downtime migration",
            "type": "boolean"
          },
          "streamingDownloadEnabled": {
            "description": "Enable progressive Raw and OCI blob proxy cache misses. Omit on update to keep the current setting. Scan gates and release age require buffering.",
            "type": "boolean"
          },
          "url": {
            "description": "Upstream base URL. Required when setting origin options. Omit when patching only outbound proxy settings.",
            "format": "uri",
            "type": "string"
          },
          "username": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpstreamConfigView": {
        "additionalProperties": false,
        "properties": {
          "cacheTtlSeconds": {
            "format": "int64",
            "type": "integer"
          },
          "hasBearerToken": {
            "type": "boolean"
          },
          "hasPassword": {
            "type": "boolean"
          },
          "hasProxyPassword": {
            "type": "boolean"
          },
          "metadataCacheTtlSeconds": {
            "format": "int64",
            "type": "integer"
          },
          "negativeCacheTtlSeconds": {
            "format": "int64",
            "type": "integer"
          },
          "proxyUrl": {
            "type": "string"
          },
          "proxyUsername": {
            "type": "string"
          },
          "pullThroughPersist": {
            "type": "boolean"
          },
          "streamingDownloadEnabled": {
            "description": "Whether progressive proxy downloads are enabled for this repository",
            "type": "boolean"
          },
          "url": {
            "type": "string"
          },
          "username": {
            "type": "string"
          }
        },
        "required": [
          "streamingDownloadEnabled",
          "hasProxyPassword",
          "url",
          "hasPassword",
          "hasBearerToken",
          "cacheTtlSeconds",
          "metadataCacheTtlSeconds",
          "negativeCacheTtlSeconds",
          "pullThroughPersist"
        ],
        "type": "object"
      },
      "User": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/User.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "disabled": {
            "type": "boolean"
          },
          "displayName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "role": {
            "enum": [
              "admin",
              "member"
            ],
            "type": "string"
          },
          "username": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "username",
          "displayName",
          "email",
          "role",
          "disabled",
          "createdAt"
        ],
        "type": "object"
      },
      "UserList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/UserList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/User"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "VerifyMigrationRequest": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/VerifyMigrationRequest.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "allowExtraInArka": {
            "description": "When true (default), additional assets in Arka do not fail readiness",
            "type": "boolean"
          },
          "maxDiffItems": {
            "default": 50,
            "format": "int64",
            "maximum": 200,
            "minimum": 1,
            "type": "integer"
          },
          "shadowReadSample": {
            "description": "Sample up to N digest-matched assets for live byte/SHA-256 shadow-read parity check",
            "format": "int64",
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          },
          "sourceRepoName": {
            "minLength": 1,
            "type": "string"
          },
          "targetRepoId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "sourceRepoName",
          "targetRepoId"
        ],
        "type": "object"
      },
      "VerifyMigrationResponse": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/VerifyMigrationResponse.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "blockers": {
            "description": "Evidence gaps and mismatches that block cutover, grouped by code",
            "items": {
              "$ref": "#/components/schemas/MigrationParityBlocker"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "byteVerifiedCount": {
            "description": "Matched assets verified by reading both streams because the source had no supported digest",
            "format": "int64",
            "type": "integer"
          },
          "checksumMismatchCount": {
            "format": "int64",
            "type": "integer"
          },
          "checksumMismatches": {
            "items": {
              "$ref": "#/components/schemas/MigrationChecksumMismatch"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "durationMs": {
            "format": "int64",
            "type": "integer"
          },
          "extraInArkaCount": {
            "format": "int64",
            "type": "integer"
          },
          "extraSample": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "format": {
            "type": "string"
          },
          "matched": {
            "format": "int64",
            "type": "integer"
          },
          "missingCount": {
            "format": "int64",
            "type": "integer"
          },
          "missingSample": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "readyForCutover": {
            "type": "boolean"
          },
          "shadowReadChecked": {
            "format": "int64",
            "type": "integer"
          },
          "shadowReadFailed": {
            "format": "int64",
            "type": "integer"
          },
          "shadowReadFailures": {
            "items": {
              "$ref": "#/components/schemas/ShadowReadFailure"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "shadowReadPassed": {
            "format": "int64",
            "type": "integer"
          },
          "skippedGeneratedCount": {
            "format": "int64",
            "type": "integer"
          },
          "sourceId": {
            "format": "uuid",
            "type": "string"
          },
          "sourceName": {
            "type": "string"
          },
          "sourceRepoName": {
            "type": "string"
          },
          "targetRepoId": {
            "format": "uuid",
            "type": "string"
          },
          "targetRepoName": {
            "type": "string"
          },
          "totalLocal": {
            "format": "int64",
            "type": "integer"
          },
          "totalRemote": {
            "format": "int64",
            "type": "integer"
          },
          "verifiedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "sourceId",
          "sourceName",
          "sourceRepoName",
          "targetRepoId",
          "targetRepoName",
          "format",
          "blockers",
          "byteVerifiedCount",
          "readyForCutover",
          "totalRemote",
          "totalLocal",
          "skippedGeneratedCount",
          "matched",
          "missingCount",
          "missingSample",
          "checksumMismatchCount",
          "checksumMismatches",
          "extraInArkaCount",
          "extraSample",
          "shadowReadChecked",
          "shadowReadPassed",
          "shadowReadFailed",
          "shadowReadFailures",
          "durationMs",
          "verifiedAt"
        ],
        "type": "object"
      },
      "VulnerabilityFinding": {
        "additionalProperties": false,
        "properties": {
          "fixedVersion": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "installedVersion": {
            "type": "string"
          },
          "package": {
            "type": "string"
          },
          "severity": {
            "enum": [
              "critical",
              "high",
              "medium",
              "low",
              "unknown"
            ],
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "severity"
        ],
        "type": "object"
      },
      "VulnerabilityScan": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/VulnerabilityScan.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "assetId": {
            "format": "uuid",
            "type": "string"
          },
          "assetPath": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "criticalCount": {
            "format": "int64",
            "type": "integer"
          },
          "errorMessage": {
            "type": "string"
          },
          "findings": {
            "items": {
              "$ref": "#/components/schemas/VulnerabilityFinding"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "highCount": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lowCount": {
            "format": "int64",
            "type": "integer"
          },
          "mediumCount": {
            "format": "int64",
            "type": "integer"
          },
          "policyRevision": {
            "description": "Repository policy revision observed when recording this scan",
            "format": "int64",
            "type": "integer"
          },
          "repoId": {
            "format": "uuid",
            "type": "string"
          },
          "reused": {
            "type": "boolean"
          },
          "scannedAt": {
            "format": "date-time",
            "type": "string"
          },
          "scanner": {
            "type": "string"
          },
          "scannerDbVersion": {
            "type": "string"
          },
          "scannerEngine": {
            "type": "string"
          },
          "scannerEngineVersion": {
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "status": {
            "enum": [
              "pending",
              "running",
              "completed",
              "failed"
            ],
            "type": "string"
          },
          "unknownCount": {
            "format": "int64",
            "type": "integer"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "repoId",
          "assetPath",
          "sha256",
          "scanner",
          "status",
          "criticalCount",
          "highCount",
          "mediumCount",
          "lowCount",
          "unknownCount",
          "findings",
          "errorMessage",
          "policyRevision",
          "reused",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "VulnerabilityScanList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/VulnerabilityScanList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/VulnerabilityScan"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "Webhook": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/Webhook.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "events": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "formats": {
            "description": "Empty matches all formats",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "hasSecret": {
            "type": "boolean"
          },
          "headerNames": {
            "description": "Sorted custom header names",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "repositoryIds": {
            "description": "Empty matches all repositories",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "repositoryIds",
          "formats",
          "headerNames",
          "id",
          "name",
          "url",
          "hasSecret",
          "events",
          "enabled",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "WebhookDelivery": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/WebhookDelivery.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "durationMs": {
            "format": "int64",
            "type": "integer"
          },
          "errorMessage": {
            "type": "string"
          },
          "eventAction": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "payload": {},
          "statusCode": {
            "format": "int64",
            "type": "integer"
          },
          "success": {
            "type": "boolean"
          },
          "webhookId": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "webhookId",
          "eventAction",
          "payload",
          "statusCode",
          "success",
          "durationMs",
          "createdAt"
        ],
        "type": "object"
      },
      "WebhookDeliveryList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/WebhookDeliveryList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/WebhookDelivery"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "WebhookEventCatalogEntry": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "exampleDetail": {},
          "supportsFormatFilter": {
            "type": "boolean"
          },
          "supportsRepositoryFilter": {
            "type": "boolean"
          }
        },
        "required": [
          "action",
          "category",
          "description",
          "supportsRepositoryFilter",
          "supportsFormatFilter",
          "exampleDetail"
        ],
        "type": "object"
      },
      "WebhookEventCatalogList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/WebhookEventCatalogList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/WebhookEventCatalogEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "WebhookList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/WebhookList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Webhook"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      },
      "WorkloadOIDCProvider": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/WorkloadOIDCProvider.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "audience": {
            "type": "string"
          },
          "claimMatches": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "issuerUrl": {
            "type": "string"
          },
          "jwksUrl": {
            "type": "string"
          },
          "maxTtlSeconds": {
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "principalUserId": {
            "format": "uuid",
            "type": "string"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "subjectPattern": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "issuerUrl",
          "audience",
          "claimMatches",
          "principalUserId",
          "scopes",
          "maxTtlSeconds",
          "enabled",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "WorkloadOIDCProviderList": {
        "additionalProperties": false,
        "properties": {
          "$schema": {
            "description": "A URL to the JSON Schema for this object.",
            "examples": [
              "https://example.com/api/v1/schemas/WorkloadOIDCProviderList.json"
            ],
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/WorkloadOIDCProvider"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "scheme": "basic",
        "type": "http"
      },
      "bearerAuth": {
        "bearerFormat": "Arka Session or API Token",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "Code-First OpenAPI 3.1 contract for Arka — cloud-native artifact registry with Nexus 3 compatibility.",
    "title": "Arka Management API",
    "version": "1.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/api/v1/assets/{id}/sbom": {
      "get": {
        "operationId": "getAssetSBOM",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "Return only this SBOM format",
            "explode": false,
            "in": "query",
            "name": "format",
            "schema": {
              "description": "Return only this SBOM format",
              "enum": [
                "cyclonedx",
                "spdx"
              ],
              "type": "string"
            }
          },
          {
            "description": "Authorize and resolve this asset through a group repository",
            "explode": false,
            "in": "query",
            "name": "repositoryId",
            "schema": {
              "description": "Authorize and resolve this asset through a group repository",
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetSBOMResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get the asset SBOM documents",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/audits": {
      "get": {
        "operationId": "listAuditEvents",
        "parameters": [
          {
            "description": "Search across actor, action, resource type/id, and request id",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Search across actor, action, resource type/id, and request id",
              "type": "string"
            }
          },
          {
            "description": "Filter by event outcome (e.g. success, denied, failure)",
            "explode": false,
            "in": "query",
            "name": "outcome",
            "schema": {
              "description": "Filter by event outcome (e.g. success, denied, failure)",
              "type": "string"
            }
          },
          {
            "description": "Filter by actor username",
            "explode": false,
            "in": "query",
            "name": "actor",
            "schema": {
              "description": "Filter by actor username",
              "type": "string"
            }
          },
          {
            "description": "Filter by audit action",
            "explode": false,
            "in": "query",
            "name": "action",
            "schema": {
              "description": "Filter by audit action",
              "type": "string"
            }
          },
          {
            "description": "Inclusive lower timestamp bound (RFC3339 or YYYY-MM-DD)",
            "explode": false,
            "in": "query",
            "name": "from",
            "schema": {
              "description": "Inclusive lower timestamp bound (RFC3339 or YYYY-MM-DD)",
              "type": "string"
            }
          },
          {
            "description": "Inclusive upper timestamp bound (RFC3339 or YYYY-MM-DD)",
            "explode": false,
            "in": "query",
            "name": "to",
            "schema": {
              "description": "Inclusive upper timestamp bound (RFC3339 or YYYY-MM-DD)",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "format": "int64",
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Continue from the X-Next-Cursor response header",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "Continue from the X-Next-Cursor response header",
              "maxLength": 160,
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuditEventList"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Next-Cursor": {
                "schema": {
                  "description": "Cursor for the next older page, when available",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List audit events with optional server-side filters (admin only)",
        "tags": [
          "System"
        ]
      }
    },
    "/api/v1/audits/export": {
      "get": {
        "operationId": "exportAuditEvents",
        "parameters": [
          {
            "description": "Search across actor, action, resource type/id, and request id",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Search across actor, action, resource type/id, and request id",
              "type": "string"
            }
          },
          {
            "description": "Filter by event outcome (e.g. success, denied, failure)",
            "explode": false,
            "in": "query",
            "name": "outcome",
            "schema": {
              "description": "Filter by event outcome (e.g. success, denied, failure)",
              "type": "string"
            }
          },
          {
            "description": "Filter by actor username",
            "explode": false,
            "in": "query",
            "name": "actor",
            "schema": {
              "description": "Filter by actor username",
              "type": "string"
            }
          },
          {
            "description": "Filter by audit action",
            "explode": false,
            "in": "query",
            "name": "action",
            "schema": {
              "description": "Filter by audit action",
              "type": "string"
            }
          },
          {
            "description": "Inclusive lower timestamp bound (RFC3339 or YYYY-MM-DD)",
            "explode": false,
            "in": "query",
            "name": "from",
            "schema": {
              "description": "Inclusive lower timestamp bound (RFC3339 or YYYY-MM-DD)",
              "type": "string"
            }
          },
          {
            "description": "Inclusive upper timestamp bound (RFC3339 or YYYY-MM-DD)",
            "explode": false,
            "in": "query",
            "name": "to",
            "schema": {
              "description": "Inclusive upper timestamp bound (RFC3339 or YYYY-MM-DD)",
              "type": "string"
            }
          },
          {
            "description": "Export format (csv or json)",
            "explode": false,
            "in": "query",
            "name": "format",
            "schema": {
              "default": "csv",
              "description": "Export format (csv or json)",
              "enum": [
                "csv",
                "json"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 1000,
              "format": "int64",
              "maximum": 5000,
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuditExportResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Export filtered audit events as CSV or JSON (admin only)",
        "tags": [
          "System"
        ]
      }
    },
    "/api/v1/auth/ldap/providers": {
      "get": {
        "operationId": "listLDAPProviders",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LDAPProviderList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "tags": [
          "LDAP"
        ]
      },
      "post": {
        "operationId": "upsertLDAPProvider",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertLDAPProviderRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LDAPProvider"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "tags": [
          "LDAP"
        ]
      }
    },
    "/api/v1/auth/ldap/providers/{id}": {
      "delete": {
        "operationId": "deleteLDAPProvider",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "tags": [
          "LDAP"
        ]
      }
    },
    "/api/v1/auth/ldap/providers/{id}/test": {
      "post": {
        "operationId": "testLDAPProvider",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LDAPTestResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "tags": [
          "LDAP"
        ]
      }
    },
    "/api/v1/auth/login": {
      "post": {
        "operationId": "login",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Authenticate with username and password",
        "tags": [
          "Auth"
        ]
      }
    },
    "/api/v1/auth/me": {
      "get": {
        "operationId": "getCurrentPrincipal",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrentPrincipal"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Return current authenticated principal",
        "tags": [
          "Auth"
        ]
      }
    },
    "/api/v1/auth/oidc/exchange": {
      "post": {
        "operationId": "exchangeWorkloadOIDCToken",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExchangeWorkloadOIDCTokenRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExchangeWorkloadOIDCTokenResponse"
                }
              }
            },
            "description": "OK",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Exchange a workload OIDC JWT for an Arka API token",
        "tags": [
          "Auth"
        ]
      }
    },
    "/api/v1/auth/oidc/providers": {
      "get": {
        "operationId": "listOIDCProviders",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OIDCProviderList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List configured OIDC identity providers",
        "tags": [
          "Auth"
        ]
      },
      "post": {
        "operationId": "upsertOIDCProvider",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertOIDCProviderRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OIDCProvider"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Create or update an OIDC identity provider (admin only)",
        "tags": [
          "Auth"
        ]
      }
    },
    "/api/v1/auth/oidc/providers/{id}": {
      "delete": {
        "operationId": "deleteOIDCProvider",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Delete an OIDC provider (admin only)",
        "tags": [
          "Auth"
        ]
      }
    },
    "/api/v1/auth/oidc/{provider}/callback": {
      "post": {
        "operationId": "completeOIDCCallback",
        "parameters": [
          {
            "in": "path",
            "name": "provider",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OIDCCallbackRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Exchange OIDC authorization code with PKCE and mint Arka session token",
        "tags": [
          "Auth"
        ]
      }
    },
    "/api/v1/auth/oidc/{provider}/start": {
      "get": {
        "operationId": "startOIDCLogin",
        "parameters": [
          {
            "in": "path",
            "name": "provider",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OIDCStartLoginResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Start OIDC Authorization Code + PKCE login flow",
        "tags": [
          "Auth"
        ]
      }
    },
    "/api/v1/auth/password": {
      "put": {
        "operationId": "changeMyPassword",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Change the authenticated local user's password",
        "tags": [
          "Auth"
        ]
      }
    },
    "/api/v1/auth/workload-providers": {
      "get": {
        "operationId": "listWorkloadOIDCProviders",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkloadOIDCProviderList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "basicAuth": []
          }
        ],
        "summary": "List workload OIDC providers",
        "tags": [
          "Auth"
        ]
      },
      "post": {
        "operationId": "createWorkloadOIDCProvider",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWorkloadOIDCProviderRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkloadOIDCProvider"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "basicAuth": []
          }
        ],
        "summary": "Create a workload OIDC provider",
        "tags": [
          "Auth"
        ]
      }
    },
    "/api/v1/auth/workload-providers/{id}": {
      "delete": {
        "operationId": "deleteWorkloadOIDCProvider",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "basicAuth": []
          }
        ],
        "summary": "Delete a workload OIDC provider",
        "tags": [
          "Auth"
        ]
      },
      "get": {
        "operationId": "getWorkloadOIDCProvider",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkloadOIDCProvider"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "basicAuth": []
          }
        ],
        "summary": "Get a workload OIDC provider",
        "tags": [
          "Auth"
        ]
      },
      "patch": {
        "operationId": "updateWorkloadOIDCProvider",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWorkloadOIDCProviderRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkloadOIDCProvider"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "basicAuth": []
          }
        ],
        "summary": "Update a workload OIDC provider",
        "tags": [
          "Auth"
        ]
      }
    },
    "/api/v1/builds": {
      "get": {
        "operationId": "listBuilds",
        "parameters": [
          {
            "description": "Exact build name",
            "explode": false,
            "in": "query",
            "name": "name",
            "schema": {
              "description": "Exact build name",
              "maxLength": 256,
              "type": "string"
            }
          },
          {
            "description": "Repeatable exact key=value filters combined with AND",
            "explode": true,
            "in": "query",
            "name": "property",
            "schema": {
              "description": "Repeatable exact key=value filters combined with AND",
              "items": {
                "type": "string"
              },
              "maxItems": 64,
              "type": "array"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "format": "int64",
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuildList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List authorized builds",
        "tags": [
          "Builds"
        ]
      },
      "post": {
        "operationId": "createBuild",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBuildRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuildDetail"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Record a build",
        "tags": [
          "Builds"
        ]
      }
    },
    "/api/v1/builds/{id}": {
      "delete": {
        "operationId": "deleteBuild",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Delete build information",
        "tags": [
          "Builds"
        ]
      },
      "get": {
        "operationId": "getBuild",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuildDetail"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get build lineage and promotion history",
        "tags": [
          "Builds"
        ]
      }
    },
    "/api/v1/builds/{id}/promote": {
      "post": {
        "operationId": "promoteBuild",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PromoteBuildRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromoteBuildResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Plan or commit an immutable build promotion",
        "tags": [
          "Builds"
        ]
      }
    },
    "/api/v1/formats": {
      "get": {
        "operationId": "listFormats",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormatList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List registered package format drivers",
        "tags": [
          "Formats"
        ]
      }
    },
    "/api/v1/health": {
      "get": {
        "operationId": "getHealth",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Check server and PostgreSQL readiness",
        "tags": [
          "System"
        ]
      }
    },
    "/api/v1/health/live": {
      "get": {
        "operationId": "getLiveness",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Check process liveness without consulting dependencies",
        "tags": [
          "System"
        ]
      }
    },
    "/api/v1/jobs": {
      "get": {
        "operationId": "listJobs",
        "parameters": [
          {
            "explode": false,
            "in": "query",
            "name": "kind",
            "schema": {
              "enum": [
                "",
                "blob_gc",
                "retention_run",
                "metadata_reindex",
                "webhook_delivery",
                "migration_sync",
                "vulnerability_scan"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "enum": [
                "",
                "queued",
                "running",
                "succeeded",
                "failed",
                "dead_letter",
                "canceled"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "repoId",
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "format": "int64",
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJobList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List durable jobs",
        "tags": [
          "Operations"
        ]
      },
      "post": {
        "operationId": "enqueueJob",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EnqueueJobRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJob"
                }
              }
            },
            "description": "Accepted"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Enqueue a maintenance job",
        "tags": [
          "Operations"
        ]
      }
    },
    "/api/v1/jobs/{id}": {
      "get": {
        "operationId": "getJob",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJob"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get a durable job",
        "tags": [
          "Operations"
        ]
      }
    },
    "/api/v1/jobs/{id}/cancel": {
      "post": {
        "operationId": "cancelJob",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJob"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Cancel a queued or running job",
        "tags": [
          "Operations"
        ]
      }
    },
    "/api/v1/jobs/{id}/retry": {
      "post": {
        "operationId": "retryJob",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJob"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Retry a terminal job",
        "tags": [
          "Operations"
        ]
      }
    },
    "/api/v1/migrations/drivers": {
      "get": {
        "operationId": "listMigrationDrivers",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrationDriverList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List registered migration source drivers",
        "tags": [
          "Migrations"
        ]
      }
    },
    "/api/v1/migrations/jobs": {
      "get": {
        "operationId": "listMigrationJobs",
        "parameters": [
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "format": "int64",
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrationJobList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List recent migration jobs",
        "tags": [
          "Migrations"
        ]
      },
      "post": {
        "operationId": "startMigrationJob",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StartMigrationJobRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrationJob"
                }
              }
            },
            "description": "Accepted"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Start a checksum-verified migration job from a source repository",
        "tags": [
          "Migrations"
        ]
      }
    },
    "/api/v1/migrations/jobs/{id}": {
      "get": {
        "operationId": "getMigrationJob",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrationJob"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get migration job status and progress",
        "tags": [
          "Migrations"
        ]
      }
    },
    "/api/v1/migrations/jobs/{id}/cutover-readiness": {
      "get": {
        "operationId": "getMigrationCutoverReadiness",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "Aggregate enrolled cutover repositories for the same Nexus source",
            "explode": false,
            "in": "query",
            "name": "sourceWide",
            "schema": {
              "description": "Aggregate enrolled cutover repositories for the same Nexus source",
              "type": "boolean"
            }
          },
          {
            "description": "Maximum stored blocker rows per repository",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "description": "Maximum stored blocker rows per repository",
              "format": "int64",
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Stored blocker offset per repository",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Stored blocker offset per repository",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrationCutoverReadinessResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Check whether enrolled Nexus repositories are ready for cutover",
        "tags": [
          "Migrations"
        ]
      }
    },
    "/api/v1/migrations/jobs/{id}/reconciliation": {
      "get": {
        "operationId": "getMigrationReconciliation",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "kind",
            "schema": {
              "enum": [
                "asset",
                "user",
                "role",
                "privilege",
                "content_selector",
                "routing_rule",
                "repository_config"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "status",
            "schema": {
              "enum": [
                "succeeded",
                "failed",
                "manual_required",
                "blocked",
                "skipped"
              ],
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "repository",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "format": "int64",
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrationReconciliationResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List persisted migration reconciliation items",
        "tags": [
          "Migrations"
        ]
      }
    },
    "/api/v1/migrations/jobs/{id}/resume": {
      "post": {
        "operationId": "resumeMigrationJob",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrationJob"
                }
              }
            },
            "description": "Accepted"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Resume a failed or canceled migration job from its saved continuation token",
        "tags": [
          "Migrations"
        ]
      }
    },
    "/api/v1/migrations/jobs/{id}/retry-failed": {
      "post": {
        "operationId": "retryFailedMigrationItems",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RetryFailedMigrationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrationJob"
                }
              }
            },
            "description": "Accepted"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Queue a retry of selected failed migration items",
        "tags": [
          "Migrations"
        ]
      }
    },
    "/api/v1/migrations/jobs/{id}/sync": {
      "post": {
        "operationId": "syncMigrationCutover",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MigrationSyncRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrationJob"
                }
              }
            },
            "description": "Accepted"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Queue an incremental Nexus migration pass from the saved watermark",
        "tags": [
          "Migrations"
        ]
      }
    },
    "/api/v1/migrations/sources": {
      "get": {
        "operationId": "listMigrationSources",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrationSourceList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List configured external migration sources (e.g. Nexus 3)",
        "tags": [
          "Migrations"
        ]
      },
      "post": {
        "operationId": "createMigrationSource",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMigrationSourceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrationSource"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Register an external migration source (e.g. Nexus 3)",
        "tags": [
          "Migrations"
        ]
      }
    },
    "/api/v1/migrations/sources/{id}": {
      "delete": {
        "operationId": "deleteMigrationSource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Delete a migration source",
        "tags": [
          "Migrations"
        ]
      }
    },
    "/api/v1/migrations/sources/{id}/preflight": {
      "post": {
        "operationId": "preflightMigrationSource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrationPreflightResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Check source connectivity, repository topology and security API readability",
        "tags": [
          "Migrations"
        ]
      }
    },
    "/api/v1/migrations/sources/{id}/provision": {
      "post": {
        "operationId": "provisionFromMigrationSource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProvisionFromSourceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProvisionFromSourceResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Batch-provision hosted or pull-through proxy repositories from a Nexus 3 source",
        "tags": [
          "Migrations"
        ]
      }
    },
    "/api/v1/migrations/sources/{id}/repositories": {
      "get": {
        "operationId": "discoverMigrationSourceRepositories",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteRepositoryList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Discover repositories on an external migration source",
        "tags": [
          "Migrations"
        ]
      }
    },
    "/api/v1/migrations/sources/{id}/test": {
      "post": {
        "operationId": "testMigrationSource",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrationTestResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Test connectivity and credentials against a migration source",
        "tags": [
          "Migrations"
        ]
      }
    },
    "/api/v1/migrations/sources/{id}/verify": {
      "post": {
        "operationId": "verifyMigrationParity",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VerifyMigrationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerifyMigrationResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Verify inventory and optional live byte parity before cutover",
        "tags": [
          "Migrations"
        ]
      }
    },
    "/api/v1/observability/status": {
      "get": {
        "operationId": "getObservabilityStatus",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObservabilityStatus"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get live runtime telemetry, proxy cache counters, and offload status (admin only)",
        "tags": [
          "System"
        ]
      }
    },
    "/api/v1/overview": {
      "get": {
        "operationId": "getOverview",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OverviewStats"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get high-level registry metrics",
        "tags": [
          "System"
        ]
      }
    },
    "/api/v1/platform/compat/nexus3": {
      "get": {
        "operationId": "getNexus3CompatStatus",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Nexus3CompatStatusResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Inspect the Nexus 3 REST compatibility adapter (admin only)",
        "tags": [
          "System"
        ]
      }
    },
    "/api/v1/platform/outbound-proxy": {
      "get": {
        "operationId": "getOutboundProxy",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutboundProxy"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get system outbound proxy",
        "tags": [
          "Security"
        ]
      },
      "put": {
        "operationId": "updateOutboundProxy",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOutboundProxyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutboundProxy"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Update system outbound proxy",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/ready": {
      "get": {
        "operationId": "getReadiness",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadinessResponse"
                }
              }
            },
            "description": "OK"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "summary": "Check PostgreSQL and default blob storage readiness",
        "tags": [
          "System"
        ]
      }
    },
    "/api/v1/repositories": {
      "get": {
        "operationId": "listRepositories",
        "parameters": [
          {
            "description": "Filter by format name",
            "explode": false,
            "in": "query",
            "name": "format",
            "schema": {
              "description": "Filter by format name",
              "type": "string"
            }
          },
          {
            "description": "Filter by repository type",
            "explode": false,
            "in": "query",
            "name": "type",
            "schema": {
              "description": "Filter by repository type",
              "enum": [
                "",
                "hosted",
                "proxy",
                "group"
              ],
              "type": "string"
            }
          },
          {
            "description": "Case-insensitive substring in the name, format, type or description",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Case-insensitive substring in the name, format, type or description",
              "maxLength": 256,
              "type": "string"
            }
          },
          {
            "description": "Filter by anonymous read access",
            "explode": false,
            "in": "query",
            "name": "access",
            "schema": {
              "description": "Filter by anonymous read access",
              "enum": [
                "",
                "public",
                "private"
              ],
              "type": "string"
            }
          },
          {
            "description": "Page size. Omitting limit and offset returns all matching repositories",
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "description": "Page size. Omitting limit and offset returns all matching repositories",
              "format": "int64",
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Visible repositories to skip. Defaults to a page size of 50 when limit is omitted",
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "description": "Visible repositories to skip. Defaults to a page size of 50 when limit is omitted",
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Sort by name or visible repository usage",
            "explode": false,
            "in": "query",
            "name": "sort",
            "schema": {
              "description": "Sort by name or visible repository usage",
              "enum": [
                "",
                "name",
                "assets",
                "size",
                "quota"
              ],
              "type": "string"
            }
          },
          {
            "description": "Sort direction, ascending by default",
            "explode": false,
            "in": "query",
            "name": "direction",
            "schema": {
              "description": "Sort direction, ascending by default",
              "enum": [
                "",
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "Skip repository usage fields, leaving their values zero",
            "explode": false,
            "in": "query",
            "name": "skipStats",
            "schema": {
              "description": "Skip repository usage fields, leaving their values zero",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RepositoryList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List visible repositories",
        "tags": [
          "Repositories"
        ]
      },
      "post": {
        "operationId": "createRepository",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRepositoryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Repository"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Create a hosted, proxy, or group repository",
        "tags": [
          "Repositories"
        ]
      }
    },
    "/api/v1/repositories/{id}": {
      "delete": {
        "operationId": "deleteRepository",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Delete a repository",
        "tags": [
          "Repositories"
        ]
      },
      "get": {
        "operationId": "getRepository",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Repository"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get repository details",
        "tags": [
          "Repositories"
        ]
      },
      "patch": {
        "operationId": "updateRepository",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRepositoryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Repository"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Update repository settings",
        "tags": [
          "Repositories"
        ]
      }
    },
    "/api/v1/repositories/{id}/artifacts": {
      "get": {
        "operationId": "listRepositoryArtifacts",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "format": "int64",
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ArtifactList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List logical artifacts in a repository",
        "tags": [
          "Artifacts"
        ]
      }
    },
    "/api/v1/repositories/{id}/assets": {
      "delete": {
        "operationId": "deleteRepositoryAsset",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "path",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Delete an asset by repository-relative path",
        "tags": [
          "Artifacts"
        ]
      },
      "get": {
        "operationId": "listRepositoryAssets",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "prefix",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter assets belonging to a specific logical artifact",
            "explode": false,
            "in": "query",
            "name": "artifactId",
            "schema": {
              "description": "Filter assets belonging to a specific logical artifact",
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "format": "int64",
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Include current scan and trusted signature statuses for this page. Requires authentication",
            "explode": false,
            "in": "query",
            "name": "includeEvidence",
            "schema": {
              "description": "Include current scan and trusted signature statuses for this page. Requires authentication",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List addressable assets in a repository",
        "tags": [
          "Artifacts"
        ]
      }
    },
    "/api/v1/repositories/{id}/assets/detail": {
      "get": {
        "operationId": "getRepositoryAssetDetail",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "Exact stored asset path relative to the repository",
            "explode": false,
            "in": "query",
            "name": "path",
            "required": true,
            "schema": {
              "description": "Exact stored asset path relative to the repository",
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetDetailResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Inspect an asset by repository-relative path",
        "tags": [
          "Artifacts"
        ]
      }
    },
    "/api/v1/repositories/{id}/assets/tree": {
      "get": {
        "operationId": "browseRepositoryTree",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "Repository-relative directory prefix",
            "explode": false,
            "in": "query",
            "name": "prefix",
            "schema": {
              "description": "Repository-relative directory prefix",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 200,
              "format": "int64",
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Next cursor returned by the previous page",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "Next cursor returned by the previous page",
              "type": "string"
            }
          },
          {
            "description": "Include current scan and trusted signature statuses for this page. Requires authentication",
            "explode": false,
            "in": "query",
            "name": "includeEvidence",
            "schema": {
              "description": "Include current scan and trusted signature statuses for this page. Requires authentication",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetTreeResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Browse immediate children of a repository directory",
        "tags": [
          "Artifacts"
        ]
      }
    },
    "/api/v1/repositories/{id}/assets/{assetId}/properties": {
      "get": {
        "operationId": "getAssetProperties",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "assetId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PropertyList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get custom asset properties",
        "tags": [
          "Artifacts"
        ]
      },
      "put": {
        "operationId": "setAssetProperties",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "assetId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetAssetPropertiesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PropertyList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Merge or replace custom asset properties",
        "tags": [
          "Artifacts"
        ]
      }
    },
    "/api/v1/repositories/{id}/assets/{assetId}/properties/{key}": {
      "delete": {
        "operationId": "deleteAssetProperty",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "assetId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "pattern": "^[A-Za-z0-9._-]{1,128}$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Delete a custom asset property",
        "tags": [
          "Artifacts"
        ]
      }
    },
    "/api/v1/repositories/{id}/directories/delete": {
      "post": {
        "operationId": "deleteRepositoryDirectory",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteDirectoryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectoryDeleteResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Confirm and atomically delete assets under a hosted repository directory",
        "tags": [
          "Artifacts"
        ]
      }
    },
    "/api/v1/repositories/{id}/directories/delete-preview": {
      "post": {
        "operationId": "previewDirectoryDelete",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PreviewDirectoryDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectoryDeletePreviewResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Preview deletion of assets under a hosted repository directory",
        "tags": [
          "Artifacts"
        ]
      }
    },
    "/api/v1/repositories/{id}/grants": {
      "get": {
        "operationId": "listRepositoryGrants",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GrantList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List RBAC grants on a repository",
        "tags": [
          "Identity"
        ]
      },
      "put": {
        "operationId": "upsertRepositoryGrant",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertGrantRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Grant"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Grant or update a user or team permission on a repository",
        "tags": [
          "Identity"
        ]
      }
    },
    "/api/v1/repositories/{id}/grants/{grantId}": {
      "delete": {
        "operationId": "deleteRepositoryGrant",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Remove a repository grant",
        "tags": [
          "Identity"
        ]
      }
    },
    "/api/v1/repositories/{id}/promote": {
      "post": {
        "operationId": "promoteRepository",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Repository"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Atomically promote a pull-through proxy repository to a standalone hosted repository",
        "tags": [
          "Repositories"
        ]
      }
    },
    "/api/v1/repositories/{id}/retention": {
      "get": {
        "operationId": "getRepositoryRetention",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RetentionPolicy"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get retention policy for a repository (admin only)",
        "tags": [
          "Retention"
        ]
      },
      "put": {
        "operationId": "upsertRepositoryRetention",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertRetentionPolicyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RetentionPolicy"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Configure or update retention policy for a repository (admin only)",
        "tags": [
          "Retention"
        ]
      }
    },
    "/api/v1/repositories/{id}/retention/run": {
      "post": {
        "operationId": "runRepositoryRetention",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RetentionRunRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RetentionRunResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Execute or dry-run retention policy on a repository (admin only)",
        "tags": [
          "Retention"
        ]
      }
    },
    "/api/v1/repositories/{id}/security/allowlists": {
      "get": {
        "operationId": "listQuarantineAllowlists",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuarantineAllowlistList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List quarantine exceptions",
        "tags": [
          "Security"
        ]
      },
      "post": {
        "operationId": "createQuarantineAllowlist",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateQuarantineAllowlistRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuarantineAllowlist"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Create a quarantine exception",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/repositories/{id}/security/allowlists/{allowlistId}": {
      "delete": {
        "operationId": "deleteQuarantineAllowlist",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "allowlistId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Delete a quarantine exception",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/repositories/{id}/security/license-compliance": {
      "get": {
        "operationId": "getRepositoryLicenseCompliance",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "format": "int64",
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "Maximum number of normalized expressions to return in the distribution",
            "explode": false,
            "in": "query",
            "name": "top",
            "schema": {
              "default": 10,
              "description": "Maximum number of normalized expressions to return in the distribution",
              "format": "int64",
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Filter paginated assets. Attention includes every outcome except pass. Counts and distribution always cover the entire repository.",
            "explode": false,
            "in": "query",
            "name": "outcome",
            "schema": {
              "default": "violations",
              "description": "Filter paginated assets. Attention includes every outcome except pass. Counts and distribution always cover the entire repository.",
              "enum": [
                "violations",
                "attention",
                "all",
                "pass",
                "audit_violation",
                "blocked",
                "exempted",
                "unknown"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RepositoryLicenseCompliance"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get repository license compliance and current violations",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/repositories/{id}/security/license-policy": {
      "put": {
        "operationId": "updateRepositoryLicensePolicy",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LicensePolicyInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SecurityPolicy"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Update repository license policy fields",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/repositories/{id}/security/policy": {
      "get": {
        "operationId": "getRepositorySecurityPolicy",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SecurityPolicy"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get repository security policy",
        "tags": [
          "Security"
        ]
      },
      "put": {
        "operationId": "upsertRepositorySecurityPolicy",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertSecurityPolicyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SecurityPolicy"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Set repository security policy",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/repositories/{id}/security/sboms": {
      "get": {
        "operationId": "listRepositorySBOMs",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "path",
            "schema": {
              "maxLength": 4096,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetSBOMList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List repository SBOMs",
        "tags": [
          "Security"
        ]
      },
      "put": {
        "operationId": "upsertAssetSBOM",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertSBOMRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetSBOM"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Attach an SPDX or CycloneDX SBOM",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/repositories/{id}/security/sboms/{sbomId}": {
      "delete": {
        "operationId": "deleteAssetSBOM",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sbomId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Delete an asset SBOM",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/repositories/{id}/security/scans": {
      "get": {
        "operationId": "listRepositoryScans",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "path",
            "schema": {
              "maxLength": 4096,
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "format": "int64",
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VulnerabilityScanList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List vulnerability scans",
        "tags": [
          "Security"
        ]
      },
      "post": {
        "operationId": "triggerRepositoryScan",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TriggerScanRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VulnerabilityScan"
                }
              }
            },
            "description": "Accepted"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Queue a scan or ingest findings",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/repositories/{id}/security/signatures": {
      "get": {
        "operationId": "listAssetSignatures",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "path",
            "schema": {
              "maxLength": 4096,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetSignatureList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List artifact signatures",
        "tags": [
          "Security"
        ]
      },
      "post": {
        "operationId": "attachAssetSignature",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttachAssetSignatureRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssetSignature"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Verify and attach an artifact signature",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/repositories/{id}/security/signatures/{signatureId}": {
      "delete": {
        "operationId": "deleteAssetSignature",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "signatureId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Delete an artifact signature",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/repositories/{id}/snippets": {
      "get": {
        "operationId": "getRepositorySnippets",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientSnippetList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get format-specific client configuration snippets",
        "tags": [
          "Repositories"
        ]
      }
    },
    "/api/v1/routing-rules": {
      "get": {
        "operationId": "listRoutingRules",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoutingRuleList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List routing rules",
        "tags": [
          "Security"
        ]
      },
      "post": {
        "operationId": "createRoutingRule",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoutingRuleInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoutingRule"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Create a routing rule",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/routing-rules/test": {
      "post": {
        "operationId": "testRoutingRule",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoutingRuleTestRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoutingRuleTestResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Test a saved or draft rule against a canonical path",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/routing-rules/{id}": {
      "delete": {
        "operationId": "deleteRoutingRule",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Delete an unbound routing rule",
        "tags": [
          "Security"
        ]
      },
      "get": {
        "operationId": "getRoutingRule",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoutingRule"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get routing rule",
        "tags": [
          "Security"
        ]
      },
      "put": {
        "operationId": "updateRoutingRule",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoutingRuleInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoutingRule"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Replace a routing rule",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/search": {
      "get": {
        "operationId": "searchAssets",
        "parameters": [
          {
            "description": "Repeatable exact key=value filters combined with AND",
            "explode": true,
            "in": "query",
            "name": "property",
            "schema": {
              "description": "Repeatable exact key=value filters combined with AND",
              "items": {
                "type": "string"
              },
              "maxItems": 64,
              "type": "array"
            }
          },
          {
            "description": "Case-insensitive substring in the asset path, repository, or component coordinates",
            "explode": false,
            "in": "query",
            "name": "q",
            "schema": {
              "description": "Case-insensitive substring in the asset path, repository, or component coordinates",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "format",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Repository name or UUID",
            "explode": false,
            "in": "query",
            "name": "repo",
            "schema": {
              "description": "Repository name or UUID",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "namespace",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "name",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "version",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "sha256",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "sha1",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "md5",
            "schema": {
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "format": "int64",
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Exact by default. Bounded pages walk by repository UUID and asset path with fixed scan limits and return a page count with a continuation cursor",
            "explode": false,
            "in": "query",
            "name": "countMode",
            "schema": {
              "description": "Exact by default. Bounded pages walk by repository UUID and asset path with fixed scan limits and return a page count with a continuation cursor",
              "enum": [
                "",
                "exact",
                "bounded"
              ],
              "type": "string"
            }
          },
          {
            "description": "Continue a bounded search using the previous nextCursor and identical filters",
            "explode": false,
            "in": "query",
            "name": "cursor",
            "schema": {
              "description": "Continue a bounded search using the previous nextCursor and identical filters",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchAssetList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Search assets across repositories",
        "tags": [
          "Artifacts"
        ]
      }
    },
    "/api/v1/security/content-selectors": {
      "get": {
        "operationId": "listContentSelectors",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentSelectorList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List Portable CSEL content selectors",
        "tags": [
          "Security"
        ]
      },
      "post": {
        "operationId": "createContentSelector",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContentSelectorInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentSelector"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Create a Portable CSEL selector",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/security/content-selectors/preview": {
      "post": {
        "operationId": "previewContentSelector",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SelectorPreviewRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SelectorPreview"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Preview visible stored assets matching a selector",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/security/content-selectors/{id}": {
      "delete": {
        "operationId": "deleteContentSelector",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Delete an unreferenced selector",
        "tags": [
          "Security"
        ]
      },
      "get": {
        "operationId": "getContentSelector",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentSelector"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get a content selector",
        "tags": [
          "Security"
        ]
      },
      "put": {
        "operationId": "updateContentSelector",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContentSelectorInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContentSelector"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Update a content selector",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/security/scanner/status": {
      "get": {
        "operationId": "getScannerStatus",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScannerStatus"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get external scanner health and capacity",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/security/scans/{scanId}": {
      "get": {
        "operationId": "getVulnerabilityScan",
        "parameters": [
          {
            "in": "path",
            "name": "scanId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VulnerabilityScan"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get vulnerability scan",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/security/signing-keys": {
      "get": {
        "operationId": "listSigningKeys",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SigningKeyList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List signing keys",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/security/signing-keys/generate": {
      "post": {
        "operationId": "generateSigningKey",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateSigningKeyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SigningKey"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Generate a managed signing key",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/security/signing-keys/{id}": {
      "delete": {
        "operationId": "deleteSigningKey",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Delete a managed signing key",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/security/signing-keys/{id}/activate": {
      "post": {
        "operationId": "activateSigningKey",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SigningKey"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Activate a repository signing key atomically",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/security/signing-keys/{id}/public-key": {
      "get": {
        "operationId": "getSigningPublicKey",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SigningPublicKey"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get public signing key material",
        "tags": [
          "Security"
        ]
      }
    },
    "/api/v1/storage-pools": {
      "get": {
        "operationId": "listStoragePools",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StoragePoolList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List configured blob storage pools",
        "tags": [
          "Storage"
        ]
      },
      "post": {
        "operationId": "createStoragePool",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateStoragePoolRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StoragePool"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Create a storage pool",
        "tags": [
          "Storage"
        ]
      }
    },
    "/api/v1/storage-pools/{id}": {
      "delete": {
        "operationId": "deleteStoragePool",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Delete an unused storage pool",
        "tags": [
          "Storage"
        ]
      },
      "get": {
        "operationId": "getStoragePool",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StoragePool"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get storage pool configuration and usage",
        "tags": [
          "Storage"
        ]
      },
      "patch": {
        "operationId": "updateStoragePool",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStoragePoolRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StoragePool"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Update a storage pool",
        "tags": [
          "Storage"
        ]
      }
    },
    "/api/v1/storage-pools/{id}/test": {
      "post": {
        "operationId": "testStoragePool",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StoragePoolTestResponse"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Test storage pool connectivity",
        "tags": [
          "Storage"
        ]
      }
    },
    "/api/v1/storage-pools/{id}/usage": {
      "get": {
        "operationId": "getStoragePoolUsage",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StoragePoolUsage"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Inspect physical pool and logical repository usage",
        "tags": [
          "Storage"
        ]
      }
    },
    "/api/v1/storage/gc": {
      "post": {
        "operationId": "runBlobGC",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BlobGCRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BlobGCResult"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Run or dry-run race-safe unreferenced blob garbage collection (admin only)",
        "tags": [
          "Storage"
        ]
      }
    },
    "/api/v1/teams": {
      "get": {
        "operationId": "listTeams",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "tags": [
          "Teams"
        ]
      },
      "post": {
        "operationId": "createTeam",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTeamRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Team"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "tags": [
          "Teams"
        ]
      }
    },
    "/api/v1/teams/{id}": {
      "delete": {
        "operationId": "deleteTeam",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "tags": [
          "Teams"
        ]
      },
      "get": {
        "operationId": "getTeam",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamDetail"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "tags": [
          "Teams"
        ]
      },
      "patch": {
        "operationId": "updateTeam",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTeamRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Team"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "tags": [
          "Teams"
        ]
      }
    },
    "/api/v1/teams/{id}/members/{userId}": {
      "delete": {
        "operationId": "removeTeamMember",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "tags": [
          "Teams"
        ]
      },
      "put": {
        "operationId": "addTeamMember",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "tags": [
          "Teams"
        ]
      }
    },
    "/api/v1/tokens": {
      "get": {
        "operationId": "listMyTokens",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APITokenList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List API tokens for the current user",
        "tags": [
          "Identity"
        ]
      },
      "post": {
        "operationId": "createMyToken",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAPITokenRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAPITokenResponse"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Create a new API token for CI/CD or CLI usage",
        "tags": [
          "Identity"
        ]
      }
    },
    "/api/v1/tokens/{id}": {
      "delete": {
        "operationId": "revokeToken",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Revoke an API token",
        "tags": [
          "Identity"
        ]
      }
    },
    "/api/v1/users": {
      "get": {
        "operationId": "listUsers",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List all users (admin only)",
        "tags": [
          "Identity"
        ]
      },
      "post": {
        "operationId": "createUser",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Create a local user (admin only)",
        "tags": [
          "Identity"
        ]
      }
    },
    "/api/v1/users/{id}": {
      "patch": {
        "operationId": "updateUser",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Update a user's profile, role, disabled state, or local password (admin only)",
        "tags": [
          "Identity"
        ]
      }
    },
    "/api/v1/webhook-deliveries/{id}/replay": {
      "post": {
        "operationId": "replayWebhookDelivery",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookDelivery"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Replay a recorded webhook delivery (admin only)",
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/api/v1/webhooks": {
      "get": {
        "operationId": "listWebhooks",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List configured event webhooks (admin only)",
        "tags": [
          "Webhooks"
        ]
      },
      "post": {
        "operationId": "createWebhook",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWebhookRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Webhook"
                }
              }
            },
            "description": "Created"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Create a domain event webhook subscription (admin only)",
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/api/v1/webhooks/events": {
      "get": {
        "operationId": "listWebhookEvents",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookEventCatalogList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List supported webhook event actions (admin only)",
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/api/v1/webhooks/{id}": {
      "delete": {
        "operationId": "deleteWebhook",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Delete a webhook subscription (admin only)",
        "tags": [
          "Webhooks"
        ]
      },
      "get": {
        "operationId": "getWebhook",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Webhook"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Get a webhook subscription (admin only)",
        "tags": [
          "Webhooks"
        ]
      },
      "patch": {
        "operationId": "updateWebhook",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWebhookRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Webhook"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Update a webhook subscription (admin only)",
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/api/v1/webhooks/{id}/deliveries": {
      "get": {
        "operationId": "listWebhookDeliveries",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "explode": false,
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "format": "int64",
              "maximum": 200,
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookDeliveryList"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "List recent delivery attempts for a webhook (admin only)",
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/api/v1/webhooks/{id}/test": {
      "post": {
        "operationId": "testWebhook",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookDelivery"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Send a webhook test ping (admin only)",
        "tags": [
          "Webhooks"
        ]
      }
    }
  }
}
