Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [basyx-dev] JSON Array in submodel ignores the array and only returns the last set for idshort
  • From: <Frank.Schnicke@xxxxxxxxxxxxxxxxxx>
  • Date: Mon, 22 Nov 2021 06:48:47 +0000
  • Accept-language: de-DE, en-US
  • Delivered-to: basyx-dev@xxxxxxxxxxx
  • Ironport-data: A9a23:iVl2Ka3yarS+Bo4p9fbD5Wl2kn2cJEfYwER7XKvMYLTBsI5bpzRVx mEWDWyCa62NYWX3L9kgbIjkoEMGvMLXz9FkHgo+3Hw8FHgiRegpqji6wuccGwvIc6UvmWo+t 512huHodZtyEzmAzvuUGuCJQUNUjMlkfZKhTr6bUsxNbVU8En540Eg5w7dRbrNA2LBVPSvd4 bsenOWCYDdJ6xYsWo7Dw/vewP/HlK2aVAIw5jTSV9gS1LPtvyV94KYkGE2EByCQrr+4vgKNb 72rILmRpgs19vq2Yz+vuu6TnkYiGtY+MeUS45Zbc/DKv/RMmsA9+p0cGadBVktrtzmiodd+4 u5fmZ+ecxh8a8UgmMxFO/VZOyJleKtL5fnGLGOy98KJxlDAc3zizu8oAExe0Y8wo7ssRzAQs 6VDc3ZXBvyAr7reLLaTZPNlgMdlF8LrOoIUuXxIzDzCALAoW5neRaXN69JCmjs97ixLNauGN ptHMGUHgBLoRzlmMRRIVqIHxsijql/8WCNVokqWnP9ii4TU5FYoi+G2YIu9lsaxbc9chVeI4 27L4Uz0CRUbLMeSjz2f/RqRavTnmzi9WY8JGfu27Pd3hl2UyGEJThEbPbemnRWnonWZdo8CF EAoxiYFk6893ne5YtrTZQLt9RZooSUgc9ZXFuQ77iSExazV/xuVCwA4othpNI1OWCgeGGdC6 7OZoz/6LWA+7ObJFxpx4p/L8mzsZED5OEdfPUc5oR05D87LjKxbYvjnbd9iC6Ovldn8BC392 TbiQMMW2epN05VjO0mTx1DKgjSor57FCzY77wHFNl9JAyt/f8ikapelr1bB5OtGLIGXQ0PHs HVsdymiAAIm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Ironport-sdr: Okj8wiCzcTEu+fj1Qm1+buitgvVFK97D+jPqwcb2QI9ToUnfJP61nazYcCwERzXCRHLQ2ZD4jj RMPgC/QUq4932BcDCydB1G0l2pEEauwZCppnDvMD2fZMFCDLVfpxkxkLMyfRo80CacDx1rB5VA PPyQES+07ju24tAT4QKDqfLjhNaYneTwQSKX9QHY4x5knJDA2zYJ1VKU6KJcMWGfyMEy4JEQZ6 omiTmEZdU8QiO5kLdZPqgBQp4lHnMQCZnmyQTfqPDBYnQL5WmAS1NyGZk7eln5UFA+L/EaiIRy RkU=
  • Ironport-sdr: 4WEyfk0O0jPTMYFFgevbCGKedYvRXzAb83EdsBNd6P03dlNODohcYmz8J6Jr6Bm7C2l2U+8qV1 8iatKhFqeUwRQQFzS1KB1E7swKhGOh5uWP2N1Rav8tXhW6aNPWlJX4aXK15A5J54TmvMG9YT3O G268/UfTTnftCmjyb6pVW6CxPV3je9A7fHsCYVUKh3vHJtLI/TKlMKCKNluFX+ZzA/2ONtHQs9 zeJgpIRqtLv5LeQ4y7rNZpe4CRq8HsMsInE0tcViXJ/+jHZTHoe9GyYRM9KD32v5tvQZJ+JgmC cfxW6CsyF9uYoYfqMKjtljDY
  • List-archive: <https://www.eclipse.org/mailman/private/basyx-dev/>
  • List-help: <mailto:basyx-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/basyx-dev>, <mailto:basyx-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/basyx-dev>, <mailto:basyx-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHX26Zpnqy7gY1pHky2c3J3siGI46wKkdwggAAViQCAABIYoIAAB4cAgARhOQA=
  • Thread-topic: [basyx-dev] JSON Array in submodel ignores the array and only returns the last set for idshort

Dear Adwait,

 

the AASX Package Explorer is maintained by Plattform Industrie 4.0 [1] – thus, it is not part of BaSyx. However, it is compatible with BaSyx and vice-versa.

 

Best regards,

Frank

 

[1] https://github.com/admin-shell-io/aasx-package-explorer

 

--

Frank Schnicke

Expert »Industrie 4.0 System Architectures«

Dept. Virtual Engineering

 

Fraunhofer IESE

Fraunhofer-Platz 1 | 67663 Kaiserslautern

+49 631 6800-2259

frank.schnicke@xxxxxxxxxxxxxxxxxx

www.iese.fraunhofer.de

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

25 Jahre Fraunhofer IESE  –  Engineering the Digital Future

Reisen Sie mit uns in die Vergangenheit, aber vor allem in die digitale Zukunft!

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 

Von: basyx-dev <basyx-dev-bounces@xxxxxxxxxxx> Im Auftrag von adwait churi
Gesendet: Freitag, 19. November 2021 13:54
An: basyx developer discussions <basyx-dev@xxxxxxxxxxx>
Betreff: Re: [basyx-dev] JSON Array in submodel ignores the array and only returns the last set for idshort

 

Frank,

 

Is admin-shell-io/aasx-package-explorer from Basyx or do they have different groups?

We don't want to go beyond Industry4.0 and AAS.

 

Best Regards,

Adwait

 

On Fri, 19 Nov 2021 at 17:02, <Frank.Schnicke@xxxxxxxxxxxxxxxxxx> wrote:

Dear Adwait,

 

right now, this is not explicitly supported by the AAS meta model. However, you can put a serialized JSON array as String value of a Property.

Thus, you can easily represent arrays without having to worry for IdShorts. Please note that this is not 100% conformant with the AAS metamodel.

 

Best regards,

Frank

 

--

Frank Schnicke

Expert »Industrie 4.0 System Architectures«

Dept. Virtual Engineering

 

Fraunhofer IESE

Fraunhofer-Platz 1 | 67663 Kaiserslautern

+49 631 6800-2259

frank.schnicke@xxxxxxxxxxxxxxxxxx

www.iese.fraunhofer.de

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

25 Jahre Fraunhofer IESE  –  Engineering the Digital Future

Reisen Sie mit uns in die Vergangenheit, aber vor allem in die digitale Zukunft!

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 

Von: basyx-dev <basyx-dev-bounces@xxxxxxxxxxx> Im Auftrag von adwait churi
Gesendet: Freitag, 19. November 2021 12:22
An: basyx developer discussions <basyx-dev@xxxxxxxxxxx>
Betreff: Re: [basyx-dev] JSON Array in submodel ignores the array and only returns the last set for idshort

 

Thank you Frank, I have question regarding array.

 

Could you please let know, how to achieve array where one Id can have multiple values?

 

Regards,

Adwait

On Fri, Nov 19, 2021, 2:48 PM <Frank.Schnicke@xxxxxxxxxxxxxxxxxx> wrote:

Dear Adwait,

 

your PUT Request Body is defective. You have multiple elements with the same IdShort (“Pinhole”) in the Submodel.

Additionally, you have multiple elements with the same IdShort (“Pin”) in the SubmodelElementCollections.

 

Since the IdShorts need to be unique in their respective scopes(e.g. Submodel, SubmodelElementCollection), you’re getting not your expected result.

 

Best regards,

Frank

 

--

Frank Schnicke

Expert »Industrie 4.0 System Architectures«

Dept. Virtual Engineering

 

Fraunhofer IESE

Fraunhofer-Platz 1 | 67663 Kaiserslautern

+49 631 6800-2259

frank.schnicke@xxxxxxxxxxxxxxxxxx

www.iese.fraunhofer.de

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

25 Jahre Fraunhofer IESE  –  Engineering the Digital Future

Reisen Sie mit uns in die Vergangenheit, aber vor allem in die digitale Zukunft!

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 

Von: basyx-dev <basyx-dev-bounces@xxxxxxxxxxx> Im Auftrag von adwait churi
Gesendet: Mittwoch, 17. November 2021 12:28
An: basyx developer discussions <basyx-dev@xxxxxxxxxxx>
Betreff: [basyx-dev] JSON Array in submodel ignores the array and only returns the last set for idshort

 

Hi Basyx community,

 

Good Day!

 

Is the array supported by AAS?

 

I checked adding the AllowDuplicates = true and with / without Ordered=true

After trying multiple options I found it doesn't work for arrays.

 

I checked posting over AKS ,where a submodel got created.

When performing Get, it reverted with a single set rather than array.

 

Attached herewith data files.

 

Best Regards,

Adwait

_______________________________________________
basyx-dev mailing list
basyx-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/basyx-dev

_______________________________________________
basyx-dev mailing list
basyx-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/basyx-dev


Back to the top