|
7077 | 7077 | "title": "DocumentCreateCheckEvent", |
7078 | 7078 | "type": "object" |
7079 | 7079 | }, |
| 7080 | + "DocumentCreatedData": { |
| 7081 | + "properties": { |
| 7082 | + "documents": { |
| 7083 | + "description": "List of documents that were created.", |
| 7084 | + "items": { |
| 7085 | + "$ref": "#/$defs/Document" |
| 7086 | + }, |
| 7087 | + "title": "Documents", |
| 7088 | + "type": "array" |
| 7089 | + }, |
| 7090 | + "parts": { |
| 7091 | + "description": "List of parts that belong to the documents.", |
| 7092 | + "items": { |
| 7093 | + "$ref": "#/$defs/Part" |
| 7094 | + }, |
| 7095 | + "title": "Parts", |
| 7096 | + "type": "array" |
| 7097 | + } |
| 7098 | + }, |
| 7099 | + "required": [ |
| 7100 | + "documents", |
| 7101 | + "parts" |
| 7102 | + ], |
| 7103 | + "title": "DocumentCreatedData", |
| 7104 | + "type": "object" |
| 7105 | + }, |
| 7106 | + "DocumentCreatedEvent": { |
| 7107 | + "properties": { |
| 7108 | + "name": { |
| 7109 | + "const": "document_created", |
| 7110 | + "default": "document_created", |
| 7111 | + "title": "Name", |
| 7112 | + "type": "string" |
| 7113 | + }, |
| 7114 | + "event_id": { |
| 7115 | + "description": "unique identifier", |
| 7116 | + "title": "Event Id", |
| 7117 | + "type": "string" |
| 7118 | + }, |
| 7119 | + "data": { |
| 7120 | + "$ref": "#/$defs/DocumentCreatedData" |
| 7121 | + } |
| 7122 | + }, |
| 7123 | + "required": [ |
| 7124 | + "event_id", |
| 7125 | + "data" |
| 7126 | + ], |
| 7127 | + "title": "DocumentCreatedEvent", |
| 7128 | + "type": "object" |
| 7129 | + }, |
7080 | 7130 | "DocumentFieldCalculationData": { |
7081 | 7131 | "properties": { |
7082 | 7132 | "document": { |
|
10671 | 10721 | "title": "PartCreateCheckEvent", |
10672 | 10722 | "type": "object" |
10673 | 10723 | }, |
| 10724 | + "PartCreatedData": { |
| 10725 | + "properties": { |
| 10726 | + "parts": { |
| 10727 | + "description": "List of parts that were created.", |
| 10728 | + "items": { |
| 10729 | + "$ref": "#/$defs/Part" |
| 10730 | + }, |
| 10731 | + "title": "Parts", |
| 10732 | + "type": "array" |
| 10733 | + }, |
| 10734 | + "documents": { |
| 10735 | + "description": "List of documents that are referenced by the parts.", |
| 10736 | + "items": { |
| 10737 | + "$ref": "#/$defs/Document" |
| 10738 | + }, |
| 10739 | + "title": "Documents", |
| 10740 | + "type": "array" |
| 10741 | + } |
| 10742 | + }, |
| 10743 | + "required": [ |
| 10744 | + "parts", |
| 10745 | + "documents" |
| 10746 | + ], |
| 10747 | + "title": "PartCreatedData", |
| 10748 | + "type": "object" |
| 10749 | + }, |
| 10750 | + "PartCreatedEvent": { |
| 10751 | + "properties": { |
| 10752 | + "name": { |
| 10753 | + "const": "part_created", |
| 10754 | + "default": "part_created", |
| 10755 | + "title": "Name", |
| 10756 | + "type": "string" |
| 10757 | + }, |
| 10758 | + "event_id": { |
| 10759 | + "description": "unique identifier", |
| 10760 | + "title": "Event Id", |
| 10761 | + "type": "string" |
| 10762 | + }, |
| 10763 | + "data": { |
| 10764 | + "$ref": "#/$defs/PartCreatedData" |
| 10765 | + } |
| 10766 | + }, |
| 10767 | + "required": [ |
| 10768 | + "event_id", |
| 10769 | + "data" |
| 10770 | + ], |
| 10771 | + "title": "PartCreatedEvent", |
| 10772 | + "type": "object" |
| 10773 | + }, |
10674 | 10774 | "PartFieldCalculationData": { |
10675 | 10775 | "properties": { |
10676 | 10776 | "part": { |
|
11135 | 11235 | "custom_operation_document": "#/$defs/CustomOperationDocumentEvent", |
11136 | 11236 | "custom_operation_part": "#/$defs/CustomOperationPartEvent", |
11137 | 11237 | "document_create_check": "#/$defs/DocumentCreateCheckEvent", |
| 11238 | + "document_created": "#/$defs/DocumentCreatedEvent", |
11138 | 11239 | "document_field_calculation": "#/$defs/DocumentFieldCalculationEvent", |
11139 | 11240 | "document_modify_check": "#/$defs/DocumentModifyCheckEvent", |
11140 | 11241 | "document_release_check": "#/$defs/DocumentReleaseCheckEvent", |
|
11146 | 11247 | "engineering_change_status_changed": "#/$defs/EngineeringChangeStatusChangedEvent", |
11147 | 11248 | "field_value_calculation": "#/$defs/FieldValueCalculationEvent", |
11148 | 11249 | "part_create_check": "#/$defs/PartCreateCheckEvent", |
| 11250 | + "part_created": "#/$defs/PartCreatedEvent", |
11149 | 11251 | "part_field_calculation": "#/$defs/PartFieldCalculationEvent", |
11150 | 11252 | "part_modify_check": "#/$defs/PartModifyCheckEvent", |
11151 | 11253 | "part_release_check": "#/$defs/PartReleaseCheckEvent", |
|
11155 | 11257 | "propertyName": "name" |
11156 | 11258 | }, |
11157 | 11259 | "oneOf": [ |
| 11260 | + { |
| 11261 | + "$ref": "#/$defs/DocumentCreatedEvent" |
| 11262 | + }, |
11158 | 11263 | { |
11159 | 11264 | "$ref": "#/$defs/DocumentReleasedEvent" |
11160 | 11265 | }, |
|
11164 | 11269 | { |
11165 | 11270 | "$ref": "#/$defs/DocumentFieldCalculationEvent" |
11166 | 11271 | }, |
| 11272 | + { |
| 11273 | + "$ref": "#/$defs/PartCreatedEvent" |
| 11274 | + }, |
11167 | 11275 | { |
11168 | 11276 | "$ref": "#/$defs/PartReleasedEvent" |
11169 | 11277 | }, |
|
0 commit comments