Open cjslep opened 6 years ago
just btw - in my personal JSON schemas it fails as well. To test :
"xsd$dateTime": {
"type": "string",
"format": "date-time",
"pattern": "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-](?:2[0-3]|[01][0-9]):[0-5][0-9])?$"
}
This is an error; we should add it to our ERRATA
I added a PR to add an erratum for this error. We'll consider it at a future CG meeting, and if approved, it will go into the ERRATA.md document and also the editor's draft.
Pull request at: https://github.com/w3c/activitystreams/pull/590/files
Please Indicate One:
Please Describe the Issue:
https://www.w3.org/TR/activitystreams-core/#dates states:
However, in https://www.w3.org/TR/activitystreams-vocabulary Example 146 is:
Which is missing both the numeric time zone offset and the
Z
.