Skip to content

Commit 45bd8f3

Browse files
Merge pull request #42 from Tom-Willemsen/correct_array_blob_len_examples
Correct examples for array and blob lengths
2 parents d203dda + 964fc20 commit 45bd8f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

protocol/specification/datainfo.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ Example: ``"Hello\n\u2343World!"``
330330

331331
.. code:: json
332332
333-
{"type": "blob", "min": 1, "max": 64}
333+
{"type": "blob", "minbytes": 1, "maxbytes": 64}
334334
335335
.. rubric:: Transport
336336

@@ -364,7 +364,7 @@ Examples:
364364

365365
.. code:: json
366366
367-
{"type": "array", "min": 3, "max": 10, "members": {"type": "int", "min": 0, "max": 9}}
367+
{"type": "array", "minlen": 3, "maxlen": 10, "members": {"type": "int", "min": 0, "max": 9}}
368368
369369
.. rubric:: Transport
370370

0 commit comments

Comments
 (0)