Skip to content

Commit 28e8dc2

Browse files
committed
Update repetition level and style
1 parent 1207a62 commit 28e8dc2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

VariantShredding.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ If the value is an array, `value` must be null.
125125
The list `element` must be a required group.
126126
The `element` group can contain `value` and `typed_value` fields.
127127
The element's `value` field stores the element as Variant-encoded `binary` when the `typed_value` is not present or cannot represent it.
128-
The `typed_value` field may be omitted when not shredding elements as a specific type. The `value` field may be omitted when shredding elements as a specific type. However, at least one of the two fields must be present.
128+
The `typed_value` field may be omitted when not shredding elements as a specific type.
129+
The `value` field may be omitted when shredding elements as a specific type.
130+
However, at least one of the two fields must be present.
129131

130132
For example, a `tags` Variant may be shredded as a list of strings using the following definition:
131133
```
@@ -192,7 +194,7 @@ optional group event (VARIANT) {
192194
```
193195

194196
The group for each named field must use repetition level `required`.
195-
Readers may always assume the group is annotated correctly.
197+
Readers may always assume the group has the correct repetition level.
196198

197199
A field's `value` and `typed_value` are set to null (missing) to indicate that the field does not exist in the variant.
198200
To encode a field that is present with a null value, the `value` must contain a Variant null: basic type 0 (primitive) and physical type 0 (null).

0 commit comments

Comments
 (0)