Youki · Schema

Oci Runtime State

Open Container Runtime State Schema

ContainersContainer RuntimeOCIRustCNCFCloud NativeKubernetes

Properties

Name Type Description
ociVersion object
id string the container's ID
status string
pid integer
bundle string
annotations object
View JSON Schema on GitHub

JSON Schema

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