Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Commit be62a5a

Browse files
committed
Merging with latest master and starting the last debugging session.
1 parent 4c60cfd commit be62a5a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

validator/src/main/resources/constraint_shapes.ttl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ aas:AASd-008Shape a sh:NodeShape ;
123123
sh:class aas:ModelingKind ;
124124
sh:minCount 1 ;
125125
sh:minCount 1 ;
126-
sh:hasValue <https://admin-shell.io/aas/3/0/RC01/ModelingKind/TEMPLATE> ; # TODO: rewrite to .../Template
126+
sh:hasValue <https://admin-shell.io/aas/3/0/RC01/ModelingKind/Template> ;
127127
sh:message "(Operation.kind = Template):The submodel element value of an operation variable shall be of kind=Template."^^xsd:string ;
128128
] ;
129129
.
@@ -143,7 +143,7 @@ aas:SelfManagedEntityRequiresAssetIdShape a sh:NodeShape ;
143143
sh:path <https://admin-shell.io/aas/3/0/RC01/Entity/entityType> ;
144144
sh:minCount 1;
145145
sh:maxCount 1;
146-
sh:pattern "SELF_MANAGED_ENTITY";
146+
sh:pattern "SelfManagedEntity";
147147
];
148148
]
149149
[
@@ -890,7 +890,7 @@ aas:ConceptDescriptionWithCategoryDocumentAndIEC61360CorrectDataType a sh:NodeSh
890890
?conceptDescription <https://admin-shell.io/aas/3/0/RC01/HasDataSpecification/embeddedDataSpecification> ?embeddedDataSpecification .
891891
?embeddedDataSpecification <https://admin-shell.io/aas/3/0/RC01/EmbeddedDataSpecification/dataSpecificationContent> ?dataSpecificationContent .
892892
?dataSpecificationContent <https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0/RC01/DataSpecificationIEC61360/dataType> ?dataType .
893-
FILTER(?dataType != <https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0/RC01/DataTypeIEC61360/URL> && ?dataType != <https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0/RC01/DataTypeIEC61360/STRING>)
893+
FILTER(?dataType != <https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0/RC01/DataTypeIEC61360/Url> && ?dataType != <https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0/RC01/DataTypeIEC61360/String>)
894894
}
895895
""" ;
896896
] .

validator/src/test/java/io/adminshell/aas/v3/model/validator/ConstraintTestHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static ConceptDescription createConceptDescription(String idShort, String
3939
return new DefaultConceptDescription.Builder()
4040
.description(new LangString("TestDescription"))
4141
.identification(new DefaultIdentifier.Builder().identifier(identifier)
42-
.idType(IdentifierType.CUSTOM).build())
42+
.idType(IdentifierType.CUSTOM).build())
4343
.category(category).idShort(idShort).build();
4444
}
4545

0 commit comments

Comments
 (0)