admin-shell-io / submodel-templates

Submodel Templates for AAS
Creative Commons Attribution 4.0 International
43 stars 16 forks source link

Add JSONs for three SubmodelTemplates #39

Open sebbader-sap opened 12 months ago

sebbader-sap commented 12 months ago

Includes:

Background: I want to make the official SubmodelTemplates available according to the AAS V3.0 API. Therefore, JSON serialisations - even though the templates are still in Metamodel version 2 - is required. This PR only includes three SubmodelTemplates as a quick proof of concept.

Example (Digital Nameplate ID encoded in base64url): GET http://admin-shell.io/api/v3.0/submodels/aHR0cHM6Ly9hZG1pbi1zaGVsbC5pby96dmVpL25hbWVwbGF0ZS8yLzAvTmFtZXBsYXRl --> works GET Accept: application/asset-administration-shell-package+xml http://admin-shell.io/api/v3.0/submodels/aHR0cHM6Ly9hZG1pbi1zaGVsbC5pby96dmVpL25hbWVwbGF0ZS8yLzAvTmFtZXBsYXRl --> works GET Accept: application/json http://admin-shell.io/api/v3.0/submodels/aHR0cHM6Ly9hZG1pbi1zaGVsbC5pby96dmVpL25hbWVwbGF0ZS8yLzAvTmFtZXBsYXRl --> will work after this PR is merged

SAidta commented 12 months ago

Thank you for the PR. This will be discussed in the IDTA Workstream AAS and TF "SMT matching metamodel"