-
Notifications
You must be signed in to change notification settings - Fork 7
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
7367e20
commit 7196738
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: | ||
MasterVessel: | ||
$ref: "https://smart-data-models.github.io/dataModel.MarineTransport/MasterVessel/model.yaml#/MasterVessel" | ||
info: | ||
description: | | ||
The data model is intended to provide information about vessels. It allows to represent the properties of each vessel: static and dynamic information | ||
title: MasterVessel | ||
version: "0.0.1" | ||
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: | ||
- MasterVessel | ||
type: string | ||
responses: | ||
? "200" | ||
: | ||
content: | ||
application/ld+json: | ||
examples: | ||
keyvalues: | ||
summary: "Key-Values Pairs" | ||
value: | ||
- | ||
$ref: "https://smart-data-models.github.io/dataModel.MarineTransport/MasterVessel/examples/example.json" | ||
normalized: | ||
summary: "Normalized NGSI-LD" | ||
value: | ||
- | ||
$ref: "https://smart-data-models.github.io/dataModel.MarineTransport/MasterVessel/examples/example-normalized.jsonld" | ||
description: OK | ||
tags: | ||
- ngsi-ld | ||
tags: | ||
- | ||
description: "NGSI-LD Linked-data Format" | ||
name: ngsi-ld |