-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
The difference between a "nullable" and a non-null field is currently handled using the "required" property on the JSON schema object. This is only partly correct, as a nullable field can either be not specified (it is not required) or it can be assigned null.
The required behavior should stay, but if the field is not declared as non-null, the fields should be as follows:
Lists
{
"type": ["array", "null"]
}Types
Metadata
Metadata
Assignees
Labels
No labels
{ "type":{ "oneOf":[ { // or whatever the actual type is "type":"string" }, { "type":"null" } ] } }