systemd · Schema

machined Machine

A container or VM registered with systemd-machined.

BootCgroupsContainerD-BusInitIPCJournalLinuxLoggingNetworkOpen SourcePID 1Service ManagerSystemSystemdVarlink

Properties

Name Type Description
name string
class string
service string Registering service (e.g. systemd-nspawn, libvirt).
object_path string
leader integer PID of the machine leader process.
root_directory string
id string
View JSON Schema on GitHub

JSON Schema

machine1-machine-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/systemd/refs/heads/main/json-schema/machine1-machine-schema.json",
  "title": "machined Machine",
  "description": "A container or VM registered with systemd-machined.",
  "type": "object",
  "required": ["name", "class", "object_path"],
  "properties": {
    "name": { "type": "string" },
    "class": { "type": "string", "enum": ["vm", "container"] },
    "service": { "type": "string", "description": "Registering service (e.g. systemd-nspawn, libvirt)." },
    "object_path": { "type": "string" },
    "leader": { "type": "integer", "description": "PID of the machine leader process." },
    "root_directory": { "type": "string" },
    "id": { "type": "string", "format": "uuid" }
  }
}