-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check explicitly for invalid model types (#35)
We explicitly check during the JSON de-serialization that model types correspond to the expected model types. We need to be particularly careful with concrete classes without descendants with a mandatory ``modelType``, as they do not necessarily require a model type for de-serialization, but the specs mandate it for reasons of backward compatibility. The code corresponds to [aas-core-codegen 56482d65], and the test data corresponds to [aas-core3.0-testgen 9e523511c]. This is related to the issue [aas-core3.0-python #32], which discovered the problematic in the first place. [aas-core-codegen 56482d65]: aas-core-works/aas-core-codegen@56482d65 [aas-core3.0-testgen 9e523511c]: aas-core-works/aas-core3.0-testgen@9e523511c [aas-core3.0-python #32]: aas-core-works/aas-core3.0-python#32
- Loading branch information
Showing
73 changed files
with
1,422 additions
and
52 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
.../Unserializable/InvalidModelType/AnnotatedRelationshipElement/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: Unexpected model type for ISubmodelElement: aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
...cted/Unserializable/InvalidModelType/AssetAdministrationShell/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
assetAdministrationShells[0].modelType: Expected the model type 'AssetAdministrationShell', but got aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
.../Unexpected/Unserializable/InvalidModelType/BasicEventElement/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: Unexpected model type for ISubmodelElement: aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
...InEnvironment/Unexpected/Unserializable/InvalidModelType/Blob/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: Unexpected model type for ISubmodelElement: aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
...ronment/Unexpected/Unserializable/InvalidModelType/Capability/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: Unexpected model type for ISubmodelElement: aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
...Unexpected/Unserializable/InvalidModelType/ConceptDescription/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
conceptDescriptions[0].modelType: Expected the model type 'ConceptDescription', but got aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
...ted/Unserializable/InvalidModelType/DataSpecificationIec61360/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
assetAdministrationShells[0].embeddedDataSpecifications[0].dataSpecificationContent: Unexpected model type for IDataSpecificationContent: aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
...Environment/Unexpected/Unserializable/InvalidModelType/Entity/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: Unexpected model type for ISubmodelElement: aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
...InEnvironment/Unexpected/Unserializable/InvalidModelType/File/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: Unexpected model type for ISubmodelElement: aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
...xpected/Unserializable/InvalidModelType/MultiLanguageProperty/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: Unexpected model type for ISubmodelElement: aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
...ironment/Unexpected/Unserializable/InvalidModelType/Operation/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: Unexpected model type for ISubmodelElement: aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
...vironment/Unexpected/Unserializable/InvalidModelType/Property/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: Unexpected model type for ISubmodelElement: aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
...nEnvironment/Unexpected/Unserializable/InvalidModelType/Range/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: Unexpected model type for ISubmodelElement: aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
...t/Unexpected/Unserializable/InvalidModelType/ReferenceElement/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: Unexpected model type for ISubmodelElement: aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
...nexpected/Unserializable/InvalidModelType/RelationshipElement/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: Unexpected model type for ISubmodelElement: aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
...vironment/Unexpected/Unserializable/InvalidModelType/Submodel/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].modelType: Expected the model type 'Submodel', but got aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
...ted/Unserializable/InvalidModelType/SubmodelElementCollection/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: Unexpected model type for ISubmodelElement: aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
...nexpected/Unserializable/InvalidModelType/SubmodelElementList/invalidModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: Unexpected model type for ISubmodelElement: aCompletelyInvalidModelType |
1 change: 1 addition & 0 deletions
1
.../Unserializable/MissingModelType/AnnotatedRelationshipElement/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
...cted/Unserializable/MissingModelType/AssetAdministrationShell/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
assetAdministrationShells[0]: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
.../Unexpected/Unserializable/MissingModelType/BasicEventElement/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
...InEnvironment/Unexpected/Unserializable/MissingModelType/Blob/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
...ronment/Unexpected/Unserializable/MissingModelType/Capability/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
...Unexpected/Unserializable/MissingModelType/ConceptDescription/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
conceptDescriptions[0]: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
...ted/Unserializable/MissingModelType/DataSpecificationIec61360/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
assetAdministrationShells[0].embeddedDataSpecifications[0].dataSpecificationContent: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
...Environment/Unexpected/Unserializable/MissingModelType/Entity/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
...InEnvironment/Unexpected/Unserializable/MissingModelType/File/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
...xpected/Unserializable/MissingModelType/MultiLanguageProperty/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
...ironment/Unexpected/Unserializable/MissingModelType/Operation/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
...vironment/Unexpected/Unserializable/MissingModelType/Property/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
...nEnvironment/Unexpected/Unserializable/MissingModelType/Range/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
...t/Unexpected/Unserializable/MissingModelType/ReferenceElement/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
...nexpected/Unserializable/MissingModelType/RelationshipElement/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
...vironment/Unexpected/Unserializable/MissingModelType/Submodel/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0]: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
...ted/Unserializable/MissingModelType/SubmodelElementCollection/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: The required property modelType is missing |
1 change: 1 addition & 0 deletions
1
...nexpected/Unserializable/MissingModelType/SubmodelElementList/withoutModelType.json.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
submodels[0].submodelElements[0]: The required property modelType is missing |
32 changes: 32 additions & 0 deletions
32
...pected/Unserializable/InvalidModelType/AnnotatedRelationshipElement/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"id": "something_48c66017", | ||
"modelType": "Submodel", | ||
"submodelElements": [ | ||
{ | ||
"first": { | ||
"keys": [ | ||
{ | ||
"type": "GlobalReference", | ||
"value": "urn:another-company01:f390f801" | ||
} | ||
], | ||
"type": "ExternalReference" | ||
}, | ||
"idShort": "something3fdd3eb4", | ||
"modelType": "aCompletelyInvalidModelType", | ||
"second": { | ||
"keys": [ | ||
{ | ||
"type": "GlobalReference", | ||
"value": "urn:an-example05:b7bf2725" | ||
} | ||
], | ||
"type": "ExternalReference" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
12 changes: 12 additions & 0 deletions
12
...Unexpected/Unserializable/InvalidModelType/AssetAdministrationShell/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"assetAdministrationShells": [ | ||
{ | ||
"assetInformation": { | ||
"assetKind": "NotApplicable", | ||
"globalAssetId": "something_eea66fa1" | ||
}, | ||
"id": "something_142922d6", | ||
"modelType": "aCompletelyInvalidModelType" | ||
} | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
...onment/Unexpected/Unserializable/InvalidModelType/BasicEventElement/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"id": "something_48c66017", | ||
"modelType": "Submodel", | ||
"submodelElements": [ | ||
{ | ||
"direction": "output", | ||
"idShort": "something3fdd3eb4", | ||
"modelType": "aCompletelyInvalidModelType", | ||
"observed": { | ||
"keys": [ | ||
{ | ||
"type": "Submodel", | ||
"value": "urn:another-example11:3679ef43" | ||
} | ||
], | ||
"type": "ModelReference" | ||
}, | ||
"state": "off" | ||
} | ||
] | ||
} | ||
] | ||
} |
15 changes: 15 additions & 0 deletions
15
...tainedInEnvironment/Unexpected/Unserializable/InvalidModelType/Blob/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"id": "something_48c66017", | ||
"modelType": "Submodel", | ||
"submodelElements": [ | ||
{ | ||
"contentType": "'VbrwFrYTU/fO7NnLxq \t; \tMX.`10dB732`X5yRy=I56Ov9Us\t ;\t\t pRb~~hdw_C%2Zf=\"\"\t\t\t \t\t\t \t \t\t \t ; h=1t", | ||
"idShort": "something3fdd3eb4", | ||
"modelType": "aCompletelyInvalidModelType" | ||
} | ||
] | ||
} | ||
] | ||
} |
14 changes: 14 additions & 0 deletions
14
...InEnvironment/Unexpected/Unserializable/InvalidModelType/Capability/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"id": "something_48c66017", | ||
"modelType": "Submodel", | ||
"submodelElements": [ | ||
{ | ||
"idShort": "something3fdd3eb4", | ||
"modelType": "aCompletelyInvalidModelType" | ||
} | ||
] | ||
} | ||
] | ||
} |
8 changes: 8 additions & 0 deletions
8
...nment/Unexpected/Unserializable/InvalidModelType/ConceptDescription/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"conceptDescriptions": [ | ||
{ | ||
"id": "something_8ccad77f", | ||
"modelType": "aCompletelyInvalidModelType" | ||
} | ||
] | ||
} |
30 changes: 30 additions & 0 deletions
30
...nexpected/Unserializable/InvalidModelType/DataSpecificationIec61360/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"assetAdministrationShells": [ | ||
{ | ||
"assetInformation": { | ||
"assetKind": "NotApplicable", | ||
"globalAssetId": "something_eea66fa1" | ||
}, | ||
"embeddedDataSpecifications": [ | ||
{ | ||
"dataSpecificationContent": { | ||
"modelType": "aCompletelyInvalidModelType", | ||
"preferredName": [ | ||
{ | ||
"language": "i-enochian", | ||
"text": "something_84b0b440" | ||
}, | ||
{ | ||
"language": "en-GB", | ||
"text": "Something random in English 5b15c20d" | ||
} | ||
], | ||
"value": "something_13759f45" | ||
} | ||
} | ||
], | ||
"id": "something_142922d6", | ||
"modelType": "AssetAdministrationShell" | ||
} | ||
] | ||
} |
15 changes: 15 additions & 0 deletions
15
...inedInEnvironment/Unexpected/Unserializable/InvalidModelType/Entity/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"id": "something_48c66017", | ||
"modelType": "Submodel", | ||
"submodelElements": [ | ||
{ | ||
"entityType": "CoManagedEntity", | ||
"idShort": "something3fdd3eb4", | ||
"modelType": "aCompletelyInvalidModelType" | ||
} | ||
] | ||
} | ||
] | ||
} |
15 changes: 15 additions & 0 deletions
15
...tainedInEnvironment/Unexpected/Unserializable/InvalidModelType/File/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"id": "something_48c66017", | ||
"modelType": "Submodel", | ||
"submodelElements": [ | ||
{ | ||
"contentType": "'VbrwFrYTU/fO7NnLxq \t; \tMX.`10dB732`X5yRy=I56Ov9Us\t ;\t\t pRb~~hdw_C%2Zf=\"\"\t\t\t \t\t\t \t \t\t \t ; h=1t", | ||
"idShort": "something3fdd3eb4", | ||
"modelType": "aCompletelyInvalidModelType" | ||
} | ||
] | ||
} | ||
] | ||
} |
14 changes: 14 additions & 0 deletions
14
...nt/Unexpected/Unserializable/InvalidModelType/MultiLanguageProperty/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"id": "something_48c66017", | ||
"modelType": "Submodel", | ||
"submodelElements": [ | ||
{ | ||
"idShort": "something3fdd3eb4", | ||
"modelType": "aCompletelyInvalidModelType" | ||
} | ||
] | ||
} | ||
] | ||
} |
14 changes: 14 additions & 0 deletions
14
...dInEnvironment/Unexpected/Unserializable/InvalidModelType/Operation/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"id": "something_48c66017", | ||
"modelType": "Submodel", | ||
"submodelElements": [ | ||
{ | ||
"idShort": "something3fdd3eb4", | ||
"modelType": "aCompletelyInvalidModelType" | ||
} | ||
] | ||
} | ||
] | ||
} |
15 changes: 15 additions & 0 deletions
15
...edInEnvironment/Unexpected/Unserializable/InvalidModelType/Property/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"id": "something_48c66017", | ||
"modelType": "Submodel", | ||
"submodelElements": [ | ||
{ | ||
"idShort": "something3fdd3eb4", | ||
"modelType": "aCompletelyInvalidModelType", | ||
"valueType": "xs:decimal" | ||
} | ||
] | ||
} | ||
] | ||
} |
15 changes: 15 additions & 0 deletions
15
...ainedInEnvironment/Unexpected/Unserializable/InvalidModelType/Range/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"id": "something_48c66017", | ||
"modelType": "Submodel", | ||
"submodelElements": [ | ||
{ | ||
"idShort": "something3fdd3eb4", | ||
"modelType": "aCompletelyInvalidModelType", | ||
"valueType": "xs:decimal" | ||
} | ||
] | ||
} | ||
] | ||
} |
14 changes: 14 additions & 0 deletions
14
...ronment/Unexpected/Unserializable/InvalidModelType/ReferenceElement/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"id": "something_48c66017", | ||
"modelType": "Submodel", | ||
"submodelElements": [ | ||
{ | ||
"idShort": "something3fdd3eb4", | ||
"modelType": "aCompletelyInvalidModelType" | ||
} | ||
] | ||
} | ||
] | ||
} |
32 changes: 32 additions & 0 deletions
32
...ment/Unexpected/Unserializable/InvalidModelType/RelationshipElement/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"id": "something_48c66017", | ||
"modelType": "Submodel", | ||
"submodelElements": [ | ||
{ | ||
"first": { | ||
"keys": [ | ||
{ | ||
"type": "GlobalReference", | ||
"value": "urn:another-company01:f390f801" | ||
} | ||
], | ||
"type": "ExternalReference" | ||
}, | ||
"idShort": "something3fdd3eb4", | ||
"modelType": "aCompletelyInvalidModelType", | ||
"second": { | ||
"keys": [ | ||
{ | ||
"type": "GlobalReference", | ||
"value": "urn:an-example05:b7bf2725" | ||
} | ||
], | ||
"type": "ExternalReference" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
8 changes: 8 additions & 0 deletions
8
...edInEnvironment/Unexpected/Unserializable/InvalidModelType/Submodel/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"id": "something_48c66017", | ||
"modelType": "aCompletelyInvalidModelType" | ||
} | ||
] | ||
} |
14 changes: 14 additions & 0 deletions
14
...nexpected/Unserializable/InvalidModelType/SubmodelElementCollection/invalidModelType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"id": "something_48c66017", | ||
"modelType": "Submodel", | ||
"submodelElements": [ | ||
{ | ||
"idShort": "something3fdd3eb4", | ||
"modelType": "aCompletelyInvalidModelType" | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.