{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare/main/json-schema/cloudflare-d1-database-response-schema.json", "title": "D1DatabaseResponse", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/cloudflare-databases-api-openapi.yml#/components/schemas/D1DatabaseResponse", "type": "object", "properties": { "result": { "$ref": "#/$defs/D1Database" }, "success": { "type": "boolean" }, "errors": { "type": "array", "items": { "type": "object" } }, "messages": { "type": "array", "items": { "type": "object" } } }, "$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." } } } } }