systemd · Schema

systemd Job

A pending or in-flight job scheduled by the systemd Manager.

BootCgroupsContainerD-BusInitIPCJournalLinuxLoggingNetworkOpen SourcePID 1Service ManagerSystemSystemdVarlink

Properties

Name Type Description
id integer
unit string
type string
state string
object_path string
unit_object_path string
View JSON Schema on GitHub

JSON Schema

systemd1-job-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/systemd1-job-schema.json",
  "title": "systemd Job",
  "description": "A pending or in-flight job scheduled by the systemd Manager.",
  "type": "object",
  "required": ["id", "unit", "type", "state", "object_path"],
  "properties": {
    "id": { "type": "integer" },
    "unit": { "type": "string" },
    "type": {
      "type": "string",
      "enum": ["start", "verify-active", "stop", "reload", "restart", "try-restart", "reload-or-start"]
    },
    "state": { "type": "string", "enum": ["waiting", "running"] },
    "object_path": { "type": "string" },
    "unit_object_path": { "type": "string" }
  }
}