AAS v2.0.1 vs v3.x: what changed

Moving v2 files or tools to v3 means format differences in almost every object. This page lists only differences confirmed in the official change notes and schemas of Part 1, Part 2 and Part 5.

Curriculum level: Advanced7 source sections
Browse all AAS guides

Version timeline#

The API (Part 2) was a separate document from the start. It only had release candidates V1.0RC01 to RC03; the first final release was numbered V3.0 to line up with the metamodel.

Version timeline · Version / When / publisher
VersionWhen / publisherHighlights
v2.0.1Plattform Industrie 4.0, 'Details of the AAS Part 1'Metamodel, security, data specifications and AASX in one document
v3.0Finalized January 2023, first IDTA releaseSplit into Parts 1, 3, 4, 5; major metamodel rework
v3.1May 2025AssetKind Role, hyphens in idShort, maintained openly as HTML on GitHub
v3.2July 2026AssetKind Batch, createdAt/updatedAt, DPP mapping annex

Metamodel: removed and changed#

New in v3: HasExtensions (Extension), displayName, supplementalSemanticId, Qualifier/kind and AssetKind NotApplicable. Referable/category became deprecated, and semanticId on SubmodelElements changed from mandatory to recommended.

Metamodel: removed and changed · v2.0.1 / v3.x
v2.0.1v3.x
Asset class, AAS/asset (a Reference to the Asset)AAS/assetInformation (aggregation); the asset is referenced via globalAssetId instead of an Asset object
Asset type/instance kind, assetIdentificationModel, billOfMaterialAssetInformation/assetKind, specificAssetIds (billOfMaterial removed)
ConceptDictionary, ViewRemoved (ConceptDescriptions live in the Environment)
AAS/securityRemoved (access control is in Part 4)
SubmodelElementCollection (ordered, allowDuplicates)SubmodelElementCollection + SubmodelElementList (orderRelevant)
SubmodelElement/kindRemoved (only Submodel has kind)
identification {id, idType}id (string; max 2000 in v3.0, 2048 since v3.1)
Key {type, idType, value, local}Key {type, value} + Reference/type, referredSemanticId
idShort mandatory, Referable/parentidShort optional for identifiables; for list children forbidden in v3.0, optional since v3.1; parent removed
File/mimeType, BasicEvent, Entity/assetFile/contentType, BasicEventElement (Experimental), Entity/globalAssetId and specificAssetIds
valueType: DataTypeDef (e.g. string)DataTypeDefXsd (e.g. xs:string)

Shell and asset: from asset reference to AssetInformation#

In v2 the Asset was a separate identifiable that the AAS referenced. v3 drops the Asset class and the AAS contains AssetInformation directly. globalAssetId was still a Reference up to v3.0 RC02 and became an Identifier string in the final v3.0.

Copy the code, or select it to copy manually.

JSON
{
  "v2.0.1": {
    "modelType": { "name": "AssetAdministrationShell" },
    "idShort": "Pump0001",
    "identification": { "id": "https://example.com/ids/aas/pump-0001", "idType": "IRI" },
    "asset": { "keys": [ { "type": "Asset", "local": true, "idType": "IRI",
                           "value": "https://example.com/ids/asset/pump-0001" } ] }
  },
  "v3.x": {
    "modelType": "AssetAdministrationShell",
    "idShort": "Pump0001",
    "id": "https://example.com/ids/aas/pump-0001",
    "assetInformation": { "assetKind": "Instance",
                          "globalAssetId": "https://example.com/ids/asset/pump-0001" }
  }
}

Serialization: JSON and XML#

In the official v2.0.1 JSON schema, modelType was an object {"name": ...} and the top level had a separate assets array. In v3, modelType is a string and there is no assets array. v3 also forbids empty arrays.

The XML namespace changed from http://www.admin-shell.io/aas/2/0 in v2 to https://admin-shell.io/aas/3/0; v3.1 uses /3/1 and v3.2 uses /3/2. The two objects below were validated against the v2.0.1 and the v3 JSON schema respectively.

JSON
{
  "v2.0.1": {
    "modelType": { "name": "Property" },
    "idShort": "SerialNumber",
    "kind": "Instance",
    "semanticId": { "keys": [ { "type": "GlobalReference", "local": false, "idType": "IRDI",
                                "value": "0112/2///61987#ABA951#009" } ] },
    "valueType": "string",
    "value": "P-0001"
  },
  "v3.x": {
    "modelType": "Property",
    "idShort": "SerialNumber",
    "semanticId": { "type": "ExternalReference",
                    "keys": [ { "type": "GlobalReference", "value": "0112/2///61987#ABA951#009" } ] },
    "valueType": "xs:string",
    "value": "P-0001"
  }
}

AASX (Part 5) and API (Part 2)#

  • AASX: one data file only (the same content may exist in several formats such as data.xml and data.json). One file may hold several shells; splitting a shell over files (aas-spec-split) was removed. The recommended name for the data file is data.
  • AASX: since v3.0.1 the relationship path http://admin-shell.io/aasx/relationships is recommended and the older www. path is deprecated but supported. v3.2 changed the MIME type to application/aas+zip.
  • API V3.0: service specifications and profiles, pagination for GetAll*, PUT (replace) vs PATCH (update), and the $metadata, $value, $reference and $path paths. In the current V3.2, identifiable ids in paths are base64url-encoded without padding and idShortPaths are URL-encoded.
  • API V3.1 added query and bulk operations; V3.2 added, among others, operations to fetch an AAS or submodel version for a given point in time.

Changes within v3: v3.0, v3.1, v3.2#

  • v3.1: AssetKind Role; hyphens and a two-character minimum for idShort; idShort allowed for list children; Identifier 2048 and ContentType 128 characters; File/Blob contentType, Entity entityType and RelationshipElement first/second made optional.
  • v3.2: AssetKind Batch; AdministrativeInformation createdAt and updatedAt; the infinity assumption for Range removed; AASd-137 (no AAS element keys in external references) and AASd-138 (a list in a template has exactly one element).
  • So mixing v3 minor versions can fail too: Role, Batch or hyphenated idShorts are errors under the v3.0 schema, and one-character idShorts that v3.0 allowed are errors from v3.1 on.

Migration checklist#

  • Replace identification with id, drop idType and local from keys, and add type to every Reference.
  • Move the Asset content into AssetInformation and write globalAssetId as a string.
  • Review SubmodelElementCollections that are ordered or repeat the same element; they may need to become SubmodelElementLists.
  • Remove kind from SubmodelElements, prefix valueType with xs:, and make modelType a string.
  • Re-check idShorts and enum values against the schema of your target version (v3.0, 3.1 or 3.2).

Key points#

  • The biggest changes: the Asset class is gone (AssetInformation), identifiers are strings, References were redesigned (type added, idType and local removed), and SubmodelElementList was introduced.
  • v2 and v3 differ in JSON and XML format, so v2 files need conversion; within v3, XML namespaces and allowed values also differ per minor version.
  • The API went from V1.0 release candidates to a final V3.0, with profiles, pagination and base64url-encoded ids as the basics.

Questions and answers#

Is API V1.0 compatible with V3.0?

V1.0 was never final; it existed only as release candidates. V3.0 renamed GetDescriptor to GetDescription and added pagination among other changes, so check RC-based clients against the V3.0 change notes.

What replaced Views?

The specification simply removed Views as no longer supported; it does not define a replacement class.

Where do ConceptDescriptions go without ConceptDictionaries?

Into the conceptDescriptions list of the Environment. Submodel elements point to them, or to an external dictionary, through their semanticId.

Can I load v3.0 JSON into a v3.2 tool unchanged?

The JSON format is nearly the same: the official v3.0 JSON examples (72 minimal/maximal files) also pass the v3.2 schema. Exceptions exist, though: one-character idShorts violate the rules from v3.1 on, and in v3.2 a SubmodelElementList inside a template must contain exactly one element. Re-validate against the target version's schema and constraints.

Content updated Source date not recorded

Ctrl+C: Copy selected code

Back to top

opens in a new tab