diff options
Diffstat (limited to 'protocol.txt')
-rw-r--r-- | protocol.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/protocol.txt b/protocol.txt index f0ad9cb..68f62d7 100644 --- a/protocol.txt +++ b/protocol.txt @@ -62,8 +62,10 @@ resp: JSON object, with the following attributes: - required (boolean) - default - max-length - - choices (optional array of allowed values, which are - tuples of actual values and user-friendly versions) + - choices: optional array of allowed values, which are + objects with the following attributes: + - value + - ui-value (user-friendly version) - fields (model only): array of field metadata JSON objects - members (collections and sets only): metadata for |