File tree Expand file tree Collapse file tree 7 files changed +6
-10
lines changed Expand file tree Collapse file tree 7 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -96,10 +96,6 @@ def validate(
9696
9797 Validator = jsonschema .Draft202012Validator
9898
99- # downgrade Validator for v1.0.0
100- if version == '1.0.0' :
101- Validator = jsonschema .Draft6Validator # type: ignore[assignment]
102-
10399 if allow_tensors :
104100 type_checker = Validator .TYPE_CHECKER .redefine (
105101 "array" , _is_array_or_tensor
Original file line number Diff line number Diff line change 11{
2- "$schema" : " http://json-schema.org/draft-06 /schema#" ,
2+ "$schema" : " http://json-schema.org/draft/2020-12 /schema#" ,
33 "$id" : " https://scikit-hep.org/pyhf/schemas/1.0.0/defs.json" ,
44 "definitions" : {
55 "workspace" : {
Original file line number Diff line number Diff line change 11{
2- "$schema" : " http://json-schema.org/draft-06 /schema#" ,
2+ "$schema" : " http://json-schema.org/draft/2020-12 /schema#" ,
33 "$id" : " https://scikit-hep.org/pyhf/schemas/1.0.0/jsonpatch.json" ,
44 "$ref" : " defs.json#/definitions/jsonpatch"
55}
Original file line number Diff line number Diff line change 11{
2- "$schema" : " http://json-schema.org/draft-06 /schema#" ,
2+ "$schema" : " http://json-schema.org/draft/2020-12 /schema#" ,
33 "$id" : " https://scikit-hep.org/pyhf/schemas/1.0.0/measurement.json" ,
44 "$ref" : " defs.json#/definitions/measurement"
55}
Original file line number Diff line number Diff line change 11{
2- "$schema" : " http://json-schema.org/draft-06 /schema#" ,
2+ "$schema" : " http://json-schema.org/draft/2020-12 /schema#" ,
33 "$id" : " https://scikit-hep.org/pyhf/schemas/1.0.0/model.json" ,
44 "$ref" : " defs.json#/definitions/model"
55}
Original file line number Diff line number Diff line change 11{
2- "$schema" : " http://json-schema.org/draft-06 /schema#" ,
2+ "$schema" : " http://json-schema.org/draft/2020-12 /schema#" ,
33 "$id" : " https://scikit-hep.org/pyhf/schemas/1.0.0/patchset.json" ,
44 "$ref" : " defs.json#/definitions/patchset"
55}
Original file line number Diff line number Diff line change 11{
2- "$schema" : " http://json-schema.org/draft-06 /schema#" ,
2+ "$schema" : " http://json-schema.org/draft/2020-12 /schema#" ,
33 "$id" : " https://scikit-hep.org/pyhf/schemas/1.0.0/workspace.json" ,
44 "$ref" : " defs.json#/definitions/workspace"
55}
You can’t perform that action at this time.
0 commit comments