{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://schema.evidencetoeffect.org/v0.1.0/schemas/environment.schema.json",
  "title": "EvidenceToEffect Endpoint Environment",
  "type": "object",
  "required": [
    "node_label",
    "captured_utc",
    "hostname",
    "machine",
    "python",
    "release"
  ],
  "properties": {
    "node_label": {
      "type": "string"
    },
    "captured_utc": {
      "type": "string",
      "format": "date-time"
    },
    "hostname": {
      "type": "string"
    },
    "machine": {
      "type": "string"
    },
    "python": {
      "type": "string"
    },
    "release": {
      "type": "string"
    },
    "platform": {
      "type": "string"
    },
    "cpu_count": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1
    },
    "memory": {
      "type": "string"
    },
    "root_disk": {
      "type": "string"
    },
    "uname_a": {
      "type": "string"
    }
  },
  "additionalProperties": true
}