plantbreeding / BrAPI

Repository for version control of the BrAPI specifications
https://brapi.org
MIT License
57 stars 32 forks source link

move enums to separate files #609

Closed daveneti closed 3 months ago

BrapiCoordinatorSelby commented 3 months ago

for the new Enum files, do they need to have null as an acceptable type? Or are $refs allowed to be null by default. That's the only thing that looks like it changed significantly

BrapiCoordinatorSelby commented 3 months ago
"type": [
    "null",
    "string"
]
daveneti commented 3 months ago

I am not sure, if allowed to be null (optional, not required) would not that be better to denote on the field that references the enum and not the enum itself? I will check the json schema spec.