JSON Schema
The shape of a plan is published as a JSON Schema (draft 2020-12):
text
https://verifiableplanformat.org/schema/vpf-1.schema.jsonIn an editor
Editors that read JSON Schema check a plan as you type. In VS Code, add this to your settings:
json
{
"json.schemas": [
{
"fileMatch": ["*.vpf.json"],
"url": "https://verifiableplanformat.org/schema/vpf-1.schema.json"
}
]
}What it checks, and what it does not
The schema checks the shape: the fields a plan may have, their types and the kinds each one allows. A file it refuses is not a plan, with the problem file.invalid.
Some problems only a checker finds, such as a step that names a later one, an agent's step with no proof or a path outside the folder. A plan that passes the schema can still have them: use Check a plan, or a checker from an SDK.
The schema is kept in the repository at schema/vpf-1.schema.json.