Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

BaSyx / Documentation / Components / AAS Server / Features / Value Only

< BaSyx ‎ | Documentation ‎ | Components ‎ | AAS Server ‎ | Features
Revision as of 05:51, 6 January 2023 by Frank.schnicke.iese.fraunhofer.de (Talk | contribs) (Created page with "= Value-only Serialization = == User Story & Use Case == ''As AAS application developer'' ''I want to retrieve the values of a Submodel's SubmodelElements in a key-value-pair...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Value-only Serialization

User Story & Use Case

As AAS application developer

I want to retrieve the values of a Submodel's SubmodelElements in a key-value-pair format

so that I don't have to retrieve the complete Submodel every time I would like to check for updated values


This feature enables developers to focus on only the Submodel's SubmodelElement values, thus only requiring an initial retrieval of meta-information.

Feature Overview

The value-only serialization of a Submodel can be requested by a GET /submodel/value of a submodel.


For each SubmodelElement, a value-only serialization is defined. Typically, this is the value defined in the "value" entry of the SubmodelElement's meta model. For a SubmodelElementCollection, the value-only serialization consists of the value-only serialization of the respective SubmodelElements contained in it.


For example, consider the following value-only serialization:

{
	"collection": {
		"valueA" : 5,
		"valueB" : false
	},
	"valueC": 100
}

A possible submodel returning this value-only serialization would have a property valueC with value 100 and a SubmodelElementCollection collection containing two properties, valueA with value 5 and valueB with value false.

Feature Configuration

This feature is enabled by default. There is not further need for configuration.

Back to the top