{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/portainer/main/json-schema/portainer-registries-registry-configure-payload-schema.json",
  "title": "registries.registryConfigurePayload",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/portainer-registries-api-openapi.yml#/components/schemas/registries.registryConfigurePayload",
  "properties": {
    "Authentication": {
      "description": "Is authentication against this registry enabled",
      "type": "boolean"
    },
    "Password": {
      "description": "Password used to authenticate against this registry. required when Authentication is true",
      "type": "string"
    },
    "Region": {
      "description": "ECR region",
      "type": "string"
    },
    "TLS": {
      "description": "Use TLS",
      "type": "boolean"
    },
    "TLSCACertFile": {
      "description": "The TLS CA certificate file",
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "TLSCertFile": {
      "description": "The TLS client certificate file",
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "TLSKeyFile": {
      "description": "The TLS client key file",
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "TLSSkipVerify": {
      "description": "Skip the verification of the server TLS certificate",
      "type": "boolean"
    },
    "Username": {
      "description": "Username used to authenticate against this registry. Required when Authentication is true",
      "type": "string"
    }
  },
  "required": [
    "Authentication"
  ],
  "type": "object"
}