{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "kind": {
            "type": "string",
            "default": "resp",
            "readonly": "true",
            "description": "Defines that the message is a response"
        },
        "reqId": {
            "type": "string",
            "description": "The ID of the request that originated this response",
            "minLength": 1,
            "maxLength": 64,
            "default": "0"
        },
        "type": {
            "description": "Contains one of the APIs response type names",
            "type": "string"
        },
        "code": {
            "type": "integer",
            "description": "Response code according to the HTTP status codes standard"
        },
        "body": {}
    },
    "required": [
        "kind",
        "reqId",
        "code",
        "type",
        "body"
    ]
}