We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b3d50d commit 6257ac7Copy full SHA for 6257ac7
share/openPMD/json_schema/record_component.toml
@@ -44,7 +44,10 @@ title = "Either array or constant"
44
45
[allOf.if]
46
required = ["attributes"]
47
-properties.attributes.required = ["shape", "value"]
+# shape optional as of https://github.com/openPMD/openPMD-api/pull/1661
48
+# JSON schema not powerful enough to check that the shape must be defined
49
+# at least once (just like we do not check that the shape is consistent).
50
+properties.attributes.required = ["value"]
51
52
[allOf.then]
53
title = "Constant dataset"
0 commit comments