-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from bump-sh/fix-ign-hub
hub(ign): fix missing external ref file for one API
- Loading branch information
Showing
1 changed file
with
129 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
definitions: | ||
|
||
FeatureCollection: | ||
type: object | ||
description: Une `FeatureCollection` au sens GeoJSON | ||
externalDocs: | ||
url: http://geojson.org/geojson-spec.html#feature-collection-objects | ||
description: La documentation officielle du type `FeatureCollection` de GeoJSON | ||
properties: | ||
type: | ||
type: string | ||
description: Le type d'objet GeoJSON (`FeatureCollection`) | ||
features: | ||
type: array | ||
items: {} | ||
|
||
Feature: | ||
type: object | ||
description: Une `Feature` au sens GeoJSON | ||
externalDocs: | ||
url: http://geojson.org/geojson-spec.html#feature-objects | ||
description: La documentation officielle du type `Feature` de GeoJSON | ||
properties: | ||
type: | ||
type: string | ||
description: Le type d'objet GeoJSON (`Feature`) | ||
id: | ||
type: string | ||
properties: | ||
type: object | ||
geometry: | ||
$ref: '#/definitions/Geometry' | ||
|
||
Geometry: | ||
type: object | ||
description: Une `Geometry` au sens GeoJSON | ||
externalDocs: | ||
url: http://geojson.org/geojson-spec.html#geometry-objects | ||
description: La documentation officielle du type `Geometry` de GeoJSON | ||
properties: | ||
type: | ||
type: string | ||
description: Le type géométrique | ||
enum: | ||
- Point | ||
- LineString | ||
- Polygon | ||
- MultiPoint | ||
- MultiLineString | ||
- MultiPolygon | ||
coordinates: | ||
type: array | ||
items: {} | ||
|
||
|
||
|
||
Point: | ||
type: object | ||
description: Un `Point` au sens GeoJSON | ||
properties: | ||
type: | ||
type: string | ||
description: Le type géométrique (`Point`) | ||
enum: | ||
- Point | ||
coordinates: | ||
"$ref": "#/definitions/Coordinate" | ||
|
||
LineString: | ||
type: object | ||
description: Une `LineString` au sens GeoJSON | ||
properties: | ||
type: | ||
type: string | ||
description: Le type géométrique (`LineString`) | ||
coordinates: | ||
type: array | ||
items: {} | ||
|
||
Polygon: | ||
type: object | ||
description: Un `Polygon` au sens GeoJSON | ||
properties: | ||
type: | ||
type: string | ||
description: Le type géométrique (`LineString`) | ||
coordinates: | ||
type: array | ||
items: {} | ||
|
||
MultiPoint: | ||
type: object | ||
description: Un `MultiPoint` au sens GeoJSON | ||
properties: | ||
type: | ||
type: string | ||
description: Le type géométrique (`MultiPoint`) | ||
coordinates: | ||
type: array | ||
items: {} | ||
|
||
MultiLineString: | ||
type: object | ||
description: Une `MultiLineString` au sens GeoJSON | ||
properties: | ||
type: | ||
type: string | ||
description: Le type géométrique (`MultiLineString`) | ||
coordinates: | ||
type: array | ||
items: {} | ||
|
||
MultiPolygon: | ||
type: object | ||
description: Un `MultiPolygon` au sens GeoJSON | ||
properties: | ||
type: | ||
type: string | ||
description: Le type géométrique (`MultiPolygon`) | ||
coordinates: | ||
type: array | ||
items: {} | ||
|
||
Coordinate: | ||
type: array | ||
items: | ||
type: number | ||
minItems: 2 | ||
maxItems: 4 |