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.


If the corresponding payload looks like, the validation will pass:

  "a" : {
    "b" : [
      {"c": "tom"}

Otherwise, the payload will be rejected.