|
1 | 1 | { |
2 | 2 | "$defs": { |
| 3 | + "BOMItem": { |
| 4 | + "properties": { |
| 5 | + "object_type": { |
| 6 | + "const": "bom_item", |
| 7 | + "default": "bom_item", |
| 8 | + "title": "Object Type", |
| 9 | + "type": "string" |
| 10 | + }, |
| 11 | + "baugruppe": { |
| 12 | + "anyOf": [ |
| 13 | + { |
| 14 | + "type": "string" |
| 15 | + }, |
| 16 | + { |
| 17 | + "type": "null" |
| 18 | + } |
| 19 | + ], |
| 20 | + "default": null, |
| 21 | + "description": "Assembly", |
| 22 | + "title": "Baugruppe" |
| 23 | + }, |
| 24 | + "b_index": { |
| 25 | + "anyOf": [ |
| 26 | + { |
| 27 | + "type": "string" |
| 28 | + }, |
| 29 | + { |
| 30 | + "type": "null" |
| 31 | + } |
| 32 | + ], |
| 33 | + "default": null, |
| 34 | + "description": "Assembly Index", |
| 35 | + "title": "B Index" |
| 36 | + }, |
| 37 | + "component_materialnr_erp": { |
| 38 | + "anyOf": [ |
| 39 | + { |
| 40 | + "type": "string" |
| 41 | + }, |
| 42 | + { |
| 43 | + "type": "null" |
| 44 | + } |
| 45 | + ], |
| 46 | + "default": null, |
| 47 | + "description": "Material Number ERP Component", |
| 48 | + "title": "Component Materialnr Erp" |
| 49 | + }, |
| 50 | + "netto_durchm": { |
| 51 | + "anyOf": [ |
| 52 | + { |
| 53 | + "type": "number" |
| 54 | + }, |
| 55 | + { |
| 56 | + "type": "null" |
| 57 | + } |
| 58 | + ], |
| 59 | + "default": null, |
| 60 | + "description": "Net. Diameter", |
| 61 | + "title": "Netto Durchm" |
| 62 | + }, |
| 63 | + "netto_hoehe": { |
| 64 | + "anyOf": [ |
| 65 | + { |
| 66 | + "type": "number" |
| 67 | + }, |
| 68 | + { |
| 69 | + "type": "null" |
| 70 | + } |
| 71 | + ], |
| 72 | + "default": null, |
| 73 | + "description": "Net. Height", |
| 74 | + "title": "Netto Hoehe" |
| 75 | + }, |
| 76 | + "netto_laenge": { |
| 77 | + "anyOf": [ |
| 78 | + { |
| 79 | + "type": "number" |
| 80 | + }, |
| 81 | + { |
| 82 | + "type": "null" |
| 83 | + } |
| 84 | + ], |
| 85 | + "default": null, |
| 86 | + "description": "Net. Length", |
| 87 | + "title": "Netto Laenge" |
| 88 | + }, |
| 89 | + "netto_breite": { |
| 90 | + "anyOf": [ |
| 91 | + { |
| 92 | + "type": "number" |
| 93 | + }, |
| 94 | + { |
| 95 | + "type": "null" |
| 96 | + } |
| 97 | + ], |
| 98 | + "default": null, |
| 99 | + "description": "Net. Width", |
| 100 | + "title": "Netto Breite" |
| 101 | + }, |
| 102 | + "position": { |
| 103 | + "anyOf": [ |
| 104 | + { |
| 105 | + "type": "integer" |
| 106 | + }, |
| 107 | + { |
| 108 | + "type": "null" |
| 109 | + } |
| 110 | + ], |
| 111 | + "default": null, |
| 112 | + "description": "Position", |
| 113 | + "title": "Position" |
| 114 | + }, |
| 115 | + "menge": { |
| 116 | + "anyOf": [ |
| 117 | + { |
| 118 | + "type": "number" |
| 119 | + }, |
| 120 | + { |
| 121 | + "type": "null" |
| 122 | + } |
| 123 | + ], |
| 124 | + "default": null, |
| 125 | + "description": "Quantity", |
| 126 | + "title": "Menge" |
| 127 | + }, |
| 128 | + "stlbemerkung": { |
| 129 | + "anyOf": [ |
| 130 | + { |
| 131 | + "type": "string" |
| 132 | + }, |
| 133 | + { |
| 134 | + "type": "null" |
| 135 | + } |
| 136 | + ], |
| 137 | + "default": null, |
| 138 | + "description": "Remarks", |
| 139 | + "title": "Stlbemerkung" |
| 140 | + }, |
| 141 | + "mengeneinheit": { |
| 142 | + "anyOf": [ |
| 143 | + { |
| 144 | + "type": "string" |
| 145 | + }, |
| 146 | + { |
| 147 | + "type": "null" |
| 148 | + } |
| 149 | + ], |
| 150 | + "default": null, |
| 151 | + "description": "Unit of Measure", |
| 152 | + "title": "Mengeneinheit" |
| 153 | + }, |
| 154 | + "teilenummer": { |
| 155 | + "description": "part number", |
| 156 | + "title": "Teilenummer", |
| 157 | + "type": "string" |
| 158 | + }, |
| 159 | + "t_index": { |
| 160 | + "description": "part index", |
| 161 | + "title": "T Index", |
| 162 | + "type": "string" |
| 163 | + }, |
| 164 | + "part": { |
| 165 | + "anyOf": [ |
| 166 | + { |
| 167 | + "$ref": "#/$defs/Part" |
| 168 | + }, |
| 169 | + { |
| 170 | + "type": "null" |
| 171 | + } |
| 172 | + ], |
| 173 | + "default": null, |
| 174 | + "description": "Part of the BOM item" |
| 175 | + } |
| 176 | + }, |
| 177 | + "required": [ |
| 178 | + "teilenummer", |
| 179 | + "t_index" |
| 180 | + ], |
| 181 | + "title": "BOMItem", |
| 182 | + "type": "object" |
| 183 | + }, |
| 184 | + "BOMItemFieldCalculationData": { |
| 185 | + "properties": { |
| 186 | + "bom_item": { |
| 187 | + "$ref": "#/$defs/BOMItem", |
| 188 | + "description": "Current state of the BOM item" |
| 189 | + }, |
| 190 | + "action": { |
| 191 | + "description": "Action being performed", |
| 192 | + "enum": [ |
| 193 | + "create", |
| 194 | + "modify", |
| 195 | + "copy", |
| 196 | + "index" |
| 197 | + ], |
| 198 | + "title": "Action", |
| 199 | + "type": "string" |
| 200 | + }, |
| 201 | + "part": { |
| 202 | + "$ref": "#/$defs/Part", |
| 203 | + "description": "Part of the BOM item" |
| 204 | + } |
| 205 | + }, |
| 206 | + "required": [ |
| 207 | + "bom_item", |
| 208 | + "action", |
| 209 | + "part" |
| 210 | + ], |
| 211 | + "title": "BOMItemFieldCalculationData", |
| 212 | + "type": "object" |
| 213 | + }, |
| 214 | + "BOMItemFieldCalculationEvent": { |
| 215 | + "properties": { |
| 216 | + "name": { |
| 217 | + "const": "bom_item_field_calculation", |
| 218 | + "default": "bom_item_field_calculation", |
| 219 | + "title": "Name", |
| 220 | + "type": "string" |
| 221 | + }, |
| 222 | + "event_id": { |
| 223 | + "description": "unique identifier", |
| 224 | + "title": "Event Id", |
| 225 | + "type": "string" |
| 226 | + }, |
| 227 | + "data": { |
| 228 | + "$ref": "#/$defs/BOMItemFieldCalculationData" |
| 229 | + } |
| 230 | + }, |
| 231 | + "required": [ |
| 232 | + "event_id", |
| 233 | + "data" |
| 234 | + ], |
| 235 | + "title": "BOMItemFieldCalculationEvent", |
| 236 | + "type": "object" |
| 237 | + }, |
3 | 238 | "Briefcase": { |
4 | 239 | "description": "Briefcases are used by Workflows and can contain parts, documents or engineering changes.", |
5 | 240 | "properties": { |
|
8059 | 8294 | "event": { |
8060 | 8295 | "discriminator": { |
8061 | 8296 | "mapping": { |
| 8297 | + "bom_item_field_calculation": "#/$defs/BOMItemFieldCalculationEvent", |
8062 | 8298 | "custom_operation_document": "#/$defs/CustomOperationDocumentEvent", |
8063 | 8299 | "custom_operation_part": "#/$defs/CustomOperationPartEvent", |
8064 | 8300 | "document_create_check": "#/$defs/DocumentCreateCheckEvent", |
|
8100 | 8336 | { |
8101 | 8337 | "$ref": "#/$defs/PartFieldCalculationEvent" |
8102 | 8338 | }, |
| 8339 | + { |
| 8340 | + "$ref": "#/$defs/BOMItemFieldCalculationEvent" |
| 8341 | + }, |
8103 | 8342 | { |
8104 | 8343 | "$ref": "#/$defs/FieldValueCalculationEvent" |
8105 | 8344 | }, |
|
0 commit comments