Closed bkp7 closed 6 years ago
Value is requires. It is the oocation of the default value for that data item. Default is up to server policy, but anyway a safe path for a client to retrieve a value, as there must always be something there.
Values signals the existence of multiple values and is required if there are multiple values. Its existence is not defined for the single value case.
Great, that's what I would have expected. See PR #425
The requirement to have a value has been implemented in PR #425 at least for items utilising commonValueFields, as part of the schema cleanup project.
The issue regarding whether values should be optional for all data points is transferred to issue #427.
Therefore I am closing this issue.
Where there are multiple sources of the same data we can have values eg: (valid against vessel schema)
The schema currently allows neither, either, or both: value and values. Is this correct?
Should it be valid without either? Should it be valid with only values?
NB. values are set up consistently in the schema, so the above is equally true for all value types.
Some guidance or a reference to understand whether or not this is correct would be appreciated.