# DraftGitBase

Fields, types, and constraints for DraftGitBase.

Canonical: https://commentary.dev/docs/reference/schemas/draft-git-base

Released API schema for `DraftGitBase`.

## Fields and constraints

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `provider` | `"github"` | No |  |
| `owner` | string | No |  |
| `repo` | string | No |  |
| `ref` | string or null | No |  |
| `sha` | string or null | No |  |
| `path` | string or null | No |  |
| `metadata` | object or null | No |  |

## Full schema

[Download this schema](/docs/reference/schemas/draft-git-base.json) or use the [complete OpenAPI document](/docs/reference/openapi.json) to resolve all references.

## Related reference

[Browse API endpoints](/docs/reference/api-operations).
