# ProjectAgentPackageSourceMapping

Fields, types, and constraints for ProjectAgentPackageSourceMapping.

Canonical: https://commentary.dev/docs/reference/schemas/project-agent-package-source-mapping

Released API schema for `ProjectAgentPackageSourceMapping`.

## Fields and constraints

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `kind` | `"component"` · `"api_operation"` · `"api_schema"` | Yes |  |
| `id` | string | Yes |  |
| `occurrenceId` | string | Yes |  |
| `pageId` | string | Yes |  |
| `anchorId` | string | Yes |  |
| `pageSha256` | string | Yes |  |
| `title` | string | Yes | Minimum length: 1. Maximum length: 200. |
| `explanation` | string | Yes | Maximum length: 2000. |
| `provenance` | `"human_authored"` · `"agent_suggestion"` | Yes |  |
| `visualBinding` | object | No |  |
| `sources` | array of object | Yes |  |
| `relations` | array of object or object | Yes |  |

## Full schema

[Download this schema](/docs/reference/schemas/project-agent-package-source-mapping.json) or use the [complete OpenAPI document](/docs/reference/openapi.json) to resolve all references.

## Related reference

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