# schemas/

Reference JSON Schema artifacts for Milestone 2 contracts. **Runtime validation** uses
Pydantic models in `src/a2c_core/schemas/`; these files document the stable external shape.

| File | Model | Location in repo |
|------|-------|------------------|
| `config.schema.json` | `A2CConfig` | `.a2c/config.yaml` |
| `workflow-manifest.schema.json` | `WorkflowManifest` | `docs/workflow-manifest.yaml` |
| `epic.schema.json` | `Epic` (front matter) | `planning/epics/<id>.md` |
| `task.schema.json` | `Task` (front matter) | `planning/tasks/<id>.md` |
| `task-draft.schema.json` | `TaskDraftItem` / `--from-task-json` import | Decomposition output; `plan create-task --from-task-json` |
| `sprint.schema.json` | `Sprint` (front matter) | `planning/sprints/<id>.md` |
| `web-index.schema.json` | Web source fetch index | `sources/web-index.json` |

See [docs/architecture/artifact-contracts.md](../docs/architecture/artifact-contracts.md).
