Just a drive-by issue while I am doing work on a microformats2 JSON schema. There was a problem with my schema that was not caught by any JSON files in the test suite:
Microformats within items collections, children collections, and when detected on properties, can all have an id object member with a string value. My schema was getting this wrong and there was no occurrence of this within the test suite to catch it.
Just a drive-by issue while I am doing work on a microformats2 JSON schema. There was a problem with my schema that was not caught by any JSON files in the test suite:
(Output taken from the great and fast in-browser TypeScript parser.)
Microformats within
items
collections,children
collections, and when detected on properties, can all have anid
object member with a string value. My schema was getting this wrong and there was no occurrence of this within the test suite to catch it.We needs tests for this now that https://github.com/microformats/microformats2-parsing/issues/44 has landed in the parsing specification, and has been there since December 2018.
I will probably look into adding a more complete example later.