These schemas are JSON Schema representations of the AFPS specification. The specification text (spec.md) is the normative source.
| File | Package Type | Description |
|---|---|---|
flow.schema.json |
flow |
Flow manifest with requires, schemas, execution |
skill.schema.json |
skill |
Skill manifest (minimal, pairs with SKILL.md) |
tool.schema.json |
tool |
Tool manifest with tool definition and entrypoint |
provider.schema.json |
provider |
Provider manifest with auth definition |
Each schema locks the type field to a single value via const.
Editors supporting JSON Schema (VS Code, JetBrains) can use these files for validation and auto-completion. Reference a schema from a manifest using $schema:
{
"$schema": "https://afps.appstrate.dev/schema/flow.schema.json",
"name": "@scope/my-flow",
"version": "1.0.0",
"type": "flow"
}