diff options
| -rw-r--r-- | spore_validation.rx | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/spore_validation.rx b/spore_validation.rx index 55b6fde..c908996 100644 --- a/spore_validation.rx +++ b/spore_validation.rx @@ -34,12 +34,16 @@ "type": "//int" } }, - "params": { - "type": "//map", - "values": { - "type": "//arr", - "contents": {"type": "//str"} - } + "required": { + "type" : "//arr", + "contents": { + "type": "//str" + }, + "optional": { + "type": "//arr", + "contents": { + "type": "//str" + }, }, "description": "//str", "authentication": "//bool", |
