{
 "type": "object",
 "required": [
  "status",
  "rule",
  "sensors"
 ],
 "properties": {
  "sensors": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "measures",
     "why",
     "state",
     "adapter",
     "mount",
     "basis"
    ],
    "properties": {
     "state": {
      "enum": [
       "reported",
       "to confirm",
       "needs sensor"
      ]
     },
     "basis": {
      "enum": [
       "read",
       "generic"
      ]
     },
     "mount": {
      "type": "array",
      "items": {
       "type": "number"
      },
      "minItems": 2,
      "maxItems": 3
     }
    }
   }
  }
 },
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "urn:exploder-kit:sensor-plan:1",
 "title": "The sensor plan",
 "description": "sensor-plan.json (pass 3): each proposed point with what it measures, why, its state, how it connects and its basis."
}
