-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathi3-geocode-conversion.yaml
105 lines (105 loc) · 2.76 KB
/
i3-geocode-conversion.yaml
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
openapi: 3.0.1
info:
title: Geocode Conversion Service
version: "1.0"
servers:
- url: http://localhost/Gcs/v1
paths:
/Geocode:
post:
tags:
- GeocodeRequest
summary: Converts civic address to geodetic representation of the location in PIDF-LO format
operationId: GeocodeRequest
requestBody:
description: PIDF-LO data
content:
application/json:
schema:
type: string
required: true
responses:
'200':
description: Data successfully converted
content:
application/xml:
schema:
$ref: '#/components/schemas/GeodeticData'
'307':
description: Temporary Redirect
headers:
Location:
description: Referral URI of another GCS
schema:
type: string
format: uri
'454':
description: Unspecified Error
'468':
description: No Address Found
'469':
description: Unknown MCS/GCS
/ReverseGeocode:
post:
tags:
- ReverseGeocodeRequest
summary: Converts geodetic representation of the location to civic address in PIDF-LO format
operationId: ReverseGeocodeRequest
requestBody:
description: PIDF-LO data
content:
application/json:
schema:
type: string
required: true
responses:
'200':
description: Data successfully converted
content:
application/xml:
schema:
$ref: '#/components/schemas/CivicAddress'
'307':
description: Temporary Redirect
headers:
Location:
description: Referral URI of another GCS
schema:
type: string
format: uri
'468':
description: No Address Found
'469':
description: Unknown MCS/GCS
/Versions:
servers:
- url: https://api.example.com/Gcs
description: Override base path for Versions query
get:
tags:
- RetrieveVersions
summary: Retrieves all supported versions, vendor parameter is optional.
operationId: RetrieveVersions
responses:
'200':
description: Versions found
content:
application/json:
schema:
$ref: 'i3-common.yaml#/components/schemas/VersionsArray'
components:
schemas:
GeodeticData:
type: object
required:
- pidfLoGeo
properties:
pidfLoGeo:
type: string
CivicAddress:
type: object
required:
- pidfLoAddress
properties:
pidfLoAddress:
type: string