{"$defs":{"digest":{"pattern":"^sha256:[0-9a-f]{64}$","type":"string"}},"$id":"https://sova-oss.org/schemas/firecracker-launch-plan-0.1.0.schema.json","$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"apiRequests":{"items":{"additionalProperties":false,"properties":{"path":{"enum":["/boot-source","/machine-config","/drives/rootfs","/drives/writable","/network-interfaces/eth0","/actions"]},"payload":{"type":"object"}},"required":["path","payload"],"type":"object"},"maxItems":6,"minItems":5,"type":"array"},"artifactType":{"const":"sova.firecracker-launch-plan"},"cgroupValues":{"items":{"additionalProperties":false,"properties":{"key":{"enum":["cpu.max","memory.max","pids.max"]},"value":{"minLength":1,"type":"string"}},"required":["key","value"],"type":"object"},"maxItems":3,"minItems":3,"type":"array"},"contentDigest":{"$ref":"#/$defs/digest"},"firecrackerVersion":{"const":"1.16.1"},"identity":{"additionalProperties":false,"properties":{"gid":{"maximum":600000,"minimum":100000,"type":"integer"},"uid":{"maximum":600000,"minimum":100000,"type":"integer"},"uniquePerJob":{"const":true}},"required":["uid","gid","uniquePerJob"],"type":"object"},"identitySlot":{"maximum":500000,"minimum":0,"type":"integer"},"invariants":{"additionalProperties":false,"properties":{"ambientNetworkAllowed":{"const":false},"hostMountsAllowed":{"const":false},"oneVmPerJob":{"const":true},"pciEnabled":{"const":false},"rootFilesystemReadOnly":{"const":true},"serialConsoleEnabled":{"const":false},"writableLayerDisposable":{"const":true}},"required":["oneVmPerJob","hostMountsAllowed","rootFilesystemReadOnly","writableLayerDisposable","ambientNetworkAllowed","pciEnabled","serialConsoleEnabled"],"type":"object"},"jailer":{"additionalProperties":false,"properties":{"apiSocket":{"const":"/api.socket"},"argv":{"items":{"type":"string"},"maxItems":64,"minItems":1,"type":"array"},"cgroupDirectory":{"minLength":1,"type":"string"},"chrootDirectory":{"minLength":1,"type":"string"},"networkNamespace":{"minLength":1,"type":"string"},"pidFile":{"pattern":"^/[A-Za-z0-9_.-]+\\.pid$","type":"string"},"seccompLevel":{"const":2}},"required":["argv","chrootDirectory","networkNamespace","apiSocket","pidFile","cgroupDirectory","seccompLevel"],"type":"object"},"jobId":{"minLength":1,"type":"string"},"manifestDigest":{"$ref":"#/$defs/digest"},"maximumLogBytes":{"maximum":1073741824,"minimum":1,"type":"integer"},"schemaVersion":{"const":"0.1.0"},"stagedContent":{"items":{"additionalProperties":false,"properties":{"destination":{"minLength":1,"type":"string"},"mode":{"enum":["copy-read-only","copy-disposable-writable"]},"source":{"minLength":1,"type":"string"}},"required":["source","destination","mode"],"type":"object"},"maxItems":3,"minItems":3,"type":"array"},"vmId":{"pattern":"^[A-Za-z0-9_.-]{1,64}$","type":"string"},"watchdogSeconds":{"maximum":86415,"minimum":16,"type":"integer"}},"required":["artifactType","schemaVersion","jobId","vmId","manifestDigest","firecrackerVersion","identity","identitySlot","jailer","stagedContent","cgroupValues","apiRequests","watchdogSeconds","maximumLogBytes","invariants","contentDigest"],"title":"SOVA Firecracker launch plan 0.1.0","type":"object"}