{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codai-ro/json-schema/codai-ro-scheduler-host-schema.json",
  "title": "SchedulerHost",
  "description": "A device that can execute schedules.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codai-ro-schedules-api-openapi.yml#/components/schemas/SchedulerHost",
  "type": "object",
  "required": [
    "id",
    "name",
    "platform",
    "online"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "platform": {
      "type": "string"
    },
    "os": {
      "type": [
        "string",
        "null"
      ]
    },
    "arch": {
      "type": [
        "string",
        "null"
      ]
    },
    "host_kind": {
      "type": [
        "string",
        "null"
      ]
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "capabilities": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "online": {
      "type": "boolean"
    },
    "last_seen_at": {
      "type": "string",
      "format": "date-time"
    },
    "app_version": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}