{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-container-registry/json-schema/azure-container-registry-scope-map-list-result-schema.json",
  "title": "ScopeMapListResult",
  "description": "The result of a request to list scope maps for a container registry.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/azure-container-registry-scopemaps-api-openapi.yml#/components/schemas/ScopeMapListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The list of scope maps. Since this list may be incomplete, the nextLink field should be used to request the next list of scope maps.",
      "items": {
        "$ref": "#/$defs/ScopeMap"
      }
    },
    "nextLink": {
      "type": "string",
      "description": "The URI that can be used to request the next list of scope maps."
    }
  },
  "$defs": {
    "ProvisioningState": {
      "type": "string",
      "description": "The provisioning state of the archive at the time the operation was called.",
      "enum": [
        "Creating",
        "Updating",
        "Deleting",
        "Succeeded",
        "Failed",
        "Canceled"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Creating",
            "value": "Creating"
          },
          {
            "name": "Updating",
            "value": "Updating"
          },
          {
            "name": "Deleting",
            "value": "Deleting"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded"
          },
          {
            "name": "Failed",
            "value": "Failed"
          },
          {
            "name": "Canceled",
            "value": "Canceled"
          }
        ]
      }
    },
    "ScopeMap": {
      "type": "object",
      "description": "An object that represents a scope map for a container registry.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/ScopeMapProperties",
          "description": "The properties of the scope map.",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
        }
      ]
    },
    "ScopeMapProperties": {
      "type": "object",
      "description": "The properties of a scope map.",
      "properties": {
        "description": {
          "type": "string",
          "description": "The user friendly description of the scope map."
        },
        "type": {
          "type": "string",
          "description": "The type of the scope map. E.g. BuildIn scope map.",
          "readOnly": true
        },
        "creationDate": {
          "type": "string",
          "format": "date-time",
          "description": "The creation date of scope map.",
          "readOnly": true
        },
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "Provisioning state of the resource.",
          "readOnly": true
        },
        "actions": {
          "type": "array",
          "description": "The list of scoped permissions for registry artifacts.\nE.g. repositories/repository-name/content/read,\nrepositories/repository-name/metadata/write",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "actions"
      ]
    }
  }
}