|
7235 | 7235 | "title": "Document", |
7236 | 7236 | "type": "object" |
7237 | 7237 | }, |
| 7238 | + "DocumentBlockedData": { |
| 7239 | + "properties": { |
| 7240 | + "documents": { |
| 7241 | + "description": "List of documents that were blocked.", |
| 7242 | + "items": { |
| 7243 | + "$ref": "#/$defs/Document" |
| 7244 | + }, |
| 7245 | + "title": "Documents", |
| 7246 | + "type": "array" |
| 7247 | + }, |
| 7248 | + "parts": { |
| 7249 | + "description": "List of parts that belong to the documents.", |
| 7250 | + "items": { |
| 7251 | + "$ref": "#/$defs/Part" |
| 7252 | + }, |
| 7253 | + "title": "Parts", |
| 7254 | + "type": "array" |
| 7255 | + } |
| 7256 | + }, |
| 7257 | + "required": [ |
| 7258 | + "documents", |
| 7259 | + "parts" |
| 7260 | + ], |
| 7261 | + "title": "DocumentBlockedData", |
| 7262 | + "type": "object" |
| 7263 | + }, |
| 7264 | + "DocumentBlockedEvent": { |
| 7265 | + "properties": { |
| 7266 | + "name": { |
| 7267 | + "const": "document_blocked", |
| 7268 | + "default": "document_blocked", |
| 7269 | + "title": "Name", |
| 7270 | + "type": "string" |
| 7271 | + }, |
| 7272 | + "event_id": { |
| 7273 | + "description": "unique identifier", |
| 7274 | + "title": "Event Id", |
| 7275 | + "type": "string" |
| 7276 | + }, |
| 7277 | + "data": { |
| 7278 | + "$ref": "#/$defs/DocumentBlockedData" |
| 7279 | + } |
| 7280 | + }, |
| 7281 | + "required": [ |
| 7282 | + "event_id", |
| 7283 | + "data" |
| 7284 | + ], |
| 7285 | + "title": "DocumentBlockedEvent", |
| 7286 | + "type": "object" |
| 7287 | + }, |
7238 | 7288 | "DocumentCreateCheckData": { |
7239 | 7289 | "properties": { |
7240 | 7290 | "documents": { |
|
10967 | 11017 | "title": "Part", |
10968 | 11018 | "type": "object" |
10969 | 11019 | }, |
| 11020 | + "PartBlockedData": { |
| 11021 | + "properties": { |
| 11022 | + "parts": { |
| 11023 | + "description": "List of parts that were blocked.", |
| 11024 | + "items": { |
| 11025 | + "$ref": "#/$defs/Part" |
| 11026 | + }, |
| 11027 | + "title": "Parts", |
| 11028 | + "type": "array" |
| 11029 | + }, |
| 11030 | + "documents": { |
| 11031 | + "description": "List of documents that belong to the parts.", |
| 11032 | + "items": { |
| 11033 | + "$ref": "#/$defs/Document" |
| 11034 | + }, |
| 11035 | + "title": "Documents", |
| 11036 | + "type": "array" |
| 11037 | + } |
| 11038 | + }, |
| 11039 | + "required": [ |
| 11040 | + "parts", |
| 11041 | + "documents" |
| 11042 | + ], |
| 11043 | + "title": "PartBlockedData", |
| 11044 | + "type": "object" |
| 11045 | + }, |
| 11046 | + "PartBlockedEvent": { |
| 11047 | + "properties": { |
| 11048 | + "name": { |
| 11049 | + "const": "part_blocked", |
| 11050 | + "default": "part_blocked", |
| 11051 | + "title": "Name", |
| 11052 | + "type": "string" |
| 11053 | + }, |
| 11054 | + "event_id": { |
| 11055 | + "description": "unique identifier", |
| 11056 | + "title": "Event Id", |
| 11057 | + "type": "string" |
| 11058 | + }, |
| 11059 | + "data": { |
| 11060 | + "$ref": "#/$defs/PartBlockedData" |
| 11061 | + } |
| 11062 | + }, |
| 11063 | + "required": [ |
| 11064 | + "event_id", |
| 11065 | + "data" |
| 11066 | + ], |
| 11067 | + "title": "PartBlockedEvent", |
| 11068 | + "type": "object" |
| 11069 | + }, |
10970 | 11070 | "PartCreateCheckData": { |
10971 | 11071 | "properties": { |
10972 | 11072 | "parts": { |
|
11513 | 11613 | "change_request_status_changed": "#/$defs/ChangeRequestStatusChangedEvent", |
11514 | 11614 | "custom_operation_document": "#/$defs/CustomOperationDocumentEvent", |
11515 | 11615 | "custom_operation_part": "#/$defs/CustomOperationPartEvent", |
| 11616 | + "document_blocked": "#/$defs/DocumentBlockedEvent", |
11516 | 11617 | "document_create_check": "#/$defs/DocumentCreateCheckEvent", |
11517 | 11618 | "document_field_calculation": "#/$defs/DocumentFieldCalculationEvent", |
11518 | 11619 | "document_modify_check": "#/$defs/DocumentModifyCheckEvent", |
|
11524 | 11625 | "engineering_change_status_change_check": "#/$defs/EngineeringChangeStatusChangeCheckEvent", |
11525 | 11626 | "engineering_change_status_changed": "#/$defs/EngineeringChangeStatusChangedEvent", |
11526 | 11627 | "field_value_calculation": "#/$defs/FieldValueCalculationEvent", |
| 11628 | + "part_blocked": "#/$defs/PartBlockedEvent", |
11527 | 11629 | "part_create_check": "#/$defs/PartCreateCheckEvent", |
11528 | 11630 | "part_field_calculation": "#/$defs/PartFieldCalculationEvent", |
11529 | 11631 | "part_modify_check": "#/$defs/PartModifyCheckEvent", |
|
11534 | 11636 | "propertyName": "name" |
11535 | 11637 | }, |
11536 | 11638 | "oneOf": [ |
| 11639 | + { |
| 11640 | + "$ref": "#/$defs/DocumentBlockedEvent" |
| 11641 | + }, |
11537 | 11642 | { |
11538 | 11643 | "$ref": "#/$defs/DocumentReleasedEvent" |
11539 | 11644 | }, |
|
11543 | 11648 | { |
11544 | 11649 | "$ref": "#/$defs/DocumentFieldCalculationEvent" |
11545 | 11650 | }, |
| 11651 | + { |
| 11652 | + "$ref": "#/$defs/PartBlockedEvent" |
| 11653 | + }, |
11546 | 11654 | { |
11547 | 11655 | "$ref": "#/$defs/PartReleasedEvent" |
11548 | 11656 | }, |
|
0 commit comments