[Fiware-tech-help] NGSI-v2 schema checking

Alberto Abella alberto.abella at fiware.org
Mon Mar 14 19:15:17 CET 2022


Regarding schemas for validation For validating payloads you have more
than open-licensed 700 data models with a json schema at the Smart Data
Models Program. In the menu option Search you can look for anything in
a data model . There is always a file named schema.json which contains
the json schema you could use. Anyhow this has to be done externally to
the broker.Besides this it is a colalborative program so you can
contribute with yours as long as there is an actual use case and you
accept to release it with an open license.
There are plenty of libraries for schema validation or online services.
As far as I know this can be validated externally. I've heard that
somebody from the university of cantabria have developed some libraries
to validate with NGSIv2 but I guess they could provide you with more
info. 
Best

On Mon, 2022-03-14 at 19:56 +0200, Dimitris Kalogeras wrote:
> Hi to all of you,
> I am doing a data modeling utilizing NGSIv2 for a specific domain. In
> order to avoid error propagation between publisher and
> subscriberthrough the Orion Context broker I would like to verify
> that messages conform to a json schema. Does by any chanceOrion
> support validation according to NGSIv2 schema when external
> applications POST to broker  ?
> 
> Kind regardsDimitris
> 
-- 
Alberto Abella 
FIWARE Foundation 
Data Modelling Expert and Technological Evangelist
+34 629655772

@fiware
@aabella
https://www.linkedin.com/in/albertoabella/


Open session (live on Mondays) 
Contribution Manual 
Slack channel 
FAQs	

NGSI-LD	examples generator key 	values, normalized
Surveys 	to users 

Widget for finding data models 
Export in CSV and DTDL
Adopters cases

Incubated repository 
Editor for non-technical contributors 
List of
incubated data models 
Video	tutorials 
Checking proper documentation 

Checking reuse of attributes 
Attributes database 
Credit to contributors
 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20220314/aad27df5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SmartDataModels_Banner_General.png
Type: image/png
Size: 101513 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20220314/aad27df5/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GMThumb_5Years_AlbertoAbella_smal.png
Type: image/png
Size: 68623 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20220314/aad27df5/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image-M5E0A1.png
Type: image/png
Size: 11279 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20220314/aad27df5/attachment-0005.png>


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy