{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare/main/json-schema/cloudflare-d1-database-list-response-schema.json",
  "title": "D1DatabaseListResponse",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudflare-databases-api-openapi.yml#/components/schemas/D1DatabaseListResponse",
  "type": "object",
  "properties": {
    "result": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/D1Database"
      }
    },
    "success": {
      "type": "boolean"
    },
    "result_info": {
      "type": "object",
      "properties": {
        "page": {
          "type": "integer"
        },
        "per_page": {
          "type": "integer"
        },
        "count": {
          "type": "integer"
        },
        "total_count": {
          "type": "integer"
        }
      }
    }
  },
  "$defs": {
    "D1Database": {
      "type": "object",
      "properties": {
        "uuid": {
          "type": "string",
          "description": "The unique identifier of the database."
        },
        "name": {
          "type": "string",
          "description": "The name of the database."
        },
        "version": {
          "type": "string",
          "description": "The version of the database."
        },
        "num_tables": {
          "type": "integer",
          "description": "Number of tables in the database."
        },
        "file_size": {
          "type": "integer",
          "description": "Size of the database file in bytes."
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "When the database was created."
        }
      }
    }
  }
}