[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: UBL v2.1 JSON Schemas
Hi All, I have been looking at the Universal Business Language specification and the JSON schemas.
I found that some schemas that seemed invalid against the JSON schema specification 0.4 - 0.7. I’ve summarized the encountered issues below. Just wanted to check if this is intended and if so, why? Else, we just wanted to let you know.
According to JSON Schema specification the date-time should comply to ISO 8601 and consist of:
full-date T
full-time But this will never match some of the patterns. For example:
File UBL-UnqualifiedDataTypes-2.1.json, at line 218, defines a property called “DateContent” and the “format” : ”date-time” keyword is used. The regex pattern at line 226: ^-*[^T:-]+-[^T:]+$ will not allow the ISO 8601 date time, where the time part is required with ‘:’ separators. Best Regards, Adam Wojnakowski Trace Financial Ltd.
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]