{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nexus/json-schema/nexus-system-check-results-api-dto-schema.json",
  "title": "SystemCheckResultsApiDTO",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nexus-status-api-openapi.yml#/components/schemas/SystemCheckResultsApiDTO",
  "type": "object",
  "properties": {
    "nodeId": {
      "type": "string",
      "description": "A unique identifier for the node, should not be considered stable"
    },
    "hostname": {
      "type": "string",
      "description": "The hostname of the originating node"
    },
    "results": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/SystemCheckResultDTO"
      },
      "description": "The system status check results"
    }
  },
  "$defs": {
    "SystemCheckResultDTO": {
      "type": "object",
      "properties": {
        "healthy": {
          "type": "boolean",
          "description": "Whether the system check succeeded of failed"
        },
        "message": {
          "type": "string",
          "description": "A description of the success or failure"
        }
      },
      "description": "The system status check results"
    }
  }
}