{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-enterprise-linux-8/json-schema/red-hat-enterprise-linux-8-system-schema.json",
  "title": "system",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-enterprise-linux-8-compliance-api-openapi.yml#/components/schemas/system",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/$defs/id"
    },
    "type": {
      "type": "string",
      "enum": [
        "system"
      ],
      "readOnly": true
    },
    "display_name": {
      "type": "string",
      "readOnly": true,
      "description": "Display Name of the System"
    },
    "groups": {
      "type": "array",
      "readOnly": true,
      "items": {
        "type": "object",
        "description": "List of Inventory Groups the System belongs to",
        "properties": {
          "id": {
            "$ref": "#/$defs/id"
          },
          "name": {
            "type": "string",
            "readOnly": true
          }
        }
      }
    },
    "culled_timestamp": {
      "type": "string",
      "readOnly": true
    },
    "last_check_in": {
      "type": "string",
      "readOnly": true
    },
    "stale_timestamp": {
      "type": "string",
      "readOnly": true
    },
    "stale_warning_timestamp": {
      "type": "string",
      "readOnly": true
    },
    "updated": {
      "type": "string",
      "readOnly": true
    },
    "insights_id": {
      "$ref": "#/$defs/id"
    },
    "tags": {
      "type": "array",
      "readOnly": true,
      "items": {
        "type": "object",
        "readOnly": true,
        "description": "List of Tags assigned to the System",
        "properties": {
          "namespace": {
            "type": "string",
            "readOnly": true
          },
          "key": {
            "type": "string",
            "readOnly": true
          },
          "value": {
            "type": "string",
            "readOnly": true
          }
        }
      }
    },
    "os_major_version": {
      "type": "number",
      "readOnly": true,
      "description": "Major version of the Operating System"
    },
    "os_minor_version": {
      "type": "number",
      "readOnly": true,
      "description": "Minor version of the Operating System"
    },
    "policies": {
      "type": "array",
      "readOnly": true,
      "description": "List of Policies assigned to the System, visible only when not listing Systems under a given Policy",
      "items": {
        "type": "object",
        "readOnly": true,
        "properties": {
          "id": {
            "$ref": "#/$defs/id"
          },
          "title": {
            "type": "string",
            "readOnly": true,
            "description": "Short title of the Policy"
          }
        }
      }
    }
  },
  "$defs": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    }
  }
}