{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/MachineRestart", "title": "MachineRestart", "type": "object", "description": "Restart policy configuration for a Fly Machine.", "properties": { "policy": { "type": "string", "description": "When to restart the Machine after it exits. no disables restarts; on-failure restarts only on non-zero exit codes; always restarts unconditionally.", "enum": [ false, "on-failure", "always" ] } } }