Protocol Template

Basic ideas, Overview, ...

Base message

{
    "api": "Api",
    "mt": "MessageType"
}

BaseMessage Description

api
Description Api
mt
Description MessageType
Message class 1 Message class 2
Objects - recurring definitions

Message

{
    "api": "Api",
    "mt": "Message"
}

Description Message

MessageResult

{
    "api": "Api",
    "mt": "MessageResult",
    "Objs": [Obj1, Obj1, ...]
}

Description MessageResult

Objs
Description of Objs

Objects

Obj1
{
    "p1": "Property1",
    "p2": "Property2",
    "..." : ...,
}

Description ob Obj1

p1
Description p1
p2
Description p2