Comments (4)
What you say is completely right.
Eventually, a change in the GSMA-commons(or location commons) would alter the referred schemas. But we have very good reasons for not changing it or that the change does not affect current models (i.e. a new attribute but keeping all old ones)
In fact, our policy is that we never do backward incompatible versions. Could this happen in the coming future? Nothing is impossible but I cannot envision a reason to do it and of course never without deep consultation with the users and contributors.
Anyhow we are open to adopt other additional mechanism to fix this.
from data-models.
Besides now we have a draft of a database of data models' versions so you can gather the moment when the extract was created. Grabbing the information from model.yaml (which has the $ref attributes) should be solved.
from data-models.
Regarding these two options
-
https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons
or -
in the model.yaml of the data model these references are brought so it is like your solution 2. Quite deterministic.
is this a solution for you?
from data-models.
finally, what you could use is to point not to json schema (non-deterministic) but to the yaml version which is deterministic for every version.
from data-models.
Related Issues (20)
- Error Json-Ld parse context HOT 3
- Nomenclature for noise variables in NGSI-LD HOT 1
- Broken Links HOT 5
- Minor fixes in common-schema.json HOT 1
- Request for inclusion of common fields in common schema HOT 3
- Broken example links HOT 1
- Date related issues HOT 1
- Details needed on x-ngsi HOT 6
- Edit configuration files HOT 2
- Few corrections in ngsi-ld_generator_keyvalues_v0.93.py HOT 1
- Need info for certain example formats. HOT 1
- Rationale for including pieces of the NGSI-LD core context in data models HOT 2
- Question : unit of measure HOT 1
- Which @context to use as reference? HOT 1
- How to automatically generate the model.yaml and swagger.yaml HOT 3
- Install of PYSMARTDATAMODEL fails using poetry HOT 3
- Functionality unclear with regards to properties and attributes in pysmartdatamodels HOT 3
- SAREF terms have outdated URIs HOT 1
- Generate the OpenAPI specification from the file "common-schema.json" HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from data-models.