aas-core-works / aas-core-meta

Provide formalized meta-models for Asset Administration Shell (AAS).
Other
10 stars 3 forks source link

Harmonize casing with published JSON and XML schemas #177

Closed mristin closed 1 year ago

mristin commented 2 years ago

We used a hard-coded list of abbreviations in aas-core-codegen for generating the schemas. As we updated the meta-model, we mistakenly forgot to update this list. This resulted in incorrect casing in the schemas (for example, IEC is correctly cased, but Aas and Xsd not).

This separate list must be removed, as it is almost certain that we will forget to update it in the future as well.

Here is a suggested fix:

mristin commented 1 year ago

Fixed in https://github.com/aas-core-works/aas-core-codegen/tree/mristin/Change-JSON-naming-for-V3.

This version of aas-core-codegen is now used to generated JSON schema, XSD and RDF+SHACL.

The first relevant commit is: https://github.com/aas-core-works/aas-core-codegen/commit/57c08492fe4f7c8c92a33f374483681d07be3916