diff --git a/tests/microformats-v2-unit/implied/implied-name.html b/tests/microformats-v2-unit/implied/implied-name.html index a7e9df0..a9b0656 100644 --- a/tests/microformats-v2-unit/implied/implied-name.html +++ b/tests/microformats-v2-unit/implied/implied-name.html @@ -5,7 +5,11 @@ trimming is performed. --> - +
Valid
Invalid
@@ -18,17 +22,7 @@
NotPartOfTest
Invalid -
-
-
NotPartOfTest
Invalid -
Invalid -
- -
-
NotPartOfTestNotPartOfTest
Invalid -
- - + Valid  Do Trim diff --git a/tests/microformats-v2-unit/implied/implied-name.json b/tests/microformats-v2-unit/implied/implied-name.json index de49f2a..6cbec9f 100644 --- a/tests/microformats-v2-unit/implied/implied-name.json +++ b/tests/microformats-v2-unit/implied/implied-name.json @@ -33,44 +33,6 @@ ] } }, - { - "type": [ - "h-test-nested" - ], - "properties": {}, - "children": [ - { - "type": [ - "h-test-child" - ], - "properties": { - "name": [ - "NotPartOfTest" - ] - } - } - ] - }, - { - "type": [ - "h-test-nested-prop" - ], - "properties": { - "prop": [ - { - "value": "NotPartOfTestNotPartOfTest", - "type": [ - "h-test-child" - ], - "properties": { - "name": [ - "NotPartOfTest" - ] - } - } - ] - } - }, { "type": [ "h-test-img-filled" diff --git a/tests/microformats-v2-unit/implied/implied-photo.html b/tests/microformats-v2-unit/implied/implied-photo.html index 0b96f34..6c71bf9 100644 --- a/tests/microformats-v2-unit/implied/implied-photo.html +++ b/tests/microformats-v2-unit/implied/implied-photo.html @@ -10,10 +10,7 @@ aspect of these tests, but resolution complexity is kept to a minimum. --> - - -NameOnly - NameOnly +Name Valid @@ -26,14 +23,10 @@ Name Name Name -
NotPartOfTest
http://exaple.test/NotPartOfTest
Valid
-
-
-
NameOnly
-
 NameOnly
+
Name
Valid
@@ -46,7 +39,6 @@


-
@@ -60,17 +52,13 @@
Name

Name
Name
-
NotPartOfTest
http://example.test/NameAndOverride
Valid
Name Name Name -
-
-
NameOnly
-
 NameOnly
+
Name
Valid
@@ -85,7 +73,6 @@



-
@@ -101,7 +88,6 @@
Name

Name
Name

-
NotPartOfTest
http://example.test/NameAndOverride
Valid
Name
diff --git a/tests/microformats-v2-unit/implied/implied-photo.json b/tests/microformats-v2-unit/implied/implied-photo.json index e30af3e..cf37991 100644 --- a/tests/microformats-v2-unit/implied/implied-photo.json +++ b/tests/microformats-v2-unit/implied/implied-photo.json @@ -2,41 +2,11 @@ "items": [ { "type": [ - "h-test-img-src-missing-alt-missing" + "h-test-img-src-missing" ], "properties": { "name": [ - "" - ] - } - }, - { - "type": [ - "h-test-img-src-missing-alt-empty" - ], - "properties": { - "name": [ - "" - ] - } - }, - { - "type": [ - "h-test-img-src-missing-alt-filled" - ], - "properties": { - "name": [ - "NameOnly" - ] - } - }, - { - "type": [ - "h-test-img-src-missing-alt-filled-space" - ], - "properties": { - "name": [ - "NameOnly" + "Name" ] } }, @@ -198,24 +168,6 @@ ] } }, - { - "type": [ - "h-test-object-data-filled-has-child" - ], - "properties": {}, - "children": [ - { - "type": [ - "h-test-child" - ], - "properties": { - "name": [ - "NotPartOfTest" - ] - } - } - ] - }, { "type": [ "h-test-object-data-filled-has-u" @@ -241,41 +193,11 @@ }, { "type": [ - "h-test-img-onlychildoftype-src-missing-alt-missing" - ], - "properties": { - "name": [ - "" - ] - } - }, - { - "type": [ - "h-test-img-onlychildoftype-src-missing-alt-empty" - ], - "properties": { - "name": [ - "" - ] - } - }, - { - "type": [ - "h-test-img-onlychildoftype-src-missing-alt-filled" - ], - "properties": { - "name": [ - "NameOnly" - ] - } - }, - { - "type": [ - "h-test-img-onlychildoftype-src-missing-alt-filled-space" + "h-test-img-onlychildoftype-src-missing" ], "properties": { "name": [ - "NameOnly" + "Name" ] } }, @@ -447,29 +369,6 @@ ] } }, - { - "type": [ - "h-test-img-onlychildoftype-has-child" - ], - "properties": { - "name": [ - { - "value": "", - "type": [ - "h-test-child" - ], - "properties": { - "name": [ - "" - ], - "photo": [ - "http://example.test/ChildOnly" - ] - } - } - ] - } - }, { "type": [ "h-test-img-onlychildoftype-has-u" @@ -614,24 +513,6 @@ ] } }, - { - "type": [ - "h-test-object-onlychildoftype-has-child" - ], - "properties": {}, - "children": [ - { - "type": [ - "h-test-child" - ], - "properties": { - "name": [ - "NotPartOfTest" - ] - } - } - ] - }, { "type": [ "h-test-object-onlychildoftype-has-u" @@ -696,41 +577,11 @@ }, { "type": [ - "h-test-img-onlygrandchildoftype-src-missing-alt-missing" - ], - "properties": { - "name": [ - "" - ] - } - }, - { - "type": [ - "h-test-img-onlygrandchildoftype-src-missing-alt-empty" - ], - "properties": { - "name": [ - "" - ] - } - }, - { - "type": [ - "h-test-img-onlygrandchildoftype-src-missing-alt-filled" + "h-test-img-onlygrandchildoftype-src-missing" ], "properties": { "name": [ - "NameOnly" - ] - } - }, - { - "type": [ - "h-test-img-onlygrandchildoftype-src-missing-alt-filled-space" - ], - "properties": { - "name": [ - "NameOnly" + "Name" ] } }, @@ -922,29 +773,6 @@ ] } }, - { - "type": [ - "h-test-img-onlygrandchildoftype-has-child" - ], - "properties": { - "name": [ - { - "value": "", - "type": [ - "h-test-child" - ], - "properties": { - "name": [ - "" - ], - "photo": [ - "http://example.test/ChildOnly" - ] - } - } - ] - } - }, { "type": [ "h-test-img-onlygrandchildoftype-has-u" @@ -1109,24 +937,6 @@ ] } }, - { - "type": [ - "h-test-object-onlygrandchildoftype-has-child" - ], - "properties": {}, - "children": [ - { - "type": [ - "h-test-child" - ], - "properties": { - "name": [ - "NotPartOfTest" - ] - } - } - ] - }, { "type": [ "h-test-object-onlygrandchildoftype-has-u" diff --git a/tests/microformats-v2-unit/implied/implied-url.html b/tests/microformats-v2-unit/implied/implied-url.html index aedac62..4639316 100644 --- a/tests/microformats-v2-unit/implied/implied-url.html +++ b/tests/microformats-v2-unit/implied/implied-url.html @@ -10,62 +10,55 @@ aspect of these tests, but resolution complexity is kept to a minimum. --> - - - +Name +Name +Name Name Name Name -
NotPartOfTest
http://exaple.test/NotPartOfTest
Valid
-
-
-
-
-
-

-

-
-
-
- - - +
Name
+
Name
+
Name
+
Name
+
Name
+

Name
+

Name
+
Name
+
Name
+Name +Name +Name -
+
Name
Name
Name
Name
Name

Name
Name
-
NotPartOfTest
http://example.test/NameAndOverride
Valid
-Name -Name -Name -
-
-
-
-
-

-

-

-

-
-
-
-
-
-
+
Name
+
Name
+
Name
+
Name
+
Name
+

Name
+

Name
+

Name
+

Name
+
Name
+
Name
+
Name
+
Name
+
Name
-
+
Name
Name
Name
Name
@@ -74,9 +67,5 @@
Name

Name
Name

-
NotPartOfTest
http://example.test/NameAndOverride
Valid
-
Name
-
Name
-
Name
diff --git a/tests/microformats-v2-unit/implied/implied-url.json b/tests/microformats-v2-unit/implied/implied-url.json index d305137..f0e1d37 100644 --- a/tests/microformats-v2-unit/implied/implied-url.json +++ b/tests/microformats-v2-unit/implied/implied-url.json @@ -6,7 +6,7 @@ ], "properties": { "name": [ - "" + "Name" ] } }, @@ -16,7 +16,7 @@ ], "properties": { "name": [ - "" + "Name" ], "url": [ "http://example.test" @@ -29,7 +29,7 @@ ], "properties": { "name": [ - "" + "Name" ], "url": [ "http://example.test/Valid" @@ -72,24 +72,6 @@ ] } }, - { - "type": [ - "h-test-a-href-filled-has-child" - ], - "properties": {}, - "children": [ - { - "type": [ - "h-test-child" - ], - "properties": { - "name": [ - "NotPartOfTest" - ] - } - } - ] - }, { "type": [ "h-test-a-href-filled-has-u" @@ -119,7 +101,7 @@ ], "properties": { "name": [ - "" + "Name" ] } }, @@ -129,7 +111,7 @@ ], "properties": { "name": [ - "" + "Name" ], "url": [ "http://example.test" @@ -142,7 +124,7 @@ ], "properties": { "name": [ - "" + "Name" ], "url": [ "http://example.test/Valid" @@ -155,7 +137,7 @@ ], "properties": { "name": [ - "" + "Name" ] } }, @@ -165,7 +147,7 @@ ], "properties": { "name": [ - "" + "Name" ] } }, @@ -175,7 +157,7 @@ ], "properties": { "name": [ - "" + "Name" ], "url": [ "http://example.test/Valid" @@ -188,36 +170,13 @@ ], "properties": { "name": [ - "" + "Name" ], "url": [ "http://example.test/Valid" ] } }, - { - "type": [ - "h-test-area-onlychildoftype-has-child" - ], - "properties": { - "name": [ - { - "value": "", - "type": [ - "h-test-child" - ], - "properties": { - "name": [ - "" - ], - "url": [ - "http://example.test/ChildOnly" - ] - } - } - ] - } - }, { "type": [ "h-test-area-onlychildoftype-has-u" @@ -227,7 +186,7 @@ "http://example.test/NotPartOfTest" ], "name": [ - "" + "Name" ] } }, @@ -237,7 +196,7 @@ ], "properties": { "url": [ - "" + "Name" ] } }, @@ -247,7 +206,7 @@ ], "properties": { "name": [ - "" + "Name" ], "url": [ "http://example.test/Valid" @@ -260,7 +219,7 @@ ], "properties": { "name": [ - "" + "Name" ], "url": [ "http://example.test/Valid" @@ -273,7 +232,7 @@ ], "properties": { "name": [ - "" + "Name" ], "url": [ "http://example.test" @@ -286,7 +245,7 @@ ], "properties": { "name": [ - "" + "Name" ] } }, @@ -362,24 +321,6 @@ ] } }, - { - "type": [ - "h-test-a-onlychildoftype-has-child" - ], - "properties": {}, - "children": [ - { - "type": [ - "h-test-child" - ], - "properties": { - "name": [ - "NotPartOfTest" - ] - } - } - ] - }, { "type": [ "h-test-a-onlychildoftype-has-u" @@ -403,49 +344,13 @@ ] } }, - { - "type": [ - "h-test-a-onlychildoftype-root-a" - ], - "properties": { - "name": [ - "" - ] - } - }, - { - "type": [ - "h-test-a-onlychildoftype-root-a-with-href" - ], - "properties": { - "name": [ - "" - ], - "url": [ - "http://example.test/Valid" - ] - } - }, - { - "type": [ - "h-test-a-onlychildoftype-root-a-with-href-empty" - ], - "properties": { - "name": [ - "" - ], - "url": [ - "http://example.test" - ] - } - }, { "type": [ "h-test-area-onlygrandchildoftype-href-missing" ], "properties": { "name": [ - "" + "Name" ] } }, @@ -455,7 +360,7 @@ ], "properties": { "name": [ - "" + "Name" ], "url": [ "http://example.test" @@ -468,7 +373,7 @@ ], "properties": { "name": [ - "" + "Name" ], "url": [ "http://example.test/Valid" @@ -481,7 +386,7 @@ ], "properties": { "name": [ - "" + "Name" ] } }, @@ -491,7 +396,7 @@ ], "properties": { "name": [ - "" + "Name" ] } }, @@ -501,7 +406,7 @@ ], "properties": { "name": [ - "" + "Name" ], "url": [ "http://example.test/Valid" @@ -514,7 +419,7 @@ ], "properties": { "name": [ - "" + "Name" ], "url": [ "http://example.test/Valid" @@ -527,7 +432,7 @@ ], "properties": { "name": [ - "" + "Name" ] } }, @@ -537,30 +442,7 @@ ], "properties": { "name": [ - "" - ] - } - }, - { - "type": [ - "h-test-area-onlygrandchildoftype-has-child" - ], - "properties": { - "name": [ - { - "value": "", - "type": [ - "h-test-child" - ], - "properties": { - "name": [ - "" - ], - "url": [ - "http://example.test/ChildOnly" - ] - } - } + "Name" ] } }, @@ -573,7 +455,7 @@ "http://example.test/NotPartOfTest" ], "name": [ - "" + "Name" ] } }, @@ -593,7 +475,7 @@ ], "properties": { "name": [ - "" + "Name" ], "url": [ "http://example.test/Valid" @@ -606,7 +488,7 @@ ], "properties": { "name": [ - "" + "Name" ], "url": [ "http://example.test/Valid" @@ -619,7 +501,7 @@ ], "properties": { "name": [ - "" + "Name" ], "url": [ "http://example.test" @@ -632,7 +514,7 @@ ], "properties": { "name": [ - "" + "Name" ] } }, @@ -728,24 +610,6 @@ ] } }, - { - "type": [ - "h-test-a-onlygrandchildoftype-has-child" - ], - "properties": {}, - "children": [ - { - "type": [ - "h-test-child" - ], - "properties": { - "name": [ - "NotPartOfTest" - ] - } - } - ] - }, { "type": [ "h-test-a-onlygrandchildoftype-has-u" @@ -768,78 +632,6 @@ "Valid" ] } - }, - { - "type": [ - "h-test-a-onlygrandchildoftype-root-a" - ], - "properties": { - "name": [ - "" - ] - } - }, - { - "type": [ - "h-test-a-onlygrandchildoftype-root-a" - ], - "properties": { - "name": [ - "" - ] - } - }, - { - "type": [ - "h-test-a-onlygrandchildoftype-root-a-with-href" - ], - "properties": { - "name": [ - "" - ], - "url": [ - "http://example.test/Valid" - ] - } - }, - { - "type": [ - "h-test-a-onlygrandchildoftype-root-a-with-href" - ], - "properties": { - "name": [ - "" - ], - "url": [ - "http://example.test/Valid" - ] - } - }, - { - "type": [ - "h-test-a-onlygrandchildoftype-root-a-with-href-empty" - ], - "properties": { - "name": [ - "" - ], - "url": [ - "http://example.test" - ] - } - }, - { - "type": [ - "h-test-a-onlygrandchildoftype-root-a-with-href-empty" - ], - "properties": { - "name": [ - "" - ], - "url": [ - "http://example.test" - ] - } } ], "rels": {}, diff --git a/tests/microformats-v2-unit/names/names-properties.html b/tests/microformats-v2-unit/names/names-properties.html index 376438e..de9b05d 100644 --- a/tests/microformats-v2-unit/names/names-properties.html +++ b/tests/microformats-v2-unit/names/names-properties.html @@ -59,24 +59,24 @@
NotPartOfTest
-
2000-01-01 00:00:00+00:00
-
2000-01-01 00:00:00+00:00
-
2000-01-01 00:00:00+00:00
-
2000-01-01 00:00:00+00:00
-
2000-01-01 00:00:00+00:00
+
2000-01-01 00:00:00+0100
+
2000-01-01 00:00:00+0100
+
2000-01-01 00:00:00+0100
+
2000-01-01 00:00:00+0100
+
2000-01-01 00:00:00+0100
-
2000-01-01 00:00:00+00:00
-
2000-01-01 00:00:00+00:00
-
2000-01-01 00:00:00+00:00
-
2000-01-01 00:00:00+00:00
-
2000-01-01 00:00:00+00:00
-
2000-01-01 00:00:00+00:00
+
2000-01-01 00:00:00+0100
+
2000-01-01 00:00:00+0100
+
2000-01-01 00:00:00+0100
+
2000-01-01 00:00:00+0100
+
2000-01-01 00:00:00+0100
+
2000-01-01 00:00:00+0100
-
2000-01-01 00:00:00+00:00
-
2000-01-01 00:00:00+00:00
-
2000-01-01 00:00:00+00:00
-
2000-01-01 00:00:00+00:00
-
2000-01-01 00:00:00+00:00
+
2000-01-01 00:00:00+0100
+
2000-01-01 00:00:00+0100
+
2000-01-01 00:00:00+0100
+
2000-01-01 00:00:00+0100
+
2000-01-01 00:00:00+0100
1900-01-01 00:00:00+00:00
1900-01-01 00:00:00+00:00
diff --git a/tests/microformats-v2-unit/names/names-properties.json b/tests/microformats-v2-unit/names/names-properties.json index 6e83570..f29689f 100644 --- a/tests/microformats-v2-unit/names/names-properties.json +++ b/tests/microformats-v2-unit/names/names-properties.json @@ -67,52 +67,52 @@ "NotPartOfTest" ], "t": [ - "2000-01-01 00:00:00+00:00" + "2000-01-01 00:00:00+0100" ], "test": [ - "2000-01-01 00:00:00+00:00" + "2000-01-01 00:00:00+0100" ], "test-three": [ - "2000-01-01 00:00:00+00:00" + "2000-01-01 00:00:00+0100" ], "test-test-four": [ - "2000-01-01 00:00:00+00:00" + "2000-01-01 00:00:00+0100" ], "test-five-t": [ - "2000-01-01 00:00:00+00:00" + "2000-01-01 00:00:00+0100" ], "6-test": [ - "2000-01-01 00:00:00+00:00" + "2000-01-01 00:00:00+0100" ], "7t-test": [ - "2000-01-01 00:00:00+00:00" + "2000-01-01 00:00:00+0100" ], "8t8-test": [ - "2000-01-01 00:00:00+00:00" + "2000-01-01 00:00:00+0100" ], "t9-test": [ - "2000-01-01 00:00:00+00:00" + "2000-01-01 00:00:00+0100" ], "t10-test-test": [ - "2000-01-01 00:00:00+00:00" + "2000-01-01 00:00:00+0100" ], "t11t-test-t": [ - "2000-01-01 00:00:00+00:00" + "2000-01-01 00:00:00+0100" ], "t12-test": [ - "2000-01-01 00:00:00+00:00" + "2000-01-01 00:00:00+0100" ], "t13-test": [ - "2000-01-01 00:00:00+00:00" + "2000-01-01 00:00:00+0100" ], "t14-test": [ - "2000-01-01 00:00:00+00:00" + "2000-01-01 00:00:00+0100" ], "t15-test": [ - "2000-01-01 00:00:00+00:00" + "2000-01-01 00:00:00+0100" ], "t16-test": [ - "2000-01-01 00:00:00+00:00" + "2000-01-01 00:00:00+0100" ] } }, diff --git a/tests/microformats-v2-unit/nested/nested-implied-name.html b/tests/microformats-v2-unit/nested/nested-implied-name.html new file mode 100644 index 0000000..d7e7327 --- /dev/null +++ b/tests/microformats-v2-unit/nested/nested-implied-name.html @@ -0,0 +1,10 @@ + +
+
+
NotPartOfTest
Invalid +
Invalid +
+ +
+
NotPartOfTestNotPartOfTest
Invalid +
diff --git a/tests/microformats-v2-unit/nested/nested-implied-name.json b/tests/microformats-v2-unit/nested/nested-implied-name.json new file mode 100644 index 0000000..569f4c2 --- /dev/null +++ b/tests/microformats-v2-unit/nested/nested-implied-name.json @@ -0,0 +1,44 @@ +{ + "items": [ + { + "type": [ + "h-test-nested" + ], + "properties": {}, + "children": [ + { + "type": [ + "h-test-child" + ], + "properties": { + "name": [ + "NotPartOfTest" + ] + } + } + ] + }, + { + "type": [ + "h-test-nested-prop" + ], + "properties": { + "prop": [ + { + "value": "NotPartOfTestNotPartOfTest", + "type": [ + "h-test-child" + ], + "properties": { + "name": [ + "NotPartOfTest" + ] + } + } + ] + } + } + ], + "rels": {}, + "rel-urls": {} +} diff --git a/tests/microformats-v2-unit/nested/nested-implied-photo.html b/tests/microformats-v2-unit/nested/nested-implied-photo.html new file mode 100644 index 0000000..c8002ad --- /dev/null +++ b/tests/microformats-v2-unit/nested/nested-implied-photo.html @@ -0,0 +1,6 @@ + +
NotPartOfTest
+
NotPartOfTest
+
NotPartOfTest
+
NotPartOfTest
+
NotPartOfTest
diff --git a/tests/microformats-v2-unit/nested/nested-implied-photo.json b/tests/microformats-v2-unit/nested/nested-implied-photo.json new file mode 100644 index 0000000..bee4438 --- /dev/null +++ b/tests/microformats-v2-unit/nested/nested-implied-photo.json @@ -0,0 +1,112 @@ +{ + "items": [ + { + "type": [ + "h-test-object-data-filled-has-child" + ], + "properties": {}, + "children": [ + { + "type": [ + "h-test-child" + ], + "properties": { + "name": [ + "NotPartOfTest" + ] + } + } + ] + }, + { + "type": [ + "h-test-img-onlychildoftype-has-child" + ], + "properties": { + "name": [ + { + "value": "NotPartOfTest", + "type": [ + "h-test-child" + ], + "properties": { + "name": [ + "NotPartOfTest" + ], + "photo": [ + { + "value": "http://example.test/ChildOnly", + "alt": "NotPartOfTest" + } + ] + } + } + ] + } + }, + { + "type": [ + "h-test-object-onlychildoftype-has-child" + ], + "properties": {}, + "children": [ + { + "type": [ + "h-test-child" + ], + "properties": { + "name": [ + "NotPartOfTest" + ] + } + } + ] + }, + { + "type": [ + "h-test-img-onlygrandchildoftype-has-child" + ], + "properties": { + "name": [ + { + "value": "NotPartOfTest", + "type": [ + "h-test-child" + ], + "properties": { + "name": [ + "NotPartOfTest" + ], + "photo": [ + { + "value": "http://example.test/ChildOnly", + "alt": "NotPartOfTest" + } + ] + } + } + ] + } + }, + { + "type": [ + "h-test-object-onlygrandchildoftype-has-child" + ], + "properties": {}, + "children": [ + { + "type": [ + "h-test-child" + ], + "properties": { + "name": [ + "NotPartOfTest" + ] + } + } + ] + } + ], + "rels": {}, + "rel-urls": {} +} diff --git a/tests/microformats-v2-unit/nested/nested-implied-url.html b/tests/microformats-v2-unit/nested/nested-implied-url.html new file mode 100644 index 0000000..7191293 --- /dev/null +++ b/tests/microformats-v2-unit/nested/nested-implied-url.html @@ -0,0 +1,6 @@ + +
NotPartOfTest
+
NotPartOfTest
+
NotPartOfTest
+
NotPartOfTest
+
NotPartOfTest
diff --git a/tests/microformats-v2-unit/nested/nested-implied-url.json b/tests/microformats-v2-unit/nested/nested-implied-url.json new file mode 100644 index 0000000..e18f632 --- /dev/null +++ b/tests/microformats-v2-unit/nested/nested-implied-url.json @@ -0,0 +1,106 @@ +{ + "items": [ + { + "type": [ + "h-test-a-href-filled-has-child" + ], + "properties": {}, + "children": [ + { + "type": [ + "h-test-child" + ], + "properties": { + "name": [ + "NotPartOfTest" + ] + } + } + ] + }, + { + "type": [ + "h-test-area-onlychildoftype-has-child" + ], + "properties": { + "name": [ + { + "value": "NotPartOfTest", + "type": [ + "h-test-child" + ], + "properties": { + "name": [ + "NotPartOfTest" + ], + "url": [ + "http://example.test/ChildOnly" + ] + } + } + ] + } + }, + { + "type": [ + "h-test-a-onlychildoftype-has-child" + ], + "properties": {}, + "children": [ + { + "type": [ + "h-test-child" + ], + "properties": { + "name": [ + "NotPartOfTest" + ] + } + } + ] + }, + { + "type": [ + "h-test-area-onlygrandchildoftype-has-child" + ], + "properties": { + "name": [ + { + "value": "NotPartOfTest", + "type": [ + "h-test-child" + ], + "properties": { + "name": [ + "NotPartOfTest" + ], + "url": [ + "http://example.test/ChildOnly" + ] + } + } + ] + } + }, + { + "type": [ + "h-test-a-onlygrandchildoftype-has-child" + ], + "properties": {}, + "children": [ + { + "type": [ + "h-test-child" + ], + "properties": { + "name": [ + "NotPartOfTest" + ] + } + } + ] + } + ], + "rels": {}, + "rel-urls": {} +}