{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "Huawei docker image save and load config Specification",
    "properties": {
        "CommonConfig": {
            "properties": {
                "Path": {
                    "type": "string"
                },
                "Args": {
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                },
                "Config": {
                    "$ref": "config.json"
                },
                "Created": {
                    "type": "string"
                },
                "HasBeenManuallyStopped": {
                    "type": "boolean"
                },
                "HasBeenStartedBefore": {
                    "type": "boolean"
                },
                "Image": {
                    "type": "string"
                },
                "ImageType": {
                    "type": "string"
                },
                "HostnamePath": {
                    "type": "string"
                },
                "HostsPath": {
                    "type": "string"
                },
                "ResolvConfPath": {
                    "type": "string"
                },
                "LogPath": {
                    "type": "string"
                },
                "BaseFs": {
                    "type": "string"
                },
                "MountPoints": {
                    "type": "object",
                    "patternProperties": {
                        ".{1,}": {
                            "type": "object",
                            "properties": {
                                "Destination": {
                                    "type": "string"
                                },
                                "Driver": {
                                    "type": "string"
                                },
                                "Key": {
                                    "type": "string"
                                },
                                "Name": {
                                    "type": "string"
                                },
                                "Named": {
                                    "type": "boolean"
                                },
                                "Propagation": {
                                    "type": "string"
                                },
                                "RW": {
                                    "type": "boolean"
                                },
                                "Relabel": {
                                    "type": "string"
                                },
                                "Source": {
                                    "type": "string"
                                }
                            }
                        }
                    }
                },
                "Name": {
                    "type": "string"
                },
                "RestartCount": {
                    "type": "integer"
                },
                "id": {
                    "type": "string"
                }
            },
            "required": [
                "id",
                "Name"
            ],
            "type": "object"
        },
        "Image": {
            "type": "string"
        },
        "State": {
            "properties": {
                "Dead": {
                    "type": "boolean"
                },
                "Error": {
                    "type": "string"
                },
                "ExitCode": {
                    "type": "integer"
                },
                "FinishedAt": {
                    "type": "string"
                },
                "OOMKilled": {
                    "type": "boolean"
                },
                "Paused": {
                    "type": "boolean"
                },
                "Pid": {
                    "type": "integer"
                },
                "PPid": {
                    "type": "integer"
                },
                "StartTime": {
                    "type": "uint64"
                },
                "PStartTime": {
                    "type": "uint64"
                },
                "RemovalInprogress": {
                    "type": "boolean"
                },
                "Restarting": {
                    "type": "boolean"
                },
                "Running": {
                    "type": "boolean"
                },
                "StartedAt": {
                    "type": "string"
                },
                "Starting": {
                    "type": "boolean"
                },
                "Health": {
                    "$ref": "../defs.json#/definitions/Health"
                }
            },
            "type": "object"
        }
    },
    "required": [
        "CommonConfig",
        "State"
    ],
    "type": "object"
}
