{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-dns/json-schema/google-cloud-dns-list-locations-response-schema.json",
  "title": "ListLocationsResponse",
  "description": "The response message for Locations.ListLocations.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-dns-locations-api-openapi.yml#/components/schemas/ListLocationsResponse",
  "type": "object",
  "properties": {
    "locations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Location"
      },
      "description": "A list of locations that matches the specified filter in the request."
    },
    "nextPageToken": {
      "type": "string",
      "description": "The standard List next-page token."
    }
  },
  "$defs": {
    "Location": {
      "properties": {
        "locationId": {
          "description": "The canonical id for this location. For example: `\"us-east1\"`.",
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\"."
        },
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}"
        },
        "metadata": {
          "additionalProperties": {
            "description": "Properties of the object. Contains field @type with type URL."
          },
          "description": "Service-specific metadata. For example the available capacity at the given location.",
          "type": "object",
          "format": "google.protobuf.Any"
        },
        "name": {
          "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`",
          "type": "string"
        }
      },
      "type": "object",
      "description": "A resource that represents a Google Cloud location."
    }
  }
}