Skip to content

Commit d91196c

Browse files
author
Jens Kürten
committed
schema
1 parent dd8160b commit d91196c

File tree

1 file changed

+96
-96
lines changed

1 file changed

+96
-96
lines changed

json_schemas/request.json

Lines changed: 96 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -741,18 +741,18 @@
741741
"title": "Documents",
742742
"type": "array"
743743
},
744-
"linked_parts": {
744+
"parts": {
745745
"description": "List of parts that belong to the documents",
746746
"items": {
747747
"$ref": "#/$defs/Part"
748748
},
749-
"title": "Linked Parts",
749+
"title": "Parts",
750750
"type": "array"
751751
}
752752
},
753753
"required": [
754754
"documents",
755-
"linked_parts"
755+
"parts"
756756
],
757757
"title": "DocumentCreateCheckData",
758758
"type": "object"
@@ -798,19 +798,19 @@
798798
"title": "Action",
799799
"type": "string"
800800
},
801-
"linked_parts": {
801+
"parts": {
802802
"description": "Parts that belong to the document",
803803
"items": {
804804
"$ref": "#/$defs/Part"
805805
},
806-
"title": "Linked Parts",
806+
"title": "Parts",
807807
"type": "array"
808808
}
809809
},
810810
"required": [
811811
"document",
812812
"action",
813-
"linked_parts"
813+
"parts"
814814
],
815815
"title": "DocumentFieldCalculationData",
816816
"type": "object"
@@ -849,18 +849,18 @@
849849
"title": "Documents",
850850
"type": "array"
851851
},
852-
"linked_parts": {
852+
"parts": {
853853
"description": "List of parts that belong to the documents",
854854
"items": {
855855
"$ref": "#/$defs/Part"
856856
},
857-
"title": "Linked Parts",
857+
"title": "Parts",
858858
"type": "array"
859859
}
860860
},
861861
"required": [
862862
"documents",
863-
"linked_parts"
863+
"parts"
864864
],
865865
"title": "DocumentModifyCheckData",
866866
"type": "object"
@@ -899,21 +899,21 @@
899899
"title": "Documents",
900900
"type": "array"
901901
},
902-
"attached_parts": {
902+
"parts": {
903903
"description": "List of parts that belong to the documents",
904904
"items": {
905905
"$ref": "#/$defs/Part"
906906
},
907-
"title": "Attached Parts",
907+
"title": "Parts",
908908
"type": "array"
909909
},
910910
"dialog_data": {
911-
"$ref": "#/$defs/DocumentReleaseDialogData"
911+
"$ref": "#/$defs/DocumentReleasedDialogData"
912912
}
913913
},
914914
"required": [
915915
"documents",
916-
"attached_parts",
916+
"parts",
917917
"dialog_data"
918918
],
919919
"title": "DocumentReleaseCheckData",
@@ -943,7 +943,37 @@
943943
"title": "DocumentReleaseCheckEvent",
944944
"type": "object"
945945
},
946-
"DocumentReleaseDialogData": {
946+
"DocumentReleasedData": {
947+
"properties": {
948+
"documents": {
949+
"description": "List of documents that were released.",
950+
"items": {
951+
"$ref": "#/$defs/Document"
952+
},
953+
"title": "Documents",
954+
"type": "array"
955+
},
956+
"parts": {
957+
"description": "List of parts that belong to the released documents",
958+
"items": {
959+
"$ref": "#/$defs/Part"
960+
},
961+
"title": "Parts",
962+
"type": "array"
963+
},
964+
"dialog_data": {
965+
"$ref": "#/$defs/DocumentReleasedDialogData"
966+
}
967+
},
968+
"required": [
969+
"documents",
970+
"parts",
971+
"dialog_data"
972+
],
973+
"title": "DocumentReleasedData",
974+
"type": "object"
975+
},
976+
"DocumentReleasedDialogData": {
947977
"properties": {
948978
"dialog_type": {
949979
"const": "document_release",
@@ -978,37 +1008,7 @@
9781008
"title": "Cdb Ec Id"
9791009
}
9801010
},
981-
"title": "DocumentReleaseDialogData",
982-
"type": "object"
983-
},
984-
"DocumentReleasedData": {
985-
"properties": {
986-
"documents": {
987-
"description": "List of documents that were released.",
988-
"items": {
989-
"$ref": "#/$defs/Document"
990-
},
991-
"title": "Documents",
992-
"type": "array"
993-
},
994-
"parts": {
995-
"description": "List of parts that belong to the released documents",
996-
"items": {
997-
"$ref": "#/$defs/Part"
998-
},
999-
"title": "Parts",
1000-
"type": "array"
1001-
},
1002-
"dialog_data": {
1003-
"$ref": "#/$defs/DocumentReleaseDialogData"
1004-
}
1005-
},
1006-
"required": [
1007-
"documents",
1008-
"parts",
1009-
"dialog_data"
1010-
],
1011-
"title": "DocumentReleasedData",
1011+
"title": "DocumentReleasedDialogData",
10121012
"type": "object"
10131013
},
10141014
"DocumentReleasedEvent": {
@@ -1395,20 +1395,20 @@
13951395
},
13961396
"EngineeringChangeReleaseCheckData": {
13971397
"properties": {
1398-
"attached_documents": {
1398+
"documents": {
13991399
"description": "List of included documents.",
14001400
"items": {
14011401
"$ref": "#/$defs/Document"
14021402
},
1403-
"title": "Attached Documents",
1403+
"title": "Documents",
14041404
"type": "array"
14051405
},
1406-
"attached_parts": {
1406+
"parts": {
14071407
"description": "List of included parts.",
14081408
"items": {
14091409
"$ref": "#/$defs/Part"
14101410
},
1411-
"title": "Attached Parts",
1411+
"title": "Parts",
14121412
"type": "array"
14131413
},
14141414
"engineering_changes": {
@@ -1421,8 +1421,8 @@
14211421
}
14221422
},
14231423
"required": [
1424-
"attached_documents",
1425-
"attached_parts",
1424+
"documents",
1425+
"parts",
14261426
"engineering_changes"
14271427
],
14281428
"title": "EngineeringChangeReleaseCheckData",
@@ -2594,18 +2594,18 @@
25942594
"title": "Parts",
25952595
"type": "array"
25962596
},
2597-
"linked_documents": {
2597+
"documents": {
25982598
"description": "List of documents that are referenced by the parts.",
25992599
"items": {
26002600
"$ref": "#/$defs/Document"
26012601
},
2602-
"title": "Linked Documents",
2602+
"title": "Documents",
26032603
"type": "array"
26042604
}
26052605
},
26062606
"required": [
26072607
"parts",
2608-
"linked_documents"
2608+
"documents"
26092609
],
26102610
"title": "PartCreateCheckData",
26112611
"type": "object"
@@ -2651,19 +2651,19 @@
26512651
"title": "Action",
26522652
"type": "string"
26532653
},
2654-
"linked_documents": {
2654+
"documents": {
26552655
"description": "List of documents that are referenced by the parts.",
26562656
"items": {
26572657
"$ref": "#/$defs/Document"
26582658
},
2659-
"title": "Linked Documents",
2659+
"title": "Documents",
26602660
"type": "array"
26612661
}
26622662
},
26632663
"required": [
26642664
"part",
26652665
"action",
2666-
"linked_documents"
2666+
"documents"
26672667
],
26682668
"title": "PartFieldCalculationData",
26692669
"type": "object"
@@ -2702,18 +2702,18 @@
27022702
"title": "Parts",
27032703
"type": "array"
27042704
},
2705-
"linked_documents": {
2705+
"documents": {
27062706
"description": "List of documents that are referenced by the parts.",
27072707
"items": {
27082708
"$ref": "#/$defs/Document"
27092709
},
2710-
"title": "Linked Documents",
2710+
"title": "Documents",
27112711
"type": "array"
27122712
}
27132713
},
27142714
"required": [
27152715
"parts",
2716-
"linked_documents"
2716+
"documents"
27172717
],
27182718
"title": "PartModifyCheckData",
27192719
"type": "object"
@@ -2752,21 +2752,21 @@
27522752
"title": "Parts",
27532753
"type": "array"
27542754
},
2755-
"attached_documents": {
2755+
"documents": {
27562756
"description": "List of documents that are referenced by the parts.",
27572757
"items": {
27582758
"$ref": "#/$defs/Document"
27592759
},
2760-
"title": "Attached Documents",
2760+
"title": "Documents",
27612761
"type": "array"
27622762
},
27632763
"dialog_data": {
2764-
"$ref": "#/$defs/PartReleaseDialogData"
2764+
"$ref": "#/$defs/PartReleasedDialogData"
27652765
}
27662766
},
27672767
"required": [
27682768
"parts",
2769-
"attached_documents",
2769+
"documents",
27702770
"dialog_data"
27712771
],
27722772
"title": "PartReleaseCheckData",
@@ -2796,7 +2796,37 @@
27962796
"title": "PartReleaseCheckEvent",
27972797
"type": "object"
27982798
},
2799-
"PartReleaseDialogData": {
2799+
"PartReleasedData": {
2800+
"properties": {
2801+
"parts": {
2802+
"description": "List if parts that were released.",
2803+
"items": {
2804+
"$ref": "#/$defs/Part"
2805+
},
2806+
"title": "Parts",
2807+
"type": "array"
2808+
},
2809+
"documents": {
2810+
"description": "List if documents that are referenced by the released part.",
2811+
"items": {
2812+
"$ref": "#/$defs/Document"
2813+
},
2814+
"title": "Documents",
2815+
"type": "array"
2816+
},
2817+
"dialog_data": {
2818+
"$ref": "#/$defs/PartReleasedDialogData"
2819+
}
2820+
},
2821+
"required": [
2822+
"parts",
2823+
"documents",
2824+
"dialog_data"
2825+
],
2826+
"title": "PartReleasedData",
2827+
"type": "object"
2828+
},
2829+
"PartReleasedDialogData": {
28002830
"properties": {
28012831
"dialog_type": {
28022832
"const": "part_release",
@@ -2831,37 +2861,7 @@
28312861
"title": "Cdb Ec Id"
28322862
}
28332863
},
2834-
"title": "PartReleaseDialogData",
2835-
"type": "object"
2836-
},
2837-
"PartReleasedData": {
2838-
"properties": {
2839-
"parts": {
2840-
"description": "List if parts that were released.",
2841-
"items": {
2842-
"$ref": "#/$defs/Part"
2843-
},
2844-
"title": "Parts",
2845-
"type": "array"
2846-
},
2847-
"documents": {
2848-
"description": "List if documents that are referenced by the released part.",
2849-
"items": {
2850-
"$ref": "#/$defs/Document"
2851-
},
2852-
"title": "Documents",
2853-
"type": "array"
2854-
},
2855-
"dialog_data": {
2856-
"$ref": "#/$defs/PartReleaseDialogData"
2857-
}
2858-
},
2859-
"required": [
2860-
"parts",
2861-
"documents",
2862-
"dialog_data"
2863-
],
2864-
"title": "PartReleasedData",
2864+
"title": "PartReleasedDialogData",
28652865
"type": "object"
28662866
},
28672867
"PartReleasedEvent": {

0 commit comments

Comments
 (0)