{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-firebase/json-schema/google-firebase-list-database-instances-response-schema.json",
  "title": "ListDatabaseInstancesResponse",
  "description": "The response from the ListDatabaseInstances method.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-firebase-firebasedatabase-projects-api-openapi.yml#/components/schemas/ListDatabaseInstancesResponse",
  "properties": {
    "nextPageToken": {
      "description": "If the result list is too large to fit in a single response, then a token is returned. If the string is empty, then this response is the last page of results. This token can be used in a subsequent call to `ListDatabaseInstances` to find the next group of database instances. Page tokens are short-lived and should not be persisted.",
      "type": "string"
    },
    "instances": {
      "items": {
        "$ref": "#/$defs/DatabaseInstance"
      },
      "type": "array",
      "description": "List of each DatabaseInstance that is in the parent Firebase project."
    }
  },
  "type": "object",
  "$defs": {
    "DatabaseInstance": {
      "type": "object",
      "properties": {
        "databaseUrl": {
          "type": "string",
          "description": "Output only. Output Only. The globally unique hostname of the database.",
          "readOnly": true
        },
        "type": {
          "description": "Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.",
          "enum": [
            "DATABASE_INSTANCE_TYPE_UNSPECIFIED",
            "DEFAULT_DATABASE",
            "USER_DATABASE"
          ],
          "type": "string"
        },
        "name": {
          "type": "string",
          "description": "The fully qualified resource name of the database instance, in the form: `projects/{project-number}/locations/{location-id}/instances/{database-id}`."
        },
        "project": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The resource name of the project this instance belongs to. For example: `projects/{project-number}`."
        },
        "state": {
          "enum": [
            "LIFECYCLE_STATE_UNSPECIFIED",
            "ACTIVE",
            "DISABLED",
            "DELETED"
          ],
          "readOnly": true,
          "type": "string",
          "description": "Output only. The database's lifecycle state. Read-only."
        }
      },
      "description": "Representation of a Realtime Database instance. Details on interacting with contents of a DatabaseInstance can be found at: https://firebase.google.com/docs/database/rest/start."
    }
  }
}