{
  "template": {
    "name": "Residential inspection",
    "visit_kind": "property_inspection",
    "areas": [
      {
        "name": "Roof",
        "sections": [
          {
            "name": "Roof covering",
            "comments": ["roof_covering", "worn_roof_covering"]
          }
        ]
      },
      {
        "name": "Garage",
        "sections": [
          {
            "name": "Roof covering",
            "comments": ["roof_covering", "worn_roof_covering"]
          }
        ]
      }
    ]
  },
  "comments": [
    {
      "key": "roof_covering",
      "title": "Roof covering material",
      "body": "The roof is covered with {{roof_material}}.",
      "default_severity": "info"
    },
    {
      "key": "worn_roof_covering",
      "title": "Worn roof covering",
      "body": "The roof covering shows wear. Have {{roof_trade}} assess it and make needed repairs.",
      "default_severity": "minor"
    }
  ],
  "variables": [
    {
      "key": "roof_material",
      "label": "Roof material",
      "choices": ["asphalt shingles", "concrete tiles", "metal panels"]
    },
    {
      "key": "roof_trade",
      "label": "Roofing trade",
      "choices": ["a roofing contractor", "a licensed roofing contractor"]
    }
  ]
}
