Replies: 2 comments
-
|
@pajachiet this seems very sensible. A PR for the change would be welcomed. |
Beta Was this translation helpful? Give feedback.
-
|
Consider a datetime type property modifier, similar to numeric, integer and boolean, to specify a different EDTF level, e.g. EDTF-0, EDTF-1, EDTF-2 EDTF https://www.loc.gov/standards/datetime/ Three conformance levels are defined: level 0, level 1, and level 2. Level 0 specifies features of ISO 8601-1; Levels 1 and 2 specify features described ISO 8601-2. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be very useful for us to extend the specification toaccept non default formats for type
yearmonth, in the same way asdate,timeanddatetime.If we extend the specification for type
yearmonth, it would be logical to extend it also for typeyear.Our usecase is to describe a large database with tableschema, where
yearmonthis writen with formatYYYYMMand not defaultYYYY-MM.This would allow us to validate the data, and to generate fake data with our beta library tsfaker.
Beta Was this translation helpful? Give feedback.
All reactions