summaryrefslogtreecommitdiffstats
path: root/protocol.txt
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2013-11-14 08:51:42 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2013-11-14 10:31:59 +0200
commit8e9a0ca00b7437402f80d10290c972fa1c07446a (patch)
tree54c2e0d239b760b05ed7eab57514d5ffe19aec47 /protocol.txt
parentbaca93fa10b7c9f7f59b87a737e150038fa90b07 (diff)
downloadaconf-8e9a0ca00b7437402f80d10290c972fa1c07446a.tar.bz2
aconf-8e9a0ca00b7437402f80d10290c972fa1c07446a.tar.xz
combine choice and ui_choice properties of fields
Diffstat (limited to 'protocol.txt')
-rw-r--r--protocol.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocol.txt b/protocol.txt
index 9f94c53..f0ad9cb 100644
--- a/protocol.txt
+++ b/protocol.txt
@@ -62,9 +62,8 @@ resp: JSON object, with the following attributes:
- required (boolean)
- default
- max-length
- - choices (optional array of allowed values)
- - ui-choices (user-friendly choices to be shown in combo
- boxes)
+ - choices (optional array of allowed values, which are
+ tuples of actual values and user-friendly versions)
- fields (model only): array of field metadata JSON
objects
- members (collections and sets only): metadata for