{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-maps/json-schema/google-maps-street-view-response-schema.json",
  "title": "StreetViewResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/google-maps-street-view-api-api-openapi.yml#/components/schemas/StreetViewResponse",
  "type": "object",
  "required": [
    "status"
  ],
  "properties": {
    "copyright": {
      "description": "An array of snapped points.",
      "type": "string"
    },
    "date": {
      "description": "A string indicating year and month that the panorama was captured.",
      "type": "string"
    },
    "location": {
      "description": "The location of the panorama.",
      "$ref": "#/$defs/LatLngLiteral"
    },
    "pano_id": {
      "description": "A specific panorama ID. These are generally stable, though panoramas may change ID over time as imagery is refreshed.",
      "type": "string"
    },
    "status": {
      "description": "The status of the request.",
      "$ref": "#/$defs/StreetViewStatus"
    }
  },
  "$defs": {
    "LatLngLiteral": {
      "type": "object",
      "title": "LatLngLiteral",
      "description": "An object describing a specific location with Latitude and Longitude in decimal degrees.",
      "required": [
        "lat",
        "lng"
      ],
      "properties": {
        "lat": {
          "type": "number",
          "description": "Latitude in decimal degrees"
        },
        "lng": {
          "type": "number",
          "description": "Longitude in decimal degrees"
        }
      }
    },
    "StreetViewStatus": {
      "type": "string",
      "title": "StreetViewStatus",
      "description": "The `status` field within the Streetview Metadata response object contains the status of the request. The `status` field may contain the following values:\n\n- `OK` indicates that no errors occurred; a panorama is found and metadata is returned.\n- `INVALID_REQUEST` indicates that the request was malformed.\n- `NOT_FOUND` indicates that the address string provided in the `location` parameter could not be found. This may occur if a non-existent address is given.\n- `ZERO_RESULTS` indicates that no panorama could be found near the provided location. This may occur if a non-existent or invalid `pano` id is given.\n- `OVER_QUERY_LIMIT` indicates the requestor has exceeded quota.\n- `REQUEST_DENIED` indicates that your request was denied. This may occur if you did not [authorize](https://developers.google.com/maps/documentation/streetview/get-api-key) your request, or if the Street View Static API is not activated in the Google Cloud Console project containing your API key.\n- `UNKNOWN_ERROR` indicates that the request could not be processed due to a server error. This is often a temporary status. The request may succeed if you try again\n",
      "enum": [
        "OK",
        "INVALID_REQUEST",
        "NOT_FOUND",
        "ZERO_RESULTS",
        "OVER_QUERY_LIMIT",
        "REQUEST_DENIED",
        "UNKNOWN_ERROR"
      ]
    }
  }
}