@@ -613,7 +613,46 @@ exports[`SchemaTree output should generate valid tree for combiners/allOfs/compl
613
613
│ │ └─ children
614
614
│ │ └─ 0
615
615
│ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0
616
- │ │ └─ mirrors: #/properties/foo/properties/user/allOf/0
616
+ │ │ ├─ types
617
+ │ │ │ └─ 0: object
618
+ │ │ ├─ primaryType: object
619
+ │ │ └─ children
620
+ │ │ ├─ 0
621
+ │ │ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0/properties/names
622
+ │ │ │ ├─ types
623
+ │ │ │ │ └─ 0: array
624
+ │ │ │ ├─ primaryType: array
625
+ │ │ │ └─ children
626
+ │ │ │ └─ 0
627
+ │ │ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0/properties/names/items
628
+ │ │ │ ├─ $ref: #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/name
629
+ │ │ │ ├─ external: false
630
+ │ │ │ └─ error: Could not resolve '#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/name'
631
+ │ │ └─ 1
632
+ │ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0/properties/users
633
+ │ │ ├─ types
634
+ │ │ │ └─ 0: array
635
+ │ │ ├─ primaryType: array
636
+ │ │ └─ children
637
+ │ │ └─ 0
638
+ │ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0/properties/users/items
639
+ │ │ ├─ types
640
+ │ │ │ └─ 0: object
641
+ │ │ ├─ primaryType: object
642
+ │ │ └─ children
643
+ │ │ ├─ 0
644
+ │ │ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0/properties/users/items/properties/creation
645
+ │ │ │ └─ mirrors: #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation
646
+ │ │ ├─ 1
647
+ │ │ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0/properties/users/items/properties/foo
648
+ │ │ │ ├─ $ref: #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts
649
+ │ │ │ ├─ external: false
650
+ │ │ │ └─ error: Could not resolve '#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts'
651
+ │ │ └─ 2
652
+ │ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0/properties/users/items/properties/products
653
+ │ │ ├─ $ref: #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts
654
+ │ │ ├─ external: false
655
+ │ │ └─ error: Could not resolve '#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts'
617
656
│ ├─ 1
618
657
│ │ └─ #/properties/foo/properties/user/allOf/0/properties/users/items/properties/foo
619
658
│ │ ├─ $ref: #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts
@@ -643,7 +682,57 @@ exports[`SchemaTree output should generate valid tree for combiners/allOfs/compl
643
682
└─ children
644
683
└─ 0
645
684
└─ #/properties/bar/properties/foo/properties/user/allOf/0
646
- └─ mirrors: #/properties/foo/properties/user/allOf/0
685
+ ├─ types
686
+ │ └─ 0: object
687
+ ├─ primaryType: object
688
+ └─ children
689
+ ├─ 0
690
+ │ └─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/names
691
+ │ ├─ types
692
+ │ │ └─ 0: array
693
+ │ ├─ primaryType: array
694
+ │ └─ children
695
+ │ └─ 0
696
+ │ └─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/names/items
697
+ │ ├─ $ref: #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/name
698
+ │ ├─ external: false
699
+ │ └─ error: Could not resolve '#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/name'
700
+ └─ 1
701
+ └─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/users
702
+ ├─ types
703
+ │ └─ 0: array
704
+ ├─ primaryType: array
705
+ └─ children
706
+ └─ 0
707
+ └─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/users/items
708
+ ├─ types
709
+ │ └─ 0: object
710
+ ├─ primaryType: object
711
+ └─ children
712
+ ├─ 0
713
+ │ └─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation
714
+ │ ├─ types
715
+ │ │ └─ 0: object
716
+ │ ├─ primaryType: object
717
+ │ └─ children
718
+ │ └─ 0
719
+ │ └─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user
720
+ │ ├─ combiners
721
+ │ │ └─ 0: allOf
722
+ │ └─ children
723
+ │ └─ 0
724
+ │ └─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0
725
+ │ └─ mirrors: #/properties/foo/properties/user/allOf/0/properties/users/items/properties/creation/properties/user/allOf/0
726
+ ├─ 1
727
+ │ └─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/users/items/properties/foo
728
+ │ ├─ $ref: #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts
729
+ │ ├─ external: false
730
+ │ └─ error: Could not resolve '#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts'
731
+ └─ 2
732
+ └─ #/properties/bar/properties/foo/properties/user/allOf/0/properties/users/items/properties/products
733
+ ├─ $ref: #/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts
734
+ ├─ external: false
735
+ └─ error: Could not resolve '#/allOf/0/allOf/0/properties/foo/definitions/event/allOf/0/properties/contacts'
647
736
"
648
737
` ;
649
738
@@ -993,14 +1082,7 @@ exports[`SchemaTree output should generate valid tree for default-schema.json 1`
993
1082
│ └─ primaryType: integer
994
1083
├─ 7
995
1084
│ └─ #/properties/ref
996
- │ ├─ types
997
- │ │ ├─ 0: string
998
- │ │ └─ 1: object
999
- │ ├─ primaryType: object
1000
- │ └─ children
1001
- │ └─ 0
1002
- │ └─ #/properties/ref/properties/ids
1003
- │ └─ mirrors: #/properties/permissions/properties/ids
1085
+ │ └─ mirrors: #/properties/permissions
1004
1086
├─ 8
1005
1087
│ └─ #/patternProperties/^id_
1006
1088
│ ├─ types
@@ -1097,19 +1179,7 @@ exports[`SchemaTree output should generate valid tree for references/base.json 1
1097
1179
│ └─ primaryType: string
1098
1180
└─ 1
1099
1181
└─ #/properties/shipping_address
1100
- ├─ types
1101
- │ └─ 0: object
1102
- ├─ primaryType: object
1103
- └─ children
1104
- ├─ 0
1105
- │ └─ #/properties/shipping_address/properties/street_address
1106
- │ └─ mirrors: #/properties/billing_address/properties/street_address
1107
- ├─ 1
1108
- │ └─ #/properties/shipping_address/properties/city
1109
- │ └─ mirrors: #/properties/billing_address/properties/city
1110
- └─ 2
1111
- └─ #/properties/shipping_address/properties/state
1112
- └─ mirrors: #/properties/billing_address/properties/state
1182
+ └─ mirrors: #/properties/billing_address
1113
1183
"
1114
1184
` ;
1115
1185
0 commit comments