{
    "description": "Open Container Runtime State Schema",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "https://opencontainers.org/schema/state",
    "type": "object",
    "properties": {
        "ociVersion": {
            "id": "https://opencontainers.org/schema/runtime/state/ociVersion",
            "$ref": "../../defs.json#/definitions/ociVersion"
        },
        "id": {
            "id": "https://opencontainers.org/schema/runtime/state/id",
            "description": "the container's ID",
            "type": "string"
        },
        "status": {
            "id": "https://opencontainers.org/schema/runtime/state/status",
            "type": "string",
            "enum": [
                "creating",
                "created",
                "running",
                "stopped"
            ]
        },
        "pid": {
            "id": "https://opencontainers.org/schema/runtime/state/pid",
            "type": "integer",
            "minimum": 0
        },
        "bundle": {
            "id": "https://opencontainers.org/schema/runtime/state/bundle",
            "type": "string"
        },
        "annotations": {
            "$ref": "../../defs.json#/definitions/annotations"
        }
    },
    "required": [
        "ociVersion",
        "id",
        "status",
        "bundle"
    ]
}
