Newer
Older
gnexus-book / schemas / hardware.schema.json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "hardware.schema.json",
  "type": "array",
  "items": {
    "type": "object",
    "required": ["id", "name", "type", "status", "location", "hardware_role", "docs", "last_reviewed"],
    "properties": {
      "id": { "type": "string" },
      "name": { "type": "string" },
      "type": { "type": "string" },
      "status": { "type": "string" },
      "location": { "type": "string" },
      "hardware_role": { "type": "array", "items": { "type": "string" } },
      "os": { "type": "string" },
      "kernel": { "type": "string" },
      "management": { "type": "object" },
      "virtualization_stack": { "type": "object" },
      "network_interfaces": { "type": "array" },
      "runs_hosts": { "type": "array", "items": { "type": "string" } },
      "docs": { "type": "string" },
      "last_reviewed": { "type": "string" },
      "source_of_truth": { "type": "string" }
    },
    "additionalProperties": true
  }
}