{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dependency-track/json-schema/dependency-track-update-repository-request-schema.json",
  "title": "UpdateRepositoryRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dependency-track-repository-api-openapi.yml#/components/schemas/UpdateRepositoryRequest",
  "type": "object",
  "properties": {
    "authenticationRequired": {
      "type": "boolean",
      "description": "Whether the repository requires authentication"
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether the repository is enabled"
    },
    "internal": {
      "type": "boolean",
      "description": "Whether the repository is internal to the organization"
    },
    "password": {
      "type": "string",
      "description": "Name of the secret holding the password or token"
    },
    "url": {
      "type": "string",
      "description": "URL of the repository",
      "minLength": 1
    },
    "username": {
      "type": "string",
      "description": "Username to authenticate with"
    },
    "uuid": {
      "type": "string",
      "format": "uuid",
      "description": "UUID of the repository to update"
    }
  },
  "required": [
    "authenticationRequired",
    "enabled",
    "url",
    "uuid"
  ]
}