-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
The proposal is to switch how we say that the we have no attributes:
TRAPI 1.6 required empty array as the only way with minItems:0
ONLY: attributes: []
-
The proposal is to require a null value, and the array MUST NOT be empty: minItems:1
OK: attributes: null
OK: (absent) -
A third compromise is to allow a transition grace period where no attributes may be expressed as the empty list from before OR the null value. We encourage everyone to move to null.
OK: attributes: null
OK: (absent)
OK: attributes: []
In TRAPI 2.1 we MAY fully switch to minItems:1
Vote for 1: tada
Vote for 2: rocket
gprice1129, colleenXu, uhbrar, edeutsch and vdancik
Metadata
Metadata
Assignees
Labels
No labels