-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
common.json
970 lines (970 loc) · 31.8 KB
/
common.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
{
"swagger": "2.0",
"info": {
"title": "Azure Maps Common Types",
"version": "1.0"
},
"produces": [
"application/json"
],
"paths": {},
"definitions": {
"LongRunningOperationResult": {
"description": "The response model for a Long-Running Operations API.",
"type": "object",
"properties": {
"operationId": {
"description": "The Id for this long-running operation.",
"type": "string"
},
"status": {
"description": "The status state of the request.",
"type": "string",
"enum": [
"NotStarted",
"Running",
"Failed",
"Succeeded"
],
"x-ms-enum": {
"name": "LroStatus",
"modelAsString": true,
"values": [
{
"value": "NotStarted",
"description": "The request has not started processing yet."
},
{
"value": "Running",
"description": "The request has started processing."
},
{
"value": "Failed",
"description": "The request has one or more failures."
},
{
"value": "Succeeded",
"description": "The request has successfully completed."
}
]
},
"readOnly": true
},
"created": {
"description": "The created timestamp.",
"type": "string",
"format": "date-time",
"readOnly": true
},
"error": {
"$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorDetail"
},
"warning": {
"$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorDetail"
}
}
},
"BatchRequest": {
"description": "This type represents the request body for the Batch service.",
"type": "object",
"properties": {
"batchItems": {
"description": "The list of queries to process.",
"type": "array",
"items": {
"$ref": "#/definitions/BatchRequestItem"
}
}
}
},
"BatchRequestItem": {
"description": "Batch request object",
"type": "object",
"properties": {
"query": {
"description": "This parameter contains a query string used to perform an unstructured geocoding operation. The query string will be passed verbatim to the search API for processing.",
"type": "string",
"example": "?query=One, Microsoft Way, Redmond, WA 98052&limit=3"
}
}
},
"BatchResult": {
"description": "This object is returned from a successful Batch service call. Extend with 'batchItems' property.",
"type": "object",
"properties": {
"summary": {
"description": "Summary of the results for the batch request",
"x-ms-client-name": "BatchSummary",
"type": "object",
"readOnly": true,
"properties": {
"successfulRequests": {
"description": "Number of successful requests in the batch",
"type": "integer",
"readOnly": true
},
"totalRequests": {
"description": "Total number of requests in the batch",
"type": "integer",
"readOnly": true
}
}
}
}
},
"BatchResultItem": {
"description": "An item returned from Batch API. Extend with 'response' property.",
"type": "object",
"properties": {
"statusCode": {
"description": "HTTP request status code.",
"type": "integer",
"readOnly": true,
"example": 200
}
}
},
"LatLongPair": {
"description": "A location represented as a latitude and longitude.",
"type": "object",
"properties": {
"latitude": {
"description": "Latitude property",
"type": "number",
"format": "double"
},
"longitude": {
"description": "Longitude property",
"type": "number",
"format": "double"
}
}
},
"LatLongPairAbbreviated": {
"description": "A location represented as a latitude and longitude using short names 'lat' & 'lon'.",
"type": "object",
"properties": {
"lat": {
"description": "Latitude property",
"type": "number",
"format": "double"
},
"lon": {
"description": "Longitude property",
"type": "number",
"format": "double"
}
}
},
"BoundingBox": {
"x-ms-client-name": "boundingBox",
"description": "Bounding box. Projection used - EPSG:3857. Format : 'minLon, minLat, maxLon, maxLat'.",
"type": "array",
"readOnly": true,
"items": {
"type": "number",
"format": "double"
}
},
"GeoJsonPosition": {
"description": "A `Position` is an array of numbers with two or more elements. The first two elements are _longitude_ and _latitude_, precisely in that order. _Altitude/Elevation_ is an optional third element. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.1.1) for details.",
"type": "array",
"items": {
"type": "number",
"format": "double"
}
},
"GeoJsonLinearRing": {
"description": "Though a linear ring is not explicitly represented as a GeoJSON geometry type, it helps in defining the polygon as an array of linear rings. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.1.6) for details.",
"type": "array",
"items": {
"$ref": "#/definitions/GeoJsonPosition"
}
},
"GeoJsonObject": {
"description": "A valid `GeoJSON` object. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3) for details.",
"type": "object",
"discriminator": "type",
"required": [
"type"
],
"properties": {
"type": {
"description": "Specifies the `GeoJSON` type. Must be one of the nine valid GeoJSON object types - Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection, Feature and FeatureCollection.",
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection",
"Feature",
"FeatureCollection"
],
"x-ms-enum": {
"name": "GeoJsonObjectType",
"modelAsString": false,
"values": [
{
"value": "Point",
"description": "`GeoJSON Point` geometry.",
"name": "GeoJsonPoint"
},
{
"value": "MultiPoint",
"description": "`GeoJSON MultiPoint` geometry.",
"name": "GeoJsonMultiPoint"
},
{
"value": "LineString",
"description": "`GeoJSON LineString` geometry.",
"name": "GeoJsonLineString"
},
{
"value": "MultiLineString",
"description": "`GeoJSON MultiLineString` geometry.",
"name": "GeoJsonMultiLineString"
},
{
"value": "Polygon",
"description": "`GeoJSON Polygon` geometry.",
"name": "GeoJsonPolygon"
},
{
"value": "MultiPolygon",
"description": "`GeoJSON MultiPolygon` geometry.",
"name": "GeoJsonMultiPolygon"
},
{
"value": "GeometryCollection",
"description": "`GeoJSON GeometryCollection` geometry.",
"name": "GeoJsonGeometryCollection"
},
{
"value": "Feature",
"description": "`GeoJSON Feature` object.",
"name": "GeoJsonFeature"
},
{
"value": "FeatureCollection",
"description": "`GeoJSON FeatureCollection` object.",
"name": "GeoJsonFeatureCollection"
}
]
}
}
}
},
"GeoJsonGeometry": {
"description": "A valid `GeoJSON` geometry object. The type must be one of the seven valid GeoJSON geometry types - Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon and GeometryCollection. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.1) for details.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/GeoJsonObject"
}
]
},
"GeoJsonPoint": {
"description": "A valid `GeoJSON Point` geometry type. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.1.2) for details.",
"x-ms-discriminator-value": "Point",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/GeoJsonGeometry"
},
{
"$ref": "#/definitions/GeoJsonPointData"
}
]
},
"GeoJsonPointData": {
"description": "Data contained by a `GeoJson Point`.",
"type": "object",
"properties": {
"coordinates": {
"$ref": "#/definitions/GeoJsonPosition"
}
},
"required": [
"coordinates"
]
},
"GeoJsonMultiPoint": {
"description": "A valid `GeoJSON MultiPoint` geometry type. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.1.3) for details.",
"x-ms-discriminator-value": "MultiPoint",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/GeoJsonGeometry"
},
{
"$ref": "#/definitions/GeoJsonMultiPointData"
}
]
},
"GeoJsonMultiPointData": {
"type": "object",
"description": "Data contained by a `GeoJson MultiPoint`.",
"properties": {
"coordinates": {
"description": "Coordinates for the `GeoJson MultiPoint` geometry.",
"type": "array",
"items": {
"$ref": "#/definitions/GeoJsonPosition"
}
}
},
"required": [
"coordinates"
]
},
"GeoJsonLineString": {
"description": "A valid `GeoJSON LineString` geometry type. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.1.4) for details.",
"x-ms-discriminator-value": "LineString",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/GeoJsonGeometry"
},
{
"$ref": "#/definitions/GeoJsonLineStringData"
}
]
},
"GeoJsonLineStringData": {
"type": "object",
"properties": {
"coordinates": {
"description": "Coordinates for the `GeoJson LineString` geometry.",
"type": "array",
"items": {
"$ref": "#/definitions/GeoJsonPosition"
}
}
},
"required": [
"coordinates"
]
},
"GeoJsonMultiLineString": {
"description": "A valid `GeoJSON MultiLineString` geometry type. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.1.5) for details.",
"x-ms-discriminator-value": "MultiLineString",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/GeoJsonGeometry"
},
{
"$ref": "#/definitions/GeoJsonMultiLineStringData"
}
]
},
"GeoJsonMultiLineStringData": {
"type": "object",
"properties": {
"coordinates": {
"description": "Coordinates for the `GeoJson MultiLineString` geometry.",
"type": "array",
"items": {
"$ref": "#/definitions/GeoJsonLinearRing"
}
}
},
"required": [
"coordinates"
]
},
"GeoJsonPolygon": {
"description": "A valid `GeoJSON Polygon` geometry type. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.1.6) for details.",
"x-ms-discriminator-value": "Polygon",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/GeoJsonGeometry"
},
{
"$ref": "#/definitions/GeoJsonPolygonData"
}
]
},
"GeoJsonPolygonData": {
"type": "object",
"properties": {
"coordinates": {
"description": "Coordinates for the `GeoJson Polygon` geometry type.",
"type": "array",
"items": {
"$ref": "#/definitions/GeoJsonLinearRing"
}
}
},
"required": [
"coordinates"
]
},
"GeoJsonMultiPolygon": {
"description": "A valid `GeoJSON MultiPolygon` object type. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.1.7) for details.",
"x-ms-discriminator-value": "MultiPolygon",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/GeoJsonGeometry"
},
{
"$ref": "#/definitions/GeoJsonMultiPolygonData"
}
]
},
"GeoJsonMultiPolygonData": {
"type": "object",
"properties": {
"coordinates": {
"description": "Contains a list of valid `GeoJSON Polygon` objects. **Note** that coordinates in GeoJSON are in x, y order (longitude, latitude).",
"type": "array",
"items": {
"type": "array",
"items": {
"$ref": "#/definitions/GeoJsonLinearRing"
}
}
}
},
"required": [
"coordinates"
]
},
"GeoJsonGeometryCollection": {
"description": "A valid `GeoJSON GeometryCollection` object type. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.1.8) for details.",
"x-ms-discriminator-value": "GeometryCollection",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/GeoJsonGeometry"
},
{
"$ref": "#/definitions/GeoJsonGeometryCollectionData"
}
]
},
"GeoJsonGeometryCollectionData": {
"type": "object",
"properties": {
"geometries": {
"description": "Contains a list of valid `GeoJSON` geometry objects. **Note** that coordinates in GeoJSON are in x, y order (longitude, latitude).",
"type": "array",
"items": {
"$ref": "#/definitions/GeoJsonGeometry"
}
}
},
"required": [
"geometries"
]
},
"GeoJsonFeature": {
"description": "A valid `GeoJSON Feature` object type. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.2) for details.",
"x-ms-discriminator-value": "Feature",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/GeoJsonObject"
},
{
"$ref": "#/definitions/GeoJsonFeatureData"
}
]
},
"GeoJsonFeatureData": {
"type": "object",
"properties": {
"geometry": {
"$ref": "#/definitions/GeoJsonGeometry"
},
"properties": {
"x-ms-client-flatten": true,
"description": "Properties can contain any additional metadata about the `Feature`. Value can be any JSON object or a JSON null value",
"type": "object"
},
"id": {
"description": "Identifier for the feature.",
"type": "string"
},
"featureType": {
"description": "The type of the feature. The value depends on the data model the current feature is part of. Some data models may have an empty value.",
"type": "string"
}
},
"required": [
"geometry"
]
},
"GeoJsonFeatureCollection": {
"description": "A valid `GeoJSON FeatureCollection` object type. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.3) for details.",
"x-ms-discriminator-value": "FeatureCollection",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/GeoJsonObject"
},
{
"$ref": "#/definitions/GeoJsonFeatureCollectionData"
}
]
},
"GeoJsonFeatureCollectionData": {
"type": "object",
"properties": {
"features": {
"description": "Contains a list of valid `GeoJSON Feature` objects.",
"type": "array",
"items": {
"$ref": "#/definitions/GeoJsonFeature"
}
}
},
"required": [
"features"
]
},
"Ontology": {
"type": "string",
"description": "The ontology version of this dataset.",
"readOnly": true
},
"MapsErrorResponse": {
"type": "object",
"description": "Common error response for Azure Maps APIs to return error details for failed operations.",
"readOnly": true,
"properties": {
"error": {
"$ref": "#/definitions/MapsErrorDetail"
}
},
"required": [
"error"
]
},
"MapsErrorDetail": {
"description": "The error detail.",
"type": "object",
"readOnly": true,
"properties": {
"code": {
"description": "One of a server-defined set of error codes.",
"type": "string",
"readOnly": true
},
"message": {
"description": "A human-readable representation of the error.",
"type": "string",
"readOnly": true
},
"target": {
"description": "The target of the error.",
"type": "string",
"readOnly": true
},
"details": {
"description": "An array of details about specific errors that led to this reported error.",
"type": "array",
"items": {
"$ref": "#/definitions/MapsErrorDetail"
},
"readOnly": true
},
"innererror": {
"$ref": "#/definitions/MapsInnerError"
}
}
},
"MapsInnerError": {
"description": "An object containing more specific information than the current object about the error.",
"type": "object",
"readOnly": true,
"properties": {
"code": {
"description": "The error code.",
"type": "string",
"readOnly": true
},
"innererror": {
"$ref": "#/definitions/MapsInnerError"
}
}
}
},
"parameters": {
"ClientId": {
"name": "x-ms-client-id",
"x-ms-client-name": "clientId",
"description": "Specifies which account is intended for usage in conjunction with the Microsoft Entra ID security model. It represents a unique ID for the Azure Maps account and can be retrieved from the Azure Maps management plane Account API. To use Microsoft Entra ID security in Azure Maps see the following [articles](https://aka.ms/amauthdetails) for guidance.",
"type": "string",
"in": "header",
"x-ms-parameter-location": "client"
},
"Language": {
"name": "language",
"in": "query",
"description": "Language in which search results should be returned. Should be one of supported IETF language tags, case insensitive. When data in specified language is not available for a specific field, default language is used.\n\nPlease refer to [Supported Languages](https://docs.microsoft.com/azure/azure-maps/supported-languages) for details.",
"type": "string",
"x-ms-parameter-location": "method"
},
"JsonFormat": {
"name": "format",
"description": "Desired format of the response. Only `json` format is supported.",
"type": "string",
"in": "path",
"required": true,
"enum": [
"json"
],
"x-ms-enum": {
"name": "JsonFormat",
"modelAsString": true,
"values": [
{
"value": "json",
"description": "[The JavaScript Object Notation Data Interchange Format](https://tools.ietf.org/html/rfc8259)"
}
]
},
"x-ms-client-default": "json",
"x-ms-parameter-location": "method"
},
"ResponseFormat": {
"name": "format",
"description": "Desired format of the response. Value can be either _json_ or _xml_.",
"type": "string",
"in": "path",
"required": true,
"enum": [
"json",
"xml"
],
"x-ms-enum": {
"name": "ResponseFormat",
"modelAsString": true,
"values": [
{
"value": "json",
"description": "[The JavaScript Object Notation Data Interchange Format](https://tools.ietf.org/html/rfc8259)"
},
{
"value": "xml",
"description": "[The Extensible Markup Language](https://www.w3.org/TR/xml/)"
}
]
},
"x-ms-client-default": "json",
"x-ms-parameter-location": "method"
},
"MapsAccountGeographicResourceLocation": {
"name": "geography",
"description": "This parameter specifies where the Azure Maps Account is located. Valid values are us (East US, West Central US, West US 2) and eu (North Europe, West Europe).",
"in": "path",
"required": true,
"type": "string",
"enum": [
"us",
"eu"
],
"x-ms-enum": {
"name": "GeographicResourceLocation",
"modelAsString": true,
"values": [
{
"value": "us",
"description": "Used to access an Azure Maps Account in the United States (East US, West Central US, West US 2)."
},
{
"value": "eu",
"description": "Used to access an Azure Maps Account in Europe (North Europe, West Europe)."
}
]
},
"x-ms-parameter-location": "client"
},
"GeographicResourceLocation": {
"name": "geography",
"description": "This parameter specifies where the Azure Maps Creator resource is located. Valid values are us and eu.",
"in": "path",
"required": true,
"type": "string",
"default": "us",
"enum": [
"us",
"eu"
],
"x-ms-enum": {
"name": "GeographicResourceLocation",
"modelAsString": true,
"values": [
{
"value": "us",
"description": "Used to access an Azure Maps Creator resource in the United States"
},
{
"value": "eu",
"description": "Used to access an Azure Maps Creator resource in Europe"
}
]
},
"x-ms-parameter-location": "client"
},
"View": {
"name": "view",
"x-ms-client-name": "localizedMapView",
"in": "query",
"description": "The View parameter (also called the \"user region\" parameter) allows you to show the correct maps for a certain country/region for geopolitically disputed regions. Different countries/regions have different views of such regions, and the View parameter allows your application to comply with the view required by the country/region your application will be serving. By default, the View parameter is set to “Unified” even if you haven’t defined it in the request. It is your responsibility to determine the location of your users, and then set the View parameter correctly for that location. Alternatively, you have the option to set ‘View=Auto’, which will return the map data based on the IP address of the request. The View parameter in Azure Maps must be used in compliance with applicable laws, including those regarding mapping, of the country/region where maps, images and other data and third party content that you are authorized to access via Azure Maps is made available. Example: view=IN.\n\nPlease refer to [Supported Views](https://aka.ms/AzureMapsLocalizationViews) for details and to see the available Views.",
"x-ms-parameter-location": "method",
"type": "string",
"enum": [
"AE",
"AR",
"BH",
"IN",
"IQ",
"JO",
"KW",
"LB",
"MA",
"OM",
"PK",
"PS",
"QA",
"SA",
"SY",
"YE",
"Auto",
"Unified"
],
"x-ms-enum": {
"name": "LocalizedMapView",
"modelAsString": true,
"values": [
{
"value": "AE",
"description": "United Arab Emirates (Arabic View)"
},
{
"value": "AR",
"description": "Argentina (Argentinian View)"
},
{
"value": "BH",
"description": "Bahrain (Arabic View)"
},
{
"value": "IN",
"description": "India (Indian View)"
},
{
"value": "IQ",
"description": "Iraq (Arabic View)"
},
{
"value": "JO",
"description": "Jordan (Arabic View)"
},
{
"value": "KW",
"description": "Kuwait (Arabic View)"
},
{
"value": "LB",
"description": "Lebanon (Arabic View)"
},
{
"value": "MA",
"description": "Morocco (Moroccan View)"
},
{
"value": "OM",
"description": "Oman (Arabic View)"
},
{
"value": "PK",
"description": "Pakistan (Pakistani View)"
},
{
"value": "PS",
"description": "Palestinian Authority (Arabic View)"
},
{
"value": "QA",
"description": "Qatar (Arabic View)"
},
{
"value": "SA",
"description": "Saudi Arabia (Arabic View)"
},
{
"value": "SY",
"description": "Syria (Arabic View)"
},
{
"value": "YE",
"description": "Yemen (Arabic View)"
},
{
"value": "Auto",
"description": "Return the map data based on the IP address of the request."
},
{
"value": "Unified",
"description": "Unified View (Others)"
}
]
}
},
"PositionLatitudeAbbreviated": {
"name": "lat",
"x-ms-client-name": "Latitude",
"description": "The latitude of the location being passed. Example: 48.36.",
"type": "number",
"in": "query",
"required": true,
"x-ms-parameter-location": "method",
"x-ms-parameter-grouping": {
"name": "position"
}
},
"PositionLongitudeAbbreviated": {
"name": "lon",
"x-ms-client-name": "Longitude",
"description": "The longitude of the location being passed. Example: -124.63.",
"type": "number",
"in": "query",
"required": true,
"x-ms-parameter-location": "method",
"x-ms-parameter-grouping": {
"name": "position"
}
},
"xTileIndex": {
"name": "x",
"in": "query",
"description": "X coordinate of the tile on zoom grid. Value must be in the range [0, 2<sup>`zoom`</sup> -1].\n\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/azure/location-based-services/zoom-levels-and-tile-grid) for details.",
"required": true,
"type": "integer",
"format": "int32",
"x-ms-parameter-location": "method",
"x-ms-parameter-grouping": {
"name": "tileIndex"
}
},
"yTileIndex": {
"name": "y",
"in": "query",
"description": "Y coordinate of the tile on zoom grid. Value must be in the range [0, 2<sup>`zoom`</sup> -1].\n\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/azure/location-based-services/zoom-levels-and-tile-grid) for details.",
"required": true,
"type": "integer",
"format": "int32",
"x-ms-parameter-location": "method",
"x-ms-parameter-grouping": {
"name": "tileIndex"
}
},
"zTileIndex": {
"name": "zoom",
"x-ms-client-name": "z",
"in": "query",
"description": "Zoom level for the desired tile. \n\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/azure/location-based-services/zoom-levels-and-tile-grid) for details.",
"required": true,
"type": "integer",
"format": "int32",
"x-ms-parameter-location": "method",
"x-ms-parameter-grouping": {
"name": "tileIndex"
}
},
"IncludeText": {
"name": "text",
"x-ms-client-name": "includeText",
"in": "query",
"description": "Yes/no value to exclude textual data from response. Only images and country/region names will be in response.",
"type": "string",
"enum": [
"yes",
"no"
],
"x-ms-enum": {
"name": "IncludeText",
"modelAsString": true,
"values": [
{
"value": "yes",
"description": "Include all textual data in response."
},
{
"value": "no",
"description": "Exclude textual data from response. Only images and country/region names will be in response."
}
]
},
"x-ms-parameter-location": "method"
}
},
"responses": {
"200AsyncV2": {
"description": "The operation is running or complete. If the operation was successful, use the Resource-Location header to obtain the path to the result.",
"schema": {
"$ref": "#/definitions/LongRunningOperationResult"
},
"headers": {
"Resource-Location": {
"type": "string",
"description": "If successful, a URI where details on the newly created resource can be found."
}
}
},
"202Async": {
"description": "**Supported only for async request.**\nRequest Accepted: The request has been accepted for processing. Please use the URL in the Location Header to retry or access the results.",
"headers": {
"Location": {
"type": "string",
"description": "New URL to check for the results of the long-running operation."
}
}
},
"202AsyncV2": {
"description": "Request Accepted: The request has been accepted for processing. Please use the URL in the Operation-Location Header to obtain status.",
"headers": {
"Operation-Location": {
"type": "string",
"description": "New URL to check for the results of the long-running operation."
}
}
},
"408": {
"description": "Timeout: The request took longer to finish than the maximum amount of time defined in the api.",
"schema": {
"$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse"
},
"x-ms-error-response": true
},
"409": {
"description": "The request could not be completed due to a conflict with the current state of the resource. Likely caused by a parallel update to the same resource.",
"schema": {
"$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse"
},
"x-ms-error-response": true
},
"409StorageLimit": {
"description": "The [data storage limit](https://docs.microsoft.com/azure/azure-resource-manager/management/azure-subscription-service-limits#azure-maps-limits) is reached on the Azure Maps account. You can always use the [Data Delete API](https://docs.microsoft.com/rest/api/maps/data/deletepreview) to delete old/unused content and create space for new uploads.",
"schema": {
"$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse"
},
"x-ms-error-response": true
},
"default": {
"description": "An unexpected error occurred.",
"schema": {
"$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse"
},
"x-ms-error-response": true
}
}
}