You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But that should be locked down by the template. A date field instance, for example, should only have the type xsd:date. The only place a user has freedom to set the value for the @type is for templates and element.
I will agree that this may be tricky to do in practice because we would need a different specification for each type of field. Which is why I didn't put it in the 2.3 milestone. We can discuss to see if the extra effort is worth it.
We do not lock down the datatypes of fields in the JSON Schema
@type
specification for fields.For example, here is the specification for the
@value
and@type
fields for date field instances:The
@type
field is restricted to a URI only when it should be restricted toxsd:date
.The text was updated successfully, but these errors were encountered: