jsongraph / json-graph-specification

A proposal for representing graph structure (nodes / edges) in JSON.
http://jsongraphformat.info/
Other
446 stars 36 forks source link

Allowance of null schema types is inconsistent #21

Closed abargnesi closed 3 years ago

abargnesi commented 9 years ago

Not all optional properties can be set as a null type. This should be consistent for all because I believe the semantics of null equal that of omission.

This is with respect to one of our stated design principles:

Properties that allow a null value can be omitted.

We should rewrite it as:

Optional properties can either be null or omitted.

Offending properties:

wshayes commented 3 years ago

Handled with Version 2 of the JGF schema definition.