{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "urn:exploder-kit:tag-registry:1",
 "title": "The tag registry",
 "description": "sim/tag-registry.json: which tag is on which vehicle, its class (a catalogue id), owner and sensor. Example data says so.",
 "type": "object",
 "required": [
  "example",
  "simulated",
  "tags"
 ],
 "properties": {
  "example": {
   "type": "boolean"
  },
  "simulated": {
   "type": "boolean"
  },
  "tags": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "tag",
     "vehicle",
     "class",
     "owner",
     "sensor"
    ],
    "properties": {
     "tag": {
      "type": "string"
     },
     "vehicle": {
      "type": "string"
     },
     "class": {
      "type": "string"
     },
     "owner": {
      "type": "string"
     },
     "sensor": {
      "type": "string",
      "pattern": "^sensor\\."
     }
    }
   }
  }
 }
}