DatabaseWithContext
Database with full project and branch context for cross-project listing
Properties
| Property | Type | Required | Description |
|---|---|---|---|
branch_id |
string | Yes | Branch ID |
branch_name |
string | Yes | Human-readable branch name |
created_at |
string | Yes | |
id |
string | Yes | Database ID |
is_default_branch |
boolean | Yes | Whether this is the project's default branch |
name |
string | Yes | Database name |
owner_name |
string,null | No | Database owner role name |
project_id |
string | Yes | Project ID |
project_name |
string | Yes | Human-readable project name |
View JSON Schema
{
"type": "object",
"description": "Database with full project and branch context for cross-project listing",
"required": [
"id",
"name",
"project_id",
"project_name",
"branch_id",
"branch_name",
"is_default_branch",
"created_at"
],
"properties": {
"branch_id": {
"type": "string",
"format": "uuid",
"description": "Branch ID"
},
"branch_name": {
"type": "string",
"description": "Human-readable branch name"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"id": {
"type": "string",
"format": "uuid",
"description": "Database ID"
},
"is_default_branch": {
"type": "boolean",
"description": "Whether this is the project's default branch"
},
"name": {
"type": "string",
"description": "Database name"
},
"owner_name": {
"type": [
"string",
"null"
],
"description": "Database owner role name"
},
"project_id": {
"type": "string",
"format": "uuid",
"description": "Project ID"
},
"project_name": {
"type": "string",
"description": "Human-readable project name"
}
}
}