summaryrefslogtreecommitdiff
path: root/spore_validation.rx
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2010-10-14 22:33:32 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2010-10-14 22:33:32 +0200
commit7b18786a4fb531504aefce25a70aec8b4d3664ef (patch)
tree1b801121ad687e52ac0085b4a2ef8bb52856c585 /spore_validation.rx
parentadd authority which is something like an Github or CPAN account id (diff)
downloadspore-specifications-7b18786a4fb531504aefce25a70aec8b4d3664ef.tar.gz
remove params level
Diffstat (limited to '')
-rw-r--r--spore_validation.rx16
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",