{
  "intake": {
    "provider": "Fillout-compatible specification",
    "formKey": "brand-diagnostic-intake-v1",
    "questionCount": 7,
    "maxBranchDepth": 3,
    "urlParameters": ["caseKey", "initiatorToken"],
    "questions": [
      { "key": "organization_size", "type": "single-select", "required": true },
      { "key": "diagnostic_goal", "type": "single-select", "required": true },
      { "key": "brand_maturity", "type": "scale", "required": true },
      { "key": "market_complexity", "type": "single-select", "required": true },
      { "key": "leadership_team_size", "type": "number", "required": true },
      { "key": "recent_change", "type": "single-select", "required": true },
      { "key": "priority_context", "type": "long-text", "required": false }
    ],
    "routing": [
      { "when": { "diagnostic_goal": "positioning", "brand_maturity": "lte:2" }, "modules": ["foundation", "positioning"] },
      { "when": { "diagnostic_goal": "alignment", "market_complexity": "high" }, "modules": ["alignment", "portfolio"] },
      { "when": { "recent_change": "merger" }, "modules": ["architecture", "alignment", "culture"] },
      { "otherwise": true, "modules": ["foundation", "alignment"] }
    ],
    "webhookContract": { "providerEventId": "string", "caseKey": "string", "answers": "object", "submittedAt": "ISO-8601" }
  },
  "assessment": {
    "provider": "Fillout-compatible specification",
    "formKey": "leadership-assessment-v1",
    "questionCount": 60,
    "urlParameters": ["caseKey", "participantToken"],
    "personalizedLinksRequired": true,
    "dimensions": [
      { "key": "clarity", "items": 10, "scale": "1-5" },
      { "key": "differentiation", "items": 10, "scale": "1-5" },
      { "key": "consistency", "items": 10, "scale": "1-5" },
      { "key": "leadership_alignment", "items": 10, "scale": "1-5" },
      { "key": "customer_relevance", "items": 10, "scale": "1-5" },
      { "key": "execution_readiness", "items": 10, "scale": "1-5" }
    ],
    "answerKeyPattern": "{dimension}_{01..10}",
    "webhookContract": { "providerEventId": "string", "caseKey": "string", "participantToken": "string", "answers": "object[60]", "submittedAt": "ISO-8601" }
  }
}
