-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3ecb70e
commit 088a9df
Showing
1 changed file
with
52 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,52 @@ | ||
--- | ||
# Copyleft (c) 2022 Contributors to Smart Data Models initiative | ||
# | ||
|
||
|
||
components: | ||
schemas: | ||
WeatherForecast: | ||
$ref: "https://smart-data-models.github.io/dataModel.Weather/WeatherForecast/model.yaml#/WeatherForecast" | ||
info: | ||
description: | | ||
A harmonised description of a Weather Forecast | ||
title: WeatherForecast | ||
version: "0.0.2" | ||
openapi: "3.0.0" | ||
|
||
paths: | ||
/ngsi-ld/v1/entities: | ||
get: | ||
description: "Retrieve a set of entities which matches a specific query from an NGSI-LD system" | ||
parameters: | ||
- | ||
in: query | ||
name: type | ||
required: true | ||
schema: | ||
enum: | ||
- WeatherForecast | ||
type: string | ||
responses: | ||
? "200" | ||
: | ||
content: | ||
application/ld+json: | ||
examples: | ||
keyvalues: | ||
summary: "Key-Values Pairs" | ||
value: | ||
- | ||
$ref: "https://smart-data-models.github.io/dataModel.Weather/WeatherForecast/examples/example.json" | ||
normalized: | ||
summary: "Normalized NGSI-LD" | ||
value: | ||
- | ||
$ref: "https://smart-data-models.github.io/dataModel.Weather/WeatherForecast/examples/example-normalized.jsonld" | ||
description: OK | ||
tags: | ||
- ngsi-ld | ||
tags: | ||
- | ||
description: "NGSI-LD Linked-data Format" | ||
name: ngsi-ld |