diff options
| author | Francois Perrad <francois.perrad@gadz.org> | 2010-10-14 22:33:32 +0200 |
|---|---|---|
| committer | Francois Perrad <francois.perrad@gadz.org> | 2010-10-14 22:33:32 +0200 |
| commit | 7b18786a4fb531504aefce25a70aec8b4d3664ef (patch) | |
| tree | 1b801121ad687e52ac0085b4a2ef8bb52856c585 /spore_validation.rx | |
| parent | add authority which is something like an Github or CPAN account id (diff) | |
| download | spore-specifications-7b18786a4fb531504aefce25a70aec8b4d3664ef.tar.gz | |
remove params level
Diffstat (limited to '')
| -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", |
