Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
101 lines (101 sloc) 3.172 kb
{
"package": "Game.Cars",
"messages": [
{
"name": "Car",
"fields": [
{
"rule": "required",
"type": "string",
"name": "model",
"id": 1
},
{
"rule": "required",
"type": "Vendor",
"name": "vendor",
"id": 2
},
{
"rule": "optional",
"type": "Speed",
"name": "speed",
"id": 3,
"options": {
"default": "FAST"
}
}
],
"messages": [
{
"name": "Vendor",
"fields": [
{
"rule": "required",
"type": "string",
"name": "name",
"id": 1
},
{
"rule": "optional",
"type": "Address",
"name": "address",
"id": 2
}
],
"messages": [
{
"name": "Address",
"fields": [
{
"rule": "required",
"type": "string",
"name": "country",
"id": 1
}
]
}
]
},
{
"name": "Holder",
"fields": [
{
"rule": "optional",
"type": "string",
"name": "first_name",
"id": 1
},
{
"rule": "required",
"type": "string",
"name": "last_name",
"id": 2
},
{
"rule": "optional",
"type": "Vendor.Address",
"name": "address",
"id": 3
}
]
}
],
"enums": [
{
"name": "Speed",
"values": [
{
"name": "FAST",
"id": 1
},
{
"name": "SUPERFAST",
"id": 2
}
]
}
]
}
]
}
Jump to Line
Something went wrong with that request. Please try again.