You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first schema defines two fixed properties: test_property01 and test_property02. It also attaches the second schema by the means of allOf composition. The second schema is not directly defined inside allOf, but rather referenced from a separate file.
Expectation: rendered document contains details for all 3 properties:
test_property01 (located in schema_test1.json)
test_property02 (located in schema_test1.json)
other_property_3 (located in schema_test2.json)
Actual result: a messed-up document:
First two properties are not mentioned in the property summary table
No details about the first two properties (they are only mentioned as required under The following properties are required section)
The third property is not flagged as defined in schema_test2.json in the overview table
Consider the following two schemas (
schema_test1.json
referencesschema_test2.json
):schema_test1.json
schema_test2.json
The first schema defines two fixed properties:
test_property01
andtest_property02
. It also attaches the second schema by the means ofallOf
composition. The second schema is not directly defined insideallOf
, but rather referenced from a separate file.Expectation: rendered document contains details for all 3 properties:
test_property01
(located inschema_test1.json
)test_property02
(located inschema_test1.json
)other_property_3
(located inschema_test2.json
)Actual result: a messed-up document:
The following properties are required
section)schema_test2.json
in the overview tableClick to expand
root
Schema test 2 > other_property_3
Title: root
object
Description: Root-level schema
The following properties are required
Property
Schema test 2 > other_property_3
string
Description: Test other property 3
Generated using json-schema-for-humans on 2022-10-27 at 17:14:09 +0000
Note: the document is rendered correctly if the contents of
schema_test2.json
is provided directly inside theallOf
block instead of being referenced.The text was updated successfully, but these errors were encountered: