Skip to content

Commit 388a086

Browse files
updated swagger.yaml
1 parent 88ce57b commit 388a086

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

DataQualityAssessment/swagger.yaml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
# Copyleft (c) 2022 Contributors to Smart Data Models initiative
3+
#
4+
5+
6+
components:
7+
schemas:
8+
DataQualityAssessment:
9+
$ref: "https://smart-data-models.github.io/dataModel.DataQuality/DataQualityAssessment/model.yaml#/DataQualityAssessment"
10+
info:
11+
description: |
12+
This entity describes the data quality properties of a measurement, such as temperature.
13+
title: DataQualityAssessment
14+
version: "0.0.5"
15+
openapi: "3.0.0"
16+
17+
paths:
18+
/ngsi-ld/v1/entities:
19+
get:
20+
description: "Retrieve a set of entities which matches a specific query from an NGSI-LD system"
21+
parameters:
22+
-
23+
in: query
24+
name: type
25+
required: true
26+
schema:
27+
enum:
28+
- DataQualityAssessment
29+
type: string
30+
responses:
31+
? "200"
32+
:
33+
content:
34+
application/ld+json:
35+
examples:
36+
keyvalues:
37+
summary: "Key-Values Pairs"
38+
value:
39+
-
40+
$ref: "https://smart-data-models.github.io/dataModel.DataQuality/DataQualityAssessment/examples/example.json"
41+
normalized:
42+
summary: "Normalized NGSI-LD"
43+
value:
44+
-
45+
$ref: "https://smart-data-models.github.io/dataModel.DataQuality/DataQualityAssessment/examples/example-normalized.jsonld"
46+
description: OK
47+
tags:
48+
- ngsi-ld
49+
tags:
50+
-
51+
description: "NGSI-LD Linked-data Format"
52+
name: ngsi-ld

0 commit comments

Comments
 (0)