{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-container-registry/json-schema/azure-container-registry-connected-registry-update-parameters-schema.json",
  "title": "ConnectedRegistryUpdateParameters",
  "description": "The parameters for updating a connected registry.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/azure-container-registry-connectedregistries-api-openapi.yml#/components/schemas/ConnectedRegistryUpdateParameters",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/ConnectedRegistryUpdateProperties",
      "description": "The properties of the connected registry update parameters.",
      "x-ms-client-flatten": true
    }
  },
  "$defs": {
    "ConnectedRegistryUpdateProperties": {
      "type": "object",
      "description": "The parameters for updating token properties.",
      "properties": {
        "syncProperties": {
          "$ref": "#/$defs/SyncUpdateProperties",
          "description": "The sync properties of the connected registry with its parent."
        },
        "logging": {
          "$ref": "#/$defs/LoggingProperties",
          "description": "The logging properties of the connected registry."
        },
        "clientTokenIds": {
          "type": "array",
          "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.",
          "items": {
            "type": "string"
          }
        },
        "notificationsList": {
          "type": "array",
          "description": "The list of notifications subscription information for the connected registry.",
          "items": {
            "type": "string"
          }
        },
        "garbageCollection": {
          "$ref": "#/$defs/GarbageCollectionProperties",
          "description": "The garbage collection properties of the connected registry."
        }
      }
    },
    "GarbageCollectionProperties": {
      "type": "object",
      "description": "The garbage collection properties of the connected registry.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Indicates whether garbage collection is enabled for the connected registry."
        },
        "schedule": {
          "type": "string",
          "description": "The cron expression indicating the schedule that the connected registry will run garbage collection."
        }
      }
    },
    "LoggingProperties": {
      "type": "object",
      "description": "The logging properties of the connected registry.",
      "properties": {
        "logLevel": {
          "type": "string",
          "description": "The verbosity of logs persisted on the connected registry.",
          "default": "Information",
          "enum": [
            "Debug",
            "Information",
            "Warning",
            "Error",
            "None"
          ],
          "x-ms-enum": {
            "name": "LogLevel",
            "modelAsString": true,
            "values": [
              {
                "name": "Debug",
                "value": "Debug"
              },
              {
                "name": "Information",
                "value": "Information"
              },
              {
                "name": "Warning",
                "value": "Warning"
              },
              {
                "name": "Error",
                "value": "Error"
              },
              {
                "name": "None",
                "value": "None"
              }
            ]
          }
        },
        "auditLogStatus": {
          "type": "string",
          "description": "Indicates whether audit logs are enabled on the connected registry.",
          "default": "Disabled",
          "enum": [
            "Enabled",
            "Disabled"
          ],
          "x-ms-enum": {
            "name": "AuditLogStatus",
            "modelAsString": true,
            "values": [
              {
                "name": "Enabled",
                "value": "Enabled"
              },
              {
                "name": "Disabled",
                "value": "Disabled"
              }
            ]
          }
        }
      }
    },
    "SyncUpdateProperties": {
      "type": "object",
      "description": "The parameters for updating the sync properties of the connected registry with its parent.",
      "properties": {
        "schedule": {
          "type": "string",
          "description": "The cron expression indicating the schedule that the connected registry will sync with its parent."
        },
        "syncWindow": {
          "type": "string",
          "format": "duration",
          "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601."
        },
        "messageTtl": {
          "type": "string",
          "format": "duration",
          "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601."
        }
      }
    }
  }
}