source: osm/applications/editors/josm/plugins/MicrosoftStreetside/data/streetside.schema.json@ 36241

Last change on this file since 36241 was 36228, checked in by taylor.smock, 10 months ago

StreetSide: Update to official API

This also moves the plugin to Java 21 (mostly for virtual threads), reformats the
code to match the JOSM standard (4 spaces), and fixes a bunch of lint issues.

Additionally, a lot of cruft from when this plugin was copied from Mapillary was
removed. That was largely related to image import, uploading, and login.

File size: 3.1 KB
Line 
1{
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "https://learn.microsoft.com/en-us/bingmaps/rest-services/imagery/imagery-metadata",
4 "title": "Microsoft Streetside",
5 "description": "Microsoft Streetside Imagery",
6 "type": "object",
7 "properties": {
8 "authenticationResultCode": {
9 "description": "Status code for additional information about authentication success or failure",
10 "type": "string",
11 "enum": [
12 "ValidCredentials",
13 "InvalidCredentials",
14 "CredentialsExpired",
15 "NotAuthorized",
16 "NoCredentials",
17 "None"
18 ]
19 },
20 "brandLogoUri": {
21 "description": "The brand image to use for branding requirements",
22 "type": "string"
23 },
24 "copyright": {
25 "description": "Copyright notice",
26 "type": "string"
27 },
28 "resourceSets": {
29 "description": "A collection of resource set objects",
30 "type": "array",
31 "items": {
32 "type": "object",
33 "properties": {
34 "estimatedTotal": {
35 "description": "An estimate of the total number of resources in the resource set",
36 "type": "integer"
37 },
38 "resources": {
39 "type": "array",
40 "items": {
41 "type": "object",
42 "properties": {
43 "imageUrl": {
44 "type": "string"
45 },
46 "imageUrlSubdomains": {
47 "type": "array",
48 "items": {
49 "type": "string"
50 }
51 },
52 "imageWidth": {
53 "type": "integer"
54 },
55 "imageHeight": {
56 "type": "integer"
57 },
58 "vintageStart": {
59 "type": "string"
60 },
61 "vintageEnd": {
62 "type": "string"
63 },
64 "zoomMin": {
65 "type": "integer"
66 },
67 "zoomMax": {
68 "type": "integer"
69 },
70 "lat": {
71 "description": "The latitude of the image",
72 "type": "number"
73 },
74 "lon": {
75 "description": "The longitude of the image",
76 "type": "number"
77 },
78 "pi": {
79 "description": "The pitch of the image",
80 "type": "number"
81 },
82 "ro": {
83 "description": "The roll of the image",
84 "type": "number"
85 }
86 }
87 }
88 }
89 }
90 }
91 },
92 "statusCode": {
93 "description": "HTTP status code for the request",
94 "type": "integer"
95 },
96 "statusDescription": {
97 "description": "A description of the HTTP status code",
98 "type": "string"
99 },
100 "traceId": {
101 "description": "Unique identifier for the request",
102 "type": "string"
103 },
104 "errorDetails": {
105 "description": "A collection of error descriptions",
106 "type": "array",
107 "items": {
108 "type": "string"
109 }
110 }
111 }
112}
Note: See TracBrowser for help on using the repository browser.