-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Consider the following example:
coordinateUncertaintyInMeters:
empty: true
if:
- verbatimCoordinateSystem:
allowed: UTM 1km
numberformat: x
allowed: 707
- verbatimCoordinateSystem:
allowed: UTM 5km
numberformat: x
allowed: 3536
Where the allowed values are somteimes integers (parsing this with default yaml-libraries). The question is how to handle this:
- Always expect (when loading the yaml-schema) that
allowedneed to be strings and pre-format it as such after loading - Expect from the user to be explicit about the string, by requiring quotes:
allowed: '3536' - Provide a 'SchemaError' (or 'SpecificationError'), stating that allowed need to be string/list as for integers, the combination
min/maxis provided. However what withallowed: ['4', '27']?
Metadata
Metadata
Assignees
Labels
No labels