In the current version of the JSON schema, the value of the time member can be null or an object. This object may contain a date, timestamp and/or interval property, but may also be empty (zero properties). Since that would effectively be the same as a null value, it would be good to require at least one of the object properties using the minProperties keyword.
In the current version of the JSON schema, the value of the
time
member can benull
or an object. This object may contain adate
,timestamp
and/orinterval
property, but may also be empty (zero properties). Since that would effectively be the same as anull
value, it would be good to require at least one of the object properties using theminProperties
keyword.