Packages

Reference Elixir validator for WPL (Wellness Plan Language) — JSON Schema + semantic invariants

Current section

Files

Jump to
wpl_validator priv conformance invalid checkpoint-bad-questionnaire.json
Raw

priv/conformance/invalid/checkpoint-bad-questionnaire.json

{
"$schema": "https://wpl.dev/schemas/wpl/v1.schema.json",
"version": "1.6.0",
"plan": {
"id": "bad-questionnaire-plan",
"name": "Bad questionnaire value",
"type": "hybrid",
"visibility": "private",
"metadata": {},
"goals": [],
"phases": [
{ "id": "phase_1", "name": "P1", "order": 1, "type": "base" }
],
"progress": {
"checkpoints": [
{
"id": "ck1",
"name": "Week 4 check",
"at": { "value": 4, "unit": "weeks" },
"measurements": [
{ "metric": "questionnaire_score", "questionnaire": "phq" }
]
}
]
}
}
}