Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Commit

Permalink
Fix empty spaces on JSON Schema. fix references to common schema. ref…
Browse files Browse the repository at this point in the history
…erence json schema on documentation. (#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
  • Loading branch information
jmcanterafonseca authored and gtorodelvalle committed Jan 18, 2017
1 parent e22e415 commit 9f4d720
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Weather/WeatherObserved/doc/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ This data model has been developed in cooperation with mobile operators and the

## Data Model

A JSON Schema corresponding to this data model can be found [here](https://fiware.github.io/dataModels/Weather/WeatherObserved/schema.json).

+ `id` : Unique identifier.

+ `type` : Entity type. It must be equal to `WeatherObserved`.
Expand Down
6 changes: 3 additions & 3 deletions Weather/WeatherObserved/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"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.",
"type": "object",
"allOf": [
{ "$ref": "https://fiware.github.io/dataModels/schema-common.json#/definitions/GSMA-Commons" },
{ "$ref": "https://fiware.github.io/dataModels/schema-common.json#/definitions/Location-Commons" },
{ "$ref": "https://fiware.github.io/dataModels/common-schema.json#/definitions/GSMA-Commons" },
{ "$ref": "https://fiware.github.io/dataModels/common-schema.json#/definitions/Location-Commons" },
{
"properties": {
"type": {
Expand Down Expand Up @@ -96,4 +96,4 @@
"dateObserved",
"location"
]
}
}
2 changes: 1 addition & 1 deletion common-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion geometry-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@
"items": { "$ref": "#/definitions/linearRing" }
}
}
}
}

0 comments on commit 9f4d720

Please sign in to comment.