Properties
| Name | Type | Description |
|---|---|---|
| binding | object | |
| id | string | ID of the D1 database to bind to |
| name | string | The name of the D1 database associated with the 'id' provided. |
| type | string | The class of resource that the binding provides. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/workers_d1_binding",
"title": "workers_d1_binding",
"properties": {
"binding": {
"$ref": "#/components/schemas/workers_binding_name"
},
"id": {
"description": "ID of the D1 database to bind to",
"example": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"type": "string"
},
"name": {
"description": "The name of the D1 database associated with the 'id' provided.",
"example": "prod-database-auth",
"type": "string"
},
"type": {
"description": "The class of resource that the binding provides.",
"enum": [
"d1"
],
"example": "d1",
"type": "string"
}
},
"required": [
"id",
"name",
"type",
"binding"
],
"type": "object"
}