Validation: Keys
Language: VALID:KEYS
Key validation is a very simple toml-like syntax to assert a document takes an expected shape.
It will simply compare the resolved key on the left of the =
to the value on the right.
a.b[0].c=tom
If the corresponding payload looks like, the validation will pass:
{
"a" : {
"b" : [
{"c": "tom"}
]
}
}
Otherwise, the payload will be rejected.