Skip to content

Commit b2e75ec

Browse files
removed new_model.yaml
1 parent 89ade19 commit b2e75ec

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

Measure/swagger.yaml

+52
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+
Measure:
9+
$ref: "https://smart-data-models.github.io/dataModel.RiskManagement/Measure/model.yaml#/Measure"
10+
info:
11+
description: |
12+
Specific measure translated into actions to be performed into the different systems
13+
title: Measure
14+
version: "0.0.1"
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+
- Measure
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.RiskManagement/Measure/examples/example.json"
41+
normalized:
42+
summary: "Normalized NGSI-LD"
43+
value:
44+
-
45+
$ref: "https://smart-data-models.github.io/dataModel.RiskManagement/Measure/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)