| 1 | { |
| 2 | "description": "Open Container Runtime State Schema", |
| 3 | "$schema": "http://json-schema.org/draft-04/schema#", |
| 4 | "type": "object", |
| 5 | "properties": { |
| 6 | "ociVersion": { |
| 7 | "$ref": "defs.json#/definitions/ociVersion" |
| 8 | }, |
| 9 | "id": { |
| 10 | "description": "the container's ID", |
| 11 | "type": "string" |
| 12 | }, |
| 13 | "status": { |
| 14 | "type": "string", |
| 15 | "enum": [ |
| 16 | "creating", |
| 17 | "created", |
| 18 | "running", |
| 19 | "stopped" |
| 20 | ] |
| 21 | }, |
| 22 | "pid": { |
| 23 | "type": "integer", |
| 24 | "minimum": 0 |
| 25 | }, |
| 26 | "bundle": { |
| 27 | "type": "string" |
| 28 | }, |
| 29 | "annotations": { |
| 30 | "$ref": "defs.json#/definitions/annotations" |
| 31 | } |
| 32 | }, |
| 33 | "required": [ |
| 34 | "ociVersion", |
| 35 | "id", |
| 36 | "status", |
| 37 | "bundle" |
| 38 | ] |
| 39 | } |