Comments (3)
Great question because this isn't clear. We expect the value to look like your second example (a JSON object with the mapKey as the key and the mapValue as the value. The names in the model are provided for potential code generation scenarios where these names might be useful in different programming languages.
I'll keep this issue open until I get a chance to update the docs with a sample.
from opendigitaltwins-dtdl.
Hey @briancr-ms, since it been 4 months, why not put an example in this Issue so there's a clear answer (and maybe someone can do a doc PR for you). ;-)
from opendigitaltwins-dtdl.
Fixed in #70.
from opendigitaltwins-dtdl.
Related Issues (20)
- This repo is missing important files
- [v3] Consider updating displayName size to be >= name HOT 5
- Creating company specific DTDLv3 extensions HOT 5
- [DTDLv3] Restructure Telemetry as a Semantic Type and introduce a generic message/event as a basic type HOT 6
- [DTDLv3] Provide native extensions for invariants on primitive data types HOT 7
- [DTDLv3] Partner Extension `@context` DTMI set to IoT Central. Should be more generic. HOT 1
- Add description of auto-ID generation algorithm HOT 1
- I cannot validate a DTML document using JSON-LD playground HOT 13
- Best approach for updating 'extends'-references when updating model version HOT 1
- Using v2 and v3 contexts at the same time is valid HOT 3
- Best approach for creating a relationship with linked values HOT 4
- Can't add a relation and i really can't figure out why HOT 8
- Additional attributes for properties in model? HOT 2
- Why "integer" instead of "int" in the primitive schemas? HOT 3
- DTDLv1 spec should refer to v3
- typo in DLTDv3 Relationship HOT 2
- Is Array of Complext Object supported in V3 models HOT 1
- Expanding max limits on the depth of inheritance of Models in the DTDL v3 Spec HOT 3
- Array supports the use of Componenet HOT 2
- Increase Nested Schema Limit HOT 1
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 opendigitaltwins-dtdl.