@geode/opengeodeweb-back 6.16.1 → 6.17.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,267 @@
1
1
  {
2
2
  "opengeodeweb_back": {
3
+ "basemap": {
4
+ "delete": {
5
+ "$id": "opengeodeweb_back/basemap/delete",
6
+ "route": "/delete",
7
+ "methods": [
8
+ "POST"
9
+ ],
10
+ "type": "object",
11
+ "properties": {
12
+ "id": {
13
+ "type": "string",
14
+ "minLength": 32,
15
+ "maxLength": 32
16
+ }
17
+ },
18
+ "required": [
19
+ "id"
20
+ ],
21
+ "additionalProperties": false,
22
+ "response": {
23
+ "type": "object",
24
+ "properties": {
25
+ "id": {
26
+ "type": "string"
27
+ }
28
+ },
29
+ "required": [
30
+ "id"
31
+ ],
32
+ "additionalProperties": false
33
+ }
34
+ },
35
+ "build": {
36
+ "$id": "opengeodeweb_back/basemap/build",
37
+ "route": "/build",
38
+ "methods": [
39
+ "POST"
40
+ ],
41
+ "type": "object",
42
+ "properties": {
43
+ "maps": {
44
+ "type": "array",
45
+ "minItems": 1,
46
+ "uniqueItems": true,
47
+ "items": {
48
+ "type": "string",
49
+ "enum": [
50
+ "satellite",
51
+ "plan",
52
+ "routes"
53
+ ]
54
+ }
55
+ },
56
+ "bounds": {
57
+ "type": "object",
58
+ "properties": {
59
+ "x_min": {
60
+ "type": "number"
61
+ },
62
+ "y_min": {
63
+ "type": "number"
64
+ },
65
+ "x_max": {
66
+ "type": "number"
67
+ },
68
+ "y_max": {
69
+ "type": "number"
70
+ }
71
+ },
72
+ "required": [
73
+ "x_min",
74
+ "y_min",
75
+ "x_max",
76
+ "y_max"
77
+ ],
78
+ "additionalProperties": false
79
+ },
80
+ "crs": {
81
+ "title": "CRSParams",
82
+ "type": "object",
83
+ "properties": {
84
+ "authority": {
85
+ "type": "string",
86
+ "minLength": 1
87
+ },
88
+ "code": {
89
+ "type": "string",
90
+ "minLength": 1
91
+ },
92
+ "name": {
93
+ "type": "string",
94
+ "minLength": 1
95
+ }
96
+ },
97
+ "required": [
98
+ "authority",
99
+ "code",
100
+ "name"
101
+ ],
102
+ "additionalProperties": false
103
+ },
104
+ "z": {
105
+ "type": "number"
106
+ },
107
+ "margin": {
108
+ "type": "boolean",
109
+ "default": true
110
+ },
111
+ "max_pixels": {
112
+ "type": "integer",
113
+ "minimum": 256,
114
+ "maximum": 4096,
115
+ "default": 2048
116
+ }
117
+ },
118
+ "required": [
119
+ "maps",
120
+ "bounds",
121
+ "crs",
122
+ "z"
123
+ ],
124
+ "additionalProperties": false,
125
+ "response": {
126
+ "type": "object",
127
+ "properties": {
128
+ "native_file": {
129
+ "type": "string"
130
+ },
131
+ "id": {
132
+ "type": "string",
133
+ "minLength": 32,
134
+ "maxLength": 32
135
+ },
136
+ "name": {
137
+ "type": "string"
138
+ },
139
+ "viewer_type": {
140
+ "type": "string"
141
+ },
142
+ "is_viewable": {
143
+ "type": "boolean"
144
+ },
145
+ "geode_object_type": {
146
+ "type": "string"
147
+ },
148
+ "viewable_file": {
149
+ "type": "string"
150
+ },
151
+ "binary_light_viewable": {
152
+ "type": "string"
153
+ },
154
+ "nb_vertices": {
155
+ "type": "integer"
156
+ },
157
+ "geode_id": {
158
+ "type": "string",
159
+ "minLength": 36,
160
+ "maxLength": 36
161
+ },
162
+ "crs": {
163
+ "type": "object",
164
+ "properties": {
165
+ "authority": {
166
+ "type": "string"
167
+ },
168
+ "code": {
169
+ "type": "string"
170
+ },
171
+ "name": {
172
+ "type": "string"
173
+ }
174
+ },
175
+ "required": [
176
+ "authority",
177
+ "code",
178
+ "name"
179
+ ],
180
+ "additionalProperties": false
181
+ },
182
+ "columns": {
183
+ "type": "integer",
184
+ "minimum": 1
185
+ },
186
+ "rows": {
187
+ "type": "integer",
188
+ "minimum": 1
189
+ },
190
+ "attribution": {
191
+ "type": "string"
192
+ },
193
+ "zoom": {
194
+ "type": "integer",
195
+ "minimum": 0
196
+ },
197
+ "bounds": {
198
+ "title": "MeshBounds",
199
+ "type": "object",
200
+ "properties": {
201
+ "x_min": {
202
+ "type": "number"
203
+ },
204
+ "y_min": {
205
+ "type": "number"
206
+ },
207
+ "x_max": {
208
+ "type": "number"
209
+ },
210
+ "y_max": {
211
+ "type": "number"
212
+ }
213
+ },
214
+ "required": [
215
+ "x_min",
216
+ "y_min",
217
+ "x_max",
218
+ "y_max"
219
+ ],
220
+ "additionalProperties": false
221
+ },
222
+ "maps": {
223
+ "type": "array",
224
+ "items": {
225
+ "title": "MapElement",
226
+ "type": "object",
227
+ "properties": {
228
+ "map": {
229
+ "type": "string"
230
+ },
231
+ "sources": {
232
+ "type": "array",
233
+ "items": {
234
+ "type": "string"
235
+ }
236
+ }
237
+ },
238
+ "required": [
239
+ "map",
240
+ "sources"
241
+ ],
242
+ "additionalProperties": false
243
+ }
244
+ }
245
+ },
246
+ "required": [
247
+ "native_file",
248
+ "id",
249
+ "name",
250
+ "viewer_type",
251
+ "is_viewable",
252
+ "geode_object_type",
253
+ "geode_id",
254
+ "columns",
255
+ "rows",
256
+ "attribution",
257
+ "maps",
258
+ "zoom",
259
+ "bounds"
260
+ ],
261
+ "additionalProperties": false
262
+ }
263
+ }
264
+ },
3
265
  "create": {
4
266
  "polygonal_surface": {
5
267
  "$id": "opengeodeweb_back/create/polygonal_surface",
@@ -181,6 +443,26 @@
181
443
  "type": "string",
182
444
  "minLength": 36,
183
445
  "maxLength": 36
446
+ },
447
+ "crs": {
448
+ "type": "object",
449
+ "properties": {
450
+ "authority": {
451
+ "type": "string"
452
+ },
453
+ "code": {
454
+ "type": "string"
455
+ },
456
+ "name": {
457
+ "type": "string"
458
+ }
459
+ },
460
+ "required": [
461
+ "authority",
462
+ "code",
463
+ "name"
464
+ ],
465
+ "additionalProperties": false
184
466
  }
185
467
  },
186
468
  "required": [
@@ -362,6 +644,26 @@
362
644
  "type": "string",
363
645
  "minLength": 36,
364
646
  "maxLength": 36
647
+ },
648
+ "crs": {
649
+ "type": "object",
650
+ "properties": {
651
+ "authority": {
652
+ "type": "string"
653
+ },
654
+ "code": {
655
+ "type": "string"
656
+ },
657
+ "name": {
658
+ "type": "string"
659
+ }
660
+ },
661
+ "required": [
662
+ "authority",
663
+ "code",
664
+ "name"
665
+ ],
666
+ "additionalProperties": false
365
667
  }
366
668
  },
367
669
  "required": [
@@ -391,7 +693,510 @@
391
693
  "points": {
392
694
  "type": "array",
393
695
  "items": {
394
- "title": "EdgedCurvePoint",
696
+ "title": "EdgedCurvePoint",
697
+ "type": "object",
698
+ "properties": {
699
+ "x": {
700
+ "type": "number"
701
+ },
702
+ "y": {
703
+ "type": "number"
704
+ },
705
+ "z": {
706
+ "type": "number"
707
+ }
708
+ },
709
+ "required": [
710
+ "x",
711
+ "y",
712
+ "z"
713
+ ],
714
+ "additionalProperties": false
715
+ },
716
+ "minItems": 2
717
+ },
718
+ "edges": {
719
+ "type": "array",
720
+ "items": {
721
+ "type": "array",
722
+ "items": {
723
+ "type": "integer"
724
+ },
725
+ "minItems": 2,
726
+ "maxItems": 2
727
+ },
728
+ "minItems": 1
729
+ }
730
+ },
731
+ "required": [
732
+ "name",
733
+ "points",
734
+ "edges"
735
+ ],
736
+ "additionalProperties": false,
737
+ "response": {
738
+ "type": "object",
739
+ "properties": {
740
+ "native_file": {
741
+ "type": "string"
742
+ },
743
+ "id": {
744
+ "type": "string",
745
+ "minLength": 32,
746
+ "maxLength": 32
747
+ },
748
+ "name": {
749
+ "type": "string"
750
+ },
751
+ "viewer_type": {
752
+ "type": "string"
753
+ },
754
+ "is_viewable": {
755
+ "type": "boolean"
756
+ },
757
+ "geode_object_type": {
758
+ "type": "string"
759
+ },
760
+ "viewable_file": {
761
+ "type": "string"
762
+ },
763
+ "binary_light_viewable": {
764
+ "type": "string"
765
+ },
766
+ "nb_vertices": {
767
+ "type": "integer"
768
+ },
769
+ "mesh_components": {
770
+ "type": "array",
771
+ "items": {
772
+ "type": "object",
773
+ "properties": {
774
+ "viewer_id": {
775
+ "type": "integer"
776
+ },
777
+ "geode_id": {
778
+ "type": "string",
779
+ "minLength": 36,
780
+ "maxLength": 36
781
+ },
782
+ "name": {
783
+ "type": "string"
784
+ },
785
+ "type": {
786
+ "type": "string"
787
+ },
788
+ "boundaries": {
789
+ "type": "array",
790
+ "items": {
791
+ "type": "string",
792
+ "minLength": 36,
793
+ "maxLength": 36
794
+ }
795
+ },
796
+ "internals": {
797
+ "type": "array",
798
+ "items": {
799
+ "type": "string",
800
+ "minLength": 36,
801
+ "maxLength": 36
802
+ }
803
+ },
804
+ "is_active": {
805
+ "type": "boolean"
806
+ }
807
+ },
808
+ "required": [
809
+ "viewer_id",
810
+ "geode_id",
811
+ "name",
812
+ "type",
813
+ "boundaries",
814
+ "internals",
815
+ "is_active"
816
+ ],
817
+ "additionalProperties": false
818
+ }
819
+ },
820
+ "collection_components": {
821
+ "type": "array",
822
+ "items": {
823
+ "type": "object",
824
+ "properties": {
825
+ "geode_id": {
826
+ "type": "string",
827
+ "minLength": 36,
828
+ "maxLength": 36
829
+ },
830
+ "name": {
831
+ "type": "string"
832
+ },
833
+ "type": {
834
+ "type": "string"
835
+ },
836
+ "items": {
837
+ "type": "array",
838
+ "items": {
839
+ "type": "string",
840
+ "minLength": 36,
841
+ "maxLength": 36
842
+ }
843
+ },
844
+ "is_active": {
845
+ "type": "boolean"
846
+ }
847
+ },
848
+ "required": [
849
+ "geode_id",
850
+ "name",
851
+ "type",
852
+ "items",
853
+ "is_active"
854
+ ],
855
+ "additionalProperties": false
856
+ }
857
+ },
858
+ "geode_id": {
859
+ "type": "string",
860
+ "minLength": 36,
861
+ "maxLength": 36
862
+ },
863
+ "crs": {
864
+ "type": "object",
865
+ "properties": {
866
+ "authority": {
867
+ "type": "string"
868
+ },
869
+ "code": {
870
+ "type": "string"
871
+ },
872
+ "name": {
873
+ "type": "string"
874
+ }
875
+ },
876
+ "required": [
877
+ "authority",
878
+ "code",
879
+ "name"
880
+ ],
881
+ "additionalProperties": false
882
+ }
883
+ },
884
+ "required": [
885
+ "native_file",
886
+ "id",
887
+ "name",
888
+ "viewer_type",
889
+ "is_viewable",
890
+ "geode_object_type",
891
+ "geode_id"
892
+ ],
893
+ "additionalProperties": false
894
+ }
895
+ }
896
+ },
897
+ "crs": {
898
+ "geographic_list": {
899
+ "$id": "opengeodeweb_back/crs/geographic_list",
900
+ "route": "/geographic_list",
901
+ "methods": [
902
+ "POST"
903
+ ],
904
+ "type": "object",
905
+ "properties": {
906
+ "geode_object_type": {
907
+ "type": "string",
908
+ "minLength": 1
909
+ }
910
+ },
911
+ "required": [
912
+ "geode_object_type"
913
+ ],
914
+ "additionalProperties": false,
915
+ "response": {
916
+ "type": "object",
917
+ "properties": {
918
+ "crs_list": {
919
+ "type": "array",
920
+ "items": {
921
+ "type": "object",
922
+ "properties": {
923
+ "name": {
924
+ "type": "string"
925
+ },
926
+ "code": {
927
+ "type": "string"
928
+ },
929
+ "authority": {
930
+ "type": "string"
931
+ }
932
+ },
933
+ "required": [
934
+ "name",
935
+ "code",
936
+ "authority"
937
+ ],
938
+ "additionalProperties": false
939
+ }
940
+ }
941
+ },
942
+ "required": [
943
+ "crs_list"
944
+ ],
945
+ "additionalProperties": false
946
+ }
947
+ },
948
+ "convert_geographic": {
949
+ "$id": "opengeodeweb_back/crs/convert_geographic",
950
+ "route": "/convert_geographic",
951
+ "methods": [
952
+ "POST"
953
+ ],
954
+ "type": "object",
955
+ "properties": {
956
+ "id": {
957
+ "type": "string",
958
+ "minLength": 32,
959
+ "maxLength": 32
960
+ },
961
+ "linked_ids": {
962
+ "type": "array",
963
+ "items": {
964
+ "type": "string",
965
+ "minLength": 32,
966
+ "maxLength": 32
967
+ },
968
+ "uniqueItems": true
969
+ },
970
+ "authority": {
971
+ "type": "string",
972
+ "minLength": 1
973
+ },
974
+ "code": {
975
+ "type": "string",
976
+ "minLength": 1
977
+ },
978
+ "name": {
979
+ "type": "string",
980
+ "minLength": 1
981
+ }
982
+ },
983
+ "required": [
984
+ "id",
985
+ "authority",
986
+ "code",
987
+ "name"
988
+ ],
989
+ "additionalProperties": false,
990
+ "response": {
991
+ "type": "object",
992
+ "properties": {
993
+ "binary_light_viewable": {
994
+ "type": "string"
995
+ },
996
+ "crs": {
997
+ "type": "object",
998
+ "properties": {
999
+ "authority": {
1000
+ "type": "string"
1001
+ },
1002
+ "code": {
1003
+ "type": "string"
1004
+ },
1005
+ "name": {
1006
+ "type": "string"
1007
+ }
1008
+ },
1009
+ "required": [
1010
+ "authority",
1011
+ "code",
1012
+ "name"
1013
+ ],
1014
+ "additionalProperties": false
1015
+ },
1016
+ "linked": {
1017
+ "type": "array",
1018
+ "items": {
1019
+ "type": "object",
1020
+ "properties": {
1021
+ "id": {
1022
+ "type": "string"
1023
+ },
1024
+ "crs": {
1025
+ "type": "object",
1026
+ "properties": {
1027
+ "authority": {
1028
+ "type": "string"
1029
+ },
1030
+ "code": {
1031
+ "type": "string"
1032
+ },
1033
+ "name": {
1034
+ "type": "string"
1035
+ }
1036
+ },
1037
+ "required": [
1038
+ "authority",
1039
+ "code",
1040
+ "name"
1041
+ ],
1042
+ "additionalProperties": false
1043
+ },
1044
+ "binary_light_viewable": {
1045
+ "type": "string"
1046
+ }
1047
+ },
1048
+ "required": [
1049
+ "id"
1050
+ ],
1051
+ "additionalProperties": false
1052
+ }
1053
+ }
1054
+ },
1055
+ "required": [],
1056
+ "additionalProperties": false
1057
+ }
1058
+ },
1059
+ "assign_geographic": {
1060
+ "$id": "opengeodeweb_back/crs/assign_geographic",
1061
+ "route": "/assign_geographic",
1062
+ "methods": [
1063
+ "POST"
1064
+ ],
1065
+ "type": "object",
1066
+ "properties": {
1067
+ "id": {
1068
+ "type": "string",
1069
+ "minLength": 32,
1070
+ "maxLength": 32
1071
+ },
1072
+ "linked_ids": {
1073
+ "type": "array",
1074
+ "items": {
1075
+ "type": "string",
1076
+ "minLength": 32,
1077
+ "maxLength": 32
1078
+ },
1079
+ "uniqueItems": true
1080
+ },
1081
+ "authority": {
1082
+ "type": "string",
1083
+ "minLength": 1
1084
+ },
1085
+ "code": {
1086
+ "type": "string",
1087
+ "minLength": 1
1088
+ },
1089
+ "name": {
1090
+ "type": "string",
1091
+ "minLength": 1
1092
+ },
1093
+ "only_plausible": {
1094
+ "type": "boolean"
1095
+ }
1096
+ },
1097
+ "required": [
1098
+ "id",
1099
+ "authority",
1100
+ "code",
1101
+ "name"
1102
+ ],
1103
+ "additionalProperties": false,
1104
+ "response": {
1105
+ "type": "object",
1106
+ "properties": {
1107
+ "crs": {
1108
+ "type": "object",
1109
+ "properties": {
1110
+ "authority": {
1111
+ "type": "string"
1112
+ },
1113
+ "code": {
1114
+ "type": "string"
1115
+ },
1116
+ "name": {
1117
+ "type": "string"
1118
+ }
1119
+ },
1120
+ "required": [
1121
+ "authority",
1122
+ "code",
1123
+ "name"
1124
+ ],
1125
+ "additionalProperties": false
1126
+ },
1127
+ "implausible": {
1128
+ "type": "boolean"
1129
+ },
1130
+ "linked": {
1131
+ "type": "array",
1132
+ "items": {
1133
+ "type": "object",
1134
+ "properties": {
1135
+ "id": {
1136
+ "type": "string"
1137
+ },
1138
+ "crs": {
1139
+ "type": "object",
1140
+ "properties": {
1141
+ "authority": {
1142
+ "type": "string"
1143
+ },
1144
+ "code": {
1145
+ "type": "string"
1146
+ },
1147
+ "name": {
1148
+ "type": "string"
1149
+ }
1150
+ },
1151
+ "required": [
1152
+ "authority",
1153
+ "code",
1154
+ "name"
1155
+ ],
1156
+ "additionalProperties": false
1157
+ },
1158
+ "implausible": {
1159
+ "type": "boolean"
1160
+ }
1161
+ },
1162
+ "required": [
1163
+ "id"
1164
+ ],
1165
+ "additionalProperties": false
1166
+ }
1167
+ }
1168
+ },
1169
+ "required": [],
1170
+ "additionalProperties": false
1171
+ }
1172
+ },
1173
+ "align": {
1174
+ "$id": "opengeodeweb_back/crs/align",
1175
+ "route": "/align",
1176
+ "methods": [
1177
+ "POST"
1178
+ ],
1179
+ "type": "object",
1180
+ "properties": {
1181
+ "id": {
1182
+ "type": "string",
1183
+ "minLength": 32,
1184
+ "maxLength": 32
1185
+ },
1186
+ "linked_ids": {
1187
+ "type": "array",
1188
+ "items": {
1189
+ "type": "string",
1190
+ "minLength": 32,
1191
+ "maxLength": 32
1192
+ },
1193
+ "uniqueItems": true
1194
+ },
1195
+ "source_points": {
1196
+ "type": "array",
1197
+ "minItems": 3,
1198
+ "maxItems": 3,
1199
+ "items": {
395
1200
  "type": "object",
396
1201
  "properties": {
397
1202
  "x": {
@@ -400,173 +1205,177 @@
400
1205
  "y": {
401
1206
  "type": "number"
402
1207
  },
403
- "z": {
404
- "type": "number"
1208
+ "picked": {
1209
+ "type": "boolean",
1210
+ "default": false
405
1211
  }
406
1212
  },
407
1213
  "required": [
408
1214
  "x",
409
- "y",
410
- "z"
1215
+ "y"
411
1216
  ],
412
1217
  "additionalProperties": false
413
- },
414
- "minItems": 2
1218
+ }
415
1219
  },
416
- "edges": {
1220
+ "target_points": {
417
1221
  "type": "array",
1222
+ "minItems": 3,
1223
+ "maxItems": 3,
418
1224
  "items": {
419
- "type": "array",
420
- "items": {
421
- "type": "integer"
1225
+ "type": "object",
1226
+ "properties": {
1227
+ "x": {
1228
+ "type": "number"
1229
+ },
1230
+ "y": {
1231
+ "type": "number"
1232
+ }
422
1233
  },
423
- "minItems": 2,
424
- "maxItems": 2
425
- },
426
- "minItems": 1
1234
+ "required": [
1235
+ "x",
1236
+ "y"
1237
+ ],
1238
+ "additionalProperties": false
1239
+ }
1240
+ },
1241
+ "authority": {
1242
+ "type": "string",
1243
+ "minLength": 1
1244
+ },
1245
+ "code": {
1246
+ "type": "string",
1247
+ "minLength": 1
1248
+ },
1249
+ "name": {
1250
+ "type": "string",
1251
+ "minLength": 1
427
1252
  }
428
1253
  },
429
1254
  "required": [
430
- "name",
431
- "points",
432
- "edges"
1255
+ "id",
1256
+ "source_points",
1257
+ "target_points",
1258
+ "authority",
1259
+ "code",
1260
+ "name"
433
1261
  ],
434
1262
  "additionalProperties": false,
435
1263
  "response": {
436
1264
  "type": "object",
437
1265
  "properties": {
438
- "native_file": {
439
- "type": "string"
440
- },
441
- "id": {
442
- "type": "string",
443
- "minLength": 32,
444
- "maxLength": 32
445
- },
446
- "name": {
447
- "type": "string"
448
- },
449
- "viewer_type": {
450
- "type": "string"
451
- },
452
- "is_viewable": {
453
- "type": "boolean"
454
- },
455
- "geode_object_type": {
456
- "type": "string"
457
- },
458
- "viewable_file": {
459
- "type": "string"
460
- },
461
1266
  "binary_light_viewable": {
462
1267
  "type": "string"
463
1268
  },
464
- "nb_vertices": {
465
- "type": "integer"
466
- },
467
- "mesh_components": {
468
- "type": "array",
469
- "items": {
470
- "type": "object",
471
- "properties": {
472
- "viewer_id": {
473
- "type": "integer"
474
- },
475
- "geode_id": {
476
- "type": "string",
477
- "minLength": 36,
478
- "maxLength": 36
479
- },
480
- "name": {
481
- "type": "string"
482
- },
483
- "type": {
484
- "type": "string"
485
- },
486
- "boundaries": {
487
- "type": "array",
488
- "items": {
489
- "type": "string",
490
- "minLength": 36,
491
- "maxLength": 36
492
- }
493
- },
494
- "internals": {
495
- "type": "array",
496
- "items": {
497
- "type": "string",
498
- "minLength": 36,
499
- "maxLength": 36
500
- }
501
- },
502
- "is_active": {
503
- "type": "boolean"
504
- }
1269
+ "crs": {
1270
+ "type": "object",
1271
+ "properties": {
1272
+ "authority": {
1273
+ "type": "string"
505
1274
  },
506
- "required": [
507
- "viewer_id",
508
- "geode_id",
509
- "name",
510
- "type",
511
- "boundaries",
512
- "internals",
513
- "is_active"
514
- ],
515
- "additionalProperties": false
516
- }
1275
+ "code": {
1276
+ "type": "string"
1277
+ },
1278
+ "name": {
1279
+ "type": "string"
1280
+ }
1281
+ },
1282
+ "required": [
1283
+ "authority",
1284
+ "code",
1285
+ "name"
1286
+ ],
1287
+ "additionalProperties": false
517
1288
  },
518
- "collection_components": {
1289
+ "linked": {
519
1290
  "type": "array",
520
1291
  "items": {
521
1292
  "type": "object",
522
1293
  "properties": {
523
- "geode_id": {
524
- "type": "string",
525
- "minLength": 36,
526
- "maxLength": 36
527
- },
528
- "name": {
1294
+ "id": {
529
1295
  "type": "string"
530
1296
  },
531
- "type": {
1297
+ "binary_light_viewable": {
532
1298
  "type": "string"
533
1299
  },
534
- "items": {
535
- "type": "array",
536
- "items": {
537
- "type": "string",
538
- "minLength": 36,
539
- "maxLength": 36
540
- }
541
- },
542
- "is_active": {
543
- "type": "boolean"
1300
+ "crs": {
1301
+ "type": "object",
1302
+ "properties": {
1303
+ "authority": {
1304
+ "type": "string"
1305
+ },
1306
+ "code": {
1307
+ "type": "string"
1308
+ },
1309
+ "name": {
1310
+ "type": "string"
1311
+ }
1312
+ },
1313
+ "required": [
1314
+ "authority",
1315
+ "code",
1316
+ "name"
1317
+ ],
1318
+ "additionalProperties": false
544
1319
  }
545
1320
  },
546
1321
  "required": [
547
- "geode_id",
548
- "name",
549
- "type",
550
- "items",
551
- "is_active"
1322
+ "id"
552
1323
  ],
553
1324
  "additionalProperties": false
554
1325
  }
1326
+ }
1327
+ },
1328
+ "required": [],
1329
+ "additionalProperties": false
1330
+ }
1331
+ },
1332
+ "active": {
1333
+ "$id": "opengeodeweb_back/crs/active",
1334
+ "route": "/active",
1335
+ "methods": [
1336
+ "POST"
1337
+ ],
1338
+ "type": "object",
1339
+ "properties": {
1340
+ "id": {
1341
+ "type": "string",
1342
+ "minLength": 32,
1343
+ "maxLength": 32
1344
+ }
1345
+ },
1346
+ "required": [
1347
+ "id"
1348
+ ],
1349
+ "additionalProperties": false,
1350
+ "response": {
1351
+ "type": "object",
1352
+ "properties": {
1353
+ "crs_name": {
1354
+ "type": "string"
555
1355
  },
556
- "geode_id": {
557
- "type": "string",
558
- "minLength": 36,
559
- "maxLength": 36
1356
+ "crs_info": {
1357
+ "type": "object",
1358
+ "properties": {
1359
+ "authority": {
1360
+ "type": "string"
1361
+ },
1362
+ "code": {
1363
+ "type": "string"
1364
+ },
1365
+ "name": {
1366
+ "type": "string"
1367
+ }
1368
+ },
1369
+ "required": [
1370
+ "authority",
1371
+ "code",
1372
+ "name"
1373
+ ],
1374
+ "additionalProperties": false
560
1375
  }
561
1376
  },
562
1377
  "required": [
563
- "native_file",
564
- "id",
565
- "name",
566
- "viewer_type",
567
- "is_viewable",
568
- "geode_object_type",
569
- "geode_id"
1378
+ "crs_name"
570
1379
  ],
571
1380
  "additionalProperties": false
572
1381
  }
@@ -1008,6 +1817,26 @@
1008
1817
  "type": "string",
1009
1818
  "minLength": 36,
1010
1819
  "maxLength": 36
1820
+ },
1821
+ "crs": {
1822
+ "type": "object",
1823
+ "properties": {
1824
+ "authority": {
1825
+ "type": "string"
1826
+ },
1827
+ "code": {
1828
+ "type": "string"
1829
+ },
1830
+ "name": {
1831
+ "type": "string"
1832
+ }
1833
+ },
1834
+ "required": [
1835
+ "authority",
1836
+ "code",
1837
+ "name"
1838
+ ],
1839
+ "additionalProperties": false
1011
1840
  }
1012
1841
  },
1013
1842
  "required": [
@@ -1819,56 +2648,6 @@
1819
2648
  "additionalProperties": false
1820
2649
  }
1821
2650
  },
1822
- "geographic_coordinate_systems": {
1823
- "$id": "opengeodeweb_back/geographic_coordinate_systems",
1824
- "route": "/geographic_coordinate_systems",
1825
- "methods": [
1826
- "POST"
1827
- ],
1828
- "type": "object",
1829
- "properties": {
1830
- "geode_object_type": {
1831
- "type": "string",
1832
- "minLength": 1
1833
- }
1834
- },
1835
- "required": [
1836
- "geode_object_type"
1837
- ],
1838
- "additionalProperties": false,
1839
- "response": {
1840
- "type": "object",
1841
- "properties": {
1842
- "crs_list": {
1843
- "type": "array",
1844
- "items": {
1845
- "type": "object",
1846
- "properties": {
1847
- "name": {
1848
- "type": "string"
1849
- },
1850
- "code": {
1851
- "type": "string"
1852
- },
1853
- "authority": {
1854
- "type": "string"
1855
- }
1856
- },
1857
- "required": [
1858
- "name",
1859
- "code",
1860
- "authority"
1861
- ],
1862
- "additionalProperties": false
1863
- }
1864
- }
1865
- },
1866
- "required": [
1867
- "crs_list"
1868
- ],
1869
- "additionalProperties": false
1870
- }
1871
- },
1872
2651
  "geode_objects_and_output_extensions": {
1873
2652
  "$id": "opengeodeweb_back/geode_objects_and_output_extensions",
1874
2653
  "route": "/geode_objects_and_output_extensions",