# FormContractRequest

Fields, types, and constraints for FormContractRequest.

Canonical: https://commentary.dev/docs/reference/schemas/form-contract-request

Released API schema for `FormContractRequest`.

## Fields and constraints

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `contract` | [FormContract](/docs/reference/schemas/form-contract) | No |  |
| `contractSource` | string | No | Literal JSON or YAML form contract source. |
| `sourceFormat` | `"json"` · `"yaml"` · `"auto"` | No |  |
| `referenceId` | string | No |  |
| `title` | string | No |  |
| `description` | string | No |  |
| `visibility` | `"private"` · `"shared"` · `"public_placeholder"` | No |  |
| `sourceType` | `"commentary"` · `"github"` · `"embedded"` · `"custom"` | No |  |
| `sourceMetadata` | object | No |  |
| `destinationConfig` | object | No |  |
| `agentAlias` | string | No |  |
| `clientName` | string | No |  |

## Full schema

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

## Related reference

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