Skip to content

Commit 10a0ad8

Browse files
authored
Fix attribute NestingMode type (#30)
1 parent 04bbe76 commit 10a0ad8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

schemas.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,13 @@ type SchemaNestedAttributeType struct {
222222
Attributes map[string]*SchemaAttribute `json:"attributes,omitempty"`
223223

224224
// The nesting mode for this attribute.
225-
NestingMode string `json:"nesting_mode,omitempty"`
225+
NestingMode SchemaNestingMode `json:"nesting_mode,omitempty"`
226226

227227
// The lower limit on number of items that can be declared
228-
// of this attribute type.
228+
// of this attribute type (not applicable to single nesting mode).
229229
MinItems uint64 `json:"min_items,omitempty"`
230230

231231
// The upper limit on number of items that can be declared
232-
// of this attribute type.
232+
// of this attribute type (not applicable to single nesting mode).
233233
MaxItems uint64 `json:"max_items,omitempty"`
234234
}

0 commit comments

Comments
 (0)