From 7b18786a4fb531504aefce25a70aec8b4d3664ef Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Thu, 14 Oct 2010 22:33:32 +0200 Subject: remove params level --- spore_validation.rx | 16 ++++++++++------ 1 file 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", -- cgit v1.2.3