Skip to content

Commit

Permalink
blah
Browse files Browse the repository at this point in the history
  • Loading branch information
kratsg committed Dec 8, 2023
1 parent b4dcad5 commit 5d3b743
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/pyhf/schemas/1.1.0/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@
"likelihoods": { "type": "array", "items": {"$ref": "#/definitions/likelihood"}, "minItems": 1 },
"measurements": { "type": "array", "items": {"$ref": "#/definitions/measurement"}, "minItems": 1 },
"datasets": { "type": "array", "items": {"$ref": "#/definitions/dataset" }, "minItems": 1 },
"type": { "const": "histfactory_dist" },
"version": { "const": "1.1.0" }
},
"additionalProperties": false,
"required": ["distributions", "measurements", "datasets", "version"]
"required": ["distributions", "likelihoods", "measurements", "datasets", "version"]
},
"model": {
"type": "object",
Expand Down Expand Up @@ -44,7 +43,7 @@
"fixed": { "type": "boolean" }
},
"additionalProperties": false,
"required": ["name", "type", "axes"]
"required": ["name", "data"]
},
"dataset": {
"type": "object",
Expand All @@ -54,7 +53,7 @@
"type": { "const": "binned" },
"contents": { "type": "array", "items": {"type": "number"}, "minItems": 1 }
},
"required": ["name", "type", "contents"],
"required": ["axes", "name", "type", "contents"],
"additionalProperties": false
},
"likelihood": {
Expand Down Expand Up @@ -95,9 +94,10 @@
"properties": {
"name": { "type": "string" },
"samples": { "type": "array", "items": {"$ref": "#/definitions/sample"}, "minItems": 1 },
"axes": { "type": "array", "items": {"$ref": "#/definitions/binnedAxis"}, "minItems": 1, "maxItems": 1}
"axes": { "type": "array", "items": {"$ref": "#/definitions/binnedAxis"}, "minItems": 1, "maxItems": 1},
"type": { "const": "histfactory_dist" }
},
"required": ["name", "samples"],
"required": ["name", "samples", "axes", "type"],
"additionalProperties": false
},
"axis": {
Expand Down

0 comments on commit 5d3b743

Please sign in to comment.