Xata · Schema
BranchMetadata
Detailed metadata about a branch, including its status and configuration
DatabasePostgresServerlessDeveloper ToolsBranchingAI Agent
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for the branch |
| name | string | Human-readable name of the branch |
| description | string | Optional description of the branch purpose or contents |
| createdAt | string | Timestamp when the branch was created |
| updatedAt | string | Timestamp when the branch was last updated |
| parentID | string | Identifier of the parent branch if this is a derived branch, null otherwise |
| region | string | Geographic region where the branch is deployed |
| status | object | |
| connectionString | string | Database connection string for accessing this branch |
| publicAccess | boolean | Whether the branch allows public access without authentication |
| backupsEnabled | boolean | Whether the branch is in a region that supports backups |
| scaleToZero | object | |
| configuration | object | |
| backupConfiguration | object |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "BranchMetadata",
"description": "Detailed metadata about a branch, including its status and configuration",
"type": "object",
"properties": {
"id": {
"description": "Unique identifier for the branch",
"type": "string"
},
"name": {
"description": "Human-readable name of the branch",
"type": "string"
},
"description": {
"description": "Optional description of the branch purpose or contents",
"type": "string"
},
"createdAt": {
"description": "Timestamp when the branch was created",
"type": "string",
"format": "date-time"
},
"updatedAt": {
"description": "Timestamp when the branch was last updated",
"type": "string",
"format": "date-time"
},
"parentID": {
"description": "Identifier of the parent branch if this is a derived branch, null otherwise",
"type": "string",
"nullable": true
},
"region": {
"description": "Geographic region where the branch is deployed",
"type": "string"
},
"status": {
"$ref": "#/components/schemas/BranchStatus"
},
"connectionString": {
"description": "Database connection string for accessing this branch",
"type": "string",
"nullable": true
},
"publicAccess": {
"description": "Whether the branch allows public access without authentication",
"type": "boolean"
},
"backupsEnabled": {
"description": "Whether the branch is in a region that supports backups",
"type": "boolean"
},
"scaleToZero": {
"$ref": "#/components/schemas/ScaleToZeroConfiguration"
},
"configuration": {
"$ref": "#/components/schemas/ClusterConfiguration"
},
"backupConfiguration": {
"$ref": "#/components/schemas/BackupConfiguration"
}
},
"required": [
"id",
"name",
"createdAt",
"updatedAt",
"region",
"status",
"connectionString",
"configuration",
"publicAccess",
"backupsEnabled",
"scaleToZero"
]
}