Comments (2)
Yes, it's retrieving the value of the asset
property as a dict
in order to construct a Reference
object from the dict
. In the DotAAS metamodel, references to other objects are described by Reference
objects, which point to the actual object.
This is also the case for the asset
property of an AssetAdministrationShell
, you can verify it on page 234 of the spec: https://www.plattform-i40.de/IP/Redaktion/EN/Downloads/Publikation/Details_of_the_Asset_Administration_Shell_Part1_V2.pdf?__blob=publicationFile
Thus, the exemplary JSON structure you gave doesn't adhere to the DotAAS spec in version 2.0.1 and isn't compatible with this implementation.
from basyx-python-sdk.
Thank you very much for the explanation!
from basyx-python-sdk.
Related Issues (20)
- aas:adapter Unable to read aasx file, because of dead links HOT 10
- convert json into aasx fails HOT 4
- How to create a "creator" ? HOT 6
- Adding a SubmodelElementCollection to multiple Shells HOT 2
- Recurring: Update Copyright Notice
- BaSyx-Core: Add functionality to adapt import statement
- BaSyx-Core: Refactor Backend functionality to global functions
- BaSyx-Core: Deprecate ModelReference
- BaSyx-Core: Adapt Tutorials
- BaSyx-Core: Datatype handling
- BaSyx-Core: Remove KEY_TYPES_CLASSES in model.__init__.py
- BaSyx-Core: Adjust import statements
- BaSyx-Core: Adjust `fragments/namespace.py`
- BaSyx-Core: Adapt `model.provider`
- BaSyx-Core: Replace `Identifier` type hint with `str`
- BaSyx-Core: Fix `_check_has_extension_equal()`
- Rearrange SubmodelElements within a SubmodelElementCollection HOT 2
- Fetch all properties in submodel HOT 4
- Connect AAS Package Explorer to Python / Couchdb for live visualization? HOT 3
- Refactor towards monolithic repository
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 basyx-python-sdk.