diff --git a/compliance-tool/basyx/aas/compliance_tool/cli.py b/compliance-tool/basyx/aas/compliance_tool/cli.py index e19e2bc57..19f0bfbc8 100644 --- a/compliance-tool/basyx/aas/compliance_tool/cli.py +++ b/compliance-tool/basyx/aas/compliance_tool/cli.py @@ -82,6 +82,7 @@ def parse_cli_arguments() -> argparse.ArgumentParser: group.add_argument('--xml', help="Use AAS xml format when checking or creating files", action='store_true') parser.add_argument('-l', '--logfile', help="Log file to be created in addition to output to stdout", default=None) parser.add_argument('--aasx', help="Create or read AASX files", action='store_true') + parser.add_argument('--dont-check-extensions', help="Don't compare Extensions", action='store_false') return parser @@ -96,6 +97,10 @@ def main(): logger.propagate = False logger.addHandler(manager) + data_checker_kwargs = { + 'check_extensions': args.dont_check_extensions + } + if args.action == 'create' or args.action == 'c': manager.add_step('Create example data') if args.aasx: @@ -126,7 +131,7 @@ def main(): cp.title = "Test Title" writer.write_aas_objects("/aasx/data.json" if args.json else "/aasx/data.xml", - [obj.identification for obj in data], data, files, + [obj.id for obj in data], data, files, write_json=args.json) writer.write_core_properties(cp) manager.set_step_status(Status.SUCCESS) @@ -154,19 +159,22 @@ def main(): compliance_tool_xml.check_deserialization(args.file_1, manager) elif args.action == 'example' or args.action == 'e': if args.aasx: - compliance_tool_aasx.check_aas_example(args.file_1, manager) + compliance_tool_aasx.check_aas_example(args.file_1, manager, **data_checker_kwargs) elif args.json: - compliance_tool_json.check_aas_example(args.file_1, manager) + compliance_tool_json.check_aas_example(args.file_1, manager, **data_checker_kwargs) elif args.xml: - compliance_tool_xml.check_aas_example(args.file_1, manager) + compliance_tool_xml.check_aas_example(args.file_1, manager, **data_checker_kwargs) elif args.action == 'files' or args.action == 'f': if args.file_2: if args.aasx: - compliance_tool_aasx.check_aasx_files_equivalence(args.file_1, args.file_2, manager) + compliance_tool_aasx.check_aasx_files_equivalence(args.file_1, args.file_2, manager, + **data_checker_kwargs) elif args.json: - compliance_tool_json.check_json_files_equivalence(args.file_1, args.file_2, manager) + compliance_tool_json.check_json_files_equivalence(args.file_1, args.file_2, manager, + **data_checker_kwargs) elif args.xml: - compliance_tool_xml.check_xml_files_equivalence(args.file_1, args.file_2, manager) + compliance_tool_xml.check_xml_files_equivalence(args.file_1, args.file_2, manager, + **data_checker_kwargs) else: parser.error("f or files requires two file path.") exit() diff --git a/compliance-tool/basyx/aas/compliance_tool/compliance_check_aasx.py b/compliance-tool/basyx/aas/compliance_tool/compliance_check_aasx.py index bda163e4b..bb3993150 100644 --- a/compliance-tool/basyx/aas/compliance_tool/compliance_check_aasx.py +++ b/compliance-tool/basyx/aas/compliance_tool/compliance_check_aasx.py @@ -158,7 +158,7 @@ def check_schema(file_path: str, state_manager: ComplianceToolStateManager) -> N reader.close() -def check_aas_example(file_path: str, state_manager: ComplianceToolStateManager) -> None: +def check_aas_example(file_path: str, state_manager: ComplianceToolStateManager, **kwargs) -> None: """ Checks if a file contains all elements of the aas example and reports any issues using the given :class:`~aas.compliance_tool.state_manager.ComplianceToolStateManager` @@ -168,6 +168,7 @@ def check_aas_example(file_path: str, state_manager: ComplianceToolStateManager) :param file_path: Given file which should be checked :param state_manager: :class:`~aas.compliance_tool.state_manager.ComplianceToolStateManager` to log the steps + :param kwargs: Additional arguments to pass to :class:`~aas.examples.data._helper.AASDataChecker` """ logger = logging.getLogger('compliance_check') logger.addHandler(state_manager) @@ -189,7 +190,7 @@ def check_aas_example(file_path: str, state_manager: ComplianceToolStateManager) state_manager.set_step_status(Status.NOT_EXECUTED) return - checker = AASDataChecker(raise_immediately=False) + checker = AASDataChecker(raise_immediately=False, **kwargs) state_manager.add_step('Check if data is equal to example data') example_data = create_example_aas_binding() @@ -243,11 +244,11 @@ def check_aas_example(file_path: str, state_manager: ComplianceToolStateManager) checker2.check(cp_new.title == cp.title, "title must be {}".format(cp.title), title=cp_new.title) # Check if file in file object is the same - list_of_id_shorts = ["ExampleSubmodelCollectionUnordered", "ExampleFile"] - obj = example_data.get_identifiable(model.Identifier("https://acplt.org/Test_Submodel", model.IdentifierType.IRI)) + list_of_id_shorts = ["ExampleSubmodelCollection", "ExampleFile"] + obj = example_data.get_identifiable("https://acplt.org/Test_Submodel") for id_short in list_of_id_shorts: obj = obj.get_referable(id_short) - obj2 = obj_store.get_identifiable(model.Identifier("https://acplt.org/Test_Submodel", model.IdentifierType.IRI)) + obj2 = obj_store.get_identifiable("https://acplt.org/Test_Submodel") for id_short in list_of_id_shorts: obj2 = obj2.get_referable(id_short) try: @@ -267,7 +268,8 @@ def check_aas_example(file_path: str, state_manager: ComplianceToolStateManager) state_manager.set_step_status(Status.SUCCESS) -def check_aasx_files_equivalence(file_path_1: str, file_path_2: str, state_manager: ComplianceToolStateManager) -> None: +def check_aasx_files_equivalence(file_path_1: str, file_path_2: str, state_manager: ComplianceToolStateManager, + **kwargs) -> None: """ Checks if two aasx files contain the same elements in any order and reports any issues using the given :class:`~aas.compliance_tool.state_manager.ComplianceToolStateManager` @@ -278,6 +280,7 @@ def check_aasx_files_equivalence(file_path_1: str, file_path_2: str, state_manag :param file_path_1: Given first file which should be checked :param file_path_2: Given second file which should be checked :param state_manager: :class:`~aas.compliance_tool.state_manager.ComplianceToolStateManager` to log the steps + :param kwargs: Additional arguments to pass to :class:`~aas.examples.data._helper.AASDataChecker` """ logger = logging.getLogger('compliance_check') logger.addHandler(state_manager) @@ -295,7 +298,7 @@ def check_aasx_files_equivalence(file_path_1: str, file_path_2: str, state_manag state_manager.set_step_status(Status.NOT_EXECUTED) return - checker = AASDataChecker(raise_immediately=False) + checker = AASDataChecker(raise_immediately=False, **kwargs) try: state_manager.add_step('Check if data in files are equal') checker.check_object_store(obj_store_1, obj_store_2) diff --git a/compliance-tool/basyx/aas/compliance_tool/compliance_check_json.py b/compliance-tool/basyx/aas/compliance_tool/compliance_check_json.py index ddc59b3ac..f83b8c773 100644 --- a/compliance-tool/basyx/aas/compliance_tool/compliance_check_json.py +++ b/compliance-tool/basyx/aas/compliance_tool/compliance_check_json.py @@ -162,7 +162,7 @@ def check_deserialization(file_path: str, state_manager: ComplianceToolStateMana return obj_store -def check_aas_example(file_path: str, state_manager: ComplianceToolStateManager) -> None: +def check_aas_example(file_path: str, state_manager: ComplianceToolStateManager, **kwargs) -> None: """ Checks if a file contains all elements of the aas example and reports any issues using the given :class:`~aas.compliance_tool.state_manager.ComplianceToolStateManager` @@ -172,6 +172,7 @@ def check_aas_example(file_path: str, state_manager: ComplianceToolStateManager) :param file_path: Given file which should be checked :param state_manager: :class:`~aas.compliance_tool.state_manager.ComplianceToolStateManager` to log the steps + :param kwargs: Additional arguments to pass to :class:`~aas.examples.data._helper.AASDataChecker` """ # create handler to get logger info logger_example = logging.getLogger(example_aas.__name__) @@ -186,7 +187,7 @@ def check_aas_example(file_path: str, state_manager: ComplianceToolStateManager) state_manager.set_step_status(Status.NOT_EXECUTED) return - checker = AASDataChecker(raise_immediately=False) + checker = AASDataChecker(raise_immediately=False, **kwargs) state_manager.add_step('Check if data is equal to example data') checker.check_object_store(obj_store, create_example()) @@ -194,7 +195,8 @@ def check_aas_example(file_path: str, state_manager: ComplianceToolStateManager) state_manager.add_log_records_from_data_checker(checker) -def check_json_files_equivalence(file_path_1: str, file_path_2: str, state_manager: ComplianceToolStateManager) -> None: +def check_json_files_equivalence(file_path_1: str, file_path_2: str, state_manager: ComplianceToolStateManager, + **kwargs) -> None: """ Checks if two json files contain the same elements in any order and reports any issues using the given :class:`~aas.compliance_tool.state_manager.ComplianceToolStateManager` @@ -205,6 +207,7 @@ def check_json_files_equivalence(file_path_1: str, file_path_2: str, state_manag :param file_path_1: Given first file which should be checked :param file_path_2: Given second file which should be checked :param state_manager: :class:`~aas.compliance_tool.state_manager.ComplianceToolStateManager` to log the steps + :param kwargs: Additional arguments to pass to :class:`~aas.examples.data._helper.AASDataChecker` """ logger = logging.getLogger('compliance_check') logger.addHandler(state_manager) @@ -220,7 +223,7 @@ def check_json_files_equivalence(file_path_1: str, file_path_2: str, state_manag state_manager.set_step_status(Status.NOT_EXECUTED) return - checker = AASDataChecker(raise_immediately=False) + checker = AASDataChecker(raise_immediately=False, **kwargs) try: state_manager.add_step('Check if data in files are equal') checker.check_object_store(obj_store_1, obj_store_2) diff --git a/compliance-tool/basyx/aas/compliance_tool/compliance_check_xml.py b/compliance-tool/basyx/aas/compliance_tool/compliance_check_xml.py index ed658c3cd..2c5fdf0e6 100644 --- a/compliance-tool/basyx/aas/compliance_tool/compliance_check_xml.py +++ b/compliance-tool/basyx/aas/compliance_tool/compliance_check_xml.py @@ -162,7 +162,7 @@ def check_deserialization(file_path: str, state_manager: ComplianceToolStateMana return obj_store -def check_aas_example(file_path: str, state_manager: ComplianceToolStateManager) -> None: +def check_aas_example(file_path: str, state_manager: ComplianceToolStateManager, **kwargs) -> None: """ Checks if a file contains all elements of the aas example and reports any issues using the given :class:`~aas.compliance_tool.state_manager.ComplianceToolStateManager` @@ -172,6 +172,7 @@ def check_aas_example(file_path: str, state_manager: ComplianceToolStateManager) :param file_path: Given file which should be checked :param state_manager: :class:`~aas.compliance_tool.state_manager.ComplianceToolStateManager` to log the steps + :param kwargs: Additional arguments to pass to :class:`~aas.examples.data._helper.AASDataChecker` """ # create handler to get logger info logger_example = logging.getLogger(example_aas.__name__) @@ -186,7 +187,7 @@ def check_aas_example(file_path: str, state_manager: ComplianceToolStateManager) state_manager.set_step_status(Status.NOT_EXECUTED) return - checker = AASDataChecker(raise_immediately=False) + checker = AASDataChecker(raise_immediately=False, **kwargs) state_manager.add_step('Check if data is equal to example data') checker.check_object_store(obj_store, create_example()) @@ -194,7 +195,8 @@ def check_aas_example(file_path: str, state_manager: ComplianceToolStateManager) state_manager.add_log_records_from_data_checker(checker) -def check_xml_files_equivalence(file_path_1: str, file_path_2: str, state_manager: ComplianceToolStateManager) -> None: +def check_xml_files_equivalence(file_path_1: str, file_path_2: str, state_manager: ComplianceToolStateManager, + **kwargs) -> None: """ Checks if two xml files contain the same elements in any order and reports any issues using the given :class:`~aas.compliance_tool.state_manager.ComplianceToolStateManager` @@ -205,6 +207,7 @@ def check_xml_files_equivalence(file_path_1: str, file_path_2: str, state_manage :param file_path_1: Given first file which should be checked :param file_path_2: Given second file which should be checked :param state_manager: :class:`~aas.compliance_tool.state_manager.ComplianceToolStateManager` to log the steps + :param kwargs: Additional arguments to pass to :class:`~aas.examples.data._helper.AASDataChecker` """ logger = logging.getLogger('compliance_check') logger.addHandler(state_manager) @@ -220,7 +223,7 @@ def check_xml_files_equivalence(file_path_1: str, file_path_2: str, state_manage state_manager.set_step_status(Status.NOT_EXECUTED) return - checker = AASDataChecker(raise_immediately=False) + checker = AASDataChecker(raise_immediately=False, **kwargs) try: state_manager.add_step('Check if data in files are equal') checker.check_object_store(obj_store_1, obj_store_2) diff --git a/compliance-tool/basyx/aas/compliance_tool/state_manager.py b/compliance-tool/basyx/aas/compliance_tool/state_manager.py index 99afe4611..a8093a4b3 100644 --- a/compliance-tool/basyx/aas/compliance_tool/state_manager.py +++ b/compliance-tool/basyx/aas/compliance_tool/state_manager.py @@ -17,6 +17,14 @@ @enum.unique class Status(enum.IntEnum): + """ + Possible Status States: + + :cvar SUCCESS: + :cvar SUCCESS_WITH_WARNINGS: + :cvar FAILED: + :cvar NOT_EXECUTED: + """ SUCCESS = 0 SUCCESS_WITH_WARNINGS = 1 FAILED = 2 @@ -25,11 +33,11 @@ class Status(enum.IntEnum): class Step: """ - A step represents a single test stage in a test protocol of a ComplianceToolStateManager + A step represents a single test stage in a test protocol of a :class:`~.ComplianceToolStateManager` :ivar name: Name of the step - :ivar ~.status: status of the step from type Status - :ivar log_list: list of LogRecords which belong to this step + :ivar ~.status: Status of the step from type Status + :ivar log_list: List of `logging.LogRecords` which belong to this step """ def __init__(self, name: str, status: Status, log_list: List[logging.LogRecord]): self.name = name diff --git a/compliance-tool/test/compliance_tool/__init__.py b/compliance-tool/test/compliance_tool/__init__.py index e69de29bb..a0c327cb0 100644 --- a/compliance-tool/test/compliance_tool/__init__.py +++ b/compliance-tool/test/compliance_tool/__init__.py @@ -0,0 +1,28 @@ +import os +import zipfile + +AASX_FILES = ("test_demo_full_example_json_aasx", + "test_demo_full_example_xml_aasx", + "test_demo_full_example_xml_wrong_attribute_aasx", + "test_empty_aasx") + + +def _zip_directory(directory_path, zip_file_path): + """Zip a directory recursively.""" + with zipfile.ZipFile(zip_file_path, 'w', zipfile.ZIP_DEFLATED) as zipf: + for root, _, files in os.walk(directory_path): + for file in files: + file_path = os.path.join(root, file) + arcname = os.path.relpath(file_path, directory_path) + zipf.write(file_path, arcname=arcname) + + +def generate_aasx_files(): + """Zip dirs and create test AASX files.""" + script_dir = os.path.dirname(__file__) + for i in AASX_FILES: + _zip_directory(os.path.join(script_dir, "files", i), + os.path.join(script_dir, "files", i.rstrip("_aasx") + ".aasx")) + + +generate_aasx_files() diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example.aasx b/compliance-tool/test/compliance_tool/files/test_demo_full_example.aasx deleted file mode 100644 index d8a676d16..000000000 Binary files a/compliance-tool/test/compliance_tool/files/test_demo_full_example.aasx and /dev/null differ diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example.json b/compliance-tool/test/compliance_tool/files/test_demo_full_example.json index 0879bce09..31fde424d 100644 --- a/compliance-tool/test/compliance_tool/files/test_demo_full_example.json +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example.json @@ -4,7 +4,7 @@ "idShort": "TestAssetAdministrationShell", "description": [ { - "language": "en-us", + "language": "en-US", "text": "An Example Asset Administration Shell for the test application" }, { @@ -12,175 +12,257 @@ "text": "Ein Beispiel-Verwaltungsschale f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "AssetAdministrationShell" - }, - "identification": { - "id": "https://acplt.org/Test_AssetAdministrationShell", - "idType": "IRI" - }, + "modelType": "AssetAdministrationShell", + "id": "https://acplt.org/Test_AssetAdministrationShell", "administration": { - "version": "0.9", - "revision": "0" + "version": "9", + "revision": "0", + "creator": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/AdministrativeInformation/Test_AssetAdministrationShell" + } + ] + }, + "templateId": "http://acplt.org/AdministrativeInformationTemplates/Test_AssetAdministrationShell" }, "derivedFrom": { + "type": "ModelReference", "keys": [ { "type": "AssetAdministrationShell", - "idType": "IRI", - "value": "https://acplt.org/TestAssetAdministrationShell2", - "local": false + "value": "https://acplt.org/TestAssetAdministrationShell2" } ] }, - "asset": { - "keys": [ + "assetInformation": { + "assetKind": "Instance", + "globalAssetId": "http://acplt.org/TestAsset/", + "specificAssetIds": [ { - "type": "Asset", - "idType": "IRI", - "value": "https://acplt.org/Test_Asset", - "local": false + "name": "TestKey", + "value": "TestValue", + "externalSubjectId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SpecificAssetId/" + } + ] + }, + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SpecificAssetId/" + } + ] + } } - ] + ], + "assetType": "http://acplt.org/TestAssetType/", + "defaultThumbnail": { + "path": "file:///path/to/thumbnail.png", + "contentType": "image/png" + } }, "submodels": [ { + "type": "ModelReference", "keys": [ { "type": "Submodel", - "idType": "IRI", - "value": "http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial", - "local": true + "value": "https://acplt.org/Test_Submodel" } - ] + ], + "referredSemanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel" + } + ] + } }, { + "type": "ModelReference", "keys": [ { "type": "Submodel", - "idType": "IRI", - "value": "https://acplt.org/Test_Submodel", - "local": true + "value": "http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial" } ] }, { + "type": "ModelReference", "keys": [ { "type": "Submodel", - "idType": "IRI", - "value": "http://acplt.org/Submodels/Assets/TestAsset/Identification", - "local": true + "value": "http://acplt.org/Submodels/Assets/TestAsset/Identification" } - ] + ], + "referredSemanticId": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/SubmodelTemplates/AssetIdentification" + } + ] + } } ], - "conceptDictionaries": [ + "embeddedDataSpecifications": [ { - "idShort": "TestConceptDictionary", - "description": [ - { - "language": "en-us", - "text": "An example concept dictionary for the test application" - }, - { - "language": "de", - "text": "Ein Beispiel-ConceptDictionary f\u00fcr eine Test-Anwendung" - } - ], - "modelType": { - "name": "ConceptDictionary" + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0" + } + ] }, - "conceptDescriptions": [ - { + "dataSpecificationContent": { + "modelType": "DataSpecificationIec61360", + "preferredName": [ + { + "language": "de", + "text": "Test Specification" + }, + { + "language": "en-US", + "text": "TestSpecification" + } + ], + "dataType": "REAL_MEASURE", + "definition": [ + { + "language": "de", + "text": "Dies ist eine Data Specification f\u00fcr Testzwecke" + }, + { + "language": "en-US", + "text": "This is a DataSpecification for testing purposes" + } + ], + "shortName": [ + { + "language": "de", + "text": "Test Spec" + }, + { + "language": "en-US", + "text": "TestSpec" + } + ], + "unit": "SpaceUnit", + "unitId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Units/SpaceUnit" + } + ] + }, + "sourceOfDefinition": "http://acplt.org/DataSpec/ExampleDef", + "symbol": "SU", + "valueFormat": "M", + "valueList": { + "valueReferencePairs": [ + { + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + } + }, + { + "value": "exampleValue2", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId2" + } + ] + } + } + ] + }, + "value": "TEST", + "valueId": { + "type": "ExternalReference", "keys": [ { - "type": "ConceptDescription", - "idType": "IRI", - "value": "https://acplt.org/Test_ConceptDescription", - "local": false + "type": "GlobalReference", + "value": "http://acplt.org/Values/TestValueId" } ] + }, + "levelType": { + "min": true, + "max": true, + "nom": false, + "typ": false } - ] + } } ] }, { - "idShort": "", - "modelType": { - "name": "AssetAdministrationShell" - }, - "identification": { - "id": "https://acplt.org/Test_AssetAdministrationShell_Mandatory", - "idType": "IRI" - }, - "asset": { - "keys": [ - { - "type": "Asset", - "idType": "IRI", - "value": "https://acplt.org/Test_Asset_Mandatory", - "local": false - } - ] + "modelType": "AssetAdministrationShell", + "id": "https://acplt.org/Test_AssetAdministrationShell_Mandatory", + "assetInformation": { + "assetKind": "Instance", + "globalAssetId": "http://acplt.org/Test_Asset_Mandatory/" }, "submodels": [ { + "type": "ModelReference", "keys": [ { "type": "Submodel", - "idType": "IRI", - "value": "https://acplt.org/Test_Submodel_Mandatory", - "local": true + "value": "https://acplt.org/Test_Submodel2_Mandatory" } ] }, { + "type": "ModelReference", "keys": [ { "type": "Submodel", - "idType": "IRI", - "value": "https://acplt.org/Test_Submodel2_Mandatory", - "local": true + "value": "https://acplt.org/Test_Submodel_Mandatory" } ] } - ], - "conceptDictionaries": [ - { - "idShort": "TestConceptDictionary", - "modelType": { - "name": "ConceptDictionary" - } - } ] }, { - "idShort": "", - "modelType": { - "name": "AssetAdministrationShell" - }, - "identification": { - "id": "https://acplt.org/Test_AssetAdministrationShell2_Mandatory", - "idType": "IRI" - }, - "asset": { - "keys": [ - { - "type": "Asset", - "idType": "IRI", - "value": "https://acplt.org/Test_Asset_Mandatory", - "local": false - } - ] + "modelType": "AssetAdministrationShell", + "id": "https://acplt.org/Test_AssetAdministrationShell2_Mandatory", + "assetInformation": { + "assetKind": "Instance", + "globalAssetId": "http://acplt.org/TestAsset2_Mandatory/" } }, { "idShort": "TestAssetAdministrationShell", "description": [ { - "language": "en-us", + "language": "en-US", "text": "An Example Asset Administration Shell for the test application" }, { @@ -188,91 +270,42 @@ "text": "Ein Beispiel-Verwaltungsschale f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "AssetAdministrationShell" - }, - "identification": { - "id": "https://acplt.org/Test_AssetAdministrationShell_Missing", - "idType": "IRI" - }, + "modelType": "AssetAdministrationShell", + "id": "https://acplt.org/Test_AssetAdministrationShell_Missing", "administration": { - "version": "0.9", + "version": "9", "revision": "0" }, - "asset": { - "keys": [ + "assetInformation": { + "assetKind": "Instance", + "globalAssetId": "http://acplt.org/Test_Asset_Missing/", + "specificAssetIds": [ { - "type": "Asset", - "idType": "IRI", - "value": "https://acplt.org/Test_Asset_Missing", - "local": false - } - ] - }, - "submodels": [ - { - "keys": [ - { - "type": "Submodel", - "idType": "IRI", - "value": "https://acplt.org/Test_Submodel_Missing", - "local": true - } - ] - } - ], - "views": [ - { - "idShort": "ExampleView", - "modelType": { - "name": "View" - }, - "containedElements": [ - { + "name": "TestKey", + "value": "TestValue", + "externalSubjectId": { + "type": "ExternalReference", "keys": [ { - "type": "Submodel", - "idType": "IRI", - "value": "https://acplt.org/Test_Submodel_Missing", - "local": false + "type": "GlobalReference", + "value": "http://acplt.org/SpecificAssetId/" } ] } - ] - }, - { - "idShort": "ExampleView2", - "modelType": { - "name": "View" } + ], + "defaultThumbnail": { + "path": "file:///TestFile.pdf", + "contentType": "application/pdf" } - ], - "conceptDictionaries": [ + }, + "submodels": [ { - "idShort": "TestConceptDictionary", - "description": [ - { - "language": "en-us", - "text": "An example concept dictionary for the test application" - }, - { - "language": "de", - "text": "Ein Beispiel-ConceptDictionary f\u00fcr eine Test-Anwendung" - } - ], - "modelType": { - "name": "ConceptDictionary" - }, - "conceptDescriptions": [ + "type": "ModelReference", + "keys": [ { - "keys": [ - { - "type": "ConceptDescription", - "idType": "IRI", - "value": "https://acplt.org/Test_ConceptDescription_Missing", - "local": false - } - ] + "type": "Submodel", + "value": "https://acplt.org/Test_Submodel_Missing" } ] } @@ -284,7 +317,7 @@ "idShort": "Identification", "description": [ { - "language": "en-us", + "language": "en-US", "text": "An example asset identification submodel for the test application" }, { @@ -292,33 +325,56 @@ "text": "Ein Beispiel-Identifikations-Submodel f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "Submodel" - }, - "identification": { - "id": "http://acplt.org/Submodels/Assets/TestAsset/Identification", - "idType": "IRI" - }, + "modelType": "Submodel", + "id": "http://acplt.org/Submodels/Assets/TestAsset/Identification", "administration": { - "version": "0.9", - "revision": "0" + "version": "9", + "revision": "0", + "creator": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/AdministrativeInformation/TestAsset/Identification" + } + ] + }, + "templateId": "http://acplt.org/AdministrativeInformationTemplates/TestAsset/Identification" }, "semanticId": { + "type": "ModelReference", "keys": [ { "type": "Submodel", - "idType": "IRI", - "value": "http://acplt.org/SubmodelTemplates/AssetIdentification", - "local": false + "value": "http://acplt.org/SubmodelTemplates/AssetIdentification" } ] }, "submodelElements": [ { + "extensions": [ + { + "value": "ExampleExtensionValue", + "refersTo": [ + { + "type": "ModelReference", + "keys": [ + { + "type": "AssetAdministrationShell", + "value": "http://acplt.org/RefersTo/ExampleRefersTo" + } + ] + } + ], + "valueType": "xs:string", + "name": "ExampleExtension" + } + ], "idShort": "ManufacturerName", + "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation." }, { @@ -326,75 +382,66 @@ "text": "Bezeichnung f\u00fcr eine nat\u00fcrliche oder juristische Person, die f\u00fcr die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "0173-1#02-AAO677#002", - "local": false + "value": "0173-1#02-AAO677#002" } ] }, "qualifiers": [ { - "modelType": { - "name": "Qualifier" - }, "value": "50", "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleValueId" } ] }, - "valueType": "int", - "type": "http://acplt.org/Qualifier/ExampleQualifier2" + "valueType": "xs:int", + "type": "http://acplt.org/Qualifier/ExampleQualifier2", + "kind": "TemplateQualifier" }, { - "modelType": { - "name": "Qualifier" - }, "value": "100", "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleValueId" } ] }, - "valueType": "int", - "type": "http://acplt.org/Qualifier/ExampleQualifier" + "valueType": "xs:int", + "type": "http://acplt.org/Qualifier/ExampleQualifier", + "kind": "ConceptQualifier" } ], "value": "ACPLT", "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleValueId" } ] }, - "valueType": "string" + "valueType": "xs:string" }, { "idShort": "InstanceId", + "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation." }, { @@ -402,31 +449,44 @@ "text": "Bezeichnung f\u00fcr eine nat\u00fcrliche oder juristische Person, die f\u00fcr die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber", - "local": false + "value": "http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber" } ] }, + "qualifiers": [ + { + "value": "2023-04-07T16:59:54.870123", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:dateTime", + "type": "http://acplt.org/Qualifier/ExampleQualifier3", + "kind": "ValueQualifier" + } + ], "value": "978-8234-234-342", "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleValueId" } ] }, - "valueType": "string" + "valueType": "xs:string" } ] }, @@ -434,7 +494,7 @@ "idShort": "BillOfMaterial", "description": [ { - "language": "en-us", + "language": "en-US", "text": "An example bill of material submodel for the test application" }, { @@ -442,32 +502,28 @@ "text": "Ein Beispiel-BillofMaterial-Submodel f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "Submodel" - }, - "identification": { - "id": "http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial", - "idType": "IRI" - }, + "modelType": "Submodel", + "id": "http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial", "administration": { - "version": "0.9" + "version": "9", + "templateId": "http://acplt.org/AdministrativeInformationTemplates/TestAsset/BillOfMaterial" }, "semanticId": { + "type": "ModelReference", "keys": [ { "type": "Submodel", - "idType": "IRI", - "value": "http://acplt.org/SubmodelTemplates/BillOfMaterial", - "local": false + "value": "http://acplt.org/SubmodelTemplates/BillOfMaterial" } ] }, "submodelElements": [ { "idShort": "ExampleEntity", + "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation." }, { @@ -475,16 +531,13 @@ "text": "Bezeichnung f\u00fcr eine nat\u00fcrliche oder juristische Person, die f\u00fcr die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist" } ], - "modelType": { - "name": "Entity" - }, + "modelType": "Entity", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber", - "local": false + "value": "http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber" } ] }, @@ -494,7 +547,7 @@ "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -502,38 +555,34 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExampleProperty" } ] }, "value": "exampleValue2", "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleValueId" } ] }, - "valueType": "string" + "valueType": "xs:string" }, { "idShort": "ExampleProperty", "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -541,64 +590,159 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExampleProperty" } ] }, - "qualifiers": [ - { - "modelType": { - "name": "Formula" + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" } - }, + ] + }, + "valueType": "xs:string", + "embeddedDataSpecifications": [ { - "modelType": { - "name": "Formula" + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0" + } + ] }, - "dependsOn": [ - { + "dataSpecificationContent": { + "modelType": "DataSpecificationIec61360", + "preferredName": [ + { + "language": "de", + "text": "Test Specification" + }, + { + "language": "en-US", + "text": "TestSpecification" + } + ], + "dataType": "REAL_MEASURE", + "definition": [ + { + "language": "de", + "text": "Dies ist eine Data Specification f\u00fcr Testzwecke" + }, + { + "language": "en-US", + "text": "This is a DataSpecification for testing purposes" + } + ], + "shortName": [ + { + "language": "de", + "text": "Test Spec" + }, + { + "language": "en-US", + "text": "TestSpec" + } + ], + "unit": "SpaceUnit", + "unitId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Units/SpaceUnit" + } + ] + }, + "sourceOfDefinition": "http://acplt.org/DataSpec/ExampleDef", + "symbol": "SU", + "valueFormat": "M", + "valueList": { + "valueReferencePairs": [ + { + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" + }, + { + "value": "exampleValue2", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId2" + } + ] + }, + "valueType": "xs:string" + } + ] + }, + "value": "TEST", + "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/Values/TestValueId" } ] + }, + "levelType": { + "min": true, + "max": true, + "nom": false, + "typ": false } - ] + } } - ], - "value": "exampleValue", - "valueId": { + ] + } + ], + "entityType": "SelfManagedEntity", + "globalAssetId": "http://acplt.org/TestAsset/", + "specificAssetIds": [ + { + "name": "TestKey", + "value": "TestValue", + "externalSubjectId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/SpecificAssetId/" } ] - }, - "valueType": "string" + } } - ], - "entityType": "CoManagedEntity" + ] }, { "idShort": "ExampleEntity2", + "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation." }, { @@ -606,30 +750,17 @@ "text": "Bezeichnung f\u00fcr eine nat\u00fcrliche oder juristische Person, die f\u00fcr die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist" } ], - "modelType": { - "name": "Entity" - }, + "modelType": "Entity", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber", - "local": false + "value": "http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber" } ] }, - "entityType": "SelfManagedEntity", - "asset": { - "keys": [ - { - "type": "Asset", - "idType": "IRI", - "value": "https://acplt.org/Test_Asset2", - "local": false - } - ] - } + "entityType": "CoManagedEntity" } ] }, @@ -637,7 +768,7 @@ "idShort": "TestSubmodel", "description": [ { - "language": "en-us", + "language": "en-US", "text": "An example submodel for the test application" }, { @@ -645,24 +776,27 @@ "text": "Ein Beispiel-Teilmodell f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "Submodel" - }, - "identification": { - "id": "https://acplt.org/Test_Submodel", - "idType": "IRI" - }, + "modelType": "Submodel", + "id": "https://acplt.org/Test_Submodel", "administration": { - "version": "0.9", - "revision": "0" + "version": "9", + "revision": "0", + "creator": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/AdministrativeInformation/Test_Submodel" + } + ] + } }, "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel", - "local": false + "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel" } ] }, @@ -672,7 +806,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example RelationshipElement object" }, { @@ -680,36 +814,39 @@ "text": "Beispiel RelationshipElement Element" } ], - "modelType": { - "name": "RelationshipElement" - }, + "modelType": "RelationshipElement", "semanticId": { + "type": "ModelReference", "keys": [ { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/RelationshipElements/ExampleRelationshipElement", - "local": false + "type": "ConceptDescription", + "value": "https://acplt.org/Test_ConceptDescription" } ] }, "first": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] }, "second": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty2", - "local": true + "value": "ExampleProperty2" } ] } @@ -719,7 +856,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example AnnotatedRelationshipElement object" }, { @@ -727,54 +864,55 @@ "text": "Beispiel AnnotatedRelationshipElement Element" } ], - "modelType": { - "name": "AnnotatedRelationshipElement" - }, + "modelType": "AnnotatedRelationshipElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement", - "local": false + "value": "http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement" } ] }, "first": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] }, "second": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty2", - "local": true + "value": "ExampleProperty2" } ] }, - "annotation": [ + "annotations": [ { "idShort": "ExampleAnnotatedProperty", - "modelType": { - "name": "Property" - }, + "category": "PARAMETER", + "modelType": "Property", "value": "exampleValue", - "valueType": "string" + "valueType": "xs:string" }, { "idShort": "ExampleAnnotatedRange", - "modelType": { - "name": "Range" - }, - "valueType": "integer", + "category": "PARAMETER", + "modelType": "Range", + "valueType": "xs:integer", "min": "1", "max": "5" } @@ -785,7 +923,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Operation object" }, { @@ -793,27 +931,34 @@ "text": "Beispiel Operation Element" } ], - "modelType": { - "name": "Operation" - }, + "modelType": "Operation", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Operations/ExampleOperation", - "local": false + "value": "http://acplt.org/Operations/ExampleOperation" } ] }, - "inputVariable": [ + "inputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyInput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -821,42 +966,49 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyInput" } ] }, + "kind": "Template", "value": "exampleValue", "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleValueId" } ] }, - "valueType": "string" + "valueType": "xs:string" } } ], - "outputVariable": [ + "outputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyOutput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -864,42 +1016,49 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyOutput" } ] }, + "kind": "Template", "value": "exampleValue", "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleValueId" } ] }, - "valueType": "string" + "valueType": "xs:string" } } ], - "inoutputVariable": [ + "inoutputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyInOutput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -907,31 +1066,28 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyInOutput" } ] }, + "kind": "Template", "value": "exampleValue", "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleValueId" } ] }, - "valueType": "string" + "valueType": "xs:string" } } ] @@ -941,7 +1097,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Capability object" }, { @@ -949,152 +1105,206 @@ "text": "Beispiel Capability Element" } ], - "modelType": { - "name": "Capability" - }, + "modelType": "Capability", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Capabilities/ExampleCapability", - "local": false + "value": "http://acplt.org/Capabilities/ExampleCapability" } ] } }, { - "idShort": "ExampleBasicEvent", + "idShort": "ExampleBasicEventElement", "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example BasicEvent object" + "language": "en-US", + "text": "Example BasicEventElement object" }, { "language": "de", - "text": "Beispiel BasicEvent Element" + "text": "Beispiel BasicEventElement Element" } ], - "modelType": { - "name": "BasicEvent" - }, + "modelType": "BasicEventElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Events/ExampleBasicEvent", - "local": false + "value": "http://acplt.org/Events/ExampleBasicEventElement" } ] }, "observed": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] - } + }, + "direction": "output", + "state": "on", + "messageTopic": "ExampleTopic", + "messageBroker": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/ExampleMessageBroker" + } + ] + }, + "lastUpdate": "2022-11-12T23:50:23.123456+00:00", + "minInterval": "PT0.000001S", + "maxInterval": "P1Y2M3DT4H5M6.123456S" }, { - "idShort": "ExampleSubmodelCollectionOrdered", + "idShort": "ExampleSubmodelCollection", "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example SubmodelElementCollectionOrdered object" + "language": "en-US", + "text": "Example SubmodelElementCollection object" }, { "language": "de", - "text": "Beispiel SubmodelElementCollectionOrdered Element" + "text": "Beispiel SubmodelElementCollection Element" } ], - "modelType": { - "name": "SubmodelElementCollection" - }, + "modelType": "SubmodelElementCollection", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionOrdered", - "local": false + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" } ] }, "value": [ { - "idShort": "ExampleProperty", - "category": "CONSTANT", + "idShort": "ExampleBlob", + "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example Property object" + "language": "en-US", + "text": "Example Blob object" }, { "language": "de", - "text": "Beispiel Property Element" + "text": "Beispiel Blob Element" } ], - "modelType": { - "name": "Property" + "modelType": "Blob", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Blobs/ExampleBlob" + } + ] }, + "contentType": "application/pdf", + "value": "AQIDBAU=" + }, + { + "idShort": "ExampleFile", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example File object" + }, + { + "language": "de", + "text": "Beispiel File Element" + } + ], + "modelType": "File", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Files/ExampleFile" } ] }, - "value": "exampleValue", - "valueId": { + "value": "/TestFile.pdf", + "contentType": "application/pdf" + }, + { + "idShort": "ExampleFileURI", + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Details of the Asset Administration Shell \u2014 An example for an external file reference" + }, + { + "language": "de", + "text": "Details of the Asset Administration Shell \u2013 Ein Beispiel f\u00fcr eine extern referenzierte Datei" + } + ], + "modelType": "File", + "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/Files/ExampleFile" } ] }, - "valueType": "string" + "value": "https://www.plattform-i40.de/PI40/Redaktion/DE/Downloads/Publikation/Details-of-the-Asset-Administration-Shell-Part1.pdf?__blob=publicationFile&v=5", + "contentType": "application/pdf" }, { "idShort": "ExampleMultiLanguageProperty", "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example MultiLanguageProperty object" }, { "language": "de", - "text": "Beispiel MulitLanguageProperty Element" + "text": "Beispiel MultiLanguageProperty Element" } ], - "modelType": { - "name": "MultiLanguageProperty" - }, + "modelType": "MultiLanguageProperty", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty", - "local": false + "value": "http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty" } - ] + ], + "referredSemanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty/Referred" + } + ] + } }, "value": [ { - "language": "en-us", + "language": "en-US", "text": "Example value of a MultiLanguageProperty element" }, { @@ -1103,12 +1313,11 @@ } ], "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleMultiLanguageValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleMultiLanguageValueId" } ] } @@ -1118,7 +1327,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Range object" }, { @@ -1126,358 +1335,476 @@ "text": "Beispiel Range Element" } ], - "modelType": { - "name": "Range" - }, + "modelType": "Range", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Ranges/ExampleRange", - "local": false + "value": "http://acplt.org/Ranges/ExampleRange" } ] }, - "valueType": "int", + "valueType": "xs:int", "min": "0", "max": "100" - } - ], - "ordered": true - }, - { - "idShort": "ExampleSubmodelCollectionUnordered", - "category": "PARAMETER", - "description": [ - { - "language": "en-us", - "text": "Example SubmodelElementCollectionUnordered object" }, { - "language": "de", - "text": "Beispiel SubmodelElementCollectionUnordered Element" - } - ], - "modelType": { - "name": "SubmodelElementCollection" - }, - "semanticId": { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionUnordered", - "local": false - } - ] - }, - "value": [ - { - "idShort": "ExampleBlob", + "idShort": "ExampleReferenceElement", "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example Blob object" + "language": "en-US", + "text": "Example Reference Element object" }, { "language": "de", - "text": "Beispiel Blob Element" + "text": "Beispiel Reference Element Element" } ], - "modelType": { - "name": "Blob" - }, + "modelType": "ReferenceElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Blobs/ExampleBlob", - "local": false + "value": "http://acplt.org/ReferenceElements/ExampleReferenceElement" } ] }, - "mimeType": "application/pdf", - "value": "AQIDBAU=" - }, - { - "idShort": "ExampleFile", - "category": "PARAMETER", - "description": [ - { - "language": "en-us", - "text": "Example File object" - }, - { - "language": "de", - "text": "Beispiel File Element" - } - ], - "modelType": { - "name": "File" - }, - "semanticId": { + "value": { + "type": "ModelReference", "keys": [ { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Files/ExampleFile", - "local": false + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" } ] - }, - "value": "/TestFile.pdf", - "mimeType": "application/pdf" + } }, { - "idShort": "ExampleFileURI", - "category": "CONSTANT", - "description": [ - { - "language": "en-us", - "text": "Details of the Asset Administration Shell\u2014An example for an external file reference" - }, - { - "language": "de", - "text": "Details of the Asset Administration Shell \u2013 Ein Beispiel f\u00fcr eine extern referenzierte Datei" - } - ], - "modelType": { - "name": "File" - }, - "semanticId": { + "idShort": "ExampleSubmodelList", + "typeValueListElement": "Property", + "valueTypeListElement": "xs:string", + "semanticIdListElement": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Files/ExampleFile", - "local": false + "value": "http://acplt.org/Properties/ExampleProperty" } ] }, - "value": "https://www.plattform-i40.de/PI40/Redaktion/DE/Downloads/Publikation/Details-of-the-Asset-Administration-Shell-Part1.pdf?__blob=publicationFile&v=5", - "mimeType": "application/pdf" - }, - { - "idShort": "ExampleReferenceElement", + "orderRelevant": true, "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example Reference Element object" + "language": "en-US", + "text": "Example SubmodelElementList object" }, { "language": "de", - "text": "Beispiel Reference Element Element" + "text": "Beispiel SubmodelElementList Element" } ], - "modelType": { - "name": "ReferenceElement" - }, + "modelType": "SubmodelElementList", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ReferenceElements/ExampleReferenceElement", - "local": false + "value": "http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList" } ] }, - "value": { - "keys": [ - { - "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true - } - ] - } - } - ], - "ordered": false - } - ] - }, - { - "idShort": "", - "modelType": { - "name": "Submodel" - }, - "identification": { - "id": "https://acplt.org/Test_Submodel_Mandatory", - "idType": "IRI" - }, - "submodelElements": [ - { - "idShort": "ExampleRelationshipElement", - "modelType": { - "name": "RelationshipElement" - }, - "first": { - "keys": [ - { - "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true - } - ] - }, - "second": { - "keys": [ - { - "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true - } - ] - } - }, - { - "idShort": "ExampleAnnotatedRelationshipElement", - "modelType": { - "name": "AnnotatedRelationshipElement" - }, - "first": { - "keys": [ - { - "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true - } - ] - }, - "second": { - "keys": [ + "value": [ + { + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty" + } + ] + }, + "supplementalSemanticIds": [ + { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty/SupplementalId1" + } + ] + }, + { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty/SupplementalId2" + } + ] + } + ], + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string", + "embeddedDataSpecifications": [ + { + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0" + } + ] + }, + "dataSpecificationContent": { + "modelType": "DataSpecificationIec61360", + "preferredName": [ + { + "language": "de", + "text": "Test Specification" + }, + { + "language": "en-US", + "text": "TestSpecification" + } + ], + "dataType": "REAL_MEASURE", + "definition": [ + { + "language": "de", + "text": "Dies ist eine Data Specification f\u00fcr Testzwecke" + }, + { + "language": "en-US", + "text": "This is a DataSpecification for testing purposes" + } + ], + "shortName": [ + { + "language": "de", + "text": "Test Spec" + }, + { + "language": "en-US", + "text": "TestSpec" + } + ], + "unit": "SpaceUnit", + "unitId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Units/SpaceUnit" + } + ] + }, + "sourceOfDefinition": "http://acplt.org/DataSpec/ExampleDef", + "symbol": "SU", + "valueFormat": "M", + "valueList": { + "valueReferencePairs": [ + { + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + } + }, + { + "value": "exampleValue2", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId2" + } + ] + } + } + ] + }, + "value": "TEST", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Values/TestValueId" + } + ] + }, + "levelType": { + "min": true, + "max": true, + "nom": false, + "typ": false + } + } + } + ] + }, + { + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty" + } + ] + }, + "supplementalSemanticIds": [ + { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty2/SupplementalId" + } + ] + } + ], + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" + } + ] + } + ] + } + ] + }, + { + "modelType": "Submodel", + "id": "https://acplt.org/Test_Submodel_Mandatory", + "submodelElements": [ + { + "idShort": "ExampleRelationshipElement", + "modelType": "RelationshipElement", + "first": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "second": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] } }, { - "idShort": "ExampleOperation", - "modelType": { - "name": "Operation" + "idShort": "ExampleAnnotatedRelationshipElement", + "modelType": "AnnotatedRelationshipElement", + "first": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "second": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] } }, + { + "idShort": "ExampleOperation", + "modelType": "Operation" + }, { "idShort": "ExampleCapability", - "modelType": { - "name": "Capability" - } + "modelType": "Capability" }, { - "idShort": "ExampleBasicEvent", - "modelType": { - "name": "BasicEvent" - }, + "idShort": "ExampleBasicEventElement", + "modelType": "BasicEventElement", "observed": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] - } - }, - { - "idShort": "ExampleSubmodelCollectionOrdered", - "modelType": { - "name": "SubmodelElementCollection" }, - "value": [ - { - "idShort": "ExampleProperty", - "modelType": { - "name": "Property" - }, - "value": null, - "valueType": "string" - }, - { - "idShort": "ExampleMultiLanguageProperty", - "modelType": { - "name": "MultiLanguageProperty" - } - }, - { - "idShort": "ExampleRange", - "modelType": { - "name": "Range" - }, - "valueType": "int", - "min": null, - "max": null - } - ], - "ordered": true + "direction": "input", + "state": "off" }, { - "idShort": "ExampleSubmodelCollectionUnordered", - "modelType": { - "name": "SubmodelElementCollection" - }, + "idShort": "ExampleSubmodelList", + "typeValueListElement": "SubmodelElementCollection", + "modelType": "SubmodelElementList", "value": [ { - "idShort": "ExampleBlob", - "modelType": { - "name": "Blob" - }, - "mimeType": "application/pdf" - }, - { - "idShort": "ExampleFile", - "modelType": { - "name": "File" - }, - "value": null, - "mimeType": "application/pdf" + "modelType": "SubmodelElementCollection", + "value": [ + { + "idShort": "ExampleBlob", + "modelType": "Blob", + "contentType": "application/pdf" + }, + { + "idShort": "ExampleFile", + "modelType": "File", + "contentType": "application/pdf" + }, + { + "idShort": "ExampleMultiLanguageProperty", + "category": "PARAMETER", + "modelType": "MultiLanguageProperty" + }, + { + "idShort": "ExampleProperty", + "category": "PARAMETER", + "modelType": "Property", + "valueType": "xs:string" + }, + { + "idShort": "ExampleRange", + "category": "PARAMETER", + "modelType": "Range", + "valueType": "xs:int" + }, + { + "idShort": "ExampleReferenceElement", + "category": "PARAMETER", + "modelType": "ReferenceElement" + } + ] }, { - "idShort": "ExampleReferenceElement", - "modelType": { - "name": "ReferenceElement" - } + "modelType": "SubmodelElementCollection" } - ], - "ordered": false + ] }, { - "idShort": "ExampleSubmodelCollectionUnordered2", - "modelType": { - "name": "SubmodelElementCollection" - }, - "ordered": false + "idShort": "ExampleSubmodelList2", + "typeValueListElement": "Capability", + "modelType": "SubmodelElementList" } ] }, { - "idShort": "", - "modelType": { - "name": "Submodel" - }, - "identification": { - "id": "https://acplt.org/Test_Submodel2_Mandatory", - "idType": "IRI" - } + "modelType": "Submodel", + "id": "https://acplt.org/Test_Submodel2_Mandatory" }, { "idShort": "TestSubmodel", "description": [ { - "language": "en-us", + "language": "en-US", "text": "An example submodel for the test application" }, { @@ -1485,24 +1812,18 @@ "text": "Ein Beispiel-Teilmodell f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "Submodel" - }, - "identification": { - "id": "https://acplt.org/Test_Submodel_Missing", - "idType": "IRI" - }, + "modelType": "Submodel", + "id": "https://acplt.org/Test_Submodel_Missing", "administration": { - "version": "0.9", + "version": "9", "revision": "0" }, "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel", - "local": false + "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel" } ] }, @@ -1512,7 +1833,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example RelationshipElement object" }, { @@ -1520,36 +1841,39 @@ "text": "Beispiel RelationshipElement Element" } ], - "modelType": { - "name": "RelationshipElement" - }, + "modelType": "RelationshipElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/RelationshipElements/ExampleRelationshipElement", - "local": false + "value": "http://acplt.org/RelationshipElements/ExampleRelationshipElement" } ] }, "first": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] }, "second": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] } @@ -1559,7 +1883,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example AnnotatedRelationshipElement object" }, { @@ -1567,56 +1891,57 @@ "text": "Beispiel AnnotatedRelationshipElement Element" } ], - "modelType": { - "name": "AnnotatedRelationshipElement" - }, + "modelType": "AnnotatedRelationshipElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement", - "local": false + "value": "http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement" } ] }, "first": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] }, "second": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] }, - "annotation": [ - { - "idShort": "ExampleAnnotatedProperty", - "modelType": { - "name": "Property" - }, - "value": "exampleValue", - "valueType": "string" - }, + "annotations": [ { "idShort": "ExampleAnnotatedRange", - "modelType": { - "name": "Range" - }, - "valueType": "integer", + "category": "PARAMETER", + "modelType": "Range", + "valueType": "xs:integer", "min": "1", "max": "5" + }, + { + "idShort": "ExampleAnnotatedProperty", + "category": "PARAMETER", + "modelType": "Property", + "value": "exampleValue", + "valueType": "xs:string" } ] }, @@ -1625,7 +1950,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Operation object" }, { @@ -1633,27 +1958,34 @@ "text": "Beispiel Operation Element" } ], - "modelType": { - "name": "Operation" - }, + "modelType": "Operation", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Operations/ExampleOperation", - "local": false + "value": "http://acplt.org/Operations/ExampleOperation" } ] }, - "inputVariable": [ + "inputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyInput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -1661,41 +1993,49 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyInput" } ] }, - "qualifiers": [ - { - "modelType": { - "name": "Qualifier" - }, - "valueType": "string", - "type": "http://acplt.org/Qualifier/ExampleQualifier" - } - ], + "kind": "Template", "value": "exampleValue", - "valueType": "string" + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" } } ], - "outputVariable": [ + "outputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyOutput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -1703,41 +2043,49 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyOutput" } ] }, - "qualifiers": [ - { - "modelType": { - "name": "Qualifier" - }, - "valueType": "string", - "type": "http://acplt.org/Qualifier/ExampleQualifier" - } - ], + "kind": "Template", "value": "exampleValue", - "valueType": "string" + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" } } ], - "inoutputVariable": [ + "inoutputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyInOutput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -1745,30 +2093,28 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyInOutput" } ] }, - "qualifiers": [ - { - "modelType": { - "name": "Qualifier" - }, - "valueType": "string", - "type": "http://acplt.org/Qualifier/ExampleQualifier" - } - ], + "kind": "Template", "value": "exampleValue", - "valueType": "string" + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" } } ] @@ -1778,7 +2124,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Capability object" }, { @@ -1786,128 +2132,151 @@ "text": "Beispiel Capability Element" } ], - "modelType": { - "name": "Capability" - }, + "modelType": "Capability", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Capabilities/ExampleCapability", - "local": false + "value": "http://acplt.org/Capabilities/ExampleCapability" } ] } }, { - "idShort": "ExampleBasicEvent", + "idShort": "ExampleBasicEventElement", "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example BasicEvent object" + "language": "en-US", + "text": "Example BasicEventElement object" }, { "language": "de", - "text": "Beispiel BasicEvent Element" + "text": "Beispiel BasicEventElement Element" } ], - "modelType": { - "name": "BasicEvent" - }, + "modelType": "BasicEventElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Events/ExampleBasicEvent", - "local": false + "value": "http://acplt.org/Events/ExampleBasicEventElement" } ] }, "observed": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] - } + }, + "direction": "output", + "state": "on", + "messageTopic": "ExampleTopic", + "messageBroker": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/ExampleMessageBroker" + } + ] + }, + "lastUpdate": "2022-11-12T23:50:23.123456+00:00", + "minInterval": "PT0.000001S", + "maxInterval": "P1Y2M3DT4H5M6.123456S" }, { - "idShort": "ExampleSubmodelCollectionOrdered", + "idShort": "ExampleSubmodelCollection", "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example SubmodelElementCollectionOrdered object" + "language": "en-US", + "text": "Example SubmodelElementCollection object" }, { "language": "de", - "text": "Beispiel SubmodelElementCollectionOrdered Element" + "text": "Beispiel SubmodelElementCollection Element" } ], - "modelType": { - "name": "SubmodelElementCollection" - }, + "modelType": "SubmodelElementCollection", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionOrdered", - "local": false + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" } ] }, "value": [ { - "idShort": "ExampleProperty", - "category": "CONSTANT", + "idShort": "ExampleBlob", + "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example Property object" + "language": "en-US", + "text": "Example Blob object" }, { "language": "de", - "text": "Beispiel Property Element" + "text": "Beispiel Blob Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Blob", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Blobs/ExampleBlob" } ] }, - "qualifiers": [ + "contentType": "application/pdf", + "value": "AQIDBAU=" + }, + { + "idShort": "ExampleFile", + "category": "PARAMETER", + "description": [ { - "modelType": { - "name": "Qualifier" - }, - "valueType": "string", - "type": "http://acplt.org/Qualifier/ExampleQualifier" + "language": "en-US", + "text": "Example File object" + }, + { + "language": "de", + "text": "Beispiel File Element" } ], - "value": "exampleValue", - "valueType": "string" + "modelType": "File", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Files/ExampleFile" + } + ] + }, + "value": "/TestFile.pdf", + "contentType": "application/pdf" }, { "idShort": "ExampleMultiLanguageProperty", "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example MultiLanguageProperty object" }, { @@ -1915,22 +2284,19 @@ "text": "Beispiel MulitLanguageProperty Element" } ], - "modelType": { - "name": "MultiLanguageProperty" - }, + "modelType": "MultiLanguageProperty", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty", - "local": false + "value": "http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty" } ] }, "value": [ { - "language": "en-us", + "language": "en-US", "text": "Example value of a MultiLanguageProperty element" }, { @@ -1940,129 +2306,70 @@ ] }, { - "idShort": "ExampleRange", - "category": "PARAMETER", + "idShort": "ExampleProperty", + "category": "CONSTANT", "description": [ { - "language": "en-us", - "text": "Example Range object" + "language": "en-US", + "text": "Example Property object" }, { "language": "de", - "text": "Beispiel Range Element" + "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Range" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Ranges/ExampleRange", - "local": false + "value": "http://acplt.org/Properties/ExampleProperty" } ] }, - "valueType": "int", - "min": "0", - "max": "100" - } - ], - "ordered": true - }, - { - "idShort": "ExampleSubmodelCollectionUnordered", - "category": "PARAMETER", - "description": [ - { - "language": "en-us", - "text": "Example SubmodelElementCollectionUnordered object" - }, - { - "language": "de", - "text": "Beispiel SubmodelElementCollectionUnordered Element" - } - ], - "modelType": { - "name": "SubmodelElementCollection" - }, - "semanticId": { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionUnordered", - "local": false - } - ] - }, - "value": [ - { - "idShort": "ExampleBlob", - "category": "PARAMETER", - "description": [ - { - "language": "en-us", - "text": "Example Blob object" - }, + "qualifiers": [ { - "language": "de", - "text": "Beispiel Blob Element" + "valueType": "xs:string", + "type": "http://acplt.org/Qualifier/ExampleQualifier" } ], - "modelType": { - "name": "Blob" - }, - "semanticId": { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Blobs/ExampleBlob", - "local": false - } - ] - }, - "mimeType": "application/pdf", - "value": "AQIDBAU=" + "value": "exampleValue", + "valueType": "xs:string" }, { - "idShort": "ExampleFile", + "idShort": "ExampleRange", "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example File object" + "language": "en-US", + "text": "Example Range object" }, { "language": "de", - "text": "Beispiel File Element" + "text": "Beispiel Range Element" } ], - "modelType": { - "name": "File" - }, + "modelType": "Range", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Files/ExampleFile", - "local": false + "value": "http://acplt.org/Ranges/ExampleRange" } ] }, - "value": "/TestFile.pdf", - "mimeType": "application/pdf" + "valueType": "xs:int", + "min": "0", + "max": "100" }, { "idShort": "ExampleReferenceElement", "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Reference Element object" }, { @@ -2070,32 +2377,31 @@ "text": "Beispiel Reference Element Element" } ], - "modelType": { - "name": "ReferenceElement" - }, + "modelType": "ReferenceElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ReferenceElements/ExampleReferenceElement", - "local": false + "value": "http://acplt.org/ReferenceElements/ExampleReferenceElement" } ] }, "value": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] } } - ], - "ordered": false + ] } ] }, @@ -2103,7 +2409,7 @@ "idShort": "TestSubmodel", "description": [ { - "language": "en-us", + "language": "en-US", "text": "An example submodel for the test application" }, { @@ -2111,24 +2417,18 @@ "text": "Ein Beispiel-Teilmodell f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "Submodel" - }, - "identification": { - "id": "https://acplt.org/Test_Submodel_Template", - "idType": "IRI" - }, + "modelType": "Submodel", + "id": "https://acplt.org/Test_Submodel_Template", "administration": { - "version": "0.9", + "version": "9", "revision": "0" }, "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel", - "local": false + "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel" } ] }, @@ -2139,7 +2439,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example RelationshipElement object" }, { @@ -2147,37 +2447,40 @@ "text": "Beispiel RelationshipElement Element" } ], - "modelType": { - "name": "RelationshipElement" - }, + "modelType": "RelationshipElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/RelationshipElements/ExampleRelationshipElement", - "local": false + "value": "http://acplt.org/RelationshipElements/ExampleRelationshipElement" } ] }, "kind": "Template", "first": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] }, "second": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] } @@ -2187,7 +2490,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example AnnotatedRelationshipElement object" }, { @@ -2195,37 +2498,40 @@ "text": "Beispiel AnnotatedRelationshipElement Element" } ], - "modelType": { - "name": "AnnotatedRelationshipElement" - }, + "modelType": "AnnotatedRelationshipElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement", - "local": false + "value": "http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement" } ] }, "kind": "Template", "first": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] }, "second": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] } @@ -2235,7 +2541,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Operation object" }, { @@ -2243,28 +2549,25 @@ "text": "Beispiel Operation Element" } ], - "modelType": { - "name": "Operation" - }, + "modelType": "Operation", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Operations/ExampleOperation", - "local": false + "value": "http://acplt.org/Operations/ExampleOperation" } ] }, "kind": "Template", - "inputVariable": [ + "inputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyInput", "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -2272,33 +2575,29 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyInput" } ] }, "kind": "Template", - "value": null, - "valueType": "string" + "valueType": "xs:string" } } ], - "outputVariable": [ + "outputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyOutput", "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -2306,33 +2605,29 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyOutput" } ] }, "kind": "Template", - "value": null, - "valueType": "string" + "valueType": "xs:string" } } ], - "inoutputVariable": [ + "inoutputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyInOutput", "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -2340,22 +2635,18 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyInOutput" } ] }, "kind": "Template", - "value": null, - "valueType": "string" + "valueType": "xs:string" } } ] @@ -2365,7 +2656,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Capability object" }, { @@ -2373,82 +2664,126 @@ "text": "Beispiel Capability Element" } ], - "modelType": { - "name": "Capability" - }, + "modelType": "Capability", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Capabilities/ExampleCapability", - "local": false + "value": "http://acplt.org/Capabilities/ExampleCapability" } ] }, "kind": "Template" }, { - "idShort": "ExampleBasicEvent", + "idShort": "ExampleBasicEventElement", "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example BasicEvent object" + "language": "en-US", + "text": "Example BasicEventElement object" }, { "language": "de", - "text": "Beispiel BasicEvent Element" + "text": "Beispiel BasicEventElement Element" } ], - "modelType": { - "name": "BasicEvent" - }, + "modelType": "BasicEventElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Events/ExampleBasicEvent", - "local": false + "value": "http://acplt.org/Events/ExampleBasicEventElement" } ] }, "kind": "Template", "observed": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] - } + }, + "direction": "output", + "state": "on", + "messageTopic": "ExampleTopic", + "messageBroker": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/ExampleMessageBroker" + } + ] + }, + "lastUpdate": "2022-11-12T23:50:23.123456+00:00", + "minInterval": "PT0.000001S", + "maxInterval": "P1Y2M3DT4H5M6.123456S" }, { - "idShort": "ExampleSubmodelCollectionOrdered", + "idShort": "ExampleSubmodelList", + "typeValueListElement": "SubmodelElementCollection", + "semanticIdListElement": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" + } + ] + }, + "orderRelevant": true, "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example SubmodelElementCollectionOrdered object" + "language": "en-US", + "text": "Example SubmodelElementList object" }, { "language": "de", - "text": "Beispiel SubmodelElementCollectionOrdered Element" + "text": "Beispiel SubmodelElementList Element" } ], - "modelType": { - "name": "SubmodelElementCollection" + "modelType": "SubmodelElementList", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList" + } + ] }, + "kind": "Template", + "value": [ + { + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example SubmodelElementCollection object" + }, + { + "language": "de", + "text": "Beispiel SubmodelElementCollection Element" + } + ], + "modelType": "SubmodelElementCollection", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionOrdered", - "local": false + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" } ] }, @@ -2459,7 +2794,7 @@ "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -2467,29 +2802,25 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExampleProperty" } ] }, "kind": "Template", - "value": null, - "valueType": "string" + "valueType": "xs:string" }, { "idShort": "ExampleMultiLanguageProperty", "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example MultiLanguageProperty object" }, { @@ -2497,16 +2828,13 @@ "text": "Beispiel MulitLanguageProperty Element" } ], - "modelType": { - "name": "MultiLanguageProperty" - }, + "modelType": "MultiLanguageProperty", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty", - "local": false + "value": "http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty" } ] }, @@ -2517,7 +2845,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Range object" }, { @@ -2525,22 +2853,18 @@ "text": "Beispiel Range Element" } ], - "modelType": { - "name": "Range" - }, + "modelType": "Range", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Ranges/ExampleRange", - "local": false + "value": "http://acplt.org/Ranges/ExampleRange" } ] }, "kind": "Template", - "valueType": "int", - "min": null, + "valueType": "xs:int", "max": "100" }, { @@ -2548,7 +2872,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Range object" }, { @@ -2556,61 +2880,26 @@ "text": "Beispiel Range Element" } ], - "modelType": { - "name": "Range" - }, + "modelType": "Range", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Ranges/ExampleRange", - "local": false + "value": "http://acplt.org/Ranges/ExampleRange" } ] }, "kind": "Template", - "valueType": "int", - "min": "0", - "max": null - } - ], - "ordered": true - }, - { - "idShort": "ExampleSubmodelCollectionUnordered", - "category": "PARAMETER", - "description": [ - { - "language": "en-us", - "text": "Example SubmodelElementCollectionUnordered object" + "valueType": "xs:int", + "min": "0" }, - { - "language": "de", - "text": "Beispiel SubmodelElementCollectionUnordered Element" - } - ], - "modelType": { - "name": "SubmodelElementCollection" - }, - "semanticId": { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionUnordered", - "local": false - } - ] - }, - "kind": "Template", - "value": [ { "idShort": "ExampleBlob", "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Blob object" }, { @@ -2618,28 +2907,25 @@ "text": "Beispiel Blob Element" } ], - "modelType": { - "name": "Blob" - }, + "modelType": "Blob", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Blobs/ExampleBlob", - "local": false + "value": "http://acplt.org/Blobs/ExampleBlob" } ] }, "kind": "Template", - "mimeType": "application/pdf" + "contentType": "application/pdf" }, { "idShort": "ExampleFile", "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example File object" }, { @@ -2647,29 +2933,25 @@ "text": "Beispiel File Element" } ], - "modelType": { - "name": "File" - }, + "modelType": "File", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Files/ExampleFile", - "local": false + "value": "http://acplt.org/Files/ExampleFile" } ] }, "kind": "Template", - "value": null, - "mimeType": "application/pdf" + "contentType": "application/pdf" }, { "idShort": "ExampleReferenceElement", "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Reference Element object" }, { @@ -2677,134 +2959,83 @@ "text": "Beispiel Reference Element Element" } ], - "modelType": { - "name": "ReferenceElement" - }, + "modelType": "ReferenceElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ReferenceElements/ExampleReferenceElement", - "local": false + "value": "http://acplt.org/ReferenceElements/ExampleReferenceElement" } ] }, "kind": "Template" } - ], - "ordered": false + ] }, - { - "idShort": "ExampleSubmodelCollectionUnordered2", + { "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example SubmodelElementCollectionUnordered object" + "language": "en-US", + "text": "Example SubmodelElementCollection object" }, { "language": "de", - "text": "Beispiel SubmodelElementCollectionUnordered Element" + "text": "Beispiel SubmodelElementCollection Element" } ], - "modelType": { - "name": "SubmodelElementCollection" - }, + "modelType": "SubmodelElementCollection", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionUnordered", - "local": false + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" } ] }, - "kind": "Template", - "ordered": false - } - ] - } - ], - "assets": [ - { - "idShort": "Test_Asset", - "description": [ - { - "language": "en-us", - "text": "An example asset for the test application" - }, - { - "language": "de", - "text": "Ein Beispiel-Asset f\u00fcr eine Test-Anwendung" + "kind": "Template" } - ], - "modelType": { - "name": "Asset" - }, - "identification": { - "id": "https://acplt.org/Test_Asset", - "idType": "IRI" - }, - "administration": { - "version": "0.9", - "revision": "0" - }, - "kind": "Instance", - "assetIdentificationModel": { - "keys": [ - { - "type": "Submodel", - "idType": "IRI", - "value": "http://acplt.org/Submodels/Assets/TestAsset/Identification", - "local": false - } - ] - }, - "billOfMaterial": { - "keys": [ - { - "type": "Submodel", - "idType": "IRI", - "value": "http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial", - "local": false - } - ] - } - }, - { - "idShort": "", - "modelType": { - "name": "Asset" - }, - "identification": { - "id": "https://acplt.org/Test_Asset_Mandatory", - "idType": "IRI" - }, - "kind": "Instance" - }, - { - "idShort": "Test_Asset", - "description": [ - { - "language": "en-us", - "text": "An example asset for the test application" + ] }, { - "language": "de", - "text": "Ein Beispiel-Asset f\u00fcr eine Test-Anwendung" + "idShort": "ExampleSubmodelList2", + "typeValueListElement": "Capability", + "semanticIdListElement": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" + } + ] + }, + "orderRelevant": true, + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example SubmodelElementList object" + }, + { + "language": "de", + "text": "Beispiel SubmodelElementList Element" + } + ], + "modelType": "SubmodelElementList", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList" + } + ] + }, + "kind": "Template" } - ], - "modelType": { - "name": "Asset" - }, - "identification": { - "id": "https://acplt.org/Test_Asset_Missing", - "idType": "IRI" - }, - "administration": {}, - "kind": "Instance" + ] } ], "conceptDescriptions": [ @@ -2812,195 +3043,168 @@ "idShort": "TestConceptDescription", "description": [ { - "language": "en-us", - "text": "An example concept description for the test application" + "language": "en-US", + "text": "An example concept description for the test application" }, { "language": "de", "text": "Ein Beispiel-ConceptDescription f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "ConceptDescription" - }, - "identification": { - "id": "https://acplt.org/Test_ConceptDescription", - "idType": "IRI" - }, + "modelType": "ConceptDescription", + "id": "https://acplt.org/Test_ConceptDescription", "administration": { - "version": "0.9", - "revision": "0" + "version": "9", + "revision": "0", + "creator": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/AdministrativeInformation/Test_ConceptDescription" + } + ] + }, + "templateId": "http://acplt.org/AdministrativeInformationTemplates/Test_ConceptDescription", + "embeddedDataSpecifications": [ + { + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0" + } + ] + }, + "dataSpecificationContent": { + "modelType": "DataSpecificationIec61360", + "preferredName": [ + { + "language": "de", + "text": "Test Specification" + }, + { + "language": "en-US", + "text": "TestSpecification" + } + ], + "dataType": "REAL_MEASURE", + "definition": [ + { + "language": "de", + "text": "Dies ist eine Data Specification f\u00fcr Testzwecke" + }, + { + "language": "en-US", + "text": "This is a DataSpecification for testing purposes" + } + ], + "shortName": [ + { + "language": "de", + "text": "Test Spec" + }, + { + "language": "en-US", + "text": "TestSpec" + } + ], + "unit": "SpaceUnit", + "unitId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Units/SpaceUnit" + } + ] + }, + "sourceOfDefinition": "http://acplt.org/DataSpec/ExampleDef", + "symbol": "SU", + "valueFormat": "M", + "valueList": { + "valueReferencePairs": [ + { + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + } + }, + { + "value": "exampleValue2", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId2" + } + ] + } + } + ] + }, + "value": "TEST", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Values/TestValueId" + } + ] + }, + "levelType": { + "min": true, + "max": true, + "nom": false, + "typ": false + } + } + } + ] }, "isCaseOf": [ { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/DataSpecifications/ConceptDescriptions/TestConceptDescription", - "local": false + "value": "http://acplt.org/DataSpecifications/ConceptDescriptions/TestConceptDescription" } ] } ] }, { - "idShort": "", - "modelType": { - "name": "ConceptDescription" - }, - "identification": { - "id": "https://acplt.org/Test_ConceptDescription_Mandatory", - "idType": "IRI" - } + "modelType": "ConceptDescription", + "id": "https://acplt.org/Test_ConceptDescription_Mandatory" }, { "idShort": "TestConceptDescription", "description": [ { - "language": "en-us", - "text": "An example concept description for the test application" + "language": "en-US", + "text": "An example concept description for the test application" }, { "language": "de", "text": "Ein Beispiel-ConceptDescription f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "ConceptDescription" - }, - "identification": { - "id": "https://acplt.org/Test_ConceptDescription_Missing", - "idType": "IRI" - }, + "modelType": "ConceptDescription", + "id": "https://acplt.org/Test_ConceptDescription_Missing", "administration": { - "version": "0.9", + "version": "9", "revision": "0" } - }, - { - "idShort": "TestSpec_01", - "modelType": { - "name": "ConceptDescription" - }, - "identification": { - "id": "http://acplt.org/DataSpecifciations/Example/Identification", - "idType": "IRI" - }, - "administration": { - "version": "0.9", - "revision": "0" - }, - "isCaseOf": [ - { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ReferenceElements/ConceptDescriptionX", - "local": false - } - ] - } - ], - "embeddedDataSpecifications": [ - { - "dataSpecification": { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/2/0", - "local": false - } - ] - }, - "dataSpecificationContent": { - "preferredName": [ - { - "language": "de", - "text": "Test Specification" - }, - { - "language": "en-us", - "text": "TestSpecification" - } - ], - "dataType": "REAL_MEASURE", - "definition": [ - { - "language": "de", - "text": "Dies ist eine Data Specification f\u00fcr Testzwecke" - }, - { - "language": "en-us", - "text": "This is a DataSpecification for testing purposes" - } - ], - "shortName": [ - { - "language": "de", - "text": "Test Spec" - }, - { - "language": "en-us", - "text": "TestSpec" - } - ], - "unit": "SpaceUnit", - "unitId": { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Units/SpaceUnit", - "local": false - } - ] - }, - "sourceOfDefinition": "http://acplt.org/DataSpec/ExampleDef", - "symbol": "SU", - "valueFormat": "string", - "valueList": { - "valueReferencePairTypes": [ - { - "value": "exampleValue2", - "valueId": { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId2", - "local": false - } - ] - }, - "valueType": "string" - }, - { - "value": "exampleValue", - "valueId": { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false - } - ] - }, - "valueType": "string" - } - ] - }, - "value": "TEST", - "levelType": [ - "Min", - "Max" - ] - } - } - ] } ] -} +} \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example.xml b/compliance-tool/test/compliance_tool/files/test_demo_full_example.xml index fdfdb1075..39fae5599 100644 --- a/compliance-tool/test/compliance_tool/files/test_demo_full_example.xml +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example.xml @@ -1,1684 +1,2832 @@ - + TestAssetAdministrationShell - An Example Asset Administration Shell for the test application - Ein Beispiel-Verwaltungsschale für eine Test-Anwendung + + en-US + An Example Asset Administration Shell for the test application + + + de + Ein Beispiel-Verwaltungsschale für eine Test-Anwendung + - https://acplt.org/Test_AssetAdministrationShell - 0.9 + 9 0 + + ExternalReference + + + GlobalReference + http://acplt.org/AdministrativeInformation/Test_AssetAdministrationShell + + + + http://acplt.org/AdministrativeInformationTemplates/Test_AssetAdministrationShell + https://acplt.org/Test_AssetAdministrationShell + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0 + + + + + + + + de + Test Specification + + + en-US + TestSpecification + + + + + de + Test Spec + + + en-US + TestSpec + + + SpaceUnit + + ExternalReference + + + GlobalReference + http://acplt.org/Units/SpaceUnit + + + + http://acplt.org/DataSpec/ExampleDef + SU + REAL_MEASURE + + + de + Dies ist eine Data Specification für Testzwecke + + + en-US + This is a DataSpecification for testing purposes + + + M + + + + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + exampleValue2 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId2 + + + + + + + TEST + + true + false + false + true + + + + + + ModelReference - https://acplt.org/TestAssetAdministrationShell2 + + AssetAdministrationShell + https://acplt.org/TestAssetAdministrationShell2 + - - - https://acplt.org/Test_Asset - - - - + + Instance + http://acplt.org/TestAsset/ + + + + ExternalReference + + + GlobalReference + http://acplt.org/SpecificAssetId/ + + + + TestKey + TestValue + + ExternalReference + + + GlobalReference + http://acplt.org/SpecificAssetId/ + + + + + + http://acplt.org/TestAssetType/ + + file:///path/to/thumbnail.png + image/png + + + + + ModelReference + + ModelReference + + + Submodel + http://acplt.org/SubmodelTemplates/AssetIdentification + + + - https://acplt.org/Test_Submodel + + Submodel + http://acplt.org/Submodels/Assets/TestAsset/Identification + - - + + + ModelReference + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelTemplates/ExampleSubmodel + + + - http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial + + Submodel + https://acplt.org/Test_Submodel + - - + + + ModelReference - http://acplt.org/Submodels/Assets/TestAsset/Identification + + Submodel + http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial + - - - - - TestConceptDictionary - - An example concept dictionary for the test application - Ein Beispiel-ConceptDictionary für eine Test-Anwendung - - - - - https://acplt.org/Test_ConceptDescription - - - - - + + - - https://acplt.org/Test_AssetAdministrationShell_Mandatory - - - https://acplt.org/Test_Asset_Mandatory - - - - + https://acplt.org/Test_AssetAdministrationShell_Mandatory + + Instance + http://acplt.org/Test_Asset_Mandatory/ + + + + ModelReference - https://acplt.org/Test_Submodel2_Mandatory + + Submodel + https://acplt.org/Test_Submodel2_Mandatory + - - + + + ModelReference - https://acplt.org/Test_Submodel_Mandatory + + Submodel + https://acplt.org/Test_Submodel_Mandatory + - - - - - TestConceptDictionary - - - + + - - https://acplt.org/Test_AssetAdministrationShell2_Mandatory - - - https://acplt.org/Test_Asset_Mandatory - - + https://acplt.org/Test_AssetAdministrationShell2_Mandatory + + Instance + http://acplt.org/TestAsset2_Mandatory/ + TestAssetAdministrationShell - An Example Asset Administration Shell for the test application - Ein Beispiel-Verwaltungsschale für eine Test-Anwendung + + en-US + An Example Asset Administration Shell for the test application + + + de + Ein Beispiel-Verwaltungsschale für eine Test-Anwendung + - https://acplt.org/Test_AssetAdministrationShell_Missing - 0.9 + 9 0 - - - https://acplt.org/Test_Asset_Missing - - - - - - https://acplt.org/Test_Submodel_Missing - - - - - - ExampleView - - - - https://acplt.org/Test_Submodel_Missing - - - - - - ExampleView2 - - - - - - TestConceptDictionary - - An example concept dictionary for the test application - Ein Beispiel-ConceptDictionary für eine Test-Anwendung - - - + https://acplt.org/Test_AssetAdministrationShell_Missing + + Instance + http://acplt.org/Test_Asset_Missing/ + + + TestKey + TestValue + + ExternalReference - https://acplt.org/Test_ConceptDescription_Missing + + GlobalReference + http://acplt.org/SpecificAssetId/ + - - - - + + + + + file:///TestFile.pdf + application/pdf + + + + + ModelReference + + + Submodel + https://acplt.org/Test_Submodel_Missing + + + + - - - Test_Asset - - An example asset for the test application - Ein Beispiel-Asset für eine Test-Anwendung - - https://acplt.org/Test_Asset - - 0.9 - 0 - - - - http://acplt.org/Submodels/Assets/TestAsset/Identification - - - - - http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial - - - Instance - - - - https://acplt.org/Test_Asset_Mandatory - Instance - - - Test_Asset - - An example asset for the test application - Ein Beispiel-Asset für eine Test-Anwendung - - https://acplt.org/Test_Asset_Missing - - Instance - - Identification - An example asset identification submodel for the test application - Ein Beispiel-Identifikations-Submodel für eine Test-Anwendung + + en-US + An example asset identification submodel for the test application + + + de + Ein Beispiel-Identifikations-Submodel für eine Test-Anwendung + - http://acplt.org/Submodels/Assets/TestAsset/Identification - 0.9 + 9 0 + + ExternalReference + + + GlobalReference + http://acplt.org/AdministrativeInformation/TestAsset/Identification + + + + http://acplt.org/AdministrativeInformationTemplates/TestAsset/Identification + http://acplt.org/Submodels/Assets/TestAsset/Identification Instance + ModelReference - http://acplt.org/SubmodelTemplates/AssetIdentification + + Submodel + http://acplt.org/SubmodelTemplates/AssetIdentification + - - - ManufacturerName - - Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. - Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist - - Instance - - - 0173-1#02-AAO677#002 - - - - - http://acplt.org/Qualifier/ExampleQualifier - int - + + + + ExampleExtension + xs:string + ExampleExtensionValue + + + ModelReference - http://acplt.org/ValueId/ExampleValueId + + AssetAdministrationShell + http://acplt.org/RefersTo/ExampleRefersTo + - - 100 - + + + + + PARAMETER + ManufacturerName + + + en-US + Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. + + + de + Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist + + + + ExternalReference + + + GlobalReference + 0173-1#02-AAO677#002 + + + + + + ConceptQualifier + http://acplt.org/Qualifier/ExampleQualifier + xs:int + 100 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + - - http://acplt.org/Qualifier/ExampleQualifier2 - int - - - http://acplt.org/ValueId/ExampleValueId - - - 50 - + TemplateQualifier + http://acplt.org/Qualifier/ExampleQualifier2 + xs:int + 50 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + - string - ACPLT - - - http://acplt.org/ValueId/ExampleValueId - - - - - - - InstanceId - - Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. - Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist - - Instance - - - http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber - - - string - 978-8234-234-342 - - - http://acplt.org/ValueId/ExampleValueId - - - - + + xs:string + ACPLT + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + PARAMETER + InstanceId + + + en-US + Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. + + + de + Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist + + + + ExternalReference + + + GlobalReference + http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber + + + + + + ValueQualifier + http://acplt.org/Qualifier/ExampleQualifier3 + xs:dateTime + 2023-04-07T16:59:54.870123 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + xs:string + 978-8234-234-342 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + BillOfMaterial - An example bill of material submodel for the test application - Ein Beispiel-BillofMaterial-Submodel für eine Test-Anwendung + + en-US + An example bill of material submodel for the test application + + + de + Ein Beispiel-BillofMaterial-Submodel für eine Test-Anwendung + - http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial - 0.9 + 9 + http://acplt.org/AdministrativeInformationTemplates/TestAsset/BillOfMaterial + http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial Instance + ModelReference - http://acplt.org/SubmodelTemplates/BillOfMaterial + + Submodel + http://acplt.org/SubmodelTemplates/BillOfMaterial + - - - ExampleEntity - - Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. - Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist - - Instance - - - http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber - - - - - - ExampleProperty2 - CONSTANT - - Example Property object - Beispiel Property Element - - Instance - - - http://acplt.org/Properties/ExampleProperty - - - string - exampleValue2 - - - http://acplt.org/ValueId/ExampleValueId - - - - - - - ExampleProperty - CONSTANT - - Example Property object - Beispiel Property Element - - Instance - - - http://acplt.org/Properties/ExampleProperty - - - - - - - - - - - http://acplt.org/ValueId/ExampleValueId - - - - - - string - exampleValue - - - http://acplt.org/ValueId/ExampleValueId - - - - - - CoManagedEntity - - - - - ExampleEntity2 - - Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. - Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist - - Instance - - - http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber - - - - SelfManagedEntity - - - https://acplt.org/Test_Asset2 - - - - + + PARAMETER + ExampleEntity + + + en-US + Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. + + + de + Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist + + + + ExternalReference + + + GlobalReference + http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber + + + + + + CONSTANT + ExampleProperty2 + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + xs:string + exampleValue2 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + CONSTANT + ExampleProperty + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + SelfManagedEntity + http://acplt.org/TestAsset/ + + + TestKey + TestValue + + ExternalReference + + + GlobalReference + http://acplt.org/SpecificAssetId/ + + + + + + + + PARAMETER + ExampleEntity2 + + + en-US + Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. + + + de + Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist + + + + ExternalReference + + + GlobalReference + http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber + + + + CoManagedEntity + TestSubmodel - An example submodel for the test application - Ein Beispiel-Teilmodell für eine Test-Anwendung + + en-US + An example submodel for the test application + + + de + Ein Beispiel-Teilmodell für eine Test-Anwendung + - https://acplt.org/Test_Submodel - 0.9 + 9 0 + + ExternalReference + + + GlobalReference + http://acplt.org/AdministrativeInformation/Test_Submodel + + + + https://acplt.org/Test_Submodel Instance + ExternalReference - http://acplt.org/SubmodelTemplates/ExampleSubmodel + + GlobalReference + http://acplt.org/SubmodelTemplates/ExampleSubmodel + - - - ExampleRelationshipElement - PARAMETER - - Example RelationshipElement object - Beispiel RelationshipElement Element - - Instance - - - http://acplt.org/RelationshipElements/ExampleRelationshipElement - - - - - ExampleProperty - - - - - ExampleProperty2 - - - - - - - ExampleAnnotatedRelationshipElement - PARAMETER - - Example AnnotatedRelationshipElement object - Beispiel AnnotatedRelationshipElement Element - - Instance - - - http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement - - - - - ExampleProperty - - - - - ExampleProperty2 - - - - - - ExampleAnnotatedProperty - Instance - string - exampleValue - - - - - ExampleAnnotatedRange - Instance - integer - 1 - 5 - - - - - - - - ExampleOperation - PARAMETER - - Example Operation object - Beispiel Operation Element - - Instance - - - http://acplt.org/Operations/ExampleOperation - - - + + PARAMETER + ExampleRelationshipElement + + + en-US + Example RelationshipElement object + + + de + Beispiel RelationshipElement Element + + + + ModelReference + + + ConceptDescription + https://acplt.org/Test_ConceptDescription + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty2 + + + + + + PARAMETER + ExampleAnnotatedRelationshipElement + + + en-US + Example AnnotatedRelationshipElement object + + + de + Beispiel AnnotatedRelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty2 + + + + + + PARAMETER + ExampleAnnotatedProperty + xs:string + exampleValue + + + PARAMETER + ExampleAnnotatedRange + xs:integer + 1 + 5 + + + + + PARAMETER + ExampleOperation + + + en-US + Example Operation object + + + de + Beispiel Operation Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Operations/ExampleOperation + + + + + - ExampleProperty CONSTANT + ExamplePropertyInput + + + en-US + ExampleProperty + + + de + BeispielProperty + + - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Instance + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInput + - string + xs:string exampleValue + ExternalReference - http://acplt.org/ValueId/ExampleValueId + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + - - + + + + - ExampleProperty CONSTANT + ExamplePropertyOutput + + + en-US + ExampleProperty + + + de + BeispielProperty + + - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Instance + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyOutput + - string + xs:string exampleValue + ExternalReference - http://acplt.org/ValueId/ExampleValueId + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + - - + + + + - ExampleProperty CONSTANT + ExamplePropertyInOutput + + + en-US + ExampleProperty + + + de + BeispielProperty + + - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Instance + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInOutput + - string + xs:string exampleValue + ExternalReference - http://acplt.org/ValueId/ExampleValueId + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + - - - - - - ExampleCapability - PARAMETER - - Example Capability object - Beispiel Capability Element - - Instance - - - http://acplt.org/Capabilities/ExampleCapability - - - - - - - ExampleBasicEvent - PARAMETER - - Example BasicEvent object - Beispiel BasicEvent Element - - Instance - - - http://acplt.org/Events/ExampleBasicEvent - - - - - ExampleProperty - - - - - - - ExampleSubmodelCollectionOrdered - PARAMETER - - Example SubmodelElementCollectionOrdered object - Beispiel SubmodelElementCollectionOrdered Element - - Instance - - - http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionOrdered - - - - + + + + + PARAMETER + ExampleCapability + + + en-US + Example Capability object + + + de + Beispiel Capability Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Capabilities/ExampleCapability + + + + + + PARAMETER + ExampleBasicEventElement + + + en-US + Example BasicEventElement object + + + de + Beispiel BasicEventElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Events/ExampleBasicEventElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + output + on + ExampleTopic + + ModelReference + + + Submodel + http://acplt.org/ExampleMessageBroker + + + + 2022-11-12T23:50:23.123456+00:00 + PT0.000001S + P1Y2M3DT4H5M6.123456S + + + PARAMETER + ExampleSubmodelCollection + + + en-US + Example SubmodelElementCollection object + + + de + Beispiel SubmodelElementCollection Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + + + PARAMETER + ExampleBlob + + + en-US + Example Blob object + + + de + Beispiel Blob Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Blobs/ExampleBlob + + + + AQIDBAU= + application/pdf + + + PARAMETER + ExampleFile + + + en-US + Example File object + + + de + Beispiel File Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Files/ExampleFile + + + + /TestFile.pdf + application/pdf + + + CONSTANT + ExampleFileURI + + + en-US + Details of the Asset Administration Shell — An example for an external file reference + + + de + Details of the Asset Administration Shell – Ein Beispiel für eine extern referenzierte Datei + + + + ExternalReference + + + GlobalReference + http://acplt.org/Files/ExampleFile + + + + https://www.plattform-i40.de/PI40/Redaktion/DE/Downloads/Publikation/Details-of-the-Asset-Administration-Shell-Part1.pdf?__blob=publicationFile&v=5 + application/pdf + + + PARAMETER + ExampleSubmodelList + + + en-US + Example SubmodelElementList object + + + de + Beispiel SubmodelElementList Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList + + + + true + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + Property + xs:string + - ExampleProperty CONSTANT + + + en-US + ExampleProperty + + + de + BeispielProperty + + - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Instance + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExampleProperty + - string + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty/SupplementalId1 + + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty/SupplementalId2 + + + + + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0 + + + + + + + + de + Test Specification + + + en-US + TestSpecification + + + + + de + Test Spec + + + en-US + TestSpec + + + SpaceUnit + + ExternalReference + + + GlobalReference + http://acplt.org/Units/SpaceUnit + + + + http://acplt.org/DataSpec/ExampleDef + SU + REAL_MEASURE + + + de + Dies ist eine Data Specification für Testzwecke + + + en-US + This is a DataSpecification for testing purposes + + + M + + + + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + exampleValue2 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId2 + + + + + + + TEST + + true + false + false + true + + + + + + xs:string exampleValue + ExternalReference - http://acplt.org/ValueId/ExampleValueId + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + - - - - ExampleMultiLanguageProperty + CONSTANT + + + en-US + ExampleProperty + + + de + BeispielProperty + + - Example MultiLanguageProperty object - Beispiel MulitLanguageProperty Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Instance + ExternalReference - http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty2/SupplementalId + + + + + xs:string + exampleValue + ExternalReference - http://acplt.org/ValueId/ExampleMultiLanguageValueId + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + - - Example value of a MultiLanguageProperty element - Beispielswert für ein MulitLanguageProperty-Element - - - - - - ExampleRange - PARAMETER - - Example Range object - Beispiel Range Element - - Instance - - - http://acplt.org/Ranges/ExampleRange - - - int - 0 - 100 - - - - true - false - - - - - ExampleSubmodelCollectionUnordered - PARAMETER - - Example SubmodelElementCollectionUnordered object - Beispiel SubmodelElementCollectionUnordered Element - - Instance - - - http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionUnordered - - - - + + + + + CONSTANT + ExampleMultiLanguageProperty + + + en-US + Example MultiLanguageProperty object + + + de + Beispiel MultiLanguageProperty Element + + + + ExternalReference + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty/Referred + + + + + + GlobalReference + http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty + + + + + + en-US + Example value of a MultiLanguageProperty element + + + de + Beispielswert für ein MulitLanguageProperty-Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleMultiLanguageValueId + + + + + + PARAMETER + ExampleRange + + + en-US + Example Range object + + + de + Beispiel Range Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Ranges/ExampleRange + + + + xs:int + 0 + 100 + + + PARAMETER + ExampleReferenceElement + + + en-US + Example Reference Element object + + + de + Beispiel Reference Element Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/ReferenceElements/ExampleReferenceElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + + + + + https://acplt.org/Test_Submodel_Mandatory + Instance + + + ExampleRelationshipElement + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + ExampleAnnotatedRelationshipElement + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + ExampleOperation + + + ExampleCapability + + + ExampleBasicEventElement + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + input + off + + + ExampleSubmodelList + SubmodelElementCollection + + + ExampleBlob - PARAMETER - - Example Blob object - Beispiel Blob Element - - Instance - - - http://acplt.org/Blobs/ExampleBlob - - - AQIDBAU= - application/pdf + + application/pdf - - ExampleFile - PARAMETER - - Example File object - Beispiel File Element - - Instance - - - http://acplt.org/Files/ExampleFile - - - application/pdf - /TestFile.pdf - - - - - ExampleFileURI - CONSTANT - - Details of the Asset Administration Shell—An example for an external file reference - Details of the Asset Administration Shell – Ein Beispiel für eine extern referenzierte Datei - - Instance - - - http://acplt.org/Files/ExampleFile - - - application/pdf - https://www.plattform-i40.de/PI40/Redaktion/DE/Downloads/Publikation/Details-of-the-Asset-Administration-Shell-Part1.pdf?__blob=publicationFile&v=5 + application/pdf - - - - ExampleReferenceElement + PARAMETER - - Example Reference Element object - Beispiel Reference Element Element - - Instance - - - http://acplt.org/ReferenceElements/ExampleReferenceElement - - - - - ExampleProperty - - - - - - false - false - - - - - - - https://acplt.org/Test_Submodel_Mandatory - Instance - - - - ExampleRelationshipElement - Instance - - - ExampleProperty - - - - - ExampleProperty - - - - - - - ExampleAnnotatedRelationshipElement - Instance - - - ExampleProperty - - - - - ExampleProperty - - - - - - - - ExampleOperation - Instance - - - - - ExampleCapability - Instance - - - - - ExampleBasicEvent - Instance - - - ExampleProperty - - - - - - - ExampleSubmodelCollectionOrdered - Instance - - + ExampleMultiLanguageProperty + + PARAMETER ExampleProperty - Instance - string + xs:string - - - - ExampleMultiLanguageProperty - Instance - - - + PARAMETER ExampleRange - Instance - int + xs:int - - - true - false - - - - - ExampleSubmodelCollectionUnordered - Instance - - - - ExampleBlob - Instance - - application/pdf - - - - - ExampleFile - Instance - application/pdf - - - + PARAMETER ExampleReferenceElement - Instance - - - false - false - - - - - ExampleSubmodelCollectionUnordered2 - Instance - - false - false - - + + + + + + + + ExampleSubmodelList2 + Capability + - - https://acplt.org/Test_Submodel2_Mandatory + https://acplt.org/Test_Submodel2_Mandatory Instance - TestSubmodel - An example submodel for the test application - Ein Beispiel-Teilmodell für eine Test-Anwendung + + en-US + An example submodel for the test application + + + de + Ein Beispiel-Teilmodell für eine Test-Anwendung + - https://acplt.org/Test_Submodel_Missing - 0.9 + 9 0 + https://acplt.org/Test_Submodel_Missing Instance + ExternalReference - http://acplt.org/SubmodelTemplates/ExampleSubmodel + + GlobalReference + http://acplt.org/SubmodelTemplates/ExampleSubmodel + - - - ExampleRelationshipElement - PARAMETER - - Example RelationshipElement object - Beispiel RelationshipElement Element - - Instance - - - http://acplt.org/RelationshipElements/ExampleRelationshipElement - - - - - ExampleProperty - - - - - ExampleProperty - - - - - - - ExampleAnnotatedRelationshipElement - PARAMETER - - Example AnnotatedRelationshipElement object - Beispiel AnnotatedRelationshipElement Element - - Instance - - - http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement - - - - - ExampleProperty - - - - - ExampleProperty - - - - - - ExampleAnnotatedRange - Instance - integer - 1 - 5 - - - - - ExampleAnnotatedProperty - Instance - string - exampleValue - - - - - - - - ExampleOperation - PARAMETER - - Example Operation object - Beispiel Operation Element - - Instance - - - http://acplt.org/Operations/ExampleOperation - - - + + PARAMETER + ExampleRelationshipElement + + + en-US + Example RelationshipElement object + + + de + Beispiel RelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + PARAMETER + ExampleAnnotatedRelationshipElement + + + en-US + Example AnnotatedRelationshipElement object + + + de + Beispiel AnnotatedRelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + PARAMETER + ExampleAnnotatedRange + xs:integer + 1 + 5 + + + PARAMETER + ExampleAnnotatedProperty + xs:string + exampleValue + + + + + PARAMETER + ExampleOperation + + + en-US + Example Operation object + + + de + Beispiel Operation Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Operations/ExampleOperation + + + + + - ExampleProperty CONSTANT + ExamplePropertyInput + + + en-US + ExampleProperty + + + de + BeispielProperty + + - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Instance + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInput + - - - http://acplt.org/Qualifier/ExampleQualifier - string - - - string + xs:string exampleValue - - - - - - - ExampleProperty - CONSTANT - - Example Property object - Beispiel Property Element - - Instance - + + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + - - - - http://acplt.org/Qualifier/ExampleQualifier - string - - - string - exampleValue + - - + + + + - ExampleProperty CONSTANT + ExamplePropertyOutput + + + en-US + ExampleProperty + + + de + BeispielProperty + + - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Instance + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyOutput + - - - http://acplt.org/Qualifier/ExampleQualifier - string - - - string + xs:string exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + - - - - - - ExampleCapability - PARAMETER - - Example Capability object - Beispiel Capability Element - - Instance - - - http://acplt.org/Capabilities/ExampleCapability - - - - - - - ExampleBasicEvent - PARAMETER - - Example BasicEvent object - Beispiel BasicEvent Element - - Instance - - - http://acplt.org/Events/ExampleBasicEvent - - - - - ExampleProperty - - - - - - - ExampleSubmodelCollectionOrdered - PARAMETER - - Example SubmodelElementCollectionOrdered object - Beispiel SubmodelElementCollectionOrdered Element - - Instance - - - http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionOrdered - - - - + + + + + - ExampleProperty CONSTANT + ExamplePropertyInOutput + + + en-US + ExampleProperty + + + de + BeispielProperty + + - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Instance + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInOutput + - - - http://acplt.org/Qualifier/ExampleQualifier - string - - - string + xs:string exampleValue - - - - - ExampleMultiLanguageProperty - CONSTANT - - Example MultiLanguageProperty object - Beispiel MulitLanguageProperty Element - - Instance - - - http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty - - - - Example value of a MultiLanguageProperty element - Beispielswert für ein MulitLanguageProperty-Element - - - - - - ExampleRange - PARAMETER - - Example Range object - Beispiel Range Element - - Instance - - - http://acplt.org/Ranges/ExampleRange - - - int - 0 - 100 - - - - true - false - - - - - ExampleSubmodelCollectionUnordered - PARAMETER - - Example SubmodelElementCollectionUnordered object - Beispiel SubmodelElementCollectionUnordered Element - - Instance - - - http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionUnordered - - - - - - ExampleBlob - PARAMETER - - Example Blob object - Beispiel Blob Element - - Instance - - - http://acplt.org/Blobs/ExampleBlob - - - AQIDBAU= - application/pdf - - - - - ExampleFile - PARAMETER - - Example File object - Beispiel File Element - - Instance - - - http://acplt.org/Files/ExampleFile - - - application/pdf - /TestFile.pdf - - - - - ExampleReferenceElement - PARAMETER - - Example Reference Element object - Beispiel Reference Element Element - - Instance - - - http://acplt.org/ReferenceElements/ExampleReferenceElement - - - + + ExternalReference - ExampleProperty + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + - - - - - false - false - - + + + + + + + + PARAMETER + ExampleCapability + + + en-US + Example Capability object + + + de + Beispiel Capability Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Capabilities/ExampleCapability + + + + + + PARAMETER + ExampleBasicEventElement + + + en-US + Example BasicEventElement object + + + de + Beispiel BasicEventElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Events/ExampleBasicEventElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + output + on + ExampleTopic + + ModelReference + + + Submodel + http://acplt.org/ExampleMessageBroker + + + + 2022-11-12T23:50:23.123456+00:00 + PT0.000001S + P1Y2M3DT4H5M6.123456S + + + PARAMETER + ExampleSubmodelCollection + + + en-US + Example SubmodelElementCollection object + + + de + Beispiel SubmodelElementCollection Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + + + PARAMETER + ExampleBlob + + + en-US + Example Blob object + + + de + Beispiel Blob Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Blobs/ExampleBlob + + + + AQIDBAU= + application/pdf + + + PARAMETER + ExampleFile + + + en-US + Example File object + + + de + Beispiel File Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Files/ExampleFile + + + + /TestFile.pdf + application/pdf + + + CONSTANT + ExampleMultiLanguageProperty + + + en-US + Example MultiLanguageProperty object + + + de + Beispiel MulitLanguageProperty Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty + + + + + + en-US + Example value of a MultiLanguageProperty element + + + de + Beispielswert für ein MulitLanguageProperty-Element + + + + + CONSTANT + ExampleProperty + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + + + http://acplt.org/Qualifier/ExampleQualifier + xs:string + + + xs:string + exampleValue + + + PARAMETER + ExampleRange + + + en-US + Example Range object + + + de + Beispiel Range Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Ranges/ExampleRange + + + + xs:int + 0 + 100 + + + PARAMETER + ExampleReferenceElement + + + en-US + Example Reference Element object + + + de + Beispiel Reference Element Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/ReferenceElements/ExampleReferenceElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + TestSubmodel - An example submodel for the test application - Ein Beispiel-Teilmodell für eine Test-Anwendung + + en-US + An example submodel for the test application + + + de + Ein Beispiel-Teilmodell für eine Test-Anwendung + - https://acplt.org/Test_Submodel_Template - 0.9 + 9 0 + https://acplt.org/Test_Submodel_Template Template + ExternalReference - http://acplt.org/SubmodelTemplates/ExampleSubmodel + + GlobalReference + http://acplt.org/SubmodelTemplates/ExampleSubmodel + - - - ExampleRelationshipElement - PARAMETER - - Example RelationshipElement object - Beispiel RelationshipElement Element - - Template - - - http://acplt.org/RelationshipElements/ExampleRelationshipElement - - - - - ExampleProperty - - - - - ExampleProperty - - - - - - - ExampleAnnotatedRelationshipElement - PARAMETER - - Example AnnotatedRelationshipElement object - Beispiel AnnotatedRelationshipElement Element - - Template - - - http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement - - - - - ExampleProperty - - - - - ExampleProperty - - - - - - - - ExampleOperation - PARAMETER - - Example Operation object - Beispiel Operation Element - - Template - - - http://acplt.org/Operations/ExampleOperation - - - + + PARAMETER + ExampleRelationshipElement + + + en-US + Example RelationshipElement object + + + de + Beispiel RelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + PARAMETER + ExampleAnnotatedRelationshipElement + + + en-US + Example AnnotatedRelationshipElement object + + + de + Beispiel AnnotatedRelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + PARAMETER + ExampleOperation + + + en-US + Example Operation object + + + de + Beispiel Operation Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Operations/ExampleOperation + + + + + - ExampleProperty CONSTANT + ExamplePropertyInput - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Template + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInput + - string + xs:string - - + + + + - ExampleProperty CONSTANT + ExamplePropertyOutput - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Template + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyOutput + - string + xs:string - - + + + + - ExampleProperty CONSTANT + ExamplePropertyInOutput - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Template + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInOutput + - string + xs:string - - - - - - ExampleCapability - PARAMETER - - Example Capability object - Beispiel Capability Element - - Template - - - http://acplt.org/Capabilities/ExampleCapability - - - - - - - ExampleBasicEvent - PARAMETER - - Example BasicEvent object - Beispiel BasicEvent Element - - Template - - - http://acplt.org/Events/ExampleBasicEvent - - - - - ExampleProperty - - - - - - - ExampleSubmodelCollectionOrdered - PARAMETER - - Example SubmodelElementCollectionOrdered object - Beispiel SubmodelElementCollectionOrdered Element - - Template - - - http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionOrdered - - - - + + + + + PARAMETER + ExampleCapability + + + en-US + Example Capability object + + + de + Beispiel Capability Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Capabilities/ExampleCapability + + + + + + PARAMETER + ExampleBasicEventElement + + + en-US + Example BasicEventElement object + + + de + Beispiel BasicEventElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Events/ExampleBasicEventElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + output + on + ExampleTopic + + ModelReference + + + Submodel + http://acplt.org/ExampleMessageBroker + + + + 2022-11-12T23:50:23.123456+00:00 + PT0.000001S + P1Y2M3DT4H5M6.123456S + + + PARAMETER + ExampleSubmodelList + + + en-US + Example SubmodelElementList object + + + de + Beispiel SubmodelElementList Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList + + + + true + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + SubmodelElementCollection + + + PARAMETER + + + en-US + Example SubmodelElementCollection object + + + de + Beispiel SubmodelElementCollection Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + - ExampleProperty CONSTANT + ExampleProperty - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Template + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExampleProperty + - string + xs:string - - - ExampleMultiLanguageProperty CONSTANT + ExampleMultiLanguageProperty - Example MultiLanguageProperty object - Beispiel MulitLanguageProperty Element + + en-US + Example MultiLanguageProperty object + + + de + Beispiel MulitLanguageProperty Element + - Template + ExternalReference - http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty + + GlobalReference + http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty + - - - ExampleRange PARAMETER + ExampleRange - Example Range object - Beispiel Range Element + + en-US + Example Range object + + + de + Beispiel Range Element + - Template + ExternalReference - http://acplt.org/Ranges/ExampleRange + + GlobalReference + http://acplt.org/Ranges/ExampleRange + - int + xs:int 100 - - - ExampleRange2 PARAMETER + ExampleRange2 - Example Range object - Beispiel Range Element + + en-US + Example Range object + + + de + Beispiel Range Element + - Template + ExternalReference - http://acplt.org/Ranges/ExampleRange + + GlobalReference + http://acplt.org/Ranges/ExampleRange + - int + xs:int 0 - - - true - false - - - - - ExampleSubmodelCollectionUnordered - PARAMETER - - Example SubmodelElementCollectionUnordered object - Beispiel SubmodelElementCollectionUnordered Element - - Template - - - http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionUnordered - - - - - ExampleBlob PARAMETER + ExampleBlob - Example Blob object - Beispiel Blob Element + + en-US + Example Blob object + + + de + Beispiel Blob Element + - Template + ExternalReference - http://acplt.org/Blobs/ExampleBlob + + GlobalReference + http://acplt.org/Blobs/ExampleBlob + - application/pdf + application/pdf - - - ExampleFile PARAMETER + ExampleFile - Example File object - Beispiel File Element + + en-US + Example File object + + + de + Beispiel File Element + - Template + ExternalReference - http://acplt.org/Files/ExampleFile + + GlobalReference + http://acplt.org/Files/ExampleFile + - application/pdf + application/pdf - - - ExampleReferenceElement PARAMETER + ExampleReferenceElement - Example Reference Element object - Beispiel Reference Element Element + + en-US + Example Reference Element object + + + de + Beispiel Reference Element Element + - Template + ExternalReference - http://acplt.org/ReferenceElements/ExampleReferenceElement + + GlobalReference + http://acplt.org/ReferenceElements/ExampleReferenceElement + - - - false - false - - - - - ExampleSubmodelCollectionUnordered2 - PARAMETER - - Example SubmodelElementCollectionUnordered object - Beispiel SubmodelElementCollectionUnordered Element - - Template - - - http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionUnordered - - - - false - false - - + + + + PARAMETER + + + en-US + Example SubmodelElementCollection object + + + de + Beispiel SubmodelElementCollection Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + + + + + PARAMETER + ExampleSubmodelList2 + + + en-US + Example SubmodelElementList object + + + de + Beispiel SubmodelElementList Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList + + + + true + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + Capability + @@ -1686,102 +2834,158 @@ TestConceptDescription - An example concept description for the test application - Ein Beispiel-ConceptDescription für eine Test-Anwendung + + en-US + An example concept description for the test application + + + de + Ein Beispiel-ConceptDescription für eine Test-Anwendung + - https://acplt.org/Test_ConceptDescription - 0.9 + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0 + + + + + + + + de + Test Specification + + + en-US + TestSpecification + + + + + de + Test Spec + + + en-US + TestSpec + + + SpaceUnit + + ExternalReference + + + GlobalReference + http://acplt.org/Units/SpaceUnit + + + + http://acplt.org/DataSpec/ExampleDef + SU + REAL_MEASURE + + + de + Dies ist eine Data Specification für Testzwecke + + + en-US + This is a DataSpecification for testing purposes + + + M + + + + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + exampleValue2 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId2 + + + + + + + TEST + + true + false + false + true + + + + + + 9 0 + + ExternalReference + + + GlobalReference + http://acplt.org/AdministrativeInformation/Test_ConceptDescription + + + + http://acplt.org/AdministrativeInformationTemplates/Test_ConceptDescription + https://acplt.org/Test_ConceptDescription - - http://acplt.org/DataSpecifications/ConceptDescriptions/TestConceptDescription - + + ExternalReference + + + GlobalReference + http://acplt.org/DataSpecifications/ConceptDescriptions/TestConceptDescription + + + - - https://acplt.org/Test_ConceptDescription_Mandatory + https://acplt.org/Test_ConceptDescription_Mandatory TestConceptDescription - An example concept description for the test application - Ein Beispiel-ConceptDescription für eine Test-Anwendung + + en-US + An example concept description for the test application + + + de + Ein Beispiel-ConceptDescription für eine Test-Anwendung + - https://acplt.org/Test_ConceptDescription_Missing - 0.9 + 9 0 - - - TestSpec_01 - http://acplt.org/DataSpecifciations/Example/Identification - - 0.9 - 0 - - - - - - Test Specification - TestSpecification - - - Test Spec - TestSpec - - SpaceUnit - - - http://acplt.org/Units/SpaceUnit - - - http://acplt.org/DataSpec/ExampleDef - SU - REAL_MEASURE - - Dies ist eine Data Specification für Testzwecke - This is a DataSpecification for testing purposes - - string - - - - - http://acplt.org/ValueId/ExampleValueId - - - exampleValue - - - - - http://acplt.org/ValueId/ExampleValueId2 - - - exampleValue2 - - - TEST - Max - Min - - - - - http://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/2/0 - - - - - - http://acplt.org/ReferenceElements/ConceptDescriptionX - - + https://acplt.org/Test_ConceptDescription_Missing - + diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example2.aasx b/compliance-tool/test/compliance_tool/files/test_demo_full_example2.aasx deleted file mode 100644 index 624691f48..000000000 Binary files a/compliance-tool/test/compliance_tool/files/test_demo_full_example2.aasx and /dev/null differ diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/TestFile.pdf b/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/TestFile.pdf new file mode 100644 index 000000000..2bccbec5f Binary files /dev/null and b/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/TestFile.pdf differ diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/[Content_Types].xml b/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/[Content_Types].xml new file mode 100644 index 000000000..4d0bdc9aa --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/[Content_Types].xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/_rels/.rels b/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/_rels/.rels new file mode 100644 index 000000000..9758543f3 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/_rels/.rels @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/aasx/_rels/aasx-origin.rels b/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/aasx/_rels/aasx-origin.rels new file mode 100644 index 000000000..3ec0a479e --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/aasx/_rels/aasx-origin.rels @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/aasx/_rels/data.json.rels b/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/aasx/_rels/data.json.rels new file mode 100644 index 000000000..43350edd0 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/aasx/_rels/data.json.rels @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/aasx/aasx-origin b/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/aasx/aasx-origin new file mode 100644 index 000000000..e69de29bb diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/aasx/data.json b/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/aasx/data.json new file mode 100644 index 000000000..7172735e6 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/aasx/data.json @@ -0,0 +1,3218 @@ +{ + "assetAdministrationShells": [ + { + "idShort": "TestAssetAdministrationShell", + "description": [ + { + "language": "en-US", + "text": "An Example Asset Administration Shell for the test application" + }, + { + "language": "de", + "text": "Ein Beispiel-Verwaltungsschale f\u00fcr eine Test-Anwendung" + } + ], + "modelType": "AssetAdministrationShell", + "id": "https://acplt.org/Test_AssetAdministrationShell", + "administration": { + "version": "9", + "revision": "0", + "creator": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/AdministrativeInformation/Test_AssetAdministrationShell" + } + ] + }, + "templateId": "http://acplt.org/AdministrativeInformationTemplates/Test_AssetAdministrationShell" + }, + "derivedFrom": { + "type": "ModelReference", + "keys": [ + { + "type": "AssetAdministrationShell", + "value": "https://acplt.org/TestAssetAdministrationShell2" + } + ] + }, + "assetInformation": { + "assetKind": "Instance", + "globalAssetId": "http://acplt.org/TestAsset/", + "specificAssetIds": [ + { + "name": "TestKey", + "value": "TestValue", + "externalSubjectId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SpecificAssetId/" + } + ] + }, + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SpecificAssetId/" + } + ] + } + } + ], + "defaultThumbnail": { + "path": "file:///path/to/thumbnail.png", + "contentType": "image/png" + } + }, + "submodels": [ + { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "https://acplt.org/Test_Submodel" + } + ], + "referredSemanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel" + } + ] + } + }, + { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial" + } + ] + }, + { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Submodels/Assets/TestAsset/Identification" + } + ], + "referredSemanticId": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/SubmodelTemplates/AssetIdentification" + } + ] + } + }, + { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "https://acplt.org/Test_Submodel_Template" + } + ] + } + ], + "embeddedDataSpecifications": [ + { + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0" + } + ] + }, + "dataSpecificationContent": { + "modelType": "DataSpecificationIec61360", + "preferredName": [ + { + "language": "de", + "text": "Test Specification" + }, + { + "language": "en-US", + "text": "TestSpecification" + } + ], + "dataType": "REAL_MEASURE", + "definition": [ + { + "language": "de", + "text": "Dies ist eine Data Specification f\u00fcr Testzwecke" + }, + { + "language": "en-US", + "text": "This is a DataSpecification for testing purposes" + } + ], + "shortName": [ + { + "language": "de", + "text": "Test Spec" + }, + { + "language": "en-US", + "text": "TestSpec" + } + ], + "unit": "SpaceUnit", + "unitId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Units/SpaceUnit" + } + ] + }, + "sourceOfDefinition": "http://acplt.org/DataSpec/ExampleDef", + "symbol": "SU", + "valueFormat": "M", + "valueList": { + "valueReferencePairs": [ + { + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + } + }, + { + "value": "exampleValue2", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId2" + } + ] + } + } + ] + }, + "value": "TEST", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Values/TestValueId" + } + ] + }, + "levelType": { + "min": true, + "max": true, + "nom": false, + "typ": false + } + } + } + ] + }, + { + "modelType": "AssetAdministrationShell", + "id": "https://acplt.org/Test_AssetAdministrationShell_Mandatory", + "assetInformation": { + "assetKind": "Instance", + "globalAssetId": "http://acplt.org/Test_Asset_Mandatory/" + }, + "submodels": [ + { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "https://acplt.org/Test_Submodel2_Mandatory" + } + ] + }, + { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "https://acplt.org/Test_Submodel_Mandatory" + } + ] + } + ] + }, + { + "modelType": "AssetAdministrationShell", + "id": "https://acplt.org/Test_AssetAdministrationShell2_Mandatory", + "assetInformation": { + "assetKind": "Instance", + "globalAssetId": "http://acplt.org/TestAsset2_Mandatory/" + } + }, + { + "idShort": "TestAssetAdministrationShell", + "description": [ + { + "language": "en-US", + "text": "An Example Asset Administration Shell for the test application" + }, + { + "language": "de", + "text": "Ein Beispiel-Verwaltungsschale f\u00fcr eine Test-Anwendung" + } + ], + "modelType": "AssetAdministrationShell", + "id": "https://acplt.org/Test_AssetAdministrationShell_Missing", + "administration": { + "version": "9", + "revision": "0" + }, + "assetInformation": { + "assetKind": "Instance", + "globalAssetId": "http://acplt.org/Test_Asset_Missing/", + "specificAssetIds": [ + { + "name": "TestKey", + "value": "TestValue", + "externalSubjectId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SpecificAssetId/" + } + ] + } + } + ], + "defaultThumbnail": { + "path": "file:///TestFile.pdf", + "contentType": "application/pdf" + } + }, + "submodels": [ + { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "https://acplt.org/Test_Submodel_Missing" + } + ] + } + ] + } + ], + "submodels": [ + { + "idShort": "Identification", + "description": [ + { + "language": "en-US", + "text": "An example asset identification submodel for the test application" + }, + { + "language": "de", + "text": "Ein Beispiel-Identifikations-Submodel f\u00fcr eine Test-Anwendung" + } + ], + "modelType": "Submodel", + "id": "http://acplt.org/Submodels/Assets/TestAsset/Identification", + "administration": { + "version": "9", + "revision": "0", + "creator": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/AdministrativeInformation/TestAsset/Identification" + } + ] + }, + "templateId": "http://acplt.org/AdministrativeInformationTemplates/TestAsset/Identification" + }, + "semanticId": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/SubmodelTemplates/AssetIdentification" + } + ] + }, + "submodelElements": [ + { + "extensions": [ + { + "value": "ExampleExtensionValue", + "refersTo": [ + { + "type": "ModelReference", + "keys": [ + { + "type": "AssetAdministrationShell", + "value": "http://acplt.org/RefersTo/ExampleRefersTo" + } + ] + } + ], + "valueType": "xs:string", + "name": "ExampleExtension" + } + ], + "idShort": "ManufacturerName", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation." + }, + { + "language": "de", + "text": "Bezeichnung f\u00fcr eine nat\u00fcrliche oder juristische Person, die f\u00fcr die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-AAO677#002" + } + ] + }, + "qualifiers": [ + { + "value": "50", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:int", + "type": "http://acplt.org/Qualifier/ExampleQualifier2", + "kind": "TemplateQualifier" + }, + { + "value": "100", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:int", + "type": "http://acplt.org/Qualifier/ExampleQualifier", + "kind": "ConceptQualifier" + } + ], + "value": "ACPLT", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" + }, + { + "idShort": "InstanceId", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation." + }, + { + "language": "de", + "text": "Bezeichnung f\u00fcr eine nat\u00fcrliche oder juristische Person, die f\u00fcr die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber" + } + ] + }, + "qualifiers": [ + { + "value": "2023-04-07T16:59:54.870123", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:dateTime", + "type": "http://acplt.org/Qualifier/ExampleQualifier3", + "kind": "ValueQualifier" + } + ], + "value": "978-8234-234-342", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" + } + ] + }, + { + "idShort": "BillOfMaterial", + "description": [ + { + "language": "en-US", + "text": "An example bill of material submodel for the test application" + }, + { + "language": "de", + "text": "Ein Beispiel-BillofMaterial-Submodel f\u00fcr eine Test-Anwendung" + } + ], + "modelType": "Submodel", + "id": "http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial", + "administration": { + "version": "9", + "templateId": "http://acplt.org/AdministrativeInformationTemplates/TestAsset/BillOfMaterial" + }, + "semanticId": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/SubmodelTemplates/BillOfMaterial" + } + ] + }, + "submodelElements": [ + { + "idShort": "ExampleEntity", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation." + }, + { + "language": "de", + "text": "Bezeichnung f\u00fcr eine nat\u00fcrliche oder juristische Person, die f\u00fcr die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist" + } + ], + "modelType": "Entity", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber" + } + ] + }, + "statements": [ + { + "idShort": "ExampleProperty2", + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty" + } + ] + }, + "value": "exampleValue2", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" + }, + { + "idShort": "ExampleProperty", + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty" + } + ] + }, + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string", + "embeddedDataSpecifications": [ + { + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0" + } + ] + }, + "dataSpecificationContent": { + "modelType": "DataSpecificationIec61360", + "preferredName": [ + { + "language": "de", + "text": "Test Specification" + }, + { + "language": "en-US", + "text": "TestSpecification" + } + ], + "dataType": "REAL_MEASURE", + "definition": [ + { + "language": "de", + "text": "Dies ist eine Data Specification f\u00fcr Testzwecke" + }, + { + "language": "en-US", + "text": "This is a DataSpecification for testing purposes" + } + ], + "shortName": [ + { + "language": "de", + "text": "Test Spec" + }, + { + "language": "en-US", + "text": "TestSpec" + } + ], + "unit": "SpaceUnit", + "unitId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Units/SpaceUnit" + } + ] + }, + "sourceOfDefinition": "http://acplt.org/DataSpec/ExampleDef", + "symbol": "SU", + "valueFormat": "M", + "valueList": { + "valueReferencePairs": [ + { + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" + }, + { + "value": "exampleValue2", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId2" + } + ] + }, + "valueType": "xs:string" + } + ] + }, + "value": "TEST", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Values/TestValueId" + } + ] + }, + "levelType": { + "min": true, + "max": true, + "nom": false, + "typ": false + } + } + } + ] + } + ], + "entityType": "SelfManagedEntity", + "globalAssetId": "http://acplt.org/TestAsset/", + "specificAssetIds": [ + { + "name": "TestKey", + "value": "TestValue", + "externalSubjectId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SpecificAssetId/" + } + ] + } + } + ] + }, + { + "idShort": "ExampleEntity2", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation." + }, + { + "language": "de", + "text": "Bezeichnung f\u00fcr eine nat\u00fcrliche oder juristische Person, die f\u00fcr die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist" + } + ], + "modelType": "Entity", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber" + } + ] + }, + "entityType": "CoManagedEntity" + } + ] + }, + { + "idShort": "TestSubmodel", + "description": [ + { + "language": "en-US", + "text": "An example submodel for the test application" + }, + { + "language": "de", + "text": "Ein Beispiel-Teilmodell f\u00fcr eine Test-Anwendung" + } + ], + "modelType": "Submodel", + "id": "https://acplt.org/Test_Submodel", + "administration": { + "version": "9", + "revision": "0", + "creator": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/AdministrativeInformation/Test_Submodel" + } + ] + } + }, + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel" + } + ] + }, + "submodelElements": [ + { + "idShort": "ExampleRelationshipElement", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example RelationshipElement object" + }, + { + "language": "de", + "text": "Beispiel RelationshipElement Element" + } + ], + "modelType": "RelationshipElement", + "semanticId": { + "type": "ModelReference", + "keys": [ + { + "type": "ConceptDescription", + "value": "https://acplt.org/Test_ConceptDescription" + } + ] + }, + "first": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "second": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty2" + } + ] + } + }, + { + "idShort": "ExampleAnnotatedRelationshipElement", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example AnnotatedRelationshipElement object" + }, + { + "language": "de", + "text": "Beispiel AnnotatedRelationshipElement Element" + } + ], + "modelType": "AnnotatedRelationshipElement", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement" + } + ] + }, + "first": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "second": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty2" + } + ] + }, + "annotations": [ + { + "idShort": "ExampleAnnotatedProperty", + "category": "PARAMETER", + "modelType": "Property", + "value": "exampleValue", + "valueType": "xs:string" + }, + { + "idShort": "ExampleAnnotatedRange", + "category": "PARAMETER", + "modelType": "Range", + "valueType": "xs:integer", + "min": "1", + "max": "5" + } + ] + }, + { + "idShort": "ExampleOperation", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example Operation object" + }, + { + "language": "de", + "text": "Beispiel Operation Element" + } + ], + "modelType": "Operation", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Operations/ExampleOperation" + } + ] + }, + "inputVariables": [ + { + "value": { + "idShort": "ExamplePropertyInput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExamplePropertyInput" + } + ] + }, + "kind": "Template", + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" + } + } + ], + "outputVariables": [ + { + "value": { + "idShort": "ExamplePropertyOutput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExamplePropertyOutput" + } + ] + }, + "kind": "Template", + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" + } + } + ], + "inoutputVariables": [ + { + "value": { + "idShort": "ExamplePropertyInOutput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExamplePropertyInOutput" + } + ] + }, + "kind": "Template", + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" + } + } + ] + }, + { + "idShort": "ExampleCapability", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example Capability object" + }, + { + "language": "de", + "text": "Beispiel Capability Element" + } + ], + "modelType": "Capability", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Capabilities/ExampleCapability" + } + ] + } + }, + { + "idShort": "ExampleBasicEventElement", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example BasicEventElement object" + }, + { + "language": "de", + "text": "Beispiel BasicEventElement Element" + } + ], + "modelType": "BasicEventElement", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Events/ExampleBasicEventElement" + } + ] + }, + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "direction": "output", + "state": "on", + "messageTopic": "ExampleTopic", + "messageBroker": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/ExampleMessageBroker" + } + ] + }, + "lastUpdate": "2022-11-12T23:50:23.123456+00:00", + "minInterval": "PT0.000001S", + "maxInterval": "P1Y2M3DT4H5M6.123456S" + }, + { + "idShort": "ExampleSubmodelCollection", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example SubmodelElementCollection object" + }, + { + "language": "de", + "text": "Beispiel SubmodelElementCollection Element" + } + ], + "modelType": "SubmodelElementCollection", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" + } + ] + }, + "value": [ + { + "idShort": "ExampleBlob", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example Blob object" + }, + { + "language": "de", + "text": "Beispiel Blob Element" + } + ], + "modelType": "Blob", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Blobs/ExampleBlob" + } + ] + }, + "contentType": "application/pdf", + "value": "AQIDBAU=" + }, + { + "idShort": "ExampleFile", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example File object" + }, + { + "language": "de", + "text": "Beispiel File Element" + } + ], + "modelType": "File", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Files/ExampleFile" + } + ] + }, + "value": "/TestFile.pdf", + "contentType": "application/pdf" + }, + { + "idShort": "ExampleFileURI", + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Details of the Asset Administration Shell \u2014 An example for an external file reference" + }, + { + "language": "de", + "text": "Details of the Asset Administration Shell \u2013 Ein Beispiel f\u00fcr eine extern referenzierte Datei" + } + ], + "modelType": "File", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Files/ExampleFile" + } + ] + }, + "value": "https://www.plattform-i40.de/PI40/Redaktion/DE/Downloads/Publikation/Details-of-the-Asset-Administration-Shell-Part1.pdf?__blob=publicationFile&v=5", + "contentType": "application/pdf" + }, + { + "idShort": "ExampleMultiLanguageProperty", + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example MultiLanguageProperty object" + }, + { + "language": "de", + "text": "Beispiel MultiLanguageProperty Element" + } + ], + "modelType": "MultiLanguageProperty", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty" + } + ], + "referredSemanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty/Referred" + } + ] + } + }, + "value": [ + { + "language": "en-US", + "text": "Example value of a MultiLanguageProperty element" + }, + { + "language": "de", + "text": "Beispielswert f\u00fcr ein MulitLanguageProperty-Element" + } + ], + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleMultiLanguageValueId" + } + ] + } + }, + { + "idShort": "ExampleRange", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example Range object" + }, + { + "language": "de", + "text": "Beispiel Range Element" + } + ], + "modelType": "Range", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Ranges/ExampleRange" + } + ] + }, + "valueType": "xs:int", + "min": "0", + "max": "100" + }, + { + "idShort": "ExampleReferenceElement", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example Reference Element object" + }, + { + "language": "de", + "text": "Beispiel Reference Element Element" + } + ], + "modelType": "ReferenceElement", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ReferenceElements/ExampleReferenceElement" + } + ] + }, + "value": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + } + }, + { + "idShort": "ExampleSubmodelList", + "typeValueListElement": "Property", + "valueTypeListElement": "xs:string", + "semanticIdListElement": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty" + } + ] + }, + "orderRelevant": true, + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example SubmodelElementList object" + }, + { + "language": "de", + "text": "Beispiel SubmodelElementList Element" + } + ], + "modelType": "SubmodelElementList", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList" + } + ] + }, + "value": [ + { + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty" + } + ] + }, + "supplementalSemanticIds": [ + { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty/SupplementalId1" + } + ] + }, + { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty/SupplementalId2" + } + ] + } + ], + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string", + "embeddedDataSpecifications": [ + { + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0" + } + ] + }, + "dataSpecificationContent": { + "modelType": "DataSpecificationIec61360", + "preferredName": [ + { + "language": "de", + "text": "Test Specification" + }, + { + "language": "en-US", + "text": "TestSpecification" + } + ], + "dataType": "REAL_MEASURE", + "definition": [ + { + "language": "de", + "text": "Dies ist eine Data Specification f\u00fcr Testzwecke" + }, + { + "language": "en-US", + "text": "This is a DataSpecification for testing purposes" + } + ], + "shortName": [ + { + "language": "de", + "text": "Test Spec" + }, + { + "language": "en-US", + "text": "TestSpec" + } + ], + "unit": "SpaceUnit", + "unitId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Units/SpaceUnit" + } + ] + }, + "sourceOfDefinition": "http://acplt.org/DataSpec/ExampleDef", + "symbol": "SU", + "valueFormat": "M", + "valueList": { + "valueReferencePairs": [ + { + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + } + }, + { + "value": "exampleValue2", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId2" + } + ] + } + } + ] + }, + "value": "TEST", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Values/TestValueId" + } + ] + }, + "levelType": { + "min": true, + "max": true, + "nom": false, + "typ": false + } + } + } + ] + }, + { + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty" + } + ] + }, + "supplementalSemanticIds": [ + { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty2/SupplementalId" + } + ] + } + ], + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" + } + ] + } + ] + } + ] + }, + { + "modelType": "Submodel", + "id": "https://acplt.org/Test_Submodel_Mandatory", + "submodelElements": [ + { + "idShort": "ExampleRelationshipElement", + "modelType": "RelationshipElement", + "first": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "second": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + } + }, + { + "idShort": "ExampleAnnotatedRelationshipElement", + "modelType": "AnnotatedRelationshipElement", + "first": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "second": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + } + }, + { + "idShort": "ExampleOperation", + "modelType": "Operation" + }, + { + "idShort": "ExampleCapability", + "modelType": "Capability" + }, + { + "idShort": "ExampleBasicEventElement", + "modelType": "BasicEventElement", + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "direction": "input", + "state": "off" + }, + { + "idShort": "ExampleSubmodelList", + "typeValueListElement": "SubmodelElementCollection", + "modelType": "SubmodelElementList", + "value": [ + { + "modelType": "SubmodelElementCollection", + "value": [ + { + "idShort": "ExampleBlob", + "modelType": "Blob", + "contentType": "application/pdf" + }, + { + "idShort": "ExampleFile", + "modelType": "File", + "contentType": "application/pdf" + }, + { + "idShort": "ExampleMultiLanguageProperty", + "category": "PARAMETER", + "modelType": "MultiLanguageProperty" + }, + { + "idShort": "ExampleProperty", + "category": "PARAMETER", + "modelType": "Property", + "valueType": "xs:string" + }, + { + "idShort": "ExampleRange", + "category": "PARAMETER", + "modelType": "Range", + "valueType": "xs:int" + }, + { + "idShort": "ExampleReferenceElement", + "category": "PARAMETER", + "modelType": "ReferenceElement" + } + ] + }, + { + "modelType": "SubmodelElementCollection" + } + ] + }, + { + "idShort": "ExampleSubmodelList2", + "typeValueListElement": "Capability", + "modelType": "SubmodelElementList" + } + ] + }, + { + "modelType": "Submodel", + "id": "https://acplt.org/Test_Submodel2_Mandatory" + }, + { + "idShort": "TestSubmodel", + "description": [ + { + "language": "en-US", + "text": "An example submodel for the test application" + }, + { + "language": "de", + "text": "Ein Beispiel-Teilmodell f\u00fcr eine Test-Anwendung" + } + ], + "modelType": "Submodel", + "id": "https://acplt.org/Test_Submodel_Missing", + "administration": { + "version": "9", + "revision": "0" + }, + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel" + } + ] + }, + "submodelElements": [ + { + "idShort": "ExampleRelationshipElement", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example RelationshipElement object" + }, + { + "language": "de", + "text": "Beispiel RelationshipElement Element" + } + ], + "modelType": "RelationshipElement", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/RelationshipElements/ExampleRelationshipElement" + } + ] + }, + "first": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "second": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + } + }, + { + "idShort": "ExampleAnnotatedRelationshipElement", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example AnnotatedRelationshipElement object" + }, + { + "language": "de", + "text": "Beispiel AnnotatedRelationshipElement Element" + } + ], + "modelType": "AnnotatedRelationshipElement", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement" + } + ] + }, + "first": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "second": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "annotations": [ + { + "idShort": "ExampleAnnotatedRange", + "category": "PARAMETER", + "modelType": "Range", + "valueType": "xs:integer", + "min": "1", + "max": "5" + }, + { + "idShort": "ExampleAnnotatedProperty", + "category": "PARAMETER", + "modelType": "Property", + "value": "exampleValue", + "valueType": "xs:string" + } + ] + }, + { + "idShort": "ExampleOperation", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example Operation object" + }, + { + "language": "de", + "text": "Beispiel Operation Element" + } + ], + "modelType": "Operation", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Operations/ExampleOperation" + } + ] + }, + "inputVariables": [ + { + "value": { + "idShort": "ExamplePropertyInput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExamplePropertyInput" + } + ] + }, + "kind": "Template", + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" + } + } + ], + "outputVariables": [ + { + "value": { + "idShort": "ExamplePropertyOutput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExamplePropertyOutput" + } + ] + }, + "kind": "Template", + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" + } + } + ], + "inoutputVariables": [ + { + "value": { + "idShort": "ExamplePropertyInOutput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExamplePropertyInOutput" + } + ] + }, + "kind": "Template", + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" + } + } + ] + }, + { + "idShort": "ExampleCapability", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example Capability object" + }, + { + "language": "de", + "text": "Beispiel Capability Element" + } + ], + "modelType": "Capability", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Capabilities/ExampleCapability" + } + ] + } + }, + { + "idShort": "ExampleBasicEventElement", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example BasicEventElement object" + }, + { + "language": "de", + "text": "Beispiel BasicEventElement Element" + } + ], + "modelType": "BasicEventElement", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Events/ExampleBasicEventElement" + } + ] + }, + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "direction": "output", + "state": "on", + "messageTopic": "ExampleTopic", + "messageBroker": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/ExampleMessageBroker" + } + ] + }, + "lastUpdate": "2022-11-12T23:50:23.123456+00:00", + "minInterval": "PT0.000001S", + "maxInterval": "P1Y2M3DT4H5M6.123456S" + }, + { + "idShort": "ExampleSubmodelCollection", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example SubmodelElementCollection object" + }, + { + "language": "de", + "text": "Beispiel SubmodelElementCollection Element" + } + ], + "modelType": "SubmodelElementCollection", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" + } + ] + }, + "value": [ + { + "idShort": "ExampleBlob", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example Blob object" + }, + { + "language": "de", + "text": "Beispiel Blob Element" + } + ], + "modelType": "Blob", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Blobs/ExampleBlob" + } + ] + }, + "contentType": "application/pdf", + "value": "AQIDBAU=" + }, + { + "idShort": "ExampleFile", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example File object" + }, + { + "language": "de", + "text": "Beispiel File Element" + } + ], + "modelType": "File", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Files/ExampleFile" + } + ] + }, + "value": "/TestFile.pdf", + "contentType": "application/pdf" + }, + { + "idShort": "ExampleMultiLanguageProperty", + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example MultiLanguageProperty object" + }, + { + "language": "de", + "text": "Beispiel MulitLanguageProperty Element" + } + ], + "modelType": "MultiLanguageProperty", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty" + } + ] + }, + "value": [ + { + "language": "en-US", + "text": "Example value of a MultiLanguageProperty element" + }, + { + "language": "de", + "text": "Beispielswert f\u00fcr ein MulitLanguageProperty-Element" + } + ] + }, + { + "idShort": "ExampleProperty", + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty" + } + ] + }, + "qualifiers": [ + { + "valueType": "xs:string", + "type": "http://acplt.org/Qualifier/ExampleQualifier" + } + ], + "value": "exampleValue", + "valueType": "xs:string" + }, + { + "idShort": "ExampleRange", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example Range object" + }, + { + "language": "de", + "text": "Beispiel Range Element" + } + ], + "modelType": "Range", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Ranges/ExampleRange" + } + ] + }, + "valueType": "xs:int", + "min": "0", + "max": "100" + }, + { + "idShort": "ExampleReferenceElement", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example Reference Element object" + }, + { + "language": "de", + "text": "Beispiel Reference Element Element" + } + ], + "modelType": "ReferenceElement", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ReferenceElements/ExampleReferenceElement" + } + ] + }, + "value": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + } + } + ] + } + ] + }, + { + "idShort": "TestSubmodel", + "description": [ + { + "language": "en-US", + "text": "An example submodel for the test application" + }, + { + "language": "de", + "text": "Ein Beispiel-Teilmodell f\u00fcr eine Test-Anwendung" + } + ], + "modelType": "Submodel", + "id": "https://acplt.org/Test_Submodel_Template", + "administration": { + "version": "9", + "revision": "0" + }, + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel" + } + ] + }, + "kind": "Template", + "submodelElements": [ + { + "idShort": "ExampleRelationshipElement", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example RelationshipElement object" + }, + { + "language": "de", + "text": "Beispiel RelationshipElement Element" + } + ], + "modelType": "RelationshipElement", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/RelationshipElements/ExampleRelationshipElement" + } + ] + }, + "kind": "Template", + "first": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "second": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + } + }, + { + "idShort": "ExampleAnnotatedRelationshipElement", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example AnnotatedRelationshipElement object" + }, + { + "language": "de", + "text": "Beispiel AnnotatedRelationshipElement Element" + } + ], + "modelType": "AnnotatedRelationshipElement", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement" + } + ] + }, + "kind": "Template", + "first": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "second": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + } + }, + { + "idShort": "ExampleOperation", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example Operation object" + }, + { + "language": "de", + "text": "Beispiel Operation Element" + } + ], + "modelType": "Operation", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Operations/ExampleOperation" + } + ] + }, + "kind": "Template", + "inputVariables": [ + { + "value": { + "idShort": "ExamplePropertyInput", + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExamplePropertyInput" + } + ] + }, + "kind": "Template", + "valueType": "xs:string" + } + } + ], + "outputVariables": [ + { + "value": { + "idShort": "ExamplePropertyOutput", + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExamplePropertyOutput" + } + ] + }, + "kind": "Template", + "valueType": "xs:string" + } + } + ], + "inoutputVariables": [ + { + "value": { + "idShort": "ExamplePropertyInOutput", + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExamplePropertyInOutput" + } + ] + }, + "kind": "Template", + "valueType": "xs:string" + } + } + ] + }, + { + "idShort": "ExampleCapability", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example Capability object" + }, + { + "language": "de", + "text": "Beispiel Capability Element" + } + ], + "modelType": "Capability", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Capabilities/ExampleCapability" + } + ] + }, + "kind": "Template" + }, + { + "idShort": "ExampleBasicEventElement", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example BasicEventElement object" + }, + { + "language": "de", + "text": "Beispiel BasicEventElement Element" + } + ], + "modelType": "BasicEventElement", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Events/ExampleBasicEventElement" + } + ] + }, + "kind": "Template", + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "direction": "output", + "state": "on", + "messageTopic": "ExampleTopic", + "messageBroker": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/ExampleMessageBroker" + } + ] + }, + "lastUpdate": "2022-11-12T23:50:23.123456+00:00", + "minInterval": "PT0.000001S", + "maxInterval": "P1Y2M3DT4H5M6.123456S" + }, + { + "idShort": "ExampleSubmodelList", + "typeValueListElement": "SubmodelElementCollection", + "semanticIdListElement": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" + } + ] + }, + "orderRelevant": true, + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example SubmodelElementList object" + }, + { + "language": "de", + "text": "Beispiel SubmodelElementList Element" + } + ], + "modelType": "SubmodelElementList", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList" + } + ] + }, + "kind": "Template", + "value": [ + { + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example SubmodelElementCollection object" + }, + { + "language": "de", + "text": "Beispiel SubmodelElementCollection Element" + } + ], + "modelType": "SubmodelElementCollection", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" + } + ] + }, + "kind": "Template", + "value": [ + { + "idShort": "ExampleProperty", + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty" + } + ] + }, + "kind": "Template", + "valueType": "xs:string" + }, + { + "idShort": "ExampleMultiLanguageProperty", + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example MultiLanguageProperty object" + }, + { + "language": "de", + "text": "Beispiel MulitLanguageProperty Element" + } + ], + "modelType": "MultiLanguageProperty", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty" + } + ] + }, + "kind": "Template" + }, + { + "idShort": "ExampleRange", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example Range object" + }, + { + "language": "de", + "text": "Beispiel Range Element" + } + ], + "modelType": "Range", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Ranges/ExampleRange" + } + ] + }, + "kind": "Template", + "valueType": "xs:int", + "max": "100" + }, + { + "idShort": "ExampleRange2", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example Range object" + }, + { + "language": "de", + "text": "Beispiel Range Element" + } + ], + "modelType": "Range", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Ranges/ExampleRange" + } + ] + }, + "kind": "Template", + "valueType": "xs:int", + "min": "0" + }, + { + "idShort": "ExampleBlob", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example Blob object" + }, + { + "language": "de", + "text": "Beispiel Blob Element" + } + ], + "modelType": "Blob", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Blobs/ExampleBlob" + } + ] + }, + "kind": "Template", + "contentType": "application/pdf" + }, + { + "idShort": "ExampleFile", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example File object" + }, + { + "language": "de", + "text": "Beispiel File Element" + } + ], + "modelType": "File", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Files/ExampleFile" + } + ] + }, + "kind": "Template", + "contentType": "application/pdf" + }, + { + "idShort": "ExampleReferenceElement", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example Reference Element object" + }, + { + "language": "de", + "text": "Beispiel Reference Element Element" + } + ], + "modelType": "ReferenceElement", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ReferenceElements/ExampleReferenceElement" + } + ] + }, + "kind": "Template" + } + ] + }, + { + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example SubmodelElementCollection object" + }, + { + "language": "de", + "text": "Beispiel SubmodelElementCollection Element" + } + ], + "modelType": "SubmodelElementCollection", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" + } + ] + }, + "kind": "Template" + } + ] + }, + { + "idShort": "ExampleSubmodelList2", + "typeValueListElement": "Capability", + "semanticIdListElement": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" + } + ] + }, + "orderRelevant": true, + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example SubmodelElementList object" + }, + { + "language": "de", + "text": "Beispiel SubmodelElementList Element" + } + ], + "modelType": "SubmodelElementList", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList" + } + ] + }, + "kind": "Template" + } + ] + } + ], + "conceptDescriptions": [ + { + "idShort": "TestConceptDescription", + "description": [ + { + "language": "en-US", + "text": "An example concept description for the test application" + }, + { + "language": "de", + "text": "Ein Beispiel-ConceptDescription f\u00fcr eine Test-Anwendung" + } + ], + "modelType": "ConceptDescription", + "id": "https://acplt.org/Test_ConceptDescription", + "administration": { + "version": "9", + "revision": "0", + "creator": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/AdministrativeInformation/Test_ConceptDescription" + } + ] + }, + "templateId": "http://acplt.org/AdministrativeInformationTemplates/Test_ConceptDescription", + "embeddedDataSpecifications": [ + { + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0" + } + ] + }, + "dataSpecificationContent": { + "modelType": "DataSpecificationIec61360", + "preferredName": [ + { + "language": "de", + "text": "Test Specification" + }, + { + "language": "en-US", + "text": "TestSpecification" + } + ], + "dataType": "REAL_MEASURE", + "definition": [ + { + "language": "de", + "text": "Dies ist eine Data Specification f\u00fcr Testzwecke" + }, + { + "language": "en-US", + "text": "This is a DataSpecification for testing purposes" + } + ], + "shortName": [ + { + "language": "de", + "text": "Test Spec" + }, + { + "language": "en-US", + "text": "TestSpec" + } + ], + "unit": "SpaceUnit", + "unitId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Units/SpaceUnit" + } + ] + }, + "sourceOfDefinition": "http://acplt.org/DataSpec/ExampleDef", + "symbol": "SU", + "valueFormat": "M", + "valueList": { + "valueReferencePairs": [ + { + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + } + }, + { + "value": "exampleValue2", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId2" + } + ] + } + } + ] + }, + "value": "TEST", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Values/TestValueId" + } + ] + }, + "levelType": { + "min": true, + "max": true, + "nom": false, + "typ": false + } + } + } + ] + }, + "isCaseOf": [ + { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/DataSpecifications/ConceptDescriptions/TestConceptDescription" + } + ] + } + ] + }, + { + "modelType": "ConceptDescription", + "id": "https://acplt.org/Test_ConceptDescription_Mandatory" + }, + { + "idShort": "TestConceptDescription", + "description": [ + { + "language": "en-US", + "text": "An example concept description for the test application" + }, + { + "language": "de", + "text": "Ein Beispiel-ConceptDescription f\u00fcr eine Test-Anwendung" + } + ], + "modelType": "ConceptDescription", + "id": "https://acplt.org/Test_ConceptDescription_Missing", + "administration": { + "version": "9", + "revision": "0" + } + } + ] +} \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/docProps/core.xml b/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/docProps/core.xml new file mode 100644 index 000000000..5f0e65331 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_json_aasx/docProps/core.xml @@ -0,0 +1 @@ +2020-01-01T00:00:00Eclipse BaSyx Python Testing FrameworkTest_DescriptionEclipse BaSyx Python Testing Framework Compliance Tool2020-01-01T00:00:011.0Test Title2.0.1 \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_wrong_attribute.aasx b/compliance-tool/test/compliance_tool/files/test_demo_full_example_wrong_attribute.aasx deleted file mode 100644 index ab9451919..000000000 Binary files a/compliance-tool/test/compliance_tool/files/test_demo_full_example_wrong_attribute.aasx and /dev/null differ diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_wrong_attribute.json b/compliance-tool/test/compliance_tool/files/test_demo_full_example_wrong_attribute.json index 1318195c1..8f816697d 100644 --- a/compliance-tool/test/compliance_tool/files/test_demo_full_example_wrong_attribute.json +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_wrong_attribute.json @@ -4,7 +4,7 @@ "idShort": "TestAssetAdministrationShell123", "description": [ { - "language": "en-us", + "language": "en-US", "text": "An Example Asset Administration Shell for the test application" }, { @@ -12,175 +12,257 @@ "text": "Ein Beispiel-Verwaltungsschale f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "AssetAdministrationShell" - }, - "identification": { - "id": "https://acplt.org/Test_AssetAdministrationShell", - "idType": "IRI" - }, + "modelType": "AssetAdministrationShell", + "id": "https://acplt.org/Test_AssetAdministrationShell", "administration": { - "version": "0.9", - "revision": "0" + "version": "9", + "revision": "0", + "creator": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/AdministrativeInformation/Test_AssetAdministrationShell" + } + ] + }, + "templateId": "http://acplt.org/AdministrativeInformationTemplates/Test_AssetAdministrationShell" }, "derivedFrom": { + "type": "ModelReference", "keys": [ { "type": "AssetAdministrationShell", - "idType": "IRI", - "value": "https://acplt.org/TestAssetAdministrationShell2", - "local": false + "value": "https://acplt.org/TestAssetAdministrationShell2" } ] }, - "asset": { - "keys": [ + "assetInformation": { + "assetKind": "Instance", + "globalAssetId": "http://acplt.org/TestAsset/", + "specificAssetIds": [ { - "type": "Asset", - "idType": "IRI", - "value": "https://acplt.org/Test_Asset", - "local": false + "name": "TestKey", + "value": "TestValue", + "externalSubjectId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SpecificAssetId/" + } + ] + }, + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SpecificAssetId/" + } + ] + } } - ] + ], + "assetType": "http://acplt.org/TestAssetType/", + "defaultThumbnail": { + "path": "file:///path/to/thumbnail.png", + "contentType": "image/png" + } }, "submodels": [ { + "type": "ModelReference", "keys": [ { "type": "Submodel", - "idType": "IRI", - "value": "http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial", - "local": true + "value": "https://acplt.org/Test_Submodel" } - ] + ], + "referredSemanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel" + } + ] + } }, { + "type": "ModelReference", "keys": [ { "type": "Submodel", - "idType": "IRI", - "value": "https://acplt.org/Test_Submodel", - "local": true + "value": "http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial" } ] }, { + "type": "ModelReference", "keys": [ { "type": "Submodel", - "idType": "IRI", - "value": "http://acplt.org/Submodels/Assets/TestAsset/Identification", - "local": true + "value": "http://acplt.org/Submodels/Assets/TestAsset/Identification" } - ] + ], + "referredSemanticId": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/SubmodelTemplates/AssetIdentification" + } + ] + } } ], - "conceptDictionaries": [ + "embeddedDataSpecifications": [ { - "idShort": "TestConceptDictionary", - "description": [ - { - "language": "en-us", - "text": "An example concept dictionary for the test application" - }, - { - "language": "de", - "text": "Ein Beispiel-ConceptDictionary f\u00fcr eine Test-Anwendung" - } - ], - "modelType": { - "name": "ConceptDictionary" + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0" + } + ] }, - "conceptDescriptions": [ - { + "dataSpecificationContent": { + "modelType": "DataSpecificationIec61360", + "preferredName": [ + { + "language": "de", + "text": "Test Specification" + }, + { + "language": "en-US", + "text": "TestSpecification" + } + ], + "dataType": "REAL_MEASURE", + "definition": [ + { + "language": "de", + "text": "Dies ist eine Data Specification f\u00fcr Testzwecke" + }, + { + "language": "en-US", + "text": "This is a DataSpecification for testing purposes" + } + ], + "shortName": [ + { + "language": "de", + "text": "Test Spec" + }, + { + "language": "en-US", + "text": "TestSpec" + } + ], + "unit": "SpaceUnit", + "unitId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Units/SpaceUnit" + } + ] + }, + "sourceOfDefinition": "http://acplt.org/DataSpec/ExampleDef", + "symbol": "SU", + "valueFormat": "M", + "valueList": { + "valueReferencePairs": [ + { + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + } + }, + { + "value": "exampleValue2", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId2" + } + ] + } + } + ] + }, + "value": "TEST", + "valueId": { + "type": "ExternalReference", "keys": [ { - "type": "ConceptDescription", - "idType": "IRI", - "value": "https://acplt.org/Test_ConceptDescription", - "local": false + "type": "GlobalReference", + "value": "http://acplt.org/Values/TestValueId" } ] + }, + "levelType": { + "min": true, + "max": true, + "nom": false, + "typ": false } - ] + } } ] }, { - "idShort": "", - "modelType": { - "name": "AssetAdministrationShell" - }, - "identification": { - "id": "https://acplt.org/Test_AssetAdministrationShell_Mandatory", - "idType": "IRI" - }, - "asset": { - "keys": [ - { - "type": "Asset", - "idType": "IRI", - "value": "https://acplt.org/Test_Asset_Mandatory", - "local": false - } - ] + "modelType": "AssetAdministrationShell", + "id": "https://acplt.org/Test_AssetAdministrationShell_Mandatory", + "assetInformation": { + "assetKind": "Instance", + "globalAssetId": "http://acplt.org/Test_Asset_Mandatory/" }, "submodels": [ { + "type": "ModelReference", "keys": [ { "type": "Submodel", - "idType": "IRI", - "value": "https://acplt.org/Test_Submodel_Mandatory", - "local": true + "value": "https://acplt.org/Test_Submodel2_Mandatory" } ] }, { + "type": "ModelReference", "keys": [ { "type": "Submodel", - "idType": "IRI", - "value": "https://acplt.org/Test_Submodel2_Mandatory", - "local": true + "value": "https://acplt.org/Test_Submodel_Mandatory" } ] } - ], - "conceptDictionaries": [ - { - "idShort": "TestConceptDictionary", - "modelType": { - "name": "ConceptDictionary" - } - } ] }, { - "idShort": "", - "modelType": { - "name": "AssetAdministrationShell" - }, - "identification": { - "id": "https://acplt.org/Test_AssetAdministrationShell2_Mandatory", - "idType": "IRI" - }, - "asset": { - "keys": [ - { - "type": "Asset", - "idType": "IRI", - "value": "https://acplt.org/Test_Asset_Mandatory", - "local": false - } - ] + "modelType": "AssetAdministrationShell", + "id": "https://acplt.org/Test_AssetAdministrationShell2_Mandatory", + "assetInformation": { + "assetKind": "Instance", + "globalAssetId": "http://acplt.org/TestAsset2_Mandatory/" } }, { "idShort": "TestAssetAdministrationShell", "description": [ { - "language": "en-us", + "language": "en-US", "text": "An Example Asset Administration Shell for the test application" }, { @@ -188,91 +270,42 @@ "text": "Ein Beispiel-Verwaltungsschale f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "AssetAdministrationShell" - }, - "identification": { - "id": "https://acplt.org/Test_AssetAdministrationShell_Missing", - "idType": "IRI" - }, + "modelType": "AssetAdministrationShell", + "id": "https://acplt.org/Test_AssetAdministrationShell_Missing", "administration": { - "version": "0.9", + "version": "9", "revision": "0" }, - "asset": { - "keys": [ + "assetInformation": { + "assetKind": "Instance", + "globalAssetId": "http://acplt.org/Test_Asset_Missing/", + "specificAssetIds": [ { - "type": "Asset", - "idType": "IRI", - "value": "https://acplt.org/Test_Asset_Missing", - "local": false - } - ] - }, - "submodels": [ - { - "keys": [ - { - "type": "Submodel", - "idType": "IRI", - "value": "https://acplt.org/Test_Submodel_Missing", - "local": true - } - ] - } - ], - "views": [ - { - "idShort": "ExampleView", - "modelType": { - "name": "View" - }, - "containedElements": [ - { + "name": "TestKey", + "value": "TestValue", + "externalSubjectId": { + "type": "ExternalReference", "keys": [ { - "type": "Submodel", - "idType": "IRI", - "value": "https://acplt.org/Test_Submodel_Missing", - "local": false + "type": "GlobalReference", + "value": "http://acplt.org/SpecificAssetId/" } ] } - ] - }, - { - "idShort": "ExampleView2", - "modelType": { - "name": "View" } + ], + "defaultThumbnail": { + "path": "file:///TestFile.pdf", + "contentType": "application/pdf" } - ], - "conceptDictionaries": [ + }, + "submodels": [ { - "idShort": "TestConceptDictionary", - "description": [ - { - "language": "en-us", - "text": "An example concept dictionary for the test application" - }, - { - "language": "de", - "text": "Ein Beispiel-ConceptDictionary f\u00fcr eine Test-Anwendung" - } - ], - "modelType": { - "name": "ConceptDictionary" - }, - "conceptDescriptions": [ + "type": "ModelReference", + "keys": [ { - "keys": [ - { - "type": "ConceptDescription", - "idType": "IRI", - "value": "https://acplt.org/Test_ConceptDescription_Missing", - "local": false - } - ] + "type": "Submodel", + "value": "https://acplt.org/Test_Submodel_Missing" } ] } @@ -284,7 +317,7 @@ "idShort": "Identification", "description": [ { - "language": "en-us", + "language": "en-US", "text": "An example asset identification submodel for the test application" }, { @@ -292,33 +325,56 @@ "text": "Ein Beispiel-Identifikations-Submodel f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "Submodel" - }, - "identification": { - "id": "http://acplt.org/Submodels/Assets/TestAsset/Identification", - "idType": "IRI" - }, + "modelType": "Submodel", + "id": "http://acplt.org/Submodels/Assets/TestAsset/Identification", "administration": { - "version": "0.9", - "revision": "0" + "version": "9", + "revision": "0", + "creator": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/AdministrativeInformation/TestAsset/Identification" + } + ] + }, + "templateId": "http://acplt.org/AdministrativeInformationTemplates/TestAsset/Identification" }, "semanticId": { + "type": "ModelReference", "keys": [ { "type": "Submodel", - "idType": "IRI", - "value": "http://acplt.org/SubmodelTemplates/AssetIdentification", - "local": false + "value": "http://acplt.org/SubmodelTemplates/AssetIdentification" } ] }, "submodelElements": [ { + "extensions": [ + { + "value": "ExampleExtensionValue", + "refersTo": [ + { + "type": "ModelReference", + "keys": [ + { + "type": "AssetAdministrationShell", + "value": "http://acplt.org/RefersTo/ExampleRefersTo" + } + ] + } + ], + "valueType": "xs:string", + "name": "ExampleExtension" + } + ], "idShort": "ManufacturerName", + "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation." }, { @@ -326,75 +382,66 @@ "text": "Bezeichnung f\u00fcr eine nat\u00fcrliche oder juristische Person, die f\u00fcr die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "0173-1#02-AAO677#002", - "local": false + "value": "0173-1#02-AAO677#002" } ] }, "qualifiers": [ { - "modelType": { - "name": "Qualifier" - }, "value": "50", "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleValueId" } ] }, - "valueType": "int", - "type": "http://acplt.org/Qualifier/ExampleQualifier2" + "valueType": "xs:int", + "type": "http://acplt.org/Qualifier/ExampleQualifier2", + "kind": "TemplateQualifier" }, { - "modelType": { - "name": "Qualifier" - }, "value": "100", "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleValueId" } ] }, - "valueType": "int", - "type": "http://acplt.org/Qualifier/ExampleQualifier" + "valueType": "xs:int", + "type": "http://acplt.org/Qualifier/ExampleQualifier", + "kind": "ConceptQualifier" } ], "value": "ACPLT", "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleValueId" } ] }, - "valueType": "string" + "valueType": "xs:string" }, { "idShort": "InstanceId", + "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation." }, { @@ -402,31 +449,44 @@ "text": "Bezeichnung f\u00fcr eine nat\u00fcrliche oder juristische Person, die f\u00fcr die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber", - "local": false + "value": "http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber" } ] }, + "qualifiers": [ + { + "value": "2023-04-07T16:59:54.870123", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:dateTime", + "type": "http://acplt.org/Qualifier/ExampleQualifier3", + "kind": "ValueQualifier" + } + ], "value": "978-8234-234-342", "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleValueId" } ] }, - "valueType": "string" + "valueType": "xs:string" } ] }, @@ -434,7 +494,7 @@ "idShort": "BillOfMaterial", "description": [ { - "language": "en-us", + "language": "en-US", "text": "An example bill of material submodel for the test application" }, { @@ -442,32 +502,28 @@ "text": "Ein Beispiel-BillofMaterial-Submodel f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "Submodel" - }, - "identification": { - "id": "http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial", - "idType": "IRI" - }, + "modelType": "Submodel", + "id": "http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial", "administration": { - "version": "0.9" + "version": "9", + "templateId": "http://acplt.org/AdministrativeInformationTemplates/TestAsset/BillOfMaterial" }, "semanticId": { + "type": "ModelReference", "keys": [ { "type": "Submodel", - "idType": "IRI", - "value": "http://acplt.org/SubmodelTemplates/BillOfMaterial", - "local": false + "value": "http://acplt.org/SubmodelTemplates/BillOfMaterial" } ] }, "submodelElements": [ { "idShort": "ExampleEntity", + "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation." }, { @@ -475,16 +531,13 @@ "text": "Bezeichnung f\u00fcr eine nat\u00fcrliche oder juristische Person, die f\u00fcr die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist" } ], - "modelType": { - "name": "Entity" - }, + "modelType": "Entity", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber", - "local": false + "value": "http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber" } ] }, @@ -494,7 +547,7 @@ "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -502,38 +555,34 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExampleProperty" } ] }, "value": "exampleValue2", "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleValueId" } ] }, - "valueType": "string" + "valueType": "xs:string" }, { "idShort": "ExampleProperty", "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -541,64 +590,159 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExampleProperty" } ] }, - "qualifiers": [ - { - "modelType": { - "name": "Formula" + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" } - }, + ] + }, + "valueType": "xs:string", + "embeddedDataSpecifications": [ { - "modelType": { - "name": "Formula" + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0" + } + ] }, - "dependsOn": [ - { + "dataSpecificationContent": { + "modelType": "DataSpecificationIec61360", + "preferredName": [ + { + "language": "de", + "text": "Test Specification" + }, + { + "language": "en-US", + "text": "TestSpecification" + } + ], + "dataType": "REAL_MEASURE", + "definition": [ + { + "language": "de", + "text": "Dies ist eine Data Specification f\u00fcr Testzwecke" + }, + { + "language": "en-US", + "text": "This is a DataSpecification for testing purposes" + } + ], + "shortName": [ + { + "language": "de", + "text": "Test Spec" + }, + { + "language": "en-US", + "text": "TestSpec" + } + ], + "unit": "SpaceUnit", + "unitId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Units/SpaceUnit" + } + ] + }, + "sourceOfDefinition": "http://acplt.org/DataSpec/ExampleDef", + "symbol": "SU", + "valueFormat": "M", + "valueList": { + "valueReferencePairs": [ + { + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" + }, + { + "value": "exampleValue2", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId2" + } + ] + }, + "valueType": "xs:string" + } + ] + }, + "value": "TEST", + "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/Values/TestValueId" } ] + }, + "levelType": { + "min": true, + "max": true, + "nom": false, + "typ": false } - ] + } } - ], - "value": "exampleValue", - "valueId": { + ] + } + ], + "entityType": "SelfManagedEntity", + "globalAssetId": "http://acplt.org/TestAsset/", + "specificAssetIds": [ + { + "name": "TestKey", + "value": "TestValue", + "externalSubjectId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/SpecificAssetId/" } ] - }, - "valueType": "string" + } } - ], - "entityType": "CoManagedEntity" + ] }, { "idShort": "ExampleEntity2", + "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation." }, { @@ -606,30 +750,17 @@ "text": "Bezeichnung f\u00fcr eine nat\u00fcrliche oder juristische Person, die f\u00fcr die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist" } ], - "modelType": { - "name": "Entity" - }, + "modelType": "Entity", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber", - "local": false + "value": "http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber" } ] }, - "entityType": "SelfManagedEntity", - "asset": { - "keys": [ - { - "type": "Asset", - "idType": "IRI", - "value": "https://acplt.org/Test_Asset2", - "local": false - } - ] - } + "entityType": "CoManagedEntity" } ] }, @@ -637,7 +768,7 @@ "idShort": "TestSubmodel", "description": [ { - "language": "en-us", + "language": "en-US", "text": "An example submodel for the test application" }, { @@ -645,24 +776,27 @@ "text": "Ein Beispiel-Teilmodell f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "Submodel" - }, - "identification": { - "id": "https://acplt.org/Test_Submodel", - "idType": "IRI" - }, + "modelType": "Submodel", + "id": "https://acplt.org/Test_Submodel", "administration": { - "version": "0.9", - "revision": "0" + "version": "9", + "revision": "0", + "creator": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/AdministrativeInformation/Test_Submodel" + } + ] + } }, "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel", - "local": false + "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel" } ] }, @@ -672,7 +806,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example RelationshipElement object" }, { @@ -680,36 +814,39 @@ "text": "Beispiel RelationshipElement Element" } ], - "modelType": { - "name": "RelationshipElement" - }, + "modelType": "RelationshipElement", "semanticId": { + "type": "ModelReference", "keys": [ { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/RelationshipElements/ExampleRelationshipElement", - "local": false + "type": "ConceptDescription", + "value": "https://acplt.org/Test_ConceptDescription" } ] }, "first": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] }, "second": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty2", - "local": true + "value": "ExampleProperty2" } ] } @@ -719,7 +856,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example AnnotatedRelationshipElement object" }, { @@ -727,54 +864,55 @@ "text": "Beispiel AnnotatedRelationshipElement Element" } ], - "modelType": { - "name": "AnnotatedRelationshipElement" - }, + "modelType": "AnnotatedRelationshipElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement", - "local": false + "value": "http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement" } ] }, "first": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] }, "second": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty2", - "local": true + "value": "ExampleProperty2" } ] }, - "annotation": [ + "annotations": [ { "idShort": "ExampleAnnotatedProperty", - "modelType": { - "name": "Property" - }, + "category": "PARAMETER", + "modelType": "Property", "value": "exampleValue", - "valueType": "string" + "valueType": "xs:string" }, { "idShort": "ExampleAnnotatedRange", - "modelType": { - "name": "Range" - }, - "valueType": "integer", + "category": "PARAMETER", + "modelType": "Range", + "valueType": "xs:integer", "min": "1", "max": "5" } @@ -785,7 +923,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Operation object" }, { @@ -793,27 +931,34 @@ "text": "Beispiel Operation Element" } ], - "modelType": { - "name": "Operation" - }, + "modelType": "Operation", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Operations/ExampleOperation", - "local": false + "value": "http://acplt.org/Operations/ExampleOperation" } ] }, - "inputVariable": [ + "inputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyInput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -821,42 +966,49 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyInput" } ] }, + "kind": "Template", "value": "exampleValue", "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleValueId" } ] }, - "valueType": "string" + "valueType": "xs:string" } } ], - "outputVariable": [ + "outputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyOutput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -864,42 +1016,49 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyOutput" } ] }, + "kind": "Template", "value": "exampleValue", "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleValueId" } ] }, - "valueType": "string" + "valueType": "xs:string" } } ], - "inoutputVariable": [ + "inoutputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyInOutput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -907,31 +1066,28 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyInOutput" } ] }, + "kind": "Template", "value": "exampleValue", "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleValueId" } ] }, - "valueType": "string" + "valueType": "xs:string" } } ] @@ -941,7 +1097,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Capability object" }, { @@ -949,152 +1105,206 @@ "text": "Beispiel Capability Element" } ], - "modelType": { - "name": "Capability" - }, + "modelType": "Capability", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Capabilities/ExampleCapability", - "local": false + "value": "http://acplt.org/Capabilities/ExampleCapability" } ] } }, { - "idShort": "ExampleBasicEvent", + "idShort": "ExampleBasicEventElement", "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example BasicEvent object" + "language": "en-US", + "text": "Example BasicEventElement object" }, { "language": "de", - "text": "Beispiel BasicEvent Element" + "text": "Beispiel BasicEventElement Element" } ], - "modelType": { - "name": "BasicEvent" - }, + "modelType": "BasicEventElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Events/ExampleBasicEvent", - "local": false + "value": "http://acplt.org/Events/ExampleBasicEventElement" } ] }, "observed": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] - } + }, + "direction": "output", + "state": "on", + "messageTopic": "ExampleTopic", + "messageBroker": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/ExampleMessageBroker" + } + ] + }, + "lastUpdate": "2022-11-12T23:50:23.123456+00:00", + "minInterval": "PT0.000001S", + "maxInterval": "P1Y2M3DT4H5M6.123456S" }, { - "idShort": "ExampleSubmodelCollectionOrdered", + "idShort": "ExampleSubmodelCollection", "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example SubmodelElementCollectionOrdered object" + "language": "en-US", + "text": "Example SubmodelElementCollection object" }, { "language": "de", - "text": "Beispiel SubmodelElementCollectionOrdered Element" + "text": "Beispiel SubmodelElementCollection Element" } ], - "modelType": { - "name": "SubmodelElementCollection" - }, + "modelType": "SubmodelElementCollection", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionOrdered", - "local": false + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" } ] }, "value": [ { - "idShort": "ExampleProperty", - "category": "CONSTANT", + "idShort": "ExampleBlob", + "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example Property object" + "language": "en-US", + "text": "Example Blob object" }, { "language": "de", - "text": "Beispiel Property Element" + "text": "Beispiel Blob Element" } ], - "modelType": { - "name": "Property" + "modelType": "Blob", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Blobs/ExampleBlob" + } + ] }, + "contentType": "application/pdf", + "value": "AQIDBAU=" + }, + { + "idShort": "ExampleFile", + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example File object" + }, + { + "language": "de", + "text": "Beispiel File Element" + } + ], + "modelType": "File", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Files/ExampleFile" } ] }, - "value": "exampleValue", - "valueId": { + "value": "/TestFile.pdf", + "contentType": "application/pdf" + }, + { + "idShort": "ExampleFileURI", + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Details of the Asset Administration Shell \u2014 An example for an external file reference" + }, + { + "language": "de", + "text": "Details of the Asset Administration Shell \u2013 Ein Beispiel f\u00fcr eine extern referenzierte Datei" + } + ], + "modelType": "File", + "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false + "value": "http://acplt.org/Files/ExampleFile" } ] }, - "valueType": "string" + "value": "https://www.plattform-i40.de/PI40/Redaktion/DE/Downloads/Publikation/Details-of-the-Asset-Administration-Shell-Part1.pdf?__blob=publicationFile&v=5", + "contentType": "application/pdf" }, { "idShort": "ExampleMultiLanguageProperty", "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example MultiLanguageProperty object" }, { "language": "de", - "text": "Beispiel MulitLanguageProperty Element" + "text": "Beispiel MultiLanguageProperty Element" } ], - "modelType": { - "name": "MultiLanguageProperty" - }, + "modelType": "MultiLanguageProperty", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty", - "local": false + "value": "http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty" } - ] + ], + "referredSemanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty/Referred" + } + ] + } }, "value": [ { - "language": "en-us", + "language": "en-US", "text": "Example value of a MultiLanguageProperty element" }, { @@ -1103,12 +1313,11 @@ } ], "valueId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleMultiLanguageValueId", - "local": false + "value": "http://acplt.org/ValueId/ExampleMultiLanguageValueId" } ] } @@ -1118,7 +1327,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Range object" }, { @@ -1126,358 +1335,476 @@ "text": "Beispiel Range Element" } ], - "modelType": { - "name": "Range" - }, + "modelType": "Range", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Ranges/ExampleRange", - "local": false + "value": "http://acplt.org/Ranges/ExampleRange" } ] }, - "valueType": "int", + "valueType": "xs:int", "min": "0", "max": "100" - } - ], - "ordered": true - }, - { - "idShort": "ExampleSubmodelCollectionUnordered", - "category": "PARAMETER", - "description": [ - { - "language": "en-us", - "text": "Example SubmodelElementCollectionUnordered object" }, { - "language": "de", - "text": "Beispiel SubmodelElementCollectionUnordered Element" - } - ], - "modelType": { - "name": "SubmodelElementCollection" - }, - "semanticId": { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionUnordered", - "local": false - } - ] - }, - "value": [ - { - "idShort": "ExampleBlob", + "idShort": "ExampleReferenceElement", "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example Blob object" + "language": "en-US", + "text": "Example Reference Element object" }, { "language": "de", - "text": "Beispiel Blob Element" + "text": "Beispiel Reference Element Element" } ], - "modelType": { - "name": "Blob" - }, + "modelType": "ReferenceElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Blobs/ExampleBlob", - "local": false + "value": "http://acplt.org/ReferenceElements/ExampleReferenceElement" } ] }, - "mimeType": "application/pdf", - "value": "AQIDBAU=" - }, - { - "idShort": "ExampleFile", - "category": "PARAMETER", - "description": [ - { - "language": "en-us", - "text": "Example File object" - }, - { - "language": "de", - "text": "Beispiel File Element" - } - ], - "modelType": { - "name": "File" - }, - "semanticId": { + "value": { + "type": "ModelReference", "keys": [ { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Files/ExampleFile", - "local": false + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" } ] - }, - "value": "/TestFile.pdf", - "mimeType": "application/pdf" + } }, { - "idShort": "ExampleFileURI", - "category": "CONSTANT", - "description": [ - { - "language": "en-us", - "text": "Details of the Asset Administration Shell\u2014An example for an external file reference" - }, - { - "language": "de", - "text": "Details of the Asset Administration Shell \u2013 Ein Beispiel f\u00fcr eine extern referenzierte Datei" - } - ], - "modelType": { - "name": "File" - }, - "semanticId": { + "idShort": "ExampleSubmodelList", + "typeValueListElement": "Property", + "valueTypeListElement": "xs:string", + "semanticIdListElement": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Files/ExampleFile", - "local": false + "value": "http://acplt.org/Properties/ExampleProperty" } ] }, - "value": "https://www.plattform-i40.de/PI40/Redaktion/DE/Downloads/Publikation/Details-of-the-Asset-Administration-Shell-Part1.pdf?__blob=publicationFile&v=5", - "mimeType": "application/pdf" - }, - { - "idShort": "ExampleReferenceElement", + "orderRelevant": true, "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example Reference Element object" + "language": "en-US", + "text": "Example SubmodelElementList object" }, { "language": "de", - "text": "Beispiel Reference Element Element" + "text": "Beispiel SubmodelElementList Element" } ], - "modelType": { - "name": "ReferenceElement" - }, + "modelType": "SubmodelElementList", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ReferenceElements/ExampleReferenceElement", - "local": false + "value": "http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList" } ] }, - "value": { - "keys": [ - { - "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true - } - ] - } - } - ], - "ordered": false - } - ] - }, - { - "idShort": "", - "modelType": { - "name": "Submodel" - }, - "identification": { - "id": "https://acplt.org/Test_Submodel_Mandatory", - "idType": "IRI" - }, - "submodelElements": [ - { - "idShort": "ExampleRelationshipElement", - "modelType": { - "name": "RelationshipElement" - }, - "first": { - "keys": [ - { - "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true - } - ] - }, - "second": { - "keys": [ - { - "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true - } - ] - } - }, - { - "idShort": "ExampleAnnotatedRelationshipElement", - "modelType": { - "name": "AnnotatedRelationshipElement" - }, - "first": { - "keys": [ - { - "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true - } - ] - }, - "second": { - "keys": [ + "value": [ + { + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty" + } + ] + }, + "supplementalSemanticIds": [ + { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty/SupplementalId1" + } + ] + }, + { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty/SupplementalId2" + } + ] + } + ], + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string", + "embeddedDataSpecifications": [ + { + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0" + } + ] + }, + "dataSpecificationContent": { + "modelType": "DataSpecificationIec61360", + "preferredName": [ + { + "language": "de", + "text": "Test Specification" + }, + { + "language": "en-US", + "text": "TestSpecification" + } + ], + "dataType": "REAL_MEASURE", + "definition": [ + { + "language": "de", + "text": "Dies ist eine Data Specification f\u00fcr Testzwecke" + }, + { + "language": "en-US", + "text": "This is a DataSpecification for testing purposes" + } + ], + "shortName": [ + { + "language": "de", + "text": "Test Spec" + }, + { + "language": "en-US", + "text": "TestSpec" + } + ], + "unit": "SpaceUnit", + "unitId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Units/SpaceUnit" + } + ] + }, + "sourceOfDefinition": "http://acplt.org/DataSpec/ExampleDef", + "symbol": "SU", + "valueFormat": "M", + "valueList": { + "valueReferencePairs": [ + { + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + } + }, + { + "value": "exampleValue2", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId2" + } + ] + } + } + ] + }, + "value": "TEST", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Values/TestValueId" + } + ] + }, + "levelType": { + "min": true, + "max": true, + "nom": false, + "typ": false + } + } + } + ] + }, + { + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], + "category": "CONSTANT", + "description": [ + { + "language": "en-US", + "text": "Example Property object" + }, + { + "language": "de", + "text": "Beispiel Property Element" + } + ], + "modelType": "Property", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty" + } + ] + }, + "supplementalSemanticIds": [ + { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Properties/ExampleProperty2/SupplementalId" + } + ] + } + ], + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" + } + ] + } + ] + } + ] + }, + { + "modelType": "Submodel", + "id": "https://acplt.org/Test_Submodel_Mandatory", + "submodelElements": [ + { + "idShort": "ExampleRelationshipElement", + "modelType": "RelationshipElement", + "first": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "second": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] } }, { - "idShort": "ExampleOperation", - "modelType": { - "name": "Operation" + "idShort": "ExampleAnnotatedRelationshipElement", + "modelType": "AnnotatedRelationshipElement", + "first": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] + }, + "second": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, + { + "type": "Property", + "value": "ExampleProperty" + } + ] } }, + { + "idShort": "ExampleOperation", + "modelType": "Operation" + }, { "idShort": "ExampleCapability", - "modelType": { - "name": "Capability" - } + "modelType": "Capability" }, { - "idShort": "ExampleBasicEvent", - "modelType": { - "name": "BasicEvent" - }, + "idShort": "ExampleBasicEventElement", + "modelType": "BasicEventElement", "observed": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] - } - }, - { - "idShort": "ExampleSubmodelCollectionOrdered", - "modelType": { - "name": "SubmodelElementCollection" }, - "value": [ - { - "idShort": "ExampleProperty", - "modelType": { - "name": "Property" - }, - "value": null, - "valueType": "string" - }, - { - "idShort": "ExampleMultiLanguageProperty", - "modelType": { - "name": "MultiLanguageProperty" - } - }, - { - "idShort": "ExampleRange", - "modelType": { - "name": "Range" - }, - "valueType": "int", - "min": null, - "max": null - } - ], - "ordered": true + "direction": "input", + "state": "off" }, { - "idShort": "ExampleSubmodelCollectionUnordered", - "modelType": { - "name": "SubmodelElementCollection" - }, + "idShort": "ExampleSubmodelList", + "typeValueListElement": "SubmodelElementCollection", + "modelType": "SubmodelElementList", "value": [ { - "idShort": "ExampleBlob", - "modelType": { - "name": "Blob" - }, - "mimeType": "application/pdf" - }, - { - "idShort": "ExampleFile", - "modelType": { - "name": "File" - }, - "value": null, - "mimeType": "application/pdf" + "modelType": "SubmodelElementCollection", + "value": [ + { + "idShort": "ExampleBlob", + "modelType": "Blob", + "contentType": "application/pdf" + }, + { + "idShort": "ExampleFile", + "modelType": "File", + "contentType": "application/pdf" + }, + { + "idShort": "ExampleMultiLanguageProperty", + "category": "PARAMETER", + "modelType": "MultiLanguageProperty" + }, + { + "idShort": "ExampleProperty", + "category": "PARAMETER", + "modelType": "Property", + "valueType": "xs:string" + }, + { + "idShort": "ExampleRange", + "category": "PARAMETER", + "modelType": "Range", + "valueType": "xs:int" + }, + { + "idShort": "ExampleReferenceElement", + "category": "PARAMETER", + "modelType": "ReferenceElement" + } + ] }, { - "idShort": "ExampleReferenceElement", - "modelType": { - "name": "ReferenceElement" - } + "modelType": "SubmodelElementCollection" } - ], - "ordered": false + ] }, { - "idShort": "ExampleSubmodelCollectionUnordered2", - "modelType": { - "name": "SubmodelElementCollection" - }, - "ordered": false + "idShort": "ExampleSubmodelList2", + "typeValueListElement": "Capability", + "modelType": "SubmodelElementList" } ] }, { - "idShort": "", - "modelType": { - "name": "Submodel" - }, - "identification": { - "id": "https://acplt.org/Test_Submodel2_Mandatory", - "idType": "IRI" - } + "modelType": "Submodel", + "id": "https://acplt.org/Test_Submodel2_Mandatory" }, { "idShort": "TestSubmodel", "description": [ { - "language": "en-us", + "language": "en-US", "text": "An example submodel for the test application" }, { @@ -1485,24 +1812,18 @@ "text": "Ein Beispiel-Teilmodell f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "Submodel" - }, - "identification": { - "id": "https://acplt.org/Test_Submodel_Missing", - "idType": "IRI" - }, + "modelType": "Submodel", + "id": "https://acplt.org/Test_Submodel_Missing", "administration": { - "version": "0.9", + "version": "9", "revision": "0" }, "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel", - "local": false + "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel" } ] }, @@ -1512,7 +1833,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example RelationshipElement object" }, { @@ -1520,36 +1841,39 @@ "text": "Beispiel RelationshipElement Element" } ], - "modelType": { - "name": "RelationshipElement" - }, + "modelType": "RelationshipElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/RelationshipElements/ExampleRelationshipElement", - "local": false + "value": "http://acplt.org/RelationshipElements/ExampleRelationshipElement" } ] }, "first": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] }, "second": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] } @@ -1559,7 +1883,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example AnnotatedRelationshipElement object" }, { @@ -1567,56 +1891,57 @@ "text": "Beispiel AnnotatedRelationshipElement Element" } ], - "modelType": { - "name": "AnnotatedRelationshipElement" - }, + "modelType": "AnnotatedRelationshipElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement", - "local": false + "value": "http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement" } ] }, "first": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] }, "second": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] }, - "annotation": [ - { - "idShort": "ExampleAnnotatedProperty", - "modelType": { - "name": "Property" - }, - "value": "exampleValue", - "valueType": "string" - }, + "annotations": [ { "idShort": "ExampleAnnotatedRange", - "modelType": { - "name": "Range" - }, - "valueType": "integer", + "category": "PARAMETER", + "modelType": "Range", + "valueType": "xs:integer", "min": "1", "max": "5" + }, + { + "idShort": "ExampleAnnotatedProperty", + "category": "PARAMETER", + "modelType": "Property", + "value": "exampleValue", + "valueType": "xs:string" } ] }, @@ -1625,7 +1950,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Operation object" }, { @@ -1633,27 +1958,34 @@ "text": "Beispiel Operation Element" } ], - "modelType": { - "name": "Operation" - }, + "modelType": "Operation", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Operations/ExampleOperation", - "local": false + "value": "http://acplt.org/Operations/ExampleOperation" } ] }, - "inputVariable": [ + "inputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyInput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -1661,41 +1993,49 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyInput" } ] }, - "qualifiers": [ - { - "modelType": { - "name": "Qualifier" - }, - "valueType": "string", - "type": "http://acplt.org/Qualifier/ExampleQualifier" - } - ], + "kind": "Template", "value": "exampleValue", - "valueType": "string" + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" } } ], - "outputVariable": [ + "outputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyOutput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -1703,41 +2043,49 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyOutput" } ] }, - "qualifiers": [ - { - "modelType": { - "name": "Qualifier" - }, - "valueType": "string", - "type": "http://acplt.org/Qualifier/ExampleQualifier" - } - ], + "kind": "Template", "value": "exampleValue", - "valueType": "string" + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" } } ], - "inoutputVariable": [ + "inoutputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyInOutput", + "displayName": [ + { + "language": "en-US", + "text": "ExampleProperty" + }, + { + "language": "de", + "text": "BeispielProperty" + } + ], "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -1745,30 +2093,28 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyInOutput" } ] }, - "qualifiers": [ - { - "modelType": { - "name": "Qualifier" - }, - "valueType": "string", - "type": "http://acplt.org/Qualifier/ExampleQualifier" - } - ], + "kind": "Template", "value": "exampleValue", - "valueType": "string" + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + }, + "valueType": "xs:string" } } ] @@ -1778,7 +2124,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Capability object" }, { @@ -1786,128 +2132,151 @@ "text": "Beispiel Capability Element" } ], - "modelType": { - "name": "Capability" - }, + "modelType": "Capability", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Capabilities/ExampleCapability", - "local": false + "value": "http://acplt.org/Capabilities/ExampleCapability" } ] } }, { - "idShort": "ExampleBasicEvent", + "idShort": "ExampleBasicEventElement", "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example BasicEvent object" + "language": "en-US", + "text": "Example BasicEventElement object" }, { "language": "de", - "text": "Beispiel BasicEvent Element" + "text": "Beispiel BasicEventElement Element" } ], - "modelType": { - "name": "BasicEvent" - }, + "modelType": "BasicEventElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Events/ExampleBasicEvent", - "local": false + "value": "http://acplt.org/Events/ExampleBasicEventElement" } ] }, "observed": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] - } + }, + "direction": "output", + "state": "on", + "messageTopic": "ExampleTopic", + "messageBroker": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/ExampleMessageBroker" + } + ] + }, + "lastUpdate": "2022-11-12T23:50:23.123456+00:00", + "minInterval": "PT0.000001S", + "maxInterval": "P1Y2M3DT4H5M6.123456S" }, { - "idShort": "ExampleSubmodelCollectionOrdered", + "idShort": "ExampleSubmodelCollection", "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example SubmodelElementCollectionOrdered object" + "language": "en-US", + "text": "Example SubmodelElementCollection object" }, { "language": "de", - "text": "Beispiel SubmodelElementCollectionOrdered Element" + "text": "Beispiel SubmodelElementCollection Element" } ], - "modelType": { - "name": "SubmodelElementCollection" - }, + "modelType": "SubmodelElementCollection", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionOrdered", - "local": false + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" } ] }, "value": [ { - "idShort": "ExampleProperty", - "category": "CONSTANT", + "idShort": "ExampleBlob", + "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example Property object" + "language": "en-US", + "text": "Example Blob object" }, { "language": "de", - "text": "Beispiel Property Element" + "text": "Beispiel Blob Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Blob", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Blobs/ExampleBlob" } ] }, - "qualifiers": [ + "contentType": "application/pdf", + "value": "AQIDBAU=" + }, + { + "idShort": "ExampleFile", + "category": "PARAMETER", + "description": [ { - "modelType": { - "name": "Qualifier" - }, - "valueType": "string", - "type": "http://acplt.org/Qualifier/ExampleQualifier" + "language": "en-US", + "text": "Example File object" + }, + { + "language": "de", + "text": "Beispiel File Element" } ], - "value": "exampleValue", - "valueType": "string" + "modelType": "File", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Files/ExampleFile" + } + ] + }, + "value": "/TestFile.pdf", + "contentType": "application/pdf" }, { "idShort": "ExampleMultiLanguageProperty", "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example MultiLanguageProperty object" }, { @@ -1915,22 +2284,19 @@ "text": "Beispiel MulitLanguageProperty Element" } ], - "modelType": { - "name": "MultiLanguageProperty" - }, + "modelType": "MultiLanguageProperty", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty", - "local": false + "value": "http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty" } ] }, "value": [ { - "language": "en-us", + "language": "en-US", "text": "Example value of a MultiLanguageProperty element" }, { @@ -1940,129 +2306,70 @@ ] }, { - "idShort": "ExampleRange", - "category": "PARAMETER", + "idShort": "ExampleProperty", + "category": "CONSTANT", "description": [ { - "language": "en-us", - "text": "Example Range object" + "language": "en-US", + "text": "Example Property object" }, { "language": "de", - "text": "Beispiel Range Element" + "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Range" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Ranges/ExampleRange", - "local": false + "value": "http://acplt.org/Properties/ExampleProperty" } ] }, - "valueType": "int", - "min": "0", - "max": "100" - } - ], - "ordered": true - }, - { - "idShort": "ExampleSubmodelCollectionUnordered", - "category": "PARAMETER", - "description": [ - { - "language": "en-us", - "text": "Example SubmodelElementCollectionUnordered object" - }, - { - "language": "de", - "text": "Beispiel SubmodelElementCollectionUnordered Element" - } - ], - "modelType": { - "name": "SubmodelElementCollection" - }, - "semanticId": { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionUnordered", - "local": false - } - ] - }, - "value": [ - { - "idShort": "ExampleBlob", - "category": "PARAMETER", - "description": [ - { - "language": "en-us", - "text": "Example Blob object" - }, + "qualifiers": [ { - "language": "de", - "text": "Beispiel Blob Element" + "valueType": "xs:string", + "type": "http://acplt.org/Qualifier/ExampleQualifier" } ], - "modelType": { - "name": "Blob" - }, - "semanticId": { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Blobs/ExampleBlob", - "local": false - } - ] - }, - "mimeType": "application/pdf", - "value": "AQIDBAU=" + "value": "exampleValue", + "valueType": "xs:string" }, { - "idShort": "ExampleFile", + "idShort": "ExampleRange", "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example File object" + "language": "en-US", + "text": "Example Range object" }, { "language": "de", - "text": "Beispiel File Element" + "text": "Beispiel Range Element" } ], - "modelType": { - "name": "File" - }, + "modelType": "Range", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Files/ExampleFile", - "local": false + "value": "http://acplt.org/Ranges/ExampleRange" } ] }, - "value": "/TestFile.pdf", - "mimeType": "application/pdf" + "valueType": "xs:int", + "min": "0", + "max": "100" }, { "idShort": "ExampleReferenceElement", "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Reference Element object" }, { @@ -2070,32 +2377,31 @@ "text": "Beispiel Reference Element Element" } ], - "modelType": { - "name": "ReferenceElement" - }, + "modelType": "ReferenceElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ReferenceElements/ExampleReferenceElement", - "local": false + "value": "http://acplt.org/ReferenceElements/ExampleReferenceElement" } ] }, "value": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] } } - ], - "ordered": false + ] } ] }, @@ -2103,7 +2409,7 @@ "idShort": "TestSubmodel", "description": [ { - "language": "en-us", + "language": "en-US", "text": "An example submodel for the test application" }, { @@ -2111,24 +2417,18 @@ "text": "Ein Beispiel-Teilmodell f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "Submodel" - }, - "identification": { - "id": "https://acplt.org/Test_Submodel_Template", - "idType": "IRI" - }, + "modelType": "Submodel", + "id": "https://acplt.org/Test_Submodel_Template", "administration": { - "version": "0.9", + "version": "9", "revision": "0" }, "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel", - "local": false + "value": "http://acplt.org/SubmodelTemplates/ExampleSubmodel" } ] }, @@ -2139,7 +2439,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example RelationshipElement object" }, { @@ -2147,37 +2447,40 @@ "text": "Beispiel RelationshipElement Element" } ], - "modelType": { - "name": "RelationshipElement" - }, + "modelType": "RelationshipElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/RelationshipElements/ExampleRelationshipElement", - "local": false + "value": "http://acplt.org/RelationshipElements/ExampleRelationshipElement" } ] }, "kind": "Template", "first": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] }, "second": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] } @@ -2187,7 +2490,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example AnnotatedRelationshipElement object" }, { @@ -2195,37 +2498,40 @@ "text": "Beispiel AnnotatedRelationshipElement Element" } ], - "modelType": { - "name": "AnnotatedRelationshipElement" - }, + "modelType": "AnnotatedRelationshipElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement", - "local": false + "value": "http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement" } ] }, "kind": "Template", "first": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] }, "second": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] } @@ -2235,7 +2541,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Operation object" }, { @@ -2243,28 +2549,25 @@ "text": "Beispiel Operation Element" } ], - "modelType": { - "name": "Operation" - }, + "modelType": "Operation", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Operations/ExampleOperation", - "local": false + "value": "http://acplt.org/Operations/ExampleOperation" } ] }, "kind": "Template", - "inputVariable": [ + "inputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyInput", "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -2272,33 +2575,29 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyInput" } ] }, "kind": "Template", - "value": null, - "valueType": "string" + "valueType": "xs:string" } } ], - "outputVariable": [ + "outputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyOutput", "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -2306,33 +2605,29 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyOutput" } ] }, "kind": "Template", - "value": null, - "valueType": "string" + "valueType": "xs:string" } } ], - "inoutputVariable": [ + "inoutputVariables": [ { "value": { - "idShort": "ExampleProperty", + "idShort": "ExamplePropertyInOutput", "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -2340,22 +2635,18 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExamplePropertyInOutput" } ] }, "kind": "Template", - "value": null, - "valueType": "string" + "valueType": "xs:string" } } ] @@ -2365,7 +2656,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Capability object" }, { @@ -2373,82 +2664,126 @@ "text": "Beispiel Capability Element" } ], - "modelType": { - "name": "Capability" - }, + "modelType": "Capability", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Capabilities/ExampleCapability", - "local": false + "value": "http://acplt.org/Capabilities/ExampleCapability" } ] }, "kind": "Template" }, { - "idShort": "ExampleBasicEvent", + "idShort": "ExampleBasicEventElement", "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example BasicEvent object" + "language": "en-US", + "text": "Example BasicEventElement object" }, { "language": "de", - "text": "Beispiel BasicEvent Element" + "text": "Beispiel BasicEventElement Element" } ], - "modelType": { - "name": "BasicEvent" - }, + "modelType": "BasicEventElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Events/ExampleBasicEvent", - "local": false + "value": "http://acplt.org/Events/ExampleBasicEventElement" } ] }, "kind": "Template", "observed": { + "type": "ModelReference", "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/Test_Submodel" + }, { "type": "Property", - "idType": "IdShort", - "value": "ExampleProperty", - "local": true + "value": "ExampleProperty" } ] - } + }, + "direction": "output", + "state": "on", + "messageTopic": "ExampleTopic", + "messageBroker": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "http://acplt.org/ExampleMessageBroker" + } + ] + }, + "lastUpdate": "2022-11-12T23:50:23.123456+00:00", + "minInterval": "PT0.000001S", + "maxInterval": "P1Y2M3DT4H5M6.123456S" }, { - "idShort": "ExampleSubmodelCollectionOrdered", + "idShort": "ExampleSubmodelList", + "typeValueListElement": "SubmodelElementCollection", + "semanticIdListElement": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" + } + ] + }, + "orderRelevant": true, "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example SubmodelElementCollectionOrdered object" + "language": "en-US", + "text": "Example SubmodelElementList object" }, { "language": "de", - "text": "Beispiel SubmodelElementCollectionOrdered Element" + "text": "Beispiel SubmodelElementList Element" } ], - "modelType": { - "name": "SubmodelElementCollection" + "modelType": "SubmodelElementList", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList" + } + ] }, + "kind": "Template", + "value": [ + { + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example SubmodelElementCollection object" + }, + { + "language": "de", + "text": "Beispiel SubmodelElementCollection Element" + } + ], + "modelType": "SubmodelElementCollection", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionOrdered", - "local": false + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" } ] }, @@ -2459,7 +2794,7 @@ "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Property object" }, { @@ -2467,29 +2802,25 @@ "text": "Beispiel Property Element" } ], - "modelType": { - "name": "Property" - }, + "modelType": "Property", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Properties/ExampleProperty", - "local": false + "value": "http://acplt.org/Properties/ExampleProperty" } ] }, "kind": "Template", - "value": null, - "valueType": "string" + "valueType": "xs:string" }, { "idShort": "ExampleMultiLanguageProperty", "category": "CONSTANT", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example MultiLanguageProperty object" }, { @@ -2497,16 +2828,13 @@ "text": "Beispiel MulitLanguageProperty Element" } ], - "modelType": { - "name": "MultiLanguageProperty" - }, + "modelType": "MultiLanguageProperty", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty", - "local": false + "value": "http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty" } ] }, @@ -2517,7 +2845,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Range object" }, { @@ -2525,22 +2853,18 @@ "text": "Beispiel Range Element" } ], - "modelType": { - "name": "Range" - }, + "modelType": "Range", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Ranges/ExampleRange", - "local": false + "value": "http://acplt.org/Ranges/ExampleRange" } ] }, "kind": "Template", - "valueType": "int", - "min": null, + "valueType": "xs:int", "max": "100" }, { @@ -2548,7 +2872,7 @@ "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Range object" }, { @@ -2556,61 +2880,26 @@ "text": "Beispiel Range Element" } ], - "modelType": { - "name": "Range" - }, + "modelType": "Range", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Ranges/ExampleRange", - "local": false + "value": "http://acplt.org/Ranges/ExampleRange" } ] }, "kind": "Template", - "valueType": "int", - "min": "0", - "max": null - } - ], - "ordered": true - }, - { - "idShort": "ExampleSubmodelCollectionUnordered", - "category": "PARAMETER", - "description": [ - { - "language": "en-us", - "text": "Example SubmodelElementCollectionUnordered object" + "valueType": "xs:int", + "min": "0" }, - { - "language": "de", - "text": "Beispiel SubmodelElementCollectionUnordered Element" - } - ], - "modelType": { - "name": "SubmodelElementCollection" - }, - "semanticId": { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionUnordered", - "local": false - } - ] - }, - "kind": "Template", - "value": [ { "idShort": "ExampleBlob", "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Blob object" }, { @@ -2618,28 +2907,25 @@ "text": "Beispiel Blob Element" } ], - "modelType": { - "name": "Blob" - }, + "modelType": "Blob", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Blobs/ExampleBlob", - "local": false + "value": "http://acplt.org/Blobs/ExampleBlob" } ] }, "kind": "Template", - "mimeType": "application/pdf" + "contentType": "application/pdf" }, { "idShort": "ExampleFile", "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example File object" }, { @@ -2647,29 +2933,25 @@ "text": "Beispiel File Element" } ], - "modelType": { - "name": "File" - }, + "modelType": "File", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Files/ExampleFile", - "local": false + "value": "http://acplt.org/Files/ExampleFile" } ] }, "kind": "Template", - "value": null, - "mimeType": "application/pdf" + "contentType": "application/pdf" }, { "idShort": "ExampleReferenceElement", "category": "PARAMETER", "description": [ { - "language": "en-us", + "language": "en-US", "text": "Example Reference Element object" }, { @@ -2677,134 +2959,83 @@ "text": "Beispiel Reference Element Element" } ], - "modelType": { - "name": "ReferenceElement" - }, + "modelType": "ReferenceElement", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ReferenceElements/ExampleReferenceElement", - "local": false + "value": "http://acplt.org/ReferenceElements/ExampleReferenceElement" } ] }, "kind": "Template" } - ], - "ordered": false + ] }, - { - "idShort": "ExampleSubmodelCollectionUnordered2", + { "category": "PARAMETER", "description": [ { - "language": "en-us", - "text": "Example SubmodelElementCollectionUnordered object" + "language": "en-US", + "text": "Example SubmodelElementCollection object" }, { "language": "de", - "text": "Beispiel SubmodelElementCollectionUnordered Element" + "text": "Beispiel SubmodelElementCollection Element" } ], - "modelType": { - "name": "SubmodelElementCollection" - }, + "modelType": "SubmodelElementCollection", "semanticId": { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionUnordered", - "local": false + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" } ] }, - "kind": "Template", - "ordered": false - } - ] - } - ], - "assets": [ - { - "idShort": "Test_Asset", - "description": [ - { - "language": "en-us", - "text": "An example asset for the test application" - }, - { - "language": "de", - "text": "Ein Beispiel-Asset f\u00fcr eine Test-Anwendung" + "kind": "Template" } - ], - "modelType": { - "name": "Asset" - }, - "identification": { - "id": "https://acplt.org/Test_Asset", - "idType": "IRI" - }, - "administration": { - "version": "0.9", - "revision": "0" - }, - "kind": "Instance", - "assetIdentificationModel": { - "keys": [ - { - "type": "Submodel", - "idType": "IRI", - "value": "http://acplt.org/Submodels/Assets/TestAsset/Identification", - "local": false - } - ] - }, - "billOfMaterial": { - "keys": [ - { - "type": "Submodel", - "idType": "IRI", - "value": "http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial", - "local": false - } - ] - } - }, - { - "idShort": "", - "modelType": { - "name": "Asset" - }, - "identification": { - "id": "https://acplt.org/Test_Asset_Mandatory", - "idType": "IRI" - }, - "kind": "Instance" - }, - { - "idShort": "Test_Asset", - "description": [ - { - "language": "en-us", - "text": "An example asset for the test application" + ] }, { - "language": "de", - "text": "Ein Beispiel-Asset f\u00fcr eine Test-Anwendung" + "idShort": "ExampleSubmodelList2", + "typeValueListElement": "Capability", + "semanticIdListElement": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection" + } + ] + }, + "orderRelevant": true, + "category": "PARAMETER", + "description": [ + { + "language": "en-US", + "text": "Example SubmodelElementList object" + }, + { + "language": "de", + "text": "Beispiel SubmodelElementList Element" + } + ], + "modelType": "SubmodelElementList", + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList" + } + ] + }, + "kind": "Template" } - ], - "modelType": { - "name": "Asset" - }, - "identification": { - "id": "https://acplt.org/Test_Asset_Missing", - "idType": "IRI" - }, - "administration": {}, - "kind": "Instance" + ] } ], "conceptDescriptions": [ @@ -2812,195 +3043,168 @@ "idShort": "TestConceptDescription", "description": [ { - "language": "en-us", - "text": "An example concept description for the test application" + "language": "en-US", + "text": "An example concept description for the test application" }, { "language": "de", "text": "Ein Beispiel-ConceptDescription f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "ConceptDescription" - }, - "identification": { - "id": "https://acplt.org/Test_ConceptDescription", - "idType": "IRI" - }, + "modelType": "ConceptDescription", + "id": "https://acplt.org/Test_ConceptDescription", "administration": { - "version": "0.9", - "revision": "0" + "version": "9", + "revision": "0", + "creator": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/AdministrativeInformation/Test_ConceptDescription" + } + ] + }, + "templateId": "http://acplt.org/AdministrativeInformationTemplates/Test_ConceptDescription", + "embeddedDataSpecifications": [ + { + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0" + } + ] + }, + "dataSpecificationContent": { + "modelType": "DataSpecificationIec61360", + "preferredName": [ + { + "language": "de", + "text": "Test Specification" + }, + { + "language": "en-US", + "text": "TestSpecification" + } + ], + "dataType": "REAL_MEASURE", + "definition": [ + { + "language": "de", + "text": "Dies ist eine Data Specification f\u00fcr Testzwecke" + }, + { + "language": "en-US", + "text": "This is a DataSpecification for testing purposes" + } + ], + "shortName": [ + { + "language": "de", + "text": "Test Spec" + }, + { + "language": "en-US", + "text": "TestSpec" + } + ], + "unit": "SpaceUnit", + "unitId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Units/SpaceUnit" + } + ] + }, + "sourceOfDefinition": "http://acplt.org/DataSpec/ExampleDef", + "symbol": "SU", + "valueFormat": "M", + "valueList": { + "valueReferencePairs": [ + { + "value": "exampleValue", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId" + } + ] + } + }, + { + "value": "exampleValue2", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/ValueId/ExampleValueId2" + } + ] + } + } + ] + }, + "value": "TEST", + "valueId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "http://acplt.org/Values/TestValueId" + } + ] + }, + "levelType": { + "min": true, + "max": true, + "nom": false, + "typ": false + } + } + } + ] }, "isCaseOf": [ { + "type": "ExternalReference", "keys": [ { "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/DataSpecifications/ConceptDescriptions/TestConceptDescription", - "local": false + "value": "http://acplt.org/DataSpecifications/ConceptDescriptions/TestConceptDescription" } ] } ] }, { - "idShort": "", - "modelType": { - "name": "ConceptDescription" - }, - "identification": { - "id": "https://acplt.org/Test_ConceptDescription_Mandatory", - "idType": "IRI" - } + "modelType": "ConceptDescription", + "id": "https://acplt.org/Test_ConceptDescription_Mandatory" }, { "idShort": "TestConceptDescription", "description": [ { - "language": "en-us", - "text": "An example concept description for the test application" + "language": "en-US", + "text": "An example concept description for the test application" }, { "language": "de", "text": "Ein Beispiel-ConceptDescription f\u00fcr eine Test-Anwendung" } ], - "modelType": { - "name": "ConceptDescription" - }, - "identification": { - "id": "https://acplt.org/Test_ConceptDescription_Missing", - "idType": "IRI" - }, + "modelType": "ConceptDescription", + "id": "https://acplt.org/Test_ConceptDescription_Missing", "administration": { - "version": "0.9", + "version": "9", "revision": "0" } - }, - { - "idShort": "TestSpec_01", - "modelType": { - "name": "ConceptDescription" - }, - "identification": { - "id": "http://acplt.org/DataSpecifciations/Example/Identification", - "idType": "IRI" - }, - "administration": { - "version": "0.9", - "revision": "0" - }, - "isCaseOf": [ - { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ReferenceElements/ConceptDescriptionX", - "local": false - } - ] - } - ], - "embeddedDataSpecifications": [ - { - "dataSpecification": { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/2/0", - "local": false - } - ] - }, - "dataSpecificationContent": { - "preferredName": [ - { - "language": "de", - "text": "Test Specification" - }, - { - "language": "en-us", - "text": "TestSpecification" - } - ], - "dataType": "REAL_MEASURE", - "definition": [ - { - "language": "de", - "text": "Dies ist eine Data Specification f\u00fcr Testzwecke" - }, - { - "language": "en-us", - "text": "This is a DataSpecification for testing purposes" - } - ], - "shortName": [ - { - "language": "de", - "text": "Test Spec" - }, - { - "language": "en-us", - "text": "TestSpec" - } - ], - "unit": "SpaceUnit", - "unitId": { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/Units/SpaceUnit", - "local": false - } - ] - }, - "sourceOfDefinition": "http://acplt.org/DataSpec/ExampleDef", - "symbol": "SU", - "valueFormat": "string", - "valueList": { - "valueReferencePairTypes": [ - { - "value": "exampleValue2", - "valueId": { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId2", - "local": false - } - ] - }, - "valueType": "string" - }, - { - "value": "exampleValue", - "valueId": { - "keys": [ - { - "type": "GlobalReference", - "idType": "IRI", - "value": "http://acplt.org/ValueId/ExampleValueId", - "local": false - } - ] - }, - "valueType": "string" - } - ] - }, - "value": "TEST", - "levelType": [ - "Min", - "Max" - ] - } - } - ] } ] -} +} \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_wrong_attribute.xml b/compliance-tool/test/compliance_tool/files/test_demo_full_example_wrong_attribute.xml index c99808071..061ee58b6 100644 --- a/compliance-tool/test/compliance_tool/files/test_demo_full_example_wrong_attribute.xml +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_wrong_attribute.xml @@ -1,1684 +1,2832 @@ - + - TestAssetAdministrationShell + TestAssetAdministrationShell123 - An Example Asset Administration Shell for the test application - Ein Beispiel-Verwaltungsschale für eine Test-Anwendung + + en-US + An Example Asset Administration Shell for the test application + + + de + Ein Beispiel-Verwaltungsschale für eine Test-Anwendung + - https://acplt.org/Test_AssetAdministrationShell123 - 0.9 + 9 0 + + ExternalReference + + + GlobalReference + http://acplt.org/AdministrativeInformation/Test_AssetAdministrationShell + + + + http://acplt.org/AdministrativeInformationTemplates/Test_AssetAdministrationShell + https://acplt.org/Test_AssetAdministrationShell + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0 + + + + + + + + de + Test Specification + + + en-US + TestSpecification + + + + + de + Test Spec + + + en-US + TestSpec + + + SpaceUnit + + ExternalReference + + + GlobalReference + http://acplt.org/Units/SpaceUnit + + + + http://acplt.org/DataSpec/ExampleDef + SU + REAL_MEASURE + + + de + Dies ist eine Data Specification für Testzwecke + + + en-US + This is a DataSpecification for testing purposes + + + M + + + + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + exampleValue2 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId2 + + + + + + + TEST + + true + false + false + true + + + + + + ModelReference - https://acplt.org/TestAssetAdministrationShell2 + + AssetAdministrationShell + https://acplt.org/TestAssetAdministrationShell2 + - - - https://acplt.org/Test_Asset - - - - + + Instance + http://acplt.org/TestAsset/ + + + + ExternalReference + + + GlobalReference + http://acplt.org/SpecificAssetId/ + + + + TestKey + TestValue + + ExternalReference + + + GlobalReference + http://acplt.org/SpecificAssetId/ + + + + + + http://acplt.org/TestAssetType/ + + file:///path/to/thumbnail.png + image/png + + + + + ModelReference + + ModelReference + + + Submodel + http://acplt.org/SubmodelTemplates/AssetIdentification + + + - https://acplt.org/Test_Submodel + + Submodel + http://acplt.org/Submodels/Assets/TestAsset/Identification + - - + + + ModelReference + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelTemplates/ExampleSubmodel + + + - http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial + + Submodel + https://acplt.org/Test_Submodel + - - + + + ModelReference - http://acplt.org/Submodels/Assets/TestAsset/Identification + + Submodel + http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial + - - - - - TestConceptDictionary - - An example concept dictionary for the test application - Ein Beispiel-ConceptDictionary für eine Test-Anwendung - - - - - https://acplt.org/Test_ConceptDescription - - - - - + + - - https://acplt.org/Test_AssetAdministrationShell_Mandatory - - - https://acplt.org/Test_Asset_Mandatory - - - - + https://acplt.org/Test_AssetAdministrationShell_Mandatory + + Instance + http://acplt.org/Test_Asset_Mandatory/ + + + + ModelReference - https://acplt.org/Test_Submodel2_Mandatory + + Submodel + https://acplt.org/Test_Submodel2_Mandatory + - - + + + ModelReference - https://acplt.org/Test_Submodel_Mandatory + + Submodel + https://acplt.org/Test_Submodel_Mandatory + - - - - - TestConceptDictionary - - - + + - - https://acplt.org/Test_AssetAdministrationShell2_Mandatory - - - https://acplt.org/Test_Asset_Mandatory - - + https://acplt.org/Test_AssetAdministrationShell2_Mandatory + + Instance + http://acplt.org/TestAsset2_Mandatory/ + TestAssetAdministrationShell - An Example Asset Administration Shell for the test application - Ein Beispiel-Verwaltungsschale für eine Test-Anwendung + + en-US + An Example Asset Administration Shell for the test application + + + de + Ein Beispiel-Verwaltungsschale für eine Test-Anwendung + - https://acplt.org/Test_AssetAdministrationShell_Missing - 0.9 + 9 0 - - - https://acplt.org/Test_Asset_Missing - - - - - - https://acplt.org/Test_Submodel_Missing - - - - - - ExampleView - - - - https://acplt.org/Test_Submodel_Missing - - - - - - ExampleView2 - - - - - - TestConceptDictionary - - An example concept dictionary for the test application - Ein Beispiel-ConceptDictionary für eine Test-Anwendung - - - + https://acplt.org/Test_AssetAdministrationShell_Missing + + Instance + http://acplt.org/Test_Asset_Missing/ + + + TestKey + TestValue + + ExternalReference - https://acplt.org/Test_ConceptDescription_Missing + + GlobalReference + http://acplt.org/SpecificAssetId/ + - - - - + + + + + file:///TestFile.pdf + application/pdf + + + + + ModelReference + + + Submodel + https://acplt.org/Test_Submodel_Missing + + + + - - - Test_Asset - - An example asset for the test application - Ein Beispiel-Asset für eine Test-Anwendung - - https://acplt.org/Test_Asset - - 0.9 - 0 - - - - http://acplt.org/Submodels/Assets/TestAsset/Identification - - - - - http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial - - - Instance - - - - https://acplt.org/Test_Asset_Mandatory - Instance - - - Test_Asset - - An example asset for the test application - Ein Beispiel-Asset für eine Test-Anwendung - - https://acplt.org/Test_Asset_Missing - - Instance - - Identification - An example asset identification submodel for the test application - Ein Beispiel-Identifikations-Submodel für eine Test-Anwendung + + en-US + An example asset identification submodel for the test application + + + de + Ein Beispiel-Identifikations-Submodel für eine Test-Anwendung + - http://acplt.org/Submodels/Assets/TestAsset/Identification - 0.9 + 9 0 + + ExternalReference + + + GlobalReference + http://acplt.org/AdministrativeInformation/TestAsset/Identification + + + + http://acplt.org/AdministrativeInformationTemplates/TestAsset/Identification + http://acplt.org/Submodels/Assets/TestAsset/Identification Instance + ModelReference - http://acplt.org/SubmodelTemplates/AssetIdentification + + Submodel + http://acplt.org/SubmodelTemplates/AssetIdentification + - - - ManufacturerName - - Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. - Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist - - Instance - - - 0173-1#02-AAO677#002 - - - - - http://acplt.org/Qualifier/ExampleQualifier - int - + + + + ExampleExtension + xs:string + ExampleExtensionValue + + + ModelReference - http://acplt.org/ValueId/ExampleValueId + + AssetAdministrationShell + http://acplt.org/RefersTo/ExampleRefersTo + - - 100 - + + + + + PARAMETER + ManufacturerName + + + en-US + Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. + + + de + Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist + + + + ExternalReference + + + GlobalReference + 0173-1#02-AAO677#002 + + + + + + ConceptQualifier + http://acplt.org/Qualifier/ExampleQualifier + xs:int + 100 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + - - http://acplt.org/Qualifier/ExampleQualifier2 - int - - - http://acplt.org/ValueId/ExampleValueId - - - 50 - + TemplateQualifier + http://acplt.org/Qualifier/ExampleQualifier2 + xs:int + 50 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + - string - ACPLT - - - http://acplt.org/ValueId/ExampleValueId - - - - - - - InstanceId - - Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. - Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist - - Instance - - - http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber - - - string - 978-8234-234-342 - - - http://acplt.org/ValueId/ExampleValueId - - - - + + xs:string + ACPLT + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + PARAMETER + InstanceId + + + en-US + Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. + + + de + Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist + + + + ExternalReference + + + GlobalReference + http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber + + + + + + ValueQualifier + http://acplt.org/Qualifier/ExampleQualifier3 + xs:dateTime + 2023-04-07T16:59:54.870123 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + xs:string + 978-8234-234-342 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + BillOfMaterial - An example bill of material submodel for the test application - Ein Beispiel-BillofMaterial-Submodel für eine Test-Anwendung + + en-US + An example bill of material submodel for the test application + + + de + Ein Beispiel-BillofMaterial-Submodel für eine Test-Anwendung + - http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial - 0.9 + 9 + http://acplt.org/AdministrativeInformationTemplates/TestAsset/BillOfMaterial + http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial Instance + ModelReference - http://acplt.org/SubmodelTemplates/BillOfMaterial + + Submodel + http://acplt.org/SubmodelTemplates/BillOfMaterial + - - - ExampleEntity - - Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. - Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist - - Instance - - - http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber - - - - - - ExampleProperty2 - CONSTANT - - Example Property object - Beispiel Property Element - - Instance - - - http://acplt.org/Properties/ExampleProperty - - - string - exampleValue2 - - - http://acplt.org/ValueId/ExampleValueId - - - - - - - ExampleProperty - CONSTANT - - Example Property object - Beispiel Property Element - - Instance - - - http://acplt.org/Properties/ExampleProperty - - - - - - - - - - - http://acplt.org/ValueId/ExampleValueId - - - - - - string - exampleValue - - - http://acplt.org/ValueId/ExampleValueId - - - - - - CoManagedEntity - - - - - ExampleEntity2 - - Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. - Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist - - Instance - - - http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber - - - - SelfManagedEntity - - - https://acplt.org/Test_Asset2 - - - - + + PARAMETER + ExampleEntity + + + en-US + Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. + + + de + Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist + + + + ExternalReference + + + GlobalReference + http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber + + + + + + CONSTANT + ExampleProperty2 + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + xs:string + exampleValue2 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + CONSTANT + ExampleProperty + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + SelfManagedEntity + http://acplt.org/TestAsset/ + + + TestKey + TestValue + + ExternalReference + + + GlobalReference + http://acplt.org/SpecificAssetId/ + + + + + + + + PARAMETER + ExampleEntity2 + + + en-US + Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. + + + de + Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist + + + + ExternalReference + + + GlobalReference + http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber + + + + CoManagedEntity + TestSubmodel - An example submodel for the test application - Ein Beispiel-Teilmodell für eine Test-Anwendung + + en-US + An example submodel for the test application + + + de + Ein Beispiel-Teilmodell für eine Test-Anwendung + - https://acplt.org/Test_Submodel - 0.9 + 9 0 + + ExternalReference + + + GlobalReference + http://acplt.org/AdministrativeInformation/Test_Submodel + + + + https://acplt.org/Test_Submodel Instance + ExternalReference - http://acplt.org/SubmodelTemplates/ExampleSubmodel + + GlobalReference + http://acplt.org/SubmodelTemplates/ExampleSubmodel + - - - ExampleRelationshipElement - PARAMETER - - Example RelationshipElement object - Beispiel RelationshipElement Element - - Instance - - - http://acplt.org/RelationshipElements/ExampleRelationshipElement - - - - - ExampleProperty - - - - - ExampleProperty2 - - - - - - - ExampleAnnotatedRelationshipElement - PARAMETER - - Example AnnotatedRelationshipElement object - Beispiel AnnotatedRelationshipElement Element - - Instance - - - http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement - - - - - ExampleProperty - - - - - ExampleProperty2 - - - - - - ExampleAnnotatedProperty - Instance - string - exampleValue - - - - - ExampleAnnotatedRange - Instance - integer - 1 - 5 - - - - - - - - ExampleOperation - PARAMETER - - Example Operation object - Beispiel Operation Element - - Instance - - - http://acplt.org/Operations/ExampleOperation - - - + + PARAMETER + ExampleRelationshipElement + + + en-US + Example RelationshipElement object + + + de + Beispiel RelationshipElement Element + + + + ModelReference + + + ConceptDescription + https://acplt.org/Test_ConceptDescription + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty2 + + + + + + PARAMETER + ExampleAnnotatedRelationshipElement + + + en-US + Example AnnotatedRelationshipElement object + + + de + Beispiel AnnotatedRelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty2 + + + + + + PARAMETER + ExampleAnnotatedProperty + xs:string + exampleValue + + + PARAMETER + ExampleAnnotatedRange + xs:integer + 1 + 5 + + + + + PARAMETER + ExampleOperation + + + en-US + Example Operation object + + + de + Beispiel Operation Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Operations/ExampleOperation + + + + + - ExampleProperty CONSTANT + ExamplePropertyInput + + + en-US + ExampleProperty + + + de + BeispielProperty + + - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Instance + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInput + - string + xs:string exampleValue + ExternalReference - http://acplt.org/ValueId/ExampleValueId + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + - - + + + + - ExampleProperty CONSTANT + ExamplePropertyOutput + + + en-US + ExampleProperty + + + de + BeispielProperty + + - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Instance + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyOutput + - string + xs:string exampleValue + ExternalReference - http://acplt.org/ValueId/ExampleValueId + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + - - + + + + - ExampleProperty CONSTANT + ExamplePropertyInOutput + + + en-US + ExampleProperty + + + de + BeispielProperty + + - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Instance + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInOutput + - string + xs:string exampleValue + ExternalReference - http://acplt.org/ValueId/ExampleValueId + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + - - - - - - ExampleCapability - PARAMETER - - Example Capability object - Beispiel Capability Element - - Instance - - - http://acplt.org/Capabilities/ExampleCapability - - - - - - - ExampleBasicEvent - PARAMETER - - Example BasicEvent object - Beispiel BasicEvent Element - - Instance - - - http://acplt.org/Events/ExampleBasicEvent - - - - - ExampleProperty - - - - - - - ExampleSubmodelCollectionOrdered - PARAMETER - - Example SubmodelElementCollectionOrdered object - Beispiel SubmodelElementCollectionOrdered Element - - Instance - - - http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionOrdered - - - - + + + + + PARAMETER + ExampleCapability + + + en-US + Example Capability object + + + de + Beispiel Capability Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Capabilities/ExampleCapability + + + + + + PARAMETER + ExampleBasicEventElement + + + en-US + Example BasicEventElement object + + + de + Beispiel BasicEventElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Events/ExampleBasicEventElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + output + on + ExampleTopic + + ModelReference + + + Submodel + http://acplt.org/ExampleMessageBroker + + + + 2022-11-12T23:50:23.123456+00:00 + PT0.000001S + P1Y2M3DT4H5M6.123456S + + + PARAMETER + ExampleSubmodelCollection + + + en-US + Example SubmodelElementCollection object + + + de + Beispiel SubmodelElementCollection Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + + + PARAMETER + ExampleBlob + + + en-US + Example Blob object + + + de + Beispiel Blob Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Blobs/ExampleBlob + + + + AQIDBAU= + application/pdf + + + PARAMETER + ExampleFile + + + en-US + Example File object + + + de + Beispiel File Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Files/ExampleFile + + + + /TestFile.pdf + application/pdf + + + CONSTANT + ExampleFileURI + + + en-US + Details of the Asset Administration Shell — An example for an external file reference + + + de + Details of the Asset Administration Shell – Ein Beispiel für eine extern referenzierte Datei + + + + ExternalReference + + + GlobalReference + http://acplt.org/Files/ExampleFile + + + + https://www.plattform-i40.de/PI40/Redaktion/DE/Downloads/Publikation/Details-of-the-Asset-Administration-Shell-Part1.pdf?__blob=publicationFile&v=5 + application/pdf + + + PARAMETER + ExampleSubmodelList + + + en-US + Example SubmodelElementList object + + + de + Beispiel SubmodelElementList Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList + + + + true + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + Property + xs:string + - ExampleProperty CONSTANT + + + en-US + ExampleProperty + + + de + BeispielProperty + + - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Instance + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExampleProperty + - string + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty/SupplementalId1 + + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty/SupplementalId2 + + + + + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0 + + + + + + + + de + Test Specification + + + en-US + TestSpecification + + + + + de + Test Spec + + + en-US + TestSpec + + + SpaceUnit + + ExternalReference + + + GlobalReference + http://acplt.org/Units/SpaceUnit + + + + http://acplt.org/DataSpec/ExampleDef + SU + REAL_MEASURE + + + de + Dies ist eine Data Specification für Testzwecke + + + en-US + This is a DataSpecification for testing purposes + + + M + + + + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + exampleValue2 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId2 + + + + + + + TEST + + true + false + false + true + + + + + + xs:string exampleValue + ExternalReference - http://acplt.org/ValueId/ExampleValueId + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + - - - - ExampleMultiLanguageProperty + CONSTANT + + + en-US + ExampleProperty + + + de + BeispielProperty + + - Example MultiLanguageProperty object - Beispiel MulitLanguageProperty Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Instance + ExternalReference - http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty2/SupplementalId + + + + + xs:string + exampleValue + ExternalReference - http://acplt.org/ValueId/ExampleMultiLanguageValueId + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + - - Example value of a MultiLanguageProperty element - Beispielswert für ein MulitLanguageProperty-Element - - - - - - ExampleRange - PARAMETER - - Example Range object - Beispiel Range Element - - Instance - - - http://acplt.org/Ranges/ExampleRange - - - int - 0 - 100 - - - - true - false - - - - - ExampleSubmodelCollectionUnordered - PARAMETER - - Example SubmodelElementCollectionUnordered object - Beispiel SubmodelElementCollectionUnordered Element - - Instance - - - http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionUnordered - - - - + + + + + CONSTANT + ExampleMultiLanguageProperty + + + en-US + Example MultiLanguageProperty object + + + de + Beispiel MultiLanguageProperty Element + + + + ExternalReference + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty/Referred + + + + + + GlobalReference + http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty + + + + + + en-US + Example value of a MultiLanguageProperty element + + + de + Beispielswert für ein MulitLanguageProperty-Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleMultiLanguageValueId + + + + + + PARAMETER + ExampleRange + + + en-US + Example Range object + + + de + Beispiel Range Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Ranges/ExampleRange + + + + xs:int + 0 + 100 + + + PARAMETER + ExampleReferenceElement + + + en-US + Example Reference Element object + + + de + Beispiel Reference Element Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/ReferenceElements/ExampleReferenceElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + + + + + https://acplt.org/Test_Submodel_Mandatory + Instance + + + ExampleRelationshipElement + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + ExampleAnnotatedRelationshipElement + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + ExampleOperation + + + ExampleCapability + + + ExampleBasicEventElement + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + input + off + + + ExampleSubmodelList + SubmodelElementCollection + + + ExampleBlob - PARAMETER - - Example Blob object - Beispiel Blob Element - - Instance - - - http://acplt.org/Blobs/ExampleBlob - - - AQIDBAU= - application/pdf + + application/pdf - - ExampleFile - PARAMETER - - Example File object - Beispiel File Element - - Instance - - - http://acplt.org/Files/ExampleFile - - - application/pdf - /TestFile.pdf - - - - - ExampleFileURI - CONSTANT - - Details of the Asset Administration Shell—An example for an external file reference - Details of the Asset Administration Shell – Ein Beispiel für eine extern referenzierte Datei - - Instance - - - http://acplt.org/Files/ExampleFile - - - application/pdf - https://www.plattform-i40.de/PI40/Redaktion/DE/Downloads/Publikation/Details-of-the-Asset-Administration-Shell-Part1.pdf?__blob=publicationFile&v=5 + application/pdf - - - - ExampleReferenceElement + PARAMETER - - Example Reference Element object - Beispiel Reference Element Element - - Instance - - - http://acplt.org/ReferenceElements/ExampleReferenceElement - - - - - ExampleProperty - - - - - - false - false - - - - - - - https://acplt.org/Test_Submodel_Mandatory - Instance - - - - ExampleRelationshipElement - Instance - - - ExampleProperty - - - - - ExampleProperty - - - - - - - ExampleAnnotatedRelationshipElement - Instance - - - ExampleProperty - - - - - ExampleProperty - - - - - - - - ExampleOperation - Instance - - - - - ExampleCapability - Instance - - - - - ExampleBasicEvent - Instance - - - ExampleProperty - - - - - - - ExampleSubmodelCollectionOrdered - Instance - - + ExampleMultiLanguageProperty + + PARAMETER ExampleProperty - Instance - string + xs:string - - - - ExampleMultiLanguageProperty - Instance - - - + PARAMETER ExampleRange - Instance - int + xs:int - - - true - false - - - - - ExampleSubmodelCollectionUnordered - Instance - - - - ExampleBlob - Instance - - application/pdf - - - - - ExampleFile - Instance - application/pdf - - - + PARAMETER ExampleReferenceElement - Instance - - - false - false - - - - - ExampleSubmodelCollectionUnordered2 - Instance - - false - false - - + + + + + + + + ExampleSubmodelList2 + Capability + - - https://acplt.org/Test_Submodel2_Mandatory + https://acplt.org/Test_Submodel2_Mandatory Instance - TestSubmodel - An example submodel for the test application - Ein Beispiel-Teilmodell für eine Test-Anwendung + + en-US + An example submodel for the test application + + + de + Ein Beispiel-Teilmodell für eine Test-Anwendung + - https://acplt.org/Test_Submodel_Missing - 0.9 + 9 0 + https://acplt.org/Test_Submodel_Missing Instance + ExternalReference - http://acplt.org/SubmodelTemplates/ExampleSubmodel + + GlobalReference + http://acplt.org/SubmodelTemplates/ExampleSubmodel + - - - ExampleRelationshipElement - PARAMETER - - Example RelationshipElement object - Beispiel RelationshipElement Element - - Instance - - - http://acplt.org/RelationshipElements/ExampleRelationshipElement - - - - - ExampleProperty - - - - - ExampleProperty - - - - - - - ExampleAnnotatedRelationshipElement - PARAMETER - - Example AnnotatedRelationshipElement object - Beispiel AnnotatedRelationshipElement Element - - Instance - - - http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement - - - - - ExampleProperty - - - - - ExampleProperty - - - - - - ExampleAnnotatedRange - Instance - integer - 1 - 5 - - - - - ExampleAnnotatedProperty - Instance - string - exampleValue - - - - - - - - ExampleOperation - PARAMETER - - Example Operation object - Beispiel Operation Element - - Instance - - - http://acplt.org/Operations/ExampleOperation - - - + + PARAMETER + ExampleRelationshipElement + + + en-US + Example RelationshipElement object + + + de + Beispiel RelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + PARAMETER + ExampleAnnotatedRelationshipElement + + + en-US + Example AnnotatedRelationshipElement object + + + de + Beispiel AnnotatedRelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + PARAMETER + ExampleAnnotatedRange + xs:integer + 1 + 5 + + + PARAMETER + ExampleAnnotatedProperty + xs:string + exampleValue + + + + + PARAMETER + ExampleOperation + + + en-US + Example Operation object + + + de + Beispiel Operation Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Operations/ExampleOperation + + + + + - ExampleProperty CONSTANT + ExamplePropertyInput + + + en-US + ExampleProperty + + + de + BeispielProperty + + - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Instance + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInput + - - - http://acplt.org/Qualifier/ExampleQualifier - string - - - string + xs:string exampleValue - - - - - - - ExampleProperty - CONSTANT - - Example Property object - Beispiel Property Element - - Instance - + + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + - - - - http://acplt.org/Qualifier/ExampleQualifier - string - - - string - exampleValue + - - + + + + - ExampleProperty CONSTANT + ExamplePropertyOutput + + + en-US + ExampleProperty + + + de + BeispielProperty + + - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Instance + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyOutput + - - - http://acplt.org/Qualifier/ExampleQualifier - string - - - string + xs:string exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + - - - - - - ExampleCapability - PARAMETER - - Example Capability object - Beispiel Capability Element - - Instance - - - http://acplt.org/Capabilities/ExampleCapability - - - - - - - ExampleBasicEvent - PARAMETER - - Example BasicEvent object - Beispiel BasicEvent Element - - Instance - - - http://acplt.org/Events/ExampleBasicEvent - - - - - ExampleProperty - - - - - - - ExampleSubmodelCollectionOrdered - PARAMETER - - Example SubmodelElementCollectionOrdered object - Beispiel SubmodelElementCollectionOrdered Element - - Instance - - - http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionOrdered - - - - + + + + + - ExampleProperty CONSTANT + ExamplePropertyInOutput + + + en-US + ExampleProperty + + + de + BeispielProperty + + - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Instance + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInOutput + - - - http://acplt.org/Qualifier/ExampleQualifier - string - - - string + xs:string exampleValue - - - - - ExampleMultiLanguageProperty - CONSTANT - - Example MultiLanguageProperty object - Beispiel MulitLanguageProperty Element - - Instance - - - http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty - - - - Example value of a MultiLanguageProperty element - Beispielswert für ein MulitLanguageProperty-Element - - - - - - ExampleRange - PARAMETER - - Example Range object - Beispiel Range Element - - Instance - - - http://acplt.org/Ranges/ExampleRange - - - int - 0 - 100 - - - - true - false - - - - - ExampleSubmodelCollectionUnordered - PARAMETER - - Example SubmodelElementCollectionUnordered object - Beispiel SubmodelElementCollectionUnordered Element - - Instance - - - http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionUnordered - - - - - - ExampleBlob - PARAMETER - - Example Blob object - Beispiel Blob Element - - Instance - - - http://acplt.org/Blobs/ExampleBlob - - - AQIDBAU= - application/pdf - - - - - ExampleFile - PARAMETER - - Example File object - Beispiel File Element - - Instance - - - http://acplt.org/Files/ExampleFile - - - application/pdf - /TestFile.pdf - - - - - ExampleReferenceElement - PARAMETER - - Example Reference Element object - Beispiel Reference Element Element - - Instance - - - http://acplt.org/ReferenceElements/ExampleReferenceElement - - - + + ExternalReference - ExampleProperty + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + - - - - - false - false - - + + + + + + + + PARAMETER + ExampleCapability + + + en-US + Example Capability object + + + de + Beispiel Capability Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Capabilities/ExampleCapability + + + + + + PARAMETER + ExampleBasicEventElement + + + en-US + Example BasicEventElement object + + + de + Beispiel BasicEventElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Events/ExampleBasicEventElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + output + on + ExampleTopic + + ModelReference + + + Submodel + http://acplt.org/ExampleMessageBroker + + + + 2022-11-12T23:50:23.123456+00:00 + PT0.000001S + P1Y2M3DT4H5M6.123456S + + + PARAMETER + ExampleSubmodelCollection + + + en-US + Example SubmodelElementCollection object + + + de + Beispiel SubmodelElementCollection Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + + + PARAMETER + ExampleBlob + + + en-US + Example Blob object + + + de + Beispiel Blob Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Blobs/ExampleBlob + + + + AQIDBAU= + application/pdf + + + PARAMETER + ExampleFile + + + en-US + Example File object + + + de + Beispiel File Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Files/ExampleFile + + + + /TestFile.pdf + application/pdf + + + CONSTANT + ExampleMultiLanguageProperty + + + en-US + Example MultiLanguageProperty object + + + de + Beispiel MulitLanguageProperty Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty + + + + + + en-US + Example value of a MultiLanguageProperty element + + + de + Beispielswert für ein MulitLanguageProperty-Element + + + + + CONSTANT + ExampleProperty + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + + + http://acplt.org/Qualifier/ExampleQualifier + xs:string + + + xs:string + exampleValue + + + PARAMETER + ExampleRange + + + en-US + Example Range object + + + de + Beispiel Range Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Ranges/ExampleRange + + + + xs:int + 0 + 100 + + + PARAMETER + ExampleReferenceElement + + + en-US + Example Reference Element object + + + de + Beispiel Reference Element Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/ReferenceElements/ExampleReferenceElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + TestSubmodel - An example submodel for the test application - Ein Beispiel-Teilmodell für eine Test-Anwendung + + en-US + An example submodel for the test application + + + de + Ein Beispiel-Teilmodell für eine Test-Anwendung + - https://acplt.org/Test_Submodel_Template - 0.9 + 9 0 + https://acplt.org/Test_Submodel_Template Template + ExternalReference - http://acplt.org/SubmodelTemplates/ExampleSubmodel + + GlobalReference + http://acplt.org/SubmodelTemplates/ExampleSubmodel + - - - ExampleRelationshipElement - PARAMETER - - Example RelationshipElement object - Beispiel RelationshipElement Element - - Template - - - http://acplt.org/RelationshipElements/ExampleRelationshipElement - - - - - ExampleProperty - - - - - ExampleProperty - - - - - - - ExampleAnnotatedRelationshipElement - PARAMETER - - Example AnnotatedRelationshipElement object - Beispiel AnnotatedRelationshipElement Element - - Template - - - http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement - - - - - ExampleProperty - - - - - ExampleProperty - - - - - - - - ExampleOperation - PARAMETER - - Example Operation object - Beispiel Operation Element - - Template - - - http://acplt.org/Operations/ExampleOperation - - - + + PARAMETER + ExampleRelationshipElement + + + en-US + Example RelationshipElement object + + + de + Beispiel RelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + PARAMETER + ExampleAnnotatedRelationshipElement + + + en-US + Example AnnotatedRelationshipElement object + + + de + Beispiel AnnotatedRelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + PARAMETER + ExampleOperation + + + en-US + Example Operation object + + + de + Beispiel Operation Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Operations/ExampleOperation + + + + + - ExampleProperty CONSTANT + ExamplePropertyInput - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Template + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInput + - string + xs:string - - + + + + - ExampleProperty CONSTANT + ExamplePropertyOutput - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Template + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyOutput + - string + xs:string - - + + + + - ExampleProperty CONSTANT + ExamplePropertyInOutput - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Template + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInOutput + - string + xs:string - - - - - - ExampleCapability - PARAMETER - - Example Capability object - Beispiel Capability Element - - Template - - - http://acplt.org/Capabilities/ExampleCapability - - - - - - - ExampleBasicEvent - PARAMETER - - Example BasicEvent object - Beispiel BasicEvent Element - - Template - - - http://acplt.org/Events/ExampleBasicEvent - - - - - ExampleProperty - - - - - - - ExampleSubmodelCollectionOrdered - PARAMETER - - Example SubmodelElementCollectionOrdered object - Beispiel SubmodelElementCollectionOrdered Element - - Template - - - http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionOrdered - - - - + + + + + PARAMETER + ExampleCapability + + + en-US + Example Capability object + + + de + Beispiel Capability Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Capabilities/ExampleCapability + + + + + + PARAMETER + ExampleBasicEventElement + + + en-US + Example BasicEventElement object + + + de + Beispiel BasicEventElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Events/ExampleBasicEventElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + output + on + ExampleTopic + + ModelReference + + + Submodel + http://acplt.org/ExampleMessageBroker + + + + 2022-11-12T23:50:23.123456+00:00 + PT0.000001S + P1Y2M3DT4H5M6.123456S + + + PARAMETER + ExampleSubmodelList + + + en-US + Example SubmodelElementList object + + + de + Beispiel SubmodelElementList Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList + + + + true + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + SubmodelElementCollection + + + PARAMETER + + + en-US + Example SubmodelElementCollection object + + + de + Beispiel SubmodelElementCollection Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + - ExampleProperty CONSTANT + ExampleProperty - Example Property object - Beispiel Property Element + + en-US + Example Property object + + + de + Beispiel Property Element + - Template + ExternalReference - http://acplt.org/Properties/ExampleProperty + + GlobalReference + http://acplt.org/Properties/ExampleProperty + - string + xs:string - - - ExampleMultiLanguageProperty CONSTANT + ExampleMultiLanguageProperty - Example MultiLanguageProperty object - Beispiel MulitLanguageProperty Element + + en-US + Example MultiLanguageProperty object + + + de + Beispiel MulitLanguageProperty Element + - Template + ExternalReference - http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty + + GlobalReference + http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty + - - - ExampleRange PARAMETER + ExampleRange - Example Range object - Beispiel Range Element + + en-US + Example Range object + + + de + Beispiel Range Element + - Template + ExternalReference - http://acplt.org/Ranges/ExampleRange + + GlobalReference + http://acplt.org/Ranges/ExampleRange + - int + xs:int 100 - - - ExampleRange2 PARAMETER + ExampleRange2 - Example Range object - Beispiel Range Element + + en-US + Example Range object + + + de + Beispiel Range Element + - Template + ExternalReference - http://acplt.org/Ranges/ExampleRange + + GlobalReference + http://acplt.org/Ranges/ExampleRange + - int + xs:int 0 - - - true - false - - - - - ExampleSubmodelCollectionUnordered - PARAMETER - - Example SubmodelElementCollectionUnordered object - Beispiel SubmodelElementCollectionUnordered Element - - Template - - - http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionUnordered - - - - - ExampleBlob PARAMETER + ExampleBlob - Example Blob object - Beispiel Blob Element + + en-US + Example Blob object + + + de + Beispiel Blob Element + - Template + ExternalReference - http://acplt.org/Blobs/ExampleBlob + + GlobalReference + http://acplt.org/Blobs/ExampleBlob + - application/pdf + application/pdf - - - ExampleFile PARAMETER + ExampleFile - Example File object - Beispiel File Element + + en-US + Example File object + + + de + Beispiel File Element + - Template + ExternalReference - http://acplt.org/Files/ExampleFile + + GlobalReference + http://acplt.org/Files/ExampleFile + - application/pdf + application/pdf - - - ExampleReferenceElement PARAMETER + ExampleReferenceElement - Example Reference Element object - Beispiel Reference Element Element + + en-US + Example Reference Element object + + + de + Beispiel Reference Element Element + - Template + ExternalReference - http://acplt.org/ReferenceElements/ExampleReferenceElement + + GlobalReference + http://acplt.org/ReferenceElements/ExampleReferenceElement + - - - false - false - - - - - ExampleSubmodelCollectionUnordered2 - PARAMETER - - Example SubmodelElementCollectionUnordered object - Beispiel SubmodelElementCollectionUnordered Element - - Template - - - http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollectionUnordered - - - - false - false - - + + + + PARAMETER + + + en-US + Example SubmodelElementCollection object + + + de + Beispiel SubmodelElementCollection Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + + + + + PARAMETER + ExampleSubmodelList2 + + + en-US + Example SubmodelElementList object + + + de + Beispiel SubmodelElementList Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList + + + + true + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + Capability + @@ -1686,102 +2834,158 @@ TestConceptDescription - An example concept description for the test application - Ein Beispiel-ConceptDescription für eine Test-Anwendung + + en-US + An example concept description for the test application + + + de + Ein Beispiel-ConceptDescription für eine Test-Anwendung + - https://acplt.org/Test_ConceptDescription - 0.9 + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0 + + + + + + + + de + Test Specification + + + en-US + TestSpecification + + + + + de + Test Spec + + + en-US + TestSpec + + + SpaceUnit + + ExternalReference + + + GlobalReference + http://acplt.org/Units/SpaceUnit + + + + http://acplt.org/DataSpec/ExampleDef + SU + REAL_MEASURE + + + de + Dies ist eine Data Specification für Testzwecke + + + en-US + This is a DataSpecification for testing purposes + + + M + + + + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + exampleValue2 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId2 + + + + + + + TEST + + true + false + false + true + + + + + + 9 0 + + ExternalReference + + + GlobalReference + http://acplt.org/AdministrativeInformation/Test_ConceptDescription + + + + http://acplt.org/AdministrativeInformationTemplates/Test_ConceptDescription + https://acplt.org/Test_ConceptDescription - - http://acplt.org/DataSpecifications/ConceptDescriptions/TestConceptDescription - + + ExternalReference + + + GlobalReference + http://acplt.org/DataSpecifications/ConceptDescriptions/TestConceptDescription + + + - - https://acplt.org/Test_ConceptDescription_Mandatory + https://acplt.org/Test_ConceptDescription_Mandatory TestConceptDescription - An example concept description for the test application - Ein Beispiel-ConceptDescription für eine Test-Anwendung + + en-US + An example concept description for the test application + + + de + Ein Beispiel-ConceptDescription für eine Test-Anwendung + - https://acplt.org/Test_ConceptDescription_Missing - 0.9 + 9 0 - - - TestSpec_01 - http://acplt.org/DataSpecifciations/Example/Identification - - 0.9 - 0 - - - - - - Test Specification - TestSpecification - - - Test Spec - TestSpec - - SpaceUnit - - - http://acplt.org/Units/SpaceUnit - - - http://acplt.org/DataSpec/ExampleDef - SU - REAL_MEASURE - - Dies ist eine Data Specification für Testzwecke - This is a DataSpecification for testing purposes - - string - - - - - http://acplt.org/ValueId/ExampleValueId - - - exampleValue - - - - - http://acplt.org/ValueId/ExampleValueId2 - - - exampleValue2 - - - TEST - Max - Min - - - - - http://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/2/0 - - - - - - http://acplt.org/ReferenceElements/ConceptDescriptionX - - + https://acplt.org/Test_ConceptDescription_Missing - \ No newline at end of file + diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/TestFile.pdf b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/TestFile.pdf new file mode 100644 index 000000000..2bccbec5f Binary files /dev/null and b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/TestFile.pdf differ diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/[Content_Types].xml b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/[Content_Types].xml new file mode 100644 index 000000000..efab09eb1 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/[Content_Types].xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/_rels/.rels b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/_rels/.rels new file mode 100644 index 000000000..9758543f3 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/_rels/.rels @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/aasx/_rels/aasx-origin.rels b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/aasx/_rels/aasx-origin.rels new file mode 100644 index 000000000..fc764b657 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/aasx/_rels/aasx-origin.rels @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/aasx/_rels/data.xml.rels b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/aasx/_rels/data.xml.rels new file mode 100644 index 000000000..43350edd0 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/aasx/_rels/data.xml.rels @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/aasx/aasx-origin b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/aasx/aasx-origin new file mode 100644 index 000000000..e69de29bb diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/aasx/data.xml b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/aasx/data.xml new file mode 100644 index 000000000..c0eb40769 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/aasx/data.xml @@ -0,0 +1,2999 @@ + + + + + TestAssetAdministrationShell + + + en-US + An Example Asset Administration Shell for the test application + + + de + Ein Beispiel-Verwaltungsschale für eine Test-Anwendung + + + + 9 + 0 + + ExternalReference + + + GlobalReference + http://acplt.org/AdministrativeInformation/Test_AssetAdministrationShell + + + + http://acplt.org/AdministrativeInformationTemplates/Test_AssetAdministrationShell + + https://acplt.org/Test_AssetAdministrationShell + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0 + + + + + + + + de + Test Specification + + + en-US + TestSpecification + + + + + de + Test Spec + + + en-US + TestSpec + + + SpaceUnit + + ExternalReference + + + GlobalReference + http://acplt.org/Units/SpaceUnit + + + + http://acplt.org/DataSpec/ExampleDef + SU + REAL_MEASURE + + + de + Dies ist eine Data Specification für Testzwecke + + + en-US + This is a DataSpecification for testing purposes + + + M + + + + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + exampleValue2 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId2 + + + + + + + TEST + + true + false + false + true + + + + + + + ModelReference + + + AssetAdministrationShell + https://acplt.org/TestAssetAdministrationShell2 + + + + + Instance + http://acplt.org/TestAsset/ + + + + ExternalReference + + + GlobalReference + http://acplt.org/SpecificAssetId/ + + + + TestKey + TestValue + + ExternalReference + + + GlobalReference + http://acplt.org/SpecificAssetId/ + + + + + + + file:///path/to/thumbnail.png + image/png + + + + + ModelReference + + ModelReference + + + Submodel + http://acplt.org/SubmodelTemplates/AssetIdentification + + + + + + Submodel + http://acplt.org/Submodels/Assets/TestAsset/Identification + + + + + ModelReference + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelTemplates/ExampleSubmodel + + + + + + Submodel + https://acplt.org/Test_Submodel + + + + + ModelReference + + + Submodel + http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial + + + + + ModelReference + + + Submodel + https://acplt.org/Test_Submodel_Template + + + + + + + https://acplt.org/Test_AssetAdministrationShell_Mandatory + + Instance + http://acplt.org/Test_Asset_Mandatory/ + + + + ModelReference + + + Submodel + https://acplt.org/Test_Submodel2_Mandatory + + + + + ModelReference + + + Submodel + https://acplt.org/Test_Submodel_Mandatory + + + + + + + https://acplt.org/Test_AssetAdministrationShell2_Mandatory + + Instance + http://acplt.org/TestAsset2_Mandatory/ + + + + TestAssetAdministrationShell + + + en-US + An Example Asset Administration Shell for the test application + + + de + Ein Beispiel-Verwaltungsschale für eine Test-Anwendung + + + + 9 + 0 + + https://acplt.org/Test_AssetAdministrationShell_Missing + + Instance + http://acplt.org/Test_Asset_Missing/ + + + TestKey + TestValue + + ExternalReference + + + GlobalReference + http://acplt.org/SpecificAssetId/ + + + + + + + file:///TestFile.pdf + application/pdf + + + + + ModelReference + + + Submodel + https://acplt.org/Test_Submodel_Missing + + + + + + + + + Identification + + + en-US + An example asset identification submodel for the test application + + + de + Ein Beispiel-Identifikations-Submodel für eine Test-Anwendung + + + + 9 + 0 + + ExternalReference + + + GlobalReference + http://acplt.org/AdministrativeInformation/TestAsset/Identification + + + + http://acplt.org/AdministrativeInformationTemplates/TestAsset/Identification + + http://acplt.org/Submodels/Assets/TestAsset/Identification + Instance + + ModelReference + + + Submodel + http://acplt.org/SubmodelTemplates/AssetIdentification + + + + + + + + ExampleExtension + xs:string + ExampleExtensionValue + + + ModelReference + + + AssetAdministrationShell + http://acplt.org/RefersTo/ExampleRefersTo + + + + + + + PARAMETER + ManufacturerName + + + en-US + Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. + + + de + Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist + + + + ExternalReference + + + GlobalReference + 0173-1#02-AAO677#002 + + + + + + ConceptQualifier + http://acplt.org/Qualifier/ExampleQualifier + xs:int + 100 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + TemplateQualifier + http://acplt.org/Qualifier/ExampleQualifier2 + xs:int + 50 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + xs:string + ACPLT + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + PARAMETER + InstanceId + + + en-US + Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. + + + de + Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist + + + + ExternalReference + + + GlobalReference + http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber + + + + + + ValueQualifier + http://acplt.org/Qualifier/ExampleQualifier3 + xs:dateTime + 2023-04-07T16:59:54.870123 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + xs:string + 978-8234-234-342 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + + + BillOfMaterial + + + en-US + An example bill of material submodel for the test application + + + de + Ein Beispiel-BillofMaterial-Submodel für eine Test-Anwendung + + + + 9 + http://acplt.org/AdministrativeInformationTemplates/TestAsset/BillOfMaterial + + http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial + Instance + + ModelReference + + + Submodel + http://acplt.org/SubmodelTemplates/BillOfMaterial + + + + + + PARAMETER + ExampleEntity + + + en-US + Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. + + + de + Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist + + + + ExternalReference + + + GlobalReference + http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber + + + + + + CONSTANT + ExampleProperty2 + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + xs:string + exampleValue2 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + CONSTANT + ExampleProperty + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + SelfManagedEntity + http://acplt.org/TestAsset/ + + + TestKey + TestValue + + ExternalReference + + + GlobalReference + http://acplt.org/SpecificAssetId/ + + + + + + + + PARAMETER + ExampleEntity2 + + + en-US + Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. + + + de + Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist + + + + ExternalReference + + + GlobalReference + http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber + + + + CoManagedEntity + + + + + TestSubmodel + + + en-US + An example submodel for the test application + + + de + Ein Beispiel-Teilmodell für eine Test-Anwendung + + + + 9 + 0 + + ExternalReference + + + GlobalReference + http://acplt.org/AdministrativeInformation/Test_Submodel + + + + + https://acplt.org/Test_Submodel + Instance + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelTemplates/ExampleSubmodel + + + + + + PARAMETER + ExampleRelationshipElement + + + en-US + Example RelationshipElement object + + + de + Beispiel RelationshipElement Element + + + + ModelReference + + + ConceptDescription + https://acplt.org/Test_ConceptDescription + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty2 + + + + + + PARAMETER + ExampleAnnotatedRelationshipElement + + + en-US + Example AnnotatedRelationshipElement object + + + de + Beispiel AnnotatedRelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty2 + + + + + + PARAMETER + ExampleAnnotatedProperty + xs:string + exampleValue + + + PARAMETER + ExampleAnnotatedRange + xs:integer + 1 + 5 + + + + + PARAMETER + ExampleOperation + + + en-US + Example Operation object + + + de + Beispiel Operation Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Operations/ExampleOperation + + + + + + + + CONSTANT + ExamplePropertyInput + + + en-US + ExampleProperty + + + de + BeispielProperty + + + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInput + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + + + + + + + CONSTANT + ExamplePropertyOutput + + + en-US + ExampleProperty + + + de + BeispielProperty + + + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyOutput + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + + + + + + + CONSTANT + ExamplePropertyInOutput + + + en-US + ExampleProperty + + + de + BeispielProperty + + + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInOutput + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + + + + + PARAMETER + ExampleCapability + + + en-US + Example Capability object + + + de + Beispiel Capability Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Capabilities/ExampleCapability + + + + + + PARAMETER + ExampleBasicEventElement + + + en-US + Example BasicEventElement object + + + de + Beispiel BasicEventElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Events/ExampleBasicEventElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + output + on + ExampleTopic + + ModelReference + + + Submodel + http://acplt.org/ExampleMessageBroker + + + + 2022-11-12T23:50:23.123456+00:00 + PT0.000001S + P1Y2M3DT4H5M6.123456S + + + PARAMETER + ExampleSubmodelCollection + + + en-US + Example SubmodelElementCollection object + + + de + Beispiel SubmodelElementCollection Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + + + PARAMETER + ExampleBlob + + + en-US + Example Blob object + + + de + Beispiel Blob Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Blobs/ExampleBlob + + + + AQIDBAU= + application/pdf + + + PARAMETER + ExampleFile + + + en-US + Example File object + + + de + Beispiel File Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Files/ExampleFile + + + + /TestFile.pdf + application/pdf + + + CONSTANT + ExampleFileURI + + + en-US + Details of the Asset Administration Shell — An example for an external file reference + + + de + Details of the Asset Administration Shell – Ein Beispiel für eine extern referenzierte Datei + + + + ExternalReference + + + GlobalReference + http://acplt.org/Files/ExampleFile + + + + https://www.plattform-i40.de/PI40/Redaktion/DE/Downloads/Publikation/Details-of-the-Asset-Administration-Shell-Part1.pdf?__blob=publicationFile&v=5 + application/pdf + + + PARAMETER + ExampleSubmodelList + + + en-US + Example SubmodelElementList object + + + de + Beispiel SubmodelElementList Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList + + + + true + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + Property + xs:string + + + CONSTANT + + + en-US + ExampleProperty + + + de + BeispielProperty + + + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty/SupplementalId1 + + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty/SupplementalId2 + + + + + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0 + + + + + + + + de + Test Specification + + + en-US + TestSpecification + + + + + de + Test Spec + + + en-US + TestSpec + + + SpaceUnit + + ExternalReference + + + GlobalReference + http://acplt.org/Units/SpaceUnit + + + + http://acplt.org/DataSpec/ExampleDef + SU + REAL_MEASURE + + + de + Dies ist eine Data Specification für Testzwecke + + + en-US + This is a DataSpecification for testing purposes + + + M + + + + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + exampleValue2 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId2 + + + + + + + TEST + + true + false + false + true + + + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + CONSTANT + + + en-US + ExampleProperty + + + de + BeispielProperty + + + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty2/SupplementalId + + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + + + CONSTANT + ExampleMultiLanguageProperty + + + en-US + Example MultiLanguageProperty object + + + de + Beispiel MultiLanguageProperty Element + + + + ExternalReference + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty/Referred + + + + + + GlobalReference + http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty + + + + + + en-US + Example value of a MultiLanguageProperty element + + + de + Beispielswert für ein MulitLanguageProperty-Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleMultiLanguageValueId + + + + + + PARAMETER + ExampleRange + + + en-US + Example Range object + + + de + Beispiel Range Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Ranges/ExampleRange + + + + xs:int + 0 + 100 + + + PARAMETER + ExampleReferenceElement + + + en-US + Example Reference Element object + + + de + Beispiel Reference Element Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/ReferenceElements/ExampleReferenceElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + + + + + https://acplt.org/Test_Submodel_Mandatory + Instance + + + ExampleRelationshipElement + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + ExampleAnnotatedRelationshipElement + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + ExampleOperation + + + ExampleCapability + + + ExampleBasicEventElement + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + input + off + + + ExampleSubmodelList + SubmodelElementCollection + + + + + ExampleBlob + + application/pdf + + + ExampleFile + application/pdf + + + PARAMETER + ExampleMultiLanguageProperty + + + PARAMETER + ExampleProperty + xs:string + + + PARAMETER + ExampleRange + xs:int + + + PARAMETER + ExampleReferenceElement + + + + + + + + + ExampleSubmodelList2 + Capability + + + + + https://acplt.org/Test_Submodel2_Mandatory + Instance + + + TestSubmodel + + + en-US + An example submodel for the test application + + + de + Ein Beispiel-Teilmodell für eine Test-Anwendung + + + + 9 + 0 + + https://acplt.org/Test_Submodel_Missing + Instance + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelTemplates/ExampleSubmodel + + + + + + PARAMETER + ExampleRelationshipElement + + + en-US + Example RelationshipElement object + + + de + Beispiel RelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + PARAMETER + ExampleAnnotatedRelationshipElement + + + en-US + Example AnnotatedRelationshipElement object + + + de + Beispiel AnnotatedRelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + PARAMETER + ExampleAnnotatedRange + xs:integer + 1 + 5 + + + PARAMETER + ExampleAnnotatedProperty + xs:string + exampleValue + + + + + PARAMETER + ExampleOperation + + + en-US + Example Operation object + + + de + Beispiel Operation Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Operations/ExampleOperation + + + + + + + + CONSTANT + ExamplePropertyInput + + + en-US + ExampleProperty + + + de + BeispielProperty + + + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInput + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + + + + + + + CONSTANT + ExamplePropertyOutput + + + en-US + ExampleProperty + + + de + BeispielProperty + + + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyOutput + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + + + + + + + CONSTANT + ExamplePropertyInOutput + + + en-US + ExampleProperty + + + de + BeispielProperty + + + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInOutput + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + + + + + PARAMETER + ExampleCapability + + + en-US + Example Capability object + + + de + Beispiel Capability Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Capabilities/ExampleCapability + + + + + + PARAMETER + ExampleBasicEventElement + + + en-US + Example BasicEventElement object + + + de + Beispiel BasicEventElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Events/ExampleBasicEventElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + output + on + ExampleTopic + + ModelReference + + + Submodel + http://acplt.org/ExampleMessageBroker + + + + 2022-11-12T23:50:23.123456+00:00 + PT0.000001S + P1Y2M3DT4H5M6.123456S + + + PARAMETER + ExampleSubmodelCollection + + + en-US + Example SubmodelElementCollection object + + + de + Beispiel SubmodelElementCollection Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + + + PARAMETER + ExampleBlob + + + en-US + Example Blob object + + + de + Beispiel Blob Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Blobs/ExampleBlob + + + + AQIDBAU= + application/pdf + + + PARAMETER + ExampleFile + + + en-US + Example File object + + + de + Beispiel File Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Files/ExampleFile + + + + /TestFile.pdf + application/pdf + + + CONSTANT + ExampleMultiLanguageProperty + + + en-US + Example MultiLanguageProperty object + + + de + Beispiel MulitLanguageProperty Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty + + + + + + en-US + Example value of a MultiLanguageProperty element + + + de + Beispielswert für ein MulitLanguageProperty-Element + + + + + CONSTANT + ExampleProperty + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + + + http://acplt.org/Qualifier/ExampleQualifier + xs:string + + + xs:string + exampleValue + + + PARAMETER + ExampleRange + + + en-US + Example Range object + + + de + Beispiel Range Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Ranges/ExampleRange + + + + xs:int + 0 + 100 + + + PARAMETER + ExampleReferenceElement + + + en-US + Example Reference Element object + + + de + Beispiel Reference Element Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/ReferenceElements/ExampleReferenceElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + + + + + TestSubmodel + + + en-US + An example submodel for the test application + + + de + Ein Beispiel-Teilmodell für eine Test-Anwendung + + + + 9 + 0 + + https://acplt.org/Test_Submodel_Template + Template + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelTemplates/ExampleSubmodel + + + + + + PARAMETER + ExampleRelationshipElement + + + en-US + Example RelationshipElement object + + + de + Beispiel RelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + PARAMETER + ExampleAnnotatedRelationshipElement + + + en-US + Example AnnotatedRelationshipElement object + + + de + Beispiel AnnotatedRelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + PARAMETER + ExampleOperation + + + en-US + Example Operation object + + + de + Beispiel Operation Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Operations/ExampleOperation + + + + + + + + CONSTANT + ExamplePropertyInput + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInput + + + + xs:string + + + + + + + + + CONSTANT + ExamplePropertyOutput + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyOutput + + + + xs:string + + + + + + + + + CONSTANT + ExamplePropertyInOutput + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInOutput + + + + xs:string + + + + + + + PARAMETER + ExampleCapability + + + en-US + Example Capability object + + + de + Beispiel Capability Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Capabilities/ExampleCapability + + + + + + PARAMETER + ExampleBasicEventElement + + + en-US + Example BasicEventElement object + + + de + Beispiel BasicEventElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Events/ExampleBasicEventElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + output + on + ExampleTopic + + ModelReference + + + Submodel + http://acplt.org/ExampleMessageBroker + + + + 2022-11-12T23:50:23.123456+00:00 + PT0.000001S + P1Y2M3DT4H5M6.123456S + + + PARAMETER + ExampleSubmodelList + + + en-US + Example SubmodelElementList object + + + de + Beispiel SubmodelElementList Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList + + + + true + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + SubmodelElementCollection + + + PARAMETER + + + en-US + Example SubmodelElementCollection object + + + de + Beispiel SubmodelElementCollection Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + + + CONSTANT + ExampleProperty + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + xs:string + + + CONSTANT + ExampleMultiLanguageProperty + + + en-US + Example MultiLanguageProperty object + + + de + Beispiel MulitLanguageProperty Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty + + + + + + PARAMETER + ExampleRange + + + en-US + Example Range object + + + de + Beispiel Range Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Ranges/ExampleRange + + + + xs:int + 100 + + + PARAMETER + ExampleRange2 + + + en-US + Example Range object + + + de + Beispiel Range Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Ranges/ExampleRange + + + + xs:int + 0 + + + PARAMETER + ExampleBlob + + + en-US + Example Blob object + + + de + Beispiel Blob Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Blobs/ExampleBlob + + + + + application/pdf + + + PARAMETER + ExampleFile + + + en-US + Example File object + + + de + Beispiel File Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Files/ExampleFile + + + + application/pdf + + + PARAMETER + ExampleReferenceElement + + + en-US + Example Reference Element object + + + de + Beispiel Reference Element Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/ReferenceElements/ExampleReferenceElement + + + + + + + + PARAMETER + + + en-US + Example SubmodelElementCollection object + + + de + Beispiel SubmodelElementCollection Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + + + + + PARAMETER + ExampleSubmodelList2 + + + en-US + Example SubmodelElementList object + + + de + Beispiel SubmodelElementList Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList + + + + true + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + Capability + + + + + + + TestConceptDescription + + + en-US + An example concept description for the test application + + + de + Ein Beispiel-ConceptDescription für eine Test-Anwendung + + + + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0 + + + + + + + + de + Test Specification + + + en-US + TestSpecification + + + + + de + Test Spec + + + en-US + TestSpec + + + SpaceUnit + + ExternalReference + + + GlobalReference + http://acplt.org/Units/SpaceUnit + + + + http://acplt.org/DataSpec/ExampleDef + SU + REAL_MEASURE + + + de + Dies ist eine Data Specification für Testzwecke + + + en-US + This is a DataSpecification for testing purposes + + + M + + + + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + exampleValue2 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId2 + + + + + + + TEST + + true + false + false + true + + + + + + 9 + 0 + + ExternalReference + + + GlobalReference + http://acplt.org/AdministrativeInformation/Test_ConceptDescription + + + + http://acplt.org/AdministrativeInformationTemplates/Test_ConceptDescription + + https://acplt.org/Test_ConceptDescription + + + ExternalReference + + + GlobalReference + http://acplt.org/DataSpecifications/ConceptDescriptions/TestConceptDescription + + + + + + + https://acplt.org/Test_ConceptDescription_Mandatory + + + TestConceptDescription + + + en-US + An example concept description for the test application + + + de + Ein Beispiel-ConceptDescription für eine Test-Anwendung + + + + 9 + 0 + + https://acplt.org/Test_ConceptDescription_Missing + + + diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/docProps/core.xml b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/docProps/core.xml new file mode 100644 index 000000000..5f0e65331 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_aasx/docProps/core.xml @@ -0,0 +1 @@ +2020-01-01T00:00:00Eclipse BaSyx Python Testing FrameworkTest_DescriptionEclipse BaSyx Python Testing Framework Compliance Tool2020-01-01T00:00:011.0Test Title2.0.1 \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/TestFile.pdf b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/TestFile.pdf new file mode 100644 index 000000000..2bccbec5f Binary files /dev/null and b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/TestFile.pdf differ diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/[Content_Types].xml b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/[Content_Types].xml new file mode 100644 index 000000000..efab09eb1 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/[Content_Types].xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/_rels/.rels b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/_rels/.rels new file mode 100644 index 000000000..9758543f3 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/_rels/.rels @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/aasx/_rels/aasx-origin.rels b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/aasx/_rels/aasx-origin.rels new file mode 100644 index 000000000..fc764b657 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/aasx/_rels/aasx-origin.rels @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/aasx/_rels/data.xml.rels b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/aasx/_rels/data.xml.rels new file mode 100644 index 000000000..43350edd0 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/aasx/_rels/data.xml.rels @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/aasx/aasx-origin b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/aasx/aasx-origin new file mode 100644 index 000000000..e69de29bb diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/aasx/data.xml b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/aasx/data.xml new file mode 100644 index 000000000..5e952db2f --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/aasx/data.xml @@ -0,0 +1,2999 @@ + + + + + TestAssetAdministrationShell123 + + + en-US + An Example Asset Administration Shell for the test application + + + de + Ein Beispiel-Verwaltungsschale für eine Test-Anwendung + + + + 9 + 0 + + ExternalReference + + + GlobalReference + http://acplt.org/AdministrativeInformation/Test_AssetAdministrationShell + + + + http://acplt.org/AdministrativeInformationTemplates/Test_AssetAdministrationShell + + https://acplt.org/Test_AssetAdministrationShell + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0 + + + + + + + + de + Test Specification + + + en-US + TestSpecification + + + + + de + Test Spec + + + en-US + TestSpec + + + SpaceUnit + + ExternalReference + + + GlobalReference + http://acplt.org/Units/SpaceUnit + + + + http://acplt.org/DataSpec/ExampleDef + SU + REAL_MEASURE + + + de + Dies ist eine Data Specification für Testzwecke + + + en-US + This is a DataSpecification for testing purposes + + + M + + + + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + exampleValue2 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId2 + + + + + + + TEST + + true + false + false + true + + + + + + + ModelReference + + + AssetAdministrationShell + https://acplt.org/TestAssetAdministrationShell2 + + + + + Instance + http://acplt.org/TestAsset/ + + + + ExternalReference + + + GlobalReference + http://acplt.org/SpecificAssetId/ + + + + TestKey + TestValue + + ExternalReference + + + GlobalReference + http://acplt.org/SpecificAssetId/ + + + + + + + file:///path/to/thumbnail.png + image/png + + + + + ModelReference + + ModelReference + + + Submodel + http://acplt.org/SubmodelTemplates/AssetIdentification + + + + + + Submodel + http://acplt.org/Submodels/Assets/TestAsset/Identification + + + + + ModelReference + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelTemplates/ExampleSubmodel + + + + + + Submodel + https://acplt.org/Test_Submodel + + + + + ModelReference + + + Submodel + http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial + + + + + ModelReference + + + Submodel + https://acplt.org/Test_Submodel_Template + + + + + + + https://acplt.org/Test_AssetAdministrationShell_Mandatory + + Instance + http://acplt.org/Test_Asset_Mandatory/ + + + + ModelReference + + + Submodel + https://acplt.org/Test_Submodel2_Mandatory + + + + + ModelReference + + + Submodel + https://acplt.org/Test_Submodel_Mandatory + + + + + + + https://acplt.org/Test_AssetAdministrationShell2_Mandatory + + Instance + http://acplt.org/TestAsset2_Mandatory/ + + + + TestAssetAdministrationShell + + + en-US + An Example Asset Administration Shell for the test application + + + de + Ein Beispiel-Verwaltungsschale für eine Test-Anwendung + + + + 9 + 0 + + https://acplt.org/Test_AssetAdministrationShell_Missing + + Instance + http://acplt.org/Test_Asset_Missing/ + + + TestKey + TestValue + + ExternalReference + + + GlobalReference + http://acplt.org/SpecificAssetId/ + + + + + + + file:///TestFile.pdf + application/pdf + + + + + ModelReference + + + Submodel + https://acplt.org/Test_Submodel_Missing + + + + + + + + + Identification + + + en-US + An example asset identification submodel for the test application + + + de + Ein Beispiel-Identifikations-Submodel für eine Test-Anwendung + + + + 9 + 0 + + ExternalReference + + + GlobalReference + http://acplt.org/AdministrativeInformation/TestAsset/Identification + + + + http://acplt.org/AdministrativeInformationTemplates/TestAsset/Identification + + http://acplt.org/Submodels/Assets/TestAsset/Identification + Instance + + ModelReference + + + Submodel + http://acplt.org/SubmodelTemplates/AssetIdentification + + + + + + + + ExampleExtension + xs:string + ExampleExtensionValue + + + ModelReference + + + AssetAdministrationShell + http://acplt.org/RefersTo/ExampleRefersTo + + + + + + + PARAMETER + ManufacturerName + + + en-US + Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. + + + de + Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist + + + + ExternalReference + + + GlobalReference + 0173-1#02-AAO677#002 + + + + + + ConceptQualifier + http://acplt.org/Qualifier/ExampleQualifier + xs:int + 100 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + TemplateQualifier + http://acplt.org/Qualifier/ExampleQualifier2 + xs:int + 50 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + xs:string + ACPLT + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + PARAMETER + InstanceId + + + en-US + Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. + + + de + Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist + + + + ExternalReference + + + GlobalReference + http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber + + + + + + ValueQualifier + http://acplt.org/Qualifier/ExampleQualifier3 + xs:dateTime + 2023-04-07T16:59:54.870123 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + xs:string + 978-8234-234-342 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + + + BillOfMaterial + + + en-US + An example bill of material submodel for the test application + + + de + Ein Beispiel-BillofMaterial-Submodel für eine Test-Anwendung + + + + 9 + http://acplt.org/AdministrativeInformationTemplates/TestAsset/BillOfMaterial + + http://acplt.org/Submodels/Assets/TestAsset/BillOfMaterial + Instance + + ModelReference + + + Submodel + http://acplt.org/SubmodelTemplates/BillOfMaterial + + + + + + PARAMETER + ExampleEntity + + + en-US + Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. + + + de + Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist + + + + ExternalReference + + + GlobalReference + http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber + + + + + + CONSTANT + ExampleProperty2 + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + xs:string + exampleValue2 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + CONSTANT + ExampleProperty + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + SelfManagedEntity + http://acplt.org/TestAsset/ + + + TestKey + TestValue + + ExternalReference + + + GlobalReference + http://acplt.org/SpecificAssetId/ + + + + + + + + PARAMETER + ExampleEntity2 + + + en-US + Legally valid designation of the natural or judicial person which is directly responsible for the design, production, packaging and labeling of a product in respect to its being brought into circulation. + + + de + Bezeichnung für eine natürliche oder juristische Person, die für die Auslegung, Herstellung und Verpackung sowie die Etikettierung eines Produkts im Hinblick auf das 'Inverkehrbringen' im eigenen Namen verantwortlich ist + + + + ExternalReference + + + GlobalReference + http://opcfoundation.org/UA/DI/1.1/DeviceType/Serialnumber + + + + CoManagedEntity + + + + + TestSubmodel + + + en-US + An example submodel for the test application + + + de + Ein Beispiel-Teilmodell für eine Test-Anwendung + + + + 9 + 0 + + ExternalReference + + + GlobalReference + http://acplt.org/AdministrativeInformation/Test_Submodel + + + + + https://acplt.org/Test_Submodel + Instance + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelTemplates/ExampleSubmodel + + + + + + PARAMETER + ExampleRelationshipElement + + + en-US + Example RelationshipElement object + + + de + Beispiel RelationshipElement Element + + + + ModelReference + + + ConceptDescription + https://acplt.org/Test_ConceptDescription + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty2 + + + + + + PARAMETER + ExampleAnnotatedRelationshipElement + + + en-US + Example AnnotatedRelationshipElement object + + + de + Beispiel AnnotatedRelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty2 + + + + + + PARAMETER + ExampleAnnotatedProperty + xs:string + exampleValue + + + PARAMETER + ExampleAnnotatedRange + xs:integer + 1 + 5 + + + + + PARAMETER + ExampleOperation + + + en-US + Example Operation object + + + de + Beispiel Operation Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Operations/ExampleOperation + + + + + + + + CONSTANT + ExamplePropertyInput + + + en-US + ExampleProperty + + + de + BeispielProperty + + + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInput + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + + + + + + + CONSTANT + ExamplePropertyOutput + + + en-US + ExampleProperty + + + de + BeispielProperty + + + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyOutput + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + + + + + + + CONSTANT + ExamplePropertyInOutput + + + en-US + ExampleProperty + + + de + BeispielProperty + + + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInOutput + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + + + + + PARAMETER + ExampleCapability + + + en-US + Example Capability object + + + de + Beispiel Capability Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Capabilities/ExampleCapability + + + + + + PARAMETER + ExampleBasicEventElement + + + en-US + Example BasicEventElement object + + + de + Beispiel BasicEventElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Events/ExampleBasicEventElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + output + on + ExampleTopic + + ModelReference + + + Submodel + http://acplt.org/ExampleMessageBroker + + + + 2022-11-12T23:50:23.123456+00:00 + PT0.000001S + P1Y2M3DT4H5M6.123456S + + + PARAMETER + ExampleSubmodelCollection + + + en-US + Example SubmodelElementCollection object + + + de + Beispiel SubmodelElementCollection Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + + + PARAMETER + ExampleBlob + + + en-US + Example Blob object + + + de + Beispiel Blob Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Blobs/ExampleBlob + + + + AQIDBAU= + application/pdf + + + PARAMETER + ExampleFile + + + en-US + Example File object + + + de + Beispiel File Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Files/ExampleFile + + + + /TestFile.pdf + application/pdf + + + CONSTANT + ExampleFileURI + + + en-US + Details of the Asset Administration Shell — An example for an external file reference + + + de + Details of the Asset Administration Shell – Ein Beispiel für eine extern referenzierte Datei + + + + ExternalReference + + + GlobalReference + http://acplt.org/Files/ExampleFile + + + + https://www.plattform-i40.de/PI40/Redaktion/DE/Downloads/Publikation/Details-of-the-Asset-Administration-Shell-Part1.pdf?__blob=publicationFile&v=5 + application/pdf + + + PARAMETER + ExampleSubmodelList + + + en-US + Example SubmodelElementList object + + + de + Beispiel SubmodelElementList Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList + + + + true + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + Property + xs:string + + + CONSTANT + + + en-US + ExampleProperty + + + de + BeispielProperty + + + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty/SupplementalId1 + + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty/SupplementalId2 + + + + + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0 + + + + + + + + de + Test Specification + + + en-US + TestSpecification + + + + + de + Test Spec + + + en-US + TestSpec + + + SpaceUnit + + ExternalReference + + + GlobalReference + http://acplt.org/Units/SpaceUnit + + + + http://acplt.org/DataSpec/ExampleDef + SU + REAL_MEASURE + + + de + Dies ist eine Data Specification für Testzwecke + + + en-US + This is a DataSpecification for testing purposes + + + M + + + + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + exampleValue2 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId2 + + + + + + + TEST + + true + false + false + true + + + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + CONSTANT + + + en-US + ExampleProperty + + + de + BeispielProperty + + + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty2/SupplementalId + + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + + + CONSTANT + ExampleMultiLanguageProperty + + + en-US + Example MultiLanguageProperty object + + + de + Beispiel MultiLanguageProperty Element + + + + ExternalReference + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty/Referred + + + + + + GlobalReference + http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty + + + + + + en-US + Example value of a MultiLanguageProperty element + + + de + Beispielswert für ein MulitLanguageProperty-Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleMultiLanguageValueId + + + + + + PARAMETER + ExampleRange + + + en-US + Example Range object + + + de + Beispiel Range Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Ranges/ExampleRange + + + + xs:int + 0 + 100 + + + PARAMETER + ExampleReferenceElement + + + en-US + Example Reference Element object + + + de + Beispiel Reference Element Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/ReferenceElements/ExampleReferenceElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + + + + + https://acplt.org/Test_Submodel_Mandatory + Instance + + + ExampleRelationshipElement + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + ExampleAnnotatedRelationshipElement + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + ExampleOperation + + + ExampleCapability + + + ExampleBasicEventElement + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + input + off + + + ExampleSubmodelList + SubmodelElementCollection + + + + + ExampleBlob + + application/pdf + + + ExampleFile + application/pdf + + + PARAMETER + ExampleMultiLanguageProperty + + + PARAMETER + ExampleProperty + xs:string + + + PARAMETER + ExampleRange + xs:int + + + PARAMETER + ExampleReferenceElement + + + + + + + + + ExampleSubmodelList2 + Capability + + + + + https://acplt.org/Test_Submodel2_Mandatory + Instance + + + TestSubmodel + + + en-US + An example submodel for the test application + + + de + Ein Beispiel-Teilmodell für eine Test-Anwendung + + + + 9 + 0 + + https://acplt.org/Test_Submodel_Missing + Instance + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelTemplates/ExampleSubmodel + + + + + + PARAMETER + ExampleRelationshipElement + + + en-US + Example RelationshipElement object + + + de + Beispiel RelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + PARAMETER + ExampleAnnotatedRelationshipElement + + + en-US + Example AnnotatedRelationshipElement object + + + de + Beispiel AnnotatedRelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + PARAMETER + ExampleAnnotatedRange + xs:integer + 1 + 5 + + + PARAMETER + ExampleAnnotatedProperty + xs:string + exampleValue + + + + + PARAMETER + ExampleOperation + + + en-US + Example Operation object + + + de + Beispiel Operation Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Operations/ExampleOperation + + + + + + + + CONSTANT + ExamplePropertyInput + + + en-US + ExampleProperty + + + de + BeispielProperty + + + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInput + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + + + + + + + CONSTANT + ExamplePropertyOutput + + + en-US + ExampleProperty + + + de + BeispielProperty + + + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyOutput + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + + + + + + + CONSTANT + ExamplePropertyInOutput + + + en-US + ExampleProperty + + + de + BeispielProperty + + + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInOutput + + + + xs:string + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + + + + + PARAMETER + ExampleCapability + + + en-US + Example Capability object + + + de + Beispiel Capability Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Capabilities/ExampleCapability + + + + + + PARAMETER + ExampleBasicEventElement + + + en-US + Example BasicEventElement object + + + de + Beispiel BasicEventElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Events/ExampleBasicEventElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + output + on + ExampleTopic + + ModelReference + + + Submodel + http://acplt.org/ExampleMessageBroker + + + + 2022-11-12T23:50:23.123456+00:00 + PT0.000001S + P1Y2M3DT4H5M6.123456S + + + PARAMETER + ExampleSubmodelCollection + + + en-US + Example SubmodelElementCollection object + + + de + Beispiel SubmodelElementCollection Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + + + PARAMETER + ExampleBlob + + + en-US + Example Blob object + + + de + Beispiel Blob Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Blobs/ExampleBlob + + + + AQIDBAU= + application/pdf + + + PARAMETER + ExampleFile + + + en-US + Example File object + + + de + Beispiel File Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Files/ExampleFile + + + + /TestFile.pdf + application/pdf + + + CONSTANT + ExampleMultiLanguageProperty + + + en-US + Example MultiLanguageProperty object + + + de + Beispiel MulitLanguageProperty Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty + + + + + + en-US + Example value of a MultiLanguageProperty element + + + de + Beispielswert für ein MulitLanguageProperty-Element + + + + + CONSTANT + ExampleProperty + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + + + http://acplt.org/Qualifier/ExampleQualifier + xs:string + + + xs:string + exampleValue + + + PARAMETER + ExampleRange + + + en-US + Example Range object + + + de + Beispiel Range Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Ranges/ExampleRange + + + + xs:int + 0 + 100 + + + PARAMETER + ExampleReferenceElement + + + en-US + Example Reference Element object + + + de + Beispiel Reference Element Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/ReferenceElements/ExampleReferenceElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + + + + + TestSubmodel + + + en-US + An example submodel for the test application + + + de + Ein Beispiel-Teilmodell für eine Test-Anwendung + + + + 9 + 0 + + https://acplt.org/Test_Submodel_Template + Template + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelTemplates/ExampleSubmodel + + + + + + PARAMETER + ExampleRelationshipElement + + + en-US + Example RelationshipElement object + + + de + Beispiel RelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + PARAMETER + ExampleAnnotatedRelationshipElement + + + en-US + Example AnnotatedRelationshipElement object + + + de + Beispiel AnnotatedRelationshipElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/RelationshipElements/ExampleAnnotatedRelationshipElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + + + PARAMETER + ExampleOperation + + + en-US + Example Operation object + + + de + Beispiel Operation Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Operations/ExampleOperation + + + + + + + + CONSTANT + ExamplePropertyInput + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInput + + + + xs:string + + + + + + + + + CONSTANT + ExamplePropertyOutput + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyOutput + + + + xs:string + + + + + + + + + CONSTANT + ExamplePropertyInOutput + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExamplePropertyInOutput + + + + xs:string + + + + + + + PARAMETER + ExampleCapability + + + en-US + Example Capability object + + + de + Beispiel Capability Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Capabilities/ExampleCapability + + + + + + PARAMETER + ExampleBasicEventElement + + + en-US + Example BasicEventElement object + + + de + Beispiel BasicEventElement Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Events/ExampleBasicEventElement + + + + + ModelReference + + + Submodel + http://acplt.org/Test_Submodel + + + Property + ExampleProperty + + + + output + on + ExampleTopic + + ModelReference + + + Submodel + http://acplt.org/ExampleMessageBroker + + + + 2022-11-12T23:50:23.123456+00:00 + PT0.000001S + P1Y2M3DT4H5M6.123456S + + + PARAMETER + ExampleSubmodelList + + + en-US + Example SubmodelElementList object + + + de + Beispiel SubmodelElementList Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList + + + + true + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + SubmodelElementCollection + + + PARAMETER + + + en-US + Example SubmodelElementCollection object + + + de + Beispiel SubmodelElementCollection Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + + + CONSTANT + ExampleProperty + + + en-US + Example Property object + + + de + Beispiel Property Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Properties/ExampleProperty + + + + xs:string + + + CONSTANT + ExampleMultiLanguageProperty + + + en-US + Example MultiLanguageProperty object + + + de + Beispiel MulitLanguageProperty Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/MultiLanguageProperties/ExampleMultiLanguageProperty + + + + + + PARAMETER + ExampleRange + + + en-US + Example Range object + + + de + Beispiel Range Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Ranges/ExampleRange + + + + xs:int + 100 + + + PARAMETER + ExampleRange2 + + + en-US + Example Range object + + + de + Beispiel Range Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Ranges/ExampleRange + + + + xs:int + 0 + + + PARAMETER + ExampleBlob + + + en-US + Example Blob object + + + de + Beispiel Blob Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Blobs/ExampleBlob + + + + + application/pdf + + + PARAMETER + ExampleFile + + + en-US + Example File object + + + de + Beispiel File Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/Files/ExampleFile + + + + application/pdf + + + PARAMETER + ExampleReferenceElement + + + en-US + Example Reference Element object + + + de + Beispiel Reference Element Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/ReferenceElements/ExampleReferenceElement + + + + + + + + PARAMETER + + + en-US + Example SubmodelElementCollection object + + + de + Beispiel SubmodelElementCollection Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + + + + + PARAMETER + ExampleSubmodelList2 + + + en-US + Example SubmodelElementList object + + + de + Beispiel SubmodelElementList Element + + + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementLists/ExampleSubmodelElementList + + + + true + + ExternalReference + + + GlobalReference + http://acplt.org/SubmodelElementCollections/ExampleSubmodelElementCollection + + + + Capability + + + + + + + TestConceptDescription + + + en-US + An example concept description for the test application + + + de + Ein Beispiel-ConceptDescription für eine Test-Anwendung + + + + + + + ExternalReference + + + GlobalReference + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0 + + + + + + + + de + Test Specification + + + en-US + TestSpecification + + + + + de + Test Spec + + + en-US + TestSpec + + + SpaceUnit + + ExternalReference + + + GlobalReference + http://acplt.org/Units/SpaceUnit + + + + http://acplt.org/DataSpec/ExampleDef + SU + REAL_MEASURE + + + de + Dies ist eine Data Specification für Testzwecke + + + en-US + This is a DataSpecification for testing purposes + + + M + + + + exampleValue + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId + + + + + + exampleValue2 + + ExternalReference + + + GlobalReference + http://acplt.org/ValueId/ExampleValueId2 + + + + + + + TEST + + true + false + false + true + + + + + + 9 + 0 + + ExternalReference + + + GlobalReference + http://acplt.org/AdministrativeInformation/Test_ConceptDescription + + + + http://acplt.org/AdministrativeInformationTemplates/Test_ConceptDescription + + https://acplt.org/Test_ConceptDescription + + + ExternalReference + + + GlobalReference + http://acplt.org/DataSpecifications/ConceptDescriptions/TestConceptDescription + + + + + + + https://acplt.org/Test_ConceptDescription_Mandatory + + + TestConceptDescription + + + en-US + An example concept description for the test application + + + de + Ein Beispiel-ConceptDescription für eine Test-Anwendung + + + + 9 + 0 + + https://acplt.org/Test_ConceptDescription_Missing + + + diff --git a/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/docProps/core.xml b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/docProps/core.xml new file mode 100644 index 000000000..4dc0b87c5 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_demo_full_example_xml_wrong_attribute_aasx/docProps/core.xml @@ -0,0 +1 @@ +2020-01-01T00:00:00PyI40AAS Testing FrameworkTest_DescriptionPyI40AAS Testing Framework Compliance Tool2020-01-01T00:00:011.0Test Title2.0.1 \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_deserializable_aas_warning.json b/compliance-tool/test/compliance_tool/files/test_deserializable_aas_warning.json index 448bccdc9..35da52c24 100644 --- a/compliance-tool/test/compliance_tool/files/test_deserializable_aas_warning.json +++ b/compliance-tool/test/compliance_tool/files/test_deserializable_aas_warning.json @@ -1,6 +1,16 @@ { - "assetAdministrationShells":[{"identification":{"id":"https://acplt.org/Test_AssetAdministrationShell","idType":"IRI"},"idShort":"TestAssetAdministrationShell","administration":{"revision":"0"}, "modelType":{"name":"AssetAdministrationShell"},"asset":{"keys":[{"idType":"IRI","local":false,"type":"Asset","value":"https://acplt.org/Test_Asset"}]}}], - "assets": [], - "submodels": [], - "conceptDescriptions": [] + "assetAdministrationShells": [ + { + "id": "https://acplt.org/Test_AssetAdministrationShell", + "idShort": "TestAssetAdministrationShell", + "administration": { + "revision": "0" + }, + "modelType": "AssetAdministrationShell", + "assetInformation": { + "assetKind": "Instance", + "globalAssetId": "http://acplt.org/TestAsset/" + } + } + ] } \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_deserializable_aas_warning.xml b/compliance-tool/test/compliance_tool/files/test_deserializable_aas_warning.xml index dd4633477..53f72ab71 100644 --- a/compliance-tool/test/compliance_tool/files/test_deserializable_aas_warning.xml +++ b/compliance-tool/test/compliance_tool/files/test_deserializable_aas_warning.xml @@ -1,2 +1,16 @@ -TestAssetAdministrationShellhttps://acplt.org/Test_AssetAdministrationShell0https://acplt.org/Test_Asset \ No newline at end of file + + + + TestAssetAdministrationShell + + 0 + + https://acplt.org/Test_AssetAdministrationShell + + Instance + http://acplt.org/TestAsset/ + + + + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_empty.aasx b/compliance-tool/test/compliance_tool/files/test_empty.aasx deleted file mode 100644 index e6de973a0..000000000 Binary files a/compliance-tool/test/compliance_tool/files/test_empty.aasx and /dev/null differ diff --git a/compliance-tool/test/compliance_tool/files/test_empty.json b/compliance-tool/test/compliance_tool/files/test_empty.json index 698e12f63..9e26dfeeb 100644 --- a/compliance-tool/test/compliance_tool/files/test_empty.json +++ b/compliance-tool/test/compliance_tool/files/test_empty.json @@ -1,6 +1 @@ -{ - "assetAdministrationShells": [], - "assets": [], - "submodels": [], - "conceptDescriptions": [] -} \ No newline at end of file +{} \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_empty.xml b/compliance-tool/test/compliance_tool/files/test_empty.xml index 3e5f1f166..0329f4b5a 100644 --- a/compliance-tool/test/compliance_tool/files/test_empty.xml +++ b/compliance-tool/test/compliance_tool/files/test_empty.xml @@ -1,2 +1,3 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_empty_aasx/[Content_Types].xml b/compliance-tool/test/compliance_tool/files/test_empty_aasx/[Content_Types].xml new file mode 100644 index 000000000..18520c7e8 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_empty_aasx/[Content_Types].xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_empty_aasx/_rels/.rels b/compliance-tool/test/compliance_tool/files/test_empty_aasx/_rels/.rels new file mode 100644 index 000000000..9c5de6cf4 --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_empty_aasx/_rels/.rels @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_empty_aasx/aasx/_rels/aasx-origin.rels b/compliance-tool/test/compliance_tool/files/test_empty_aasx/aasx/_rels/aasx-origin.rels new file mode 100644 index 000000000..7b813240b --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_empty_aasx/aasx/_rels/aasx-origin.rels @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_empty_aasx/aasx/aasx-origin b/compliance-tool/test/compliance_tool/files/test_empty_aasx/aasx/aasx-origin new file mode 100644 index 000000000..e69de29bb diff --git a/compliance-tool/test/compliance_tool/files/test_empty_aasx/docProps/core.xml b/compliance-tool/test/compliance_tool/files/test_empty_aasx/docProps/core.xml new file mode 100644 index 000000000..344bc075a --- /dev/null +++ b/compliance-tool/test/compliance_tool/files/test_empty_aasx/docProps/core.xml @@ -0,0 +1 @@ +2020-09-25T16:07:16.936996PyI40AAS Testing Framework \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_missing_submodels.json b/compliance-tool/test/compliance_tool/files/test_missing_submodels.json deleted file mode 100644 index a7730c34e..000000000 --- a/compliance-tool/test/compliance_tool/files/test_missing_submodels.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "assetAdministrationShells": [], - "assets": [], - "conceptDescriptions": [] -} \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_missing_submodels.xml b/compliance-tool/test/compliance_tool/files/test_missing_submodels.xml deleted file mode 100644 index e22650bbc..000000000 --- a/compliance-tool/test/compliance_tool/files/test_missing_submodels.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_not_deserializable.json b/compliance-tool/test/compliance_tool/files/test_not_deserializable.json index 04841c26f..9a0c369d9 100644 --- a/compliance-tool/test/compliance_tool/files/test_not_deserializable.json +++ b/compliance-tool/test/compliance_tool/files/test_not_deserializable.json @@ -1,6 +1,5 @@ { "assetAdministrationShells": [], - "assets": [], "submodels": [] "conceptDescriptions": [] } \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_not_deserializable_aas.json b/compliance-tool/test/compliance_tool/files/test_not_deserializable_aas.json index 8b8869c39..cf239e8b7 100644 --- a/compliance-tool/test/compliance_tool/files/test_not_deserializable_aas.json +++ b/compliance-tool/test/compliance_tool/files/test_not_deserializable_aas.json @@ -1,6 +1,15 @@ { - "assetAdministrationShells":[{"identification":{"id":"https://acplt.org/Test_AssetAdministrationShell","idType":"IRI"},"idShort":"TestAssetAdministrationShell","modelType":{"name":"Test"},"asset":{"keys":[{"idType":"IRI","local":false,"type":"Asset","value":"https://acplt.org/Test_Asset"}]}}], - "assets": [], - "submodels": [], - "conceptDescriptions": [] + "assetAdministrationShells": [ + { + "id": "https://acplt.org/Test_AssetAdministrationShell", + "idShort": "TestAssetAdministrationShell", + "modelType": "Test", + "assetInformation": { + "assetKind": "Instance", + "globalAssetId": "http://acplt.org/Test_Asset/" + } + } + ], + "submodels": [], + "conceptDescriptions": [] } \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/files/test_not_deserializable_aas.xml b/compliance-tool/test/compliance_tool/files/test_not_deserializable_aas.xml index 179844242..d673e80ec 100644 --- a/compliance-tool/test/compliance_tool/files/test_not_deserializable_aas.xml +++ b/compliance-tool/test/compliance_tool/files/test_not_deserializable_aas.xml @@ -1,2 +1,13 @@ -https://acplt.org/Test_Submodel2_MandatoryInstance \ No newline at end of file + + + + + https://acplt.org/Test_Submodel2_Mandatory + Instance + + + + + + \ No newline at end of file diff --git a/compliance-tool/test/compliance_tool/test_aas_compliance_tool.py b/compliance-tool/test/compliance_tool/test_aas_compliance_tool.py index a45d88adf..8cd3004db 100644 --- a/compliance-tool/test/compliance_tool/test_aas_compliance_tool.py +++ b/compliance-tool/test/compliance_tool/test_aas_compliance_tool.py @@ -101,13 +101,13 @@ def test_parse_args(self) -> None: # test verbose output = _run_compliance_tool("e", os.path.join(test_file_path, "test_demo_full_example.json"), "--json", "-v") self.assertEqual(0, output.returncode) - self.assertNotIn('ERROR', str(output.stdout)) + self.assertNotIn('ERROR', str(output.stderr)) self.assertNotIn('INFO', str(output.stdout)) output = _run_compliance_tool("e", os.path.join(test_file_path, "test_demo_full_example.json"), "--json", "-v", "-v") self.assertEqual(0, output.returncode) - self.assertNotIn('ERROR', str(output.stdout)) + self.assertNotIn('ERROR', str(output.stderr)) self.assertIn('INFO', str(output.stdout)) # test quite @@ -254,19 +254,38 @@ def test_aasx_create_example(self) -> None: os.unlink(filename) - def test_aasx_deseralization(self) -> None: + def test_aasx_deseralization_xml(self) -> None: test_file_path = os.path.join(os.path.dirname(__file__), 'files') - output = _run_compliance_tool("d", os.path.join(test_file_path, "test_demo_full_example.aasx"), "--xml", + output = _run_compliance_tool("d", os.path.join(test_file_path, "test_demo_full_example_xml.aasx"), "--xml", "--aasx") self.assertEqual(0, output.returncode) self.assertIn('SUCCESS: Open file', str(output.stdout)) self.assertIn('SUCCESS: Read file', str(output.stdout)) - def test_aasx_example(self) -> None: + def test_aasx_example_xml(self) -> None: test_file_path = os.path.join(os.path.dirname(__file__), 'files') - output = _run_compliance_tool("e", os.path.join(test_file_path, "test_demo_full_example.aasx"), "--xml", + output = _run_compliance_tool("e", os.path.join(test_file_path, "test_demo_full_example_xml.aasx"), "--xml", + "--aasx") + self.assertEqual(0, output.returncode) + self.assertIn('SUCCESS: Open file', str(output.stdout)) + self.assertIn('SUCCESS: Read file', str(output.stdout)) + self.assertIn('SUCCESS: Check if data is equal to example data', str(output.stdout)) + + def test_aasx_deseralization_json(self) -> None: + test_file_path = os.path.join(os.path.dirname(__file__), 'files') + + output = _run_compliance_tool("d", os.path.join(test_file_path, "test_demo_full_example_json.aasx"), "--json", + "--aasx") + self.assertEqual(0, output.returncode) + self.assertIn('SUCCESS: Open file', str(output.stdout)) + self.assertIn('SUCCESS: Read file', str(output.stdout)) + + def test_aasx_example_json(self) -> None: + test_file_path = os.path.join(os.path.dirname(__file__), 'files') + + output = _run_compliance_tool("e", os.path.join(test_file_path, "test_demo_full_example_json.aasx"), "--json", "--aasx") self.assertEqual(0, output.returncode) self.assertIn('SUCCESS: Open file', str(output.stdout)) @@ -276,8 +295,9 @@ def test_aasx_example(self) -> None: def test_aasx_file(self) -> None: test_file_path = os.path.join(os.path.dirname(__file__), 'files') - output = _run_compliance_tool("f", os.path.join(test_file_path, "test_demo_full_example.aasx"), - os.path.join(test_file_path, "test_demo_full_example.aasx"), "--xml", "--aasx") + output = _run_compliance_tool("f", os.path.join(test_file_path, "test_demo_full_example_xml.aasx"), + os.path.join(test_file_path, "test_demo_full_example_xml.aasx"), "--xml", + "--aasx") self.assertEqual(0, output.returncode) self.assertIn('SUCCESS: Open first file', str(output.stdout)) self.assertIn('SUCCESS: Read file', str(output.stdout)) diff --git a/compliance-tool/test/compliance_tool/test_compliance_check_aasx.py b/compliance-tool/test/compliance_tool/test_compliance_check_aasx.py index 5abb5a74a..78d9e04b7 100644 --- a/compliance-tool/test/compliance_tool/test_compliance_check_aasx.py +++ b/compliance-tool/test/compliance_tool/test_compliance_check_aasx.py @@ -26,7 +26,14 @@ def test_check_deserialization(self) -> None: # Todo add more tests for checking wrong aasx files manager.steps = [] - file_path_5 = os.path.join(script_dir, 'files/test_demo_full_example.aasx') + file_path_5 = os.path.join(script_dir, 'files/test_demo_full_example_xml.aasx') + compliance_tool.check_deserialization(file_path_5, manager) + self.assertEqual(2, len(manager.steps)) + self.assertEqual(Status.SUCCESS, manager.steps[0].status) + self.assertEqual(Status.SUCCESS, manager.steps[1].status) + + manager.steps = [] + file_path_5 = os.path.join(script_dir, 'files/test_demo_full_example_json.aasx') compliance_tool.check_deserialization(file_path_5, manager) self.assertEqual(2, len(manager.steps)) self.assertEqual(Status.SUCCESS, manager.steps[0].status) @@ -36,7 +43,7 @@ def test_check_aas_example(self) -> None: manager = ComplianceToolStateManager() script_dir = os.path.dirname(__file__) - file_path_2 = os.path.join(script_dir, 'files/test_demo_full_example.aasx') + file_path_2 = os.path.join(script_dir, 'files/test_demo_full_example_xml.aasx') compliance_tool.check_aas_example(file_path_2, manager) self.assertEqual(4, len(manager.steps)) self.assertEqual(Status.SUCCESS, manager.steps[0].status) @@ -45,7 +52,7 @@ def test_check_aas_example(self) -> None: self.assertEqual(Status.SUCCESS, manager.steps[3].status) manager.steps = [] - file_path_3 = os.path.join(script_dir, 'files/test_demo_full_example2.aasx') + file_path_3 = os.path.join(script_dir, 'files/test_demo_full_example_json.aasx') compliance_tool.check_aas_example(file_path_3, manager) self.assertEqual(4, len(manager.steps)) self.assertEqual(Status.SUCCESS, manager.steps[0].status) @@ -54,15 +61,15 @@ def test_check_aas_example(self) -> None: self.assertEqual(Status.SUCCESS, manager.steps[3].status) manager.steps = [] - file_path_4 = os.path.join(script_dir, 'files/test_demo_full_example_wrong_attribute.aasx') + file_path_4 = os.path.join(script_dir, 'files/test_demo_full_example_xml_wrong_attribute.aasx') compliance_tool.check_aas_example(file_path_4, manager) self.assertEqual(4, len(manager.steps)) self.assertEqual(Status.SUCCESS, manager.steps[0].status) self.assertEqual(Status.SUCCESS, manager.steps[1].status) self.assertEqual(Status.FAILED, manager.steps[2].status) self.assertEqual('FAILED: Check if data is equal to example data\n - ERROR: Attribute id_short of ' - 'AssetAdministrationShell[Identifier(IRI=https://acplt.org/Test_AssetAdministrationShell)] ' - 'must be == TestAssetAdministrationShell (value=\'TestAssetAdministrationShell2\')', + 'AssetAdministrationShell[https://acplt.org/Test_AssetAdministrationShell] must be == ' + 'TestAssetAdministrationShell (value=\'TestAssetAdministrationShell123\')', manager.format_step(2, verbose_level=1)) self.assertEqual(Status.NOT_EXECUTED, manager.steps[3].status) @@ -70,7 +77,7 @@ def test_check_aasx_files_equivalence(self) -> None: manager = ComplianceToolStateManager() script_dir = os.path.dirname(__file__) - file_path_1 = os.path.join(script_dir, 'files/test_demo_full_example.aasx') + file_path_1 = os.path.join(script_dir, 'files/test_demo_full_example_xml.aasx') file_path_2 = os.path.join(script_dir, 'files/test_empty.aasx') compliance_tool.check_aasx_files_equivalence(file_path_1, file_path_2, manager) self.assertEqual(6, len(manager.steps)) @@ -92,8 +99,8 @@ def test_check_aasx_files_equivalence(self) -> None: self.assertEqual(Status.NOT_EXECUTED, manager.steps[5].status) manager.steps = [] - file_path_3 = os.path.join(script_dir, 'files/test_demo_full_example.aasx') - file_path_4 = os.path.join(script_dir, 'files/test_demo_full_example.aasx') + file_path_3 = os.path.join(script_dir, 'files/test_demo_full_example_xml.aasx') + file_path_4 = os.path.join(script_dir, 'files/test_demo_full_example_json.aasx') compliance_tool.check_aasx_files_equivalence(file_path_3, file_path_4, manager) self.assertEqual(6, len(manager.steps)) self.assertEqual(Status.SUCCESS, manager.steps[0].status) @@ -104,8 +111,8 @@ def test_check_aasx_files_equivalence(self) -> None: self.assertEqual(Status.SUCCESS, manager.steps[5].status) manager.steps = [] - file_path_3 = os.path.join(script_dir, 'files/test_demo_full_example.aasx') - file_path_4 = os.path.join(script_dir, 'files/test_demo_full_example_wrong_attribute.aasx') + file_path_3 = os.path.join(script_dir, 'files/test_demo_full_example_xml.aasx') + file_path_4 = os.path.join(script_dir, 'files/test_demo_full_example_xml_wrong_attribute.aasx') compliance_tool.check_aasx_files_equivalence(file_path_3, file_path_4, manager) self.assertEqual(6, len(manager.steps)) self.assertEqual(Status.SUCCESS, manager.steps[0].status) @@ -114,8 +121,8 @@ def test_check_aasx_files_equivalence(self) -> None: self.assertEqual(Status.SUCCESS, manager.steps[3].status) self.assertEqual(Status.FAILED, manager.steps[4].status) self.assertEqual('FAILED: Check if data in files are equal\n - ERROR: Attribute id_short of ' - 'AssetAdministrationShell[Identifier(IRI=https://acplt.org/Test_AssetAdministrationShell)] ' - 'must be == TestAssetAdministrationShell2 (value=\'TestAssetAdministrationShell\')', + 'AssetAdministrationShell[https://acplt.org/Test_AssetAdministrationShell] must be == ' + 'TestAssetAdministrationShell123 (value=\'TestAssetAdministrationShell\')', manager.format_step(4, verbose_level=1)) manager.steps = [] @@ -127,8 +134,8 @@ def test_check_aasx_files_equivalence(self) -> None: self.assertEqual(Status.SUCCESS, manager.steps[3].status) self.assertEqual(Status.FAILED, manager.steps[4].status) self.assertEqual('FAILED: Check if data in files are equal\n - ERROR: Attribute id_short of ' - 'AssetAdministrationShell[Identifier(IRI=https://acplt.org/Test_AssetAdministrationShell)] ' - 'must be == TestAssetAdministrationShell (value=\'TestAssetAdministrationShell2\')', + 'AssetAdministrationShell[https://acplt.org/Test_AssetAdministrationShell] must be == ' + 'TestAssetAdministrationShell (value=\'TestAssetAdministrationShell123\')', manager.format_step(4, verbose_level=1)) self.assertEqual(Status.NOT_EXECUTED, manager.steps[5].status) @@ -136,22 +143,29 @@ def test_check_schema(self): manager = ComplianceToolStateManager() script_dir = os.path.dirname(__file__) - file_path_2 = os.path.join(script_dir, 'files/test_demo_full_example.aasx') + file_path_2 = os.path.join(script_dir, 'files/test_demo_full_example_json.aasx') compliance_tool.check_schema(file_path_2, manager) - self.assertEqual(10, len(manager.steps)) - for i in range(10): + self.assertEqual(4, len(manager.steps)) + for i in range(4): self.assertEqual(Status.SUCCESS, manager.steps[i].status) manager.steps = [] - file_path_3 = os.path.join(script_dir, 'files/test_demo_full_example2.aasx') + file_path_3 = os.path.join(script_dir, 'files/test_demo_full_example_xml.aasx') compliance_tool.check_schema(file_path_3, manager) self.assertEqual(4, len(manager.steps)) for i in range(4): self.assertEqual(Status.SUCCESS, manager.steps[i].status) manager.steps = [] - file_path_4 = os.path.join(script_dir, 'files/test_demo_full_example_wrong_attribute.aasx') + file_path_4 = os.path.join(script_dir, 'files/test_demo_full_example_xml_wrong_attribute.aasx') compliance_tool.check_schema(file_path_4, manager) - self.assertEqual(10, len(manager.steps)) - for i in range(10): + self.assertEqual(4, len(manager.steps)) + for i in range(4): + self.assertEqual(Status.SUCCESS, manager.steps[i].status) + + manager.steps = [] + file_path_5 = os.path.join(script_dir, 'files/test_empty.aasx') + compliance_tool.check_schema(file_path_5, manager) + self.assertEqual(2, len(manager.steps)) + for i in range(2): self.assertEqual(Status.SUCCESS, manager.steps[i].status) diff --git a/compliance-tool/test/compliance_tool/test_compliance_check_json.py b/compliance-tool/test/compliance_tool/test_compliance_check_json.py index 87ed5b5cd..b6201d108 100644 --- a/compliance-tool/test/compliance_tool/test_compliance_check_json.py +++ b/compliance-tool/test/compliance_tool/test_compliance_check_json.py @@ -30,19 +30,18 @@ def test_check_schema(self) -> None: self.assertEqual(Status.SUCCESS, manager.steps[0].status) self.assertEqual(Status.FAILED, manager.steps[1].status) self.assertEqual(Status.NOT_EXECUTED, manager.steps[2].status) - self.assertIn("Expecting ',' delimiter: line 5 column 2 (char 69)", manager.format_step(1, verbose_level=1)) + self.assertIn("Expecting ',' delimiter: line 4 column 2 (char 54)", manager.format_step(1, verbose_level=1)) manager.steps = [] - file_path_3 = os.path.join(script_dir, 'files/test_missing_submodels.json') + file_path_3 = os.path.join(script_dir, 'files/test_empty.json') compliance_tool.check_schema(file_path_3, manager) self.assertEqual(3, len(manager.steps)) self.assertEqual(Status.SUCCESS, manager.steps[0].status) self.assertEqual(Status.SUCCESS, manager.steps[1].status) - self.assertEqual(Status.FAILED, manager.steps[2].status) - self.assertIn("'submodels' is a required property", manager.format_step(2, verbose_level=1)) + self.assertEqual(Status.SUCCESS, manager.steps[2].status) manager.steps = [] - file_path_4 = os.path.join(script_dir, 'files/test_empty.json') + file_path_4 = os.path.join(script_dir, 'files/test_demo_full_example.json') compliance_tool.check_schema(file_path_4, manager) self.assertEqual(3, len(manager.steps)) self.assertEqual(Status.SUCCESS, manager.steps[0].status) @@ -50,7 +49,7 @@ def test_check_schema(self) -> None: self.assertEqual(Status.SUCCESS, manager.steps[2].status) manager.steps = [] - file_path_5 = os.path.join(script_dir, 'files/test_demo_full_example.json') + file_path_5 = os.path.join(script_dir, 'files/test_demo_full_example_wrong_attribute.json') compliance_tool.check_schema(file_path_5, manager) self.assertEqual(3, len(manager.steps)) self.assertEqual(Status.SUCCESS, manager.steps[0].status) @@ -129,8 +128,8 @@ def test_check_aas_example(self) -> None: self.assertEqual(Status.SUCCESS, manager.steps[1].status) self.assertEqual(Status.FAILED, manager.steps[2].status) self.assertEqual('FAILED: Check if data is equal to example data\n - ERROR: Attribute id_short of ' - 'AssetAdministrationShell[Identifier(IRI=https://acplt.org/Test_AssetAdministrationShell)] ' - 'must be == TestAssetAdministrationShell (value=\'TestAssetAdministrationShell123\')', + 'AssetAdministrationShell[https://acplt.org/Test_AssetAdministrationShell] must be == ' + 'TestAssetAdministrationShell (value=\'TestAssetAdministrationShell123\')', manager.format_step(2, verbose_level=1)) def test_check_json_files_equivalence(self) -> None: @@ -178,8 +177,8 @@ def test_check_json_files_equivalence(self) -> None: self.assertEqual(Status.SUCCESS, manager.steps[3].status) self.assertEqual(Status.FAILED, manager.steps[4].status) self.assertEqual('FAILED: Check if data in files are equal\n - ERROR: Attribute id_short of ' - 'AssetAdministrationShell[Identifier(IRI=https://acplt.org/Test_AssetAdministrationShell)] ' - 'must be == TestAssetAdministrationShell123 (value=\'TestAssetAdministrationShell\')', + 'AssetAdministrationShell[https://acplt.org/Test_AssetAdministrationShell] must be == ' + 'TestAssetAdministrationShell123 (value=\'TestAssetAdministrationShell\')', manager.format_step(4, verbose_level=1)) manager.steps = [] @@ -191,6 +190,6 @@ def test_check_json_files_equivalence(self) -> None: self.assertEqual(Status.SUCCESS, manager.steps[3].status) self.assertEqual(Status.FAILED, manager.steps[4].status) self.assertEqual('FAILED: Check if data in files are equal\n - ERROR: Attribute id_short of ' - 'AssetAdministrationShell[Identifier(IRI=https://acplt.org/Test_AssetAdministrationShell)] ' - 'must be == TestAssetAdministrationShell (value=\'TestAssetAdministrationShell123\')', + 'AssetAdministrationShell[https://acplt.org/Test_AssetAdministrationShell] must be == ' + 'TestAssetAdministrationShell (value=\'TestAssetAdministrationShell123\')', manager.format_step(4, verbose_level=1)) diff --git a/compliance-tool/test/compliance_tool/test_compliance_check_xml.py b/compliance-tool/test/compliance_tool/test_compliance_check_xml.py index 3ce9534bb..a1658e508 100644 --- a/compliance-tool/test/compliance_tool/test_compliance_check_xml.py +++ b/compliance-tool/test/compliance_tool/test_compliance_check_xml.py @@ -24,24 +24,24 @@ def test_check_schema(self) -> None: self.assertIn("No such file or directory", manager.format_step(0, verbose_level=1)) manager.steps = [] - file_path_3 = os.path.join(script_dir, 'files/test_missing_submodels.xml') - compliance_tool.check_schema(file_path_3, manager) + file_path_2 = os.path.join(script_dir, 'files/test_empty.xml') + compliance_tool.check_schema(file_path_2, manager) self.assertEqual(3, len(manager.steps)) self.assertEqual(Status.SUCCESS, manager.steps[0].status) self.assertEqual(Status.SUCCESS, manager.steps[1].status) self.assertEqual(Status.SUCCESS, manager.steps[2].status) manager.steps = [] - file_path_4 = os.path.join(script_dir, 'files/test_empty.xml') - compliance_tool.check_schema(file_path_4, manager) + file_path_3 = os.path.join(script_dir, 'files/test_demo_full_example.xml') + compliance_tool.check_schema(file_path_3, manager) self.assertEqual(3, len(manager.steps)) self.assertEqual(Status.SUCCESS, manager.steps[0].status) self.assertEqual(Status.SUCCESS, manager.steps[1].status) self.assertEqual(Status.SUCCESS, manager.steps[2].status) manager.steps = [] - file_path_5 = os.path.join(script_dir, 'files/test_demo_full_example.xml') - compliance_tool.check_schema(file_path_5, manager) + file_path_4 = os.path.join(script_dir, 'files/test_demo_full_example_wrong_attribute.xml') + compliance_tool.check_schema(file_path_4, manager) self.assertEqual(3, len(manager.steps)) self.assertEqual(Status.SUCCESS, manager.steps[0].status) self.assertEqual(Status.SUCCESS, manager.steps[1].status) @@ -74,7 +74,7 @@ def test_check_deserialization(self) -> None: self.assertEqual(2, len(manager.steps)) self.assertEqual(Status.SUCCESS, manager.steps[0].status) self.assertEqual(Status.FAILED, manager.steps[1].status) - self.assertIn("ValueError: A revision requires a version", manager.format_step(1, verbose_level=1)) + self.assertIn("AASConstraintViolation: A revision requires a version", manager.format_step(1, verbose_level=1)) manager.steps = [] file_path_4 = os.path.join(script_dir, 'files/test_empty.xml') @@ -119,11 +119,9 @@ def test_check_aas_example(self) -> None: self.assertEqual(Status.SUCCESS, manager.steps[0].status) self.assertEqual(Status.SUCCESS, manager.steps[1].status) self.assertEqual(Status.FAILED, manager.steps[2].status) - self.assertEqual('FAILED: Check if data is equal to example data\n - ERROR: Asset administration shell ' - 'AssetAdministrationShell[Identifier(IRI=https://acplt.org/Test_AssetAdministrationShell)] ' - 'must exist in given asset administrationshell list ()\n - ERROR: Given asset administration ' - 'shell list must not have extra asset administration shells (value={AssetAdministrationShell' - '[Identifier(IRI=https://acplt.org/Test_AssetAdministrationShell123)]})', + self.assertEqual('FAILED: Check if data is equal to example data\n - ERROR: Attribute id_short of ' + 'AssetAdministrationShell[https://acplt.org/Test_AssetAdministrationShell] must be == ' + 'TestAssetAdministrationShell (value=\'TestAssetAdministrationShell123\')', manager.format_step(2, verbose_level=1)) def test_check_xml_files_equivalence(self) -> None: @@ -170,11 +168,9 @@ def test_check_xml_files_equivalence(self) -> None: self.assertEqual(Status.SUCCESS, manager.steps[2].status) self.assertEqual(Status.SUCCESS, manager.steps[3].status) self.assertEqual(Status.FAILED, manager.steps[4].status) - self.assertEqual('FAILED: Check if data in files are equal\n - ERROR: Asset administration shell ' - 'AssetAdministrationShell[Identifier(IRI=https://acplt.org/Test_AssetAdministrationShell123)] ' - 'must exist in given asset administrationshell list ()\n - ERROR: Given asset administration ' - 'shell list must not have extra asset administration shells (value={AssetAdministrationShell' - '[Identifier(IRI=https://acplt.org/Test_AssetAdministrationShell)]})', + self.assertEqual('FAILED: Check if data in files are equal\n - ERROR: Attribute id_short of ' + 'AssetAdministrationShell[https://acplt.org/Test_AssetAdministrationShell] must be == ' + 'TestAssetAdministrationShell123 (value=\'TestAssetAdministrationShell\')', manager.format_step(4, verbose_level=1)) manager.steps = [] @@ -185,9 +181,7 @@ def test_check_xml_files_equivalence(self) -> None: self.assertEqual(Status.SUCCESS, manager.steps[2].status) self.assertEqual(Status.SUCCESS, manager.steps[3].status) self.assertEqual(Status.FAILED, manager.steps[4].status) - self.assertEqual('FAILED: Check if data in files are equal\n - ERROR: Asset administration shell ' - 'AssetAdministrationShell[Identifier(IRI=https://acplt.org/Test_AssetAdministrationShell)] ' - 'must exist in given asset administrationshell list ()\n - ERROR: Given asset administration ' - 'shell list must not have extra asset administration shells (value={AssetAdministrationShell' - '[Identifier(IRI=https://acplt.org/Test_AssetAdministrationShell123)]})', + self.assertEqual('FAILED: Check if data in files are equal\n - ERROR: Attribute id_short of ' + 'AssetAdministrationShell[https://acplt.org/Test_AssetAdministrationShell] must be == ' + 'TestAssetAdministrationShell (value=\'TestAssetAdministrationShell123\')', manager.format_step(4, verbose_level=1))