{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://github.com/Enfernuz/quik-lua-rpc/json/schema/getFuturesHolding.result.scheme.json",
    "title": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b getFuturesHolding",
    "description": "\u0421\u0445\u0435\u043c\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u0437\u043e\u0432\u0430 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b getFuturesHolding",
    "type": "object",
    "properties": {
        "futures_holding": {
            "description": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442",
            "type": "object",
            "properties": {
                "firmid": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 firmid",
                    "type": "string"
                },
                "trdaccid": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 trdaccid",
                    "type": "string"
                },
                "sec_code": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 sec_code",
                    "type": "string"
                },
                "type": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 type",
                    "type": "integer"
                },
                "startbuy": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 startbuy",
                    "type": "string"
                },
                "startsell": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 startsell",
                    "type": "string"
                },
                "startnet": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 startnet",
                    "type": "string"
                },
                "todaybuy": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 todaybuy",
                    "type": "string"
                },
                "todaysell": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 todaysell",
                    "type": "string"
                },
                "totalnet": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 totalnet",
                    "type": "string"
                },
                "openbuys": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 openbuys",
                    "type": "number"
                },
                "opensells": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 opensells",
                    "type": "number"
                },
                "cbplused": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 cbplused",
                    "type": "string"
                },
                "cbplplanned": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 cbplplanned",
                    "type": "string"
                },
                "varmargin": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 varmargin",
                    "type": "string"
                },
                "avrposnprice": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 avrposnprice",
                    "type": "string"
                },
                "positionvalue": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 positionvalue",
                    "type": "string"
                },
                "real_varmargin": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 real_varmargin",
                    "type": "string"
                },
                "total_varmargin": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 total_varmargin",
                    "type": "string"
                },
                "session_status": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 session_status",
                    "type": "number"
                }
            },
            "required": [
                "firmid",
                "trdaccid",
                "sec_code",
                "type",
                "openbuys",
                "opensells",
                "session_status"
            ]
        }
    },
    "additionalProperties": false
}