Skip to content

Commit 9f4d720

Browse files
jmcanterafonsecagtorodelvalle
authored andcommitted
Fix empty spaces on JSON Schema. fix references to common schema. reference json schema on documentation. (FIWARE#94)
* Empty line at the end of schema files * Empty line at the end of schema files * Weather observed schema fixed and referenced * Final URL
1 parent e22e415 commit 9f4d720

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

Weather/WeatherObserved/doc/spec.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ This data model has been developed in cooperation with mobile operators and the
77

88
## Data Model
99

10+
A JSON Schema corresponding to this data model can be found [here](https://fiware.github.io/dataModels/Weather/WeatherObserved/schema.json).
11+
1012
+ `id` : Unique identifier.
1113

1214
+ `type` : Entity type. It must be equal to `WeatherObserved`.

Weather/WeatherObserved/schema.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"description": "An observation of weather conditions at a certain place and time. This data model has been developed in cooperation with mobile operators and the GSMA.",
66
"type": "object",
77
"allOf": [
8-
{ "$ref": "https://fiware.github.io/dataModels/schema-common.json#/definitions/GSMA-Commons" },
9-
{ "$ref": "https://fiware.github.io/dataModels/schema-common.json#/definitions/Location-Commons" },
8+
{ "$ref": "https://fiware.github.io/dataModels/common-schema.json#/definitions/GSMA-Commons" },
9+
{ "$ref": "https://fiware.github.io/dataModels/common-schema.json#/definitions/Location-Commons" },
1010
{
1111
"properties": {
1212
"type": {
@@ -96,4 +96,4 @@
9696
"dateObserved",
9797
"location"
9898
]
99-
}
99+
}

common-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@
6868
}
6969
}
7070
}
71-
}
71+
}

geometry-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@
8888
"items": { "$ref": "#/definitions/linearRing" }
8989
}
9090
}
91-
}
91+
}

0 commit comments

Comments
 (0)