|
208 | 208 | "type": "object", |
209 | 209 | "properties": { |
210 | 210 | "changed": { |
211 | | - "type": ["string", "boolean"], |
212 | | - "enum": ["true", "false", true, false] |
| 211 | + "$ref": "#/definitions/BooleanString" |
213 | 212 | }, |
214 | 213 | "columnNumber": { |
215 | 214 | "type": "string" |
|
218 | 217 | "type": "string" |
219 | 218 | }, |
220 | 219 | "created": { |
221 | | - "type": ["string", "boolean"], |
222 | | - "enum": ["true", "false", true, false] |
| 220 | + "$ref": "#/definitions/BooleanString" |
223 | 221 | }, |
224 | 222 | "createdDate": { |
225 | 223 | "type": "string" |
226 | 224 | }, |
227 | 225 | "deleted": { |
228 | | - "type": ["string", "boolean"], |
229 | | - "enum": ["true", "false", true, false] |
| 226 | + "$ref": "#/definitions/BooleanString" |
230 | 227 | }, |
231 | 228 | "fileName": { |
232 | 229 | "type": "string" |
|
248 | 245 | "enum": ["Warning", "Error"] |
249 | 246 | }, |
250 | 247 | "success": { |
251 | | - "type": ["string", "boolean"], |
252 | | - "enum": ["true", "false", true, false] |
| 248 | + "$ref": "#/definitions/BooleanString" |
253 | 249 | } |
254 | 250 | }, |
255 | 251 | "required": ["changed", "created", "createdDate", "deleted", "fileName", "fullName", "success"], |
256 | 252 | "additionalProperties": false |
257 | 253 | }, |
| 254 | + "BooleanString": { |
| 255 | + "type": ["string", "boolean"], |
| 256 | + "enum": ["true", "false", true, false] |
| 257 | + }, |
258 | 258 | "RunTestResult": { |
259 | 259 | "type": "object", |
260 | 260 | "properties": { |
|
459 | 459 | }, |
460 | 460 | "FileResponseSuccess": { |
461 | 461 | "type": "object", |
| 462 | + "additionalProperties": false, |
462 | 463 | "properties": { |
463 | 464 | "fullName": { |
464 | 465 | "type": "string" |
|
474 | 475 | "enum": ["Created", "Changed", "Unchanged", "Deleted"] |
475 | 476 | } |
476 | 477 | }, |
477 | | - "required": ["fullName", "state", "type"], |
478 | | - "additionalProperties": false |
| 478 | + "required": ["fullName", "state", "type"] |
479 | 479 | }, |
480 | 480 | "FileResponseFailure": { |
481 | 481 | "type": "object", |
| 482 | + "additionalProperties": false, |
482 | 483 | "properties": { |
483 | 484 | "fullName": { |
484 | 485 | "type": "string" |
|
507 | 508 | "enum": ["Warning", "Error"] |
508 | 509 | } |
509 | 510 | }, |
510 | | - "required": ["error", "fullName", "problemType", "state", "type"], |
511 | | - "additionalProperties": false |
| 511 | + "required": ["error", "fullName", "problemType", "state", "type"] |
512 | 512 | }, |
513 | 513 | "MetadataApiDeployStatus": { |
514 | 514 | "type": "object", |
| 515 | + "additionalProperties": false, |
515 | 516 | "properties": { |
516 | 517 | "id": { |
517 | 518 | "type": "string" |
|
613 | 614 | "status", |
614 | 615 | "success" |
615 | 616 | ], |
616 | | - "additionalProperties": false, |
617 | 617 | "description": "Raw response returned from a checkDeployStatus call to the Metadata API" |
618 | 618 | }, |
619 | 619 | "DeployCommandAsyncResult": { |
620 | 620 | "type": "object", |
| 621 | + "additionalProperties": false, |
621 | 622 | "properties": { |
622 | 623 | "done": { |
623 | 624 | "type": "boolean" |
|
649 | 650 | } |
650 | 651 | } |
651 | 652 | }, |
652 | | - "required": ["deploys", "done", "id", "outboundFiles", "state", "status", "timedOut"], |
653 | | - "additionalProperties": false |
| 653 | + "required": ["deploys", "done", "id", "outboundFiles", "state", "status", "timedOut"] |
654 | 654 | }, |
655 | 655 | "DeployAsyncStatus": { |
656 | 656 | "type": "object", |
|
0 commit comments