|
109 | 109 | }, |
110 | 110 | "required": ["lo_data", "hi_data"], |
111 | 111 | "additionalProperties": false |
112 | | - } |
| 112 | + }, |
| 113 | + "constraint": { "type": "string", "enum": [ "gaussian", "poisson" ] } |
113 | 114 | }, |
114 | 115 | "required": ["name", "type", "data"], |
115 | 116 | "additionalProperties": false |
|
119 | 120 | "properties": { |
120 | 121 | "name": { "const": "lumi" }, |
121 | 122 | "type": { "const": "lumi" }, |
122 | | - "data": { "type": "null" } |
| 123 | + "data": { "type": "null" }, |
| 124 | + "constraint": { "type": "string", "enum": [ "gaussian", "poisson" ] } |
123 | 125 | }, |
124 | 126 | "required": ["name", "type", "data"], |
125 | 127 | "additionalProperties": false |
|
147 | 149 | }, |
148 | 150 | "required": ["lo", "hi"], |
149 | 151 | "additionalProperties": false |
150 | | - } |
| 152 | + }, |
| 153 | + "constraint": { "type": "string", "enum": [ "gaussian", "poisson" ] } |
151 | 154 | }, |
152 | 155 | "required": ["name", "type", "data"], |
153 | 156 | "additionalProperties": false |
|
167 | 170 | "properties": { |
168 | 171 | "name": { "type": "string" }, |
169 | 172 | "type": { "const": "shapesys" }, |
170 | | - "data": { "type": "array", "items": {"type": "number"}, "minItems": 1 } |
| 173 | + "data": { "type": "array", "items": {"type": "number"}, "minItems": 1 }, |
| 174 | + "constraint": { "type": "string", "enum": [ "gaussian", "poisson" ] } |
171 | 175 | }, |
172 | 176 | "required": ["name", "type", "data"], |
173 | 177 | "additionalProperties": false |
|
177 | 181 | "properties": { |
178 | 182 | "name": { "type": "string" }, |
179 | 183 | "type": { "const": "staterror" }, |
180 | | - "data": { "type": "array", "items": {"type": "number"}, "minItems": 1 } |
| 184 | + "data": { "type": "array", "items": {"type": "number"}, "minItems": 1 }, |
| 185 | + "constraint": { "type": "string", "enum": [ "gaussian", "poisson" ] } |
181 | 186 | }, |
182 | 187 | "required": ["name", "type", "data"], |
183 | 188 | "additionalProperties": false |
|
0 commit comments