diff --git a/aspect-model-editor-runtime/.graalvm/reflect-config.json b/aspect-model-editor-runtime/.graalvm/reflect-config.json index 9efebe94..96bb96cb 100644 --- a/aspect-model-editor-runtime/.graalvm/reflect-config.json +++ b/aspect-model-editor-runtime/.graalvm/reflect-config.json @@ -1079,8 +1079,12 @@ }, { "name": "java.io.Closeable", - "queryAllDeclaredMethods": true, - "queryAllPublicMethods": true + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredFields": true, + "allPublicFields": true }, { "name": "java.io.File", @@ -1102,34 +1106,39 @@ }, { "name": "java.io.Serializable", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true, - "queryAllPublicMethods": true + "allPublicFields": true }, { "name": "java.lang.AutoCloseable", - "queryAllDeclaredMethods": true, - "queryAllPublicMethods": true + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredFields": true, + "allPublicFields": true }, { "name": "java.lang.CharSequence", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true + "allPublicFields": true }, { "name": "java.lang.Class", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true, - "methods": [ - { - "name": "getModule", - "parameterTypes": [] - }, - { - "name": "getSimpleName", - "parameterTypes": [] - } - ] + "allPublicFields": true }, { "name": "java.lang.ClassLoader", @@ -1148,45 +1157,39 @@ }, { "name": "java.lang.Cloneable", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true + "allPublicFields": true }, { "name": "java.lang.Comparable", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true + "allPublicFields": true }, { "name": "java.lang.Enum", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true, - "methods": [ - { - "name": "valueOf", - "parameterTypes": [ - "java.lang.Class", - "java.lang.String" - ] - } - ] + "allPublicFields": true }, { "name": "java.lang.Iterable", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true, - "queryAllPublicMethods": true, - "methods": [ - { - "name": "forEach", - "parameterTypes": [ - "java.util.function.Consumer" - ] - }, - { - "name": "spliterator", - "parameterTypes": [] - } - ] + "allPublicFields": true }, { "name": "java.lang.Module", @@ -1223,8 +1226,12 @@ }, { "name": "java.lang.Object", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true + "allPublicFields": true }, { "name": "java.lang.RuntimePermission", @@ -1272,19 +1279,19 @@ }, { "name": "java.lang.String", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true, - "methods": [ - { - "name": "equals", - "parameterTypes": [ - "java.lang.Object" - ] - } - ] + "allPublicFields": true }, { "name": "java.lang.Void", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, "queryAllDeclaredMethods": true, "queryAllDeclaredConstructors": true @@ -1620,34 +1627,48 @@ }, { "name": "java.util.AbstractCollection", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true + "allPublicFields": true }, { "name": "java.util.AbstractList", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true + "allPublicFields": true }, { "name": "java.util.AbstractSet", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true + "allPublicFields": true }, { "name": "java.util.ArrayList", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true, - "methods": [ - { - "name": "isEmpty", - "parameterTypes": [] - } - ] + "allPublicFields": true }, { "name": "java.util.Collection", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true + "allPublicFields": true }, { "name": "java.util.Enumeration", @@ -1660,34 +1681,30 @@ }, { "name": "java.util.HashSet", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true, - "methods": [ - { - "name": "isEmpty", - "parameterTypes": [] - } - ] + "allPublicFields": true }, { "name": "java.util.List", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true + "allPublicFields": true }, { "name": "java.util.Optional", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true, - "methods": [ - { - "name": "get", - "parameterTypes": [] - }, - { - "name": "isPresent", - "parameterTypes": [] - } - ] + "allPublicFields": true }, { "name": "java.util.PropertyPermission", @@ -1700,13 +1717,21 @@ }, { "name": "java.util.RandomAccess", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true + "allPublicFields": true }, { "name": "java.util.Set", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true + "allPublicFields": true }, { "name": "java.util.concurrent.Callable", @@ -1768,23 +1793,21 @@ }, { "name": "java.util.stream.Collectors", - "methods": [ - { - "name": "toList", - "parameterTypes": [] - } - ] + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredFields": true, + "allPublicFields": true }, { "name": "java.util.stream.Stream", - "methods": [ - { - "name": "collect", - "parameterTypes": [ - "java.util.stream.Collector" - ] - } - ] + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredFields": true, + "allPublicFields": true }, { "name": "javax.naming.InitialContext", @@ -6476,19 +6499,21 @@ }, { "name": "org.eclipse.esmf.characteristic.Quantifiable", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true + "allPublicFields": true }, { "name": "org.eclipse.esmf.characteristic.impl.DefaultQuantifiable", + "allDeclaredConstructors": true, + "allPublicConstructors": true, + "allDeclaredMethods": true, + "allPublicMethods": true, "allDeclaredFields": true, - "queryAllDeclaredMethods": true, - "methods": [ - { - "name": "getUnit", - "parameterTypes": [] - } - ] + "allPublicFields": true }, { "name": "org.eclipse.esmf.metamodel.Aspect", diff --git a/aspect-model-editor-runtime/postman/ame.postman_collection.json b/aspect-model-editor-runtime/postman/ame.postman_collection.json index 062c6522..ad894697 100644 --- a/aspect-model-editor-runtime/postman/ame.postman_collection.json +++ b/aspect-model-editor-runtime/postman/ame.postman_collection.json @@ -1,9 +1,8 @@ { "info": { - "_postman_id": "2189d2b1-9316-453a-aa09-bbc56b461c4b", + "_postman_id": "a66814d4-a0ab-4527-b872-6b66b8c20734", "name": "AME.POSTMAN.RESOURCES", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "30151852" + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { @@ -26,18 +25,18 @@ "header": [ { "key": "NAMESPACE", - "value": "io.aspectmodel:1.0.0", + "value": "org.eclipse.examples:1.0.0", "type": "default" }, { "key": "FILE-NAME", - "value": "AspectDefault.ttl", + "value": "Movement.ttl", "type": "default" } ], "body": { "mode": "raw", - "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:AspectDefault a samm:Aspect ;\r\n samm:properties (:property1) ;\r\n samm:operations () .\r\n\r\n:property1 a samm:Property;\r\n samm:characteristic :Characteristic1 .\r\n\r\n:Characteristic1 a samm:Characteristic ;\r\n samm:dataType xsd:string .\r\n" + "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:Movement a samm:Aspect ;\r\n samm:preferredName \"movement\"@en ;\r\n samm:description \"Aspect for movement information\"@en ;\r\n samm:properties ( :isMoving :position :speed :speedLimitWarning ) ;\r\n samm:operations ( ) ;\r\n samm:events ( ) .\r\n\r\n:isMoving a samm:Property ;\r\n samm:preferredName \"is moving\"@en ;\r\n samm:description \"Flag indicating whether the asset is currently moving\"@en ;\r\n samm:characteristic samm-c:Boolean .\r\n\r\n:position a samm:Property ;\r\n samm:preferredName \"position\"@en ;\r\n samm:description \"Indicates a position\"@en ;\r\n samm:characteristic :SpatialPositionCharacteristic .\r\n\r\n:speed a samm:Property ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"speed of vehicle\"@en ;\r\n samm:characteristic :Speed .\r\n\r\n:speedLimitWarning a samm:Property ;\r\n samm:preferredName \"speed limit warning\"@en ;\r\n samm:description \"Indicates if the speed limit is adhered to.\"@en ;\r\n samm:characteristic :TrafficLight .\r\n\r\n:SpatialPositionCharacteristic a samm-c:SingleEntity ;\r\n samm:preferredName \"spatial position characteristic\"@en ;\r\n samm:description \"Represents a single position in space with optional z coordinate.\"@en ;\r\n samm:dataType :SpatialPosition .\r\n\r\n:Speed a samm-c:Measurement ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"Scalar representation of speed of an object in kilometers per hour.\"@en ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:kilometrePerHour .\r\n\r\n:TrafficLight a samm-c:Enumeration ;\r\n samm:preferredName \"warning level\"@en ;\r\n samm:description \"Represents if speed of position change is within specification (green), within tolerance (yellow), or outside specification (red).\"@en ;\r\n samm:dataType xsd:string ;\r\n samm-c:values ( \"green\" \"yellow\" \"red\" ) .\r\n\r\n:SpatialPosition a samm:Entity ;\r\n samm:preferredName \"spatial position\"@en ;\r\n samm:description \"Represents latitude, longitude and altitude information in the WGS84 geodetic reference datum\"@en ;\r\n samm:see ;\r\n samm:properties ( :latitude :longitude [ samm:property :altitude; samm:optional true ] ) .\r\n\r\n:latitude a samm:Property ;\r\n samm:preferredName \"latitude\"@en ;\r\n samm:description \"latitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"9.1781\"^^xsd:decimal .\r\n\r\n:longitude a samm:Property ;\r\n samm:preferredName \"longitude\"@en ;\r\n samm:description \"longitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"48.80835\"^^xsd:decimal .\r\n\r\n:altitude a samm:Property ;\r\n samm:preferredName \"altitude\"@en ;\r\n samm:description \"Elevation above sea level zero\"@en ;\r\n samm:see ;\r\n samm:characteristic :MetresAboveMeanSeaLevel ;\r\n samm:exampleValue \"153\"^^xsd:float .\r\n\r\n:Coordinate a samm-c:Measurement ;\r\n samm:preferredName \"coordinate\"@en ;\r\n samm:description \"Representing the geographical coordinate\"@en ;\r\n samm:dataType xsd:decimal ;\r\n samm-c:unit unit:degreeUnitOfAngle .\r\n\r\n:MetresAboveMeanSeaLevel a samm-c:Measurement ;\r\n samm:preferredName \"metres above mean sea level\"@en ;\r\n samm:description \"Signifies the vertical distance in reference to a historic mean sea level as a vertical datum\"@en ;\r\n samm:see ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:metre .\r\n" }, "url": { "raw": "http://localhost:{{port}}/ame/api/models", @@ -82,7 +81,7 @@ ], "body": { "mode": "raw", - "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:AspectDefault a samm:Aspect ;\r\n samm:properties (:property1) ;\r\n samm:operations () .\r\n\r\n:property1 a samm:Property;\r\n samm:characteristic :Characteristic1 .\r\n\r\n:Characteristic1 a samm:Characteristic ;\r\n samm:dataType xsd:string .\r\n" + "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:Movement a samm:Aspect ;\r\n samm:preferredName \"movement\"@en ;\r\n samm:description \"Aspect for movement information\"@en ;\r\n samm:properties ( :isMoving :position :speed :speedLimitWarning ) ;\r\n samm:operations ( ) ;\r\n samm:events ( ) .\r\n\r\n:isMoving a samm:Property ;\r\n samm:preferredName \"is moving\"@en ;\r\n samm:description \"Flag indicating whether the asset is currently moving\"@en ;\r\n samm:characteristic samm-c:Boolean .\r\n\r\n:position a samm:Property ;\r\n samm:preferredName \"position\"@en ;\r\n samm:description \"Indicates a position\"@en ;\r\n samm:characteristic :SpatialPositionCharacteristic .\r\n\r\n:speed a samm:Property ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"speed of vehicle\"@en ;\r\n samm:characteristic :Speed .\r\n\r\n:speedLimitWarning a samm:Property ;\r\n samm:preferredName \"speed limit warning\"@en ;\r\n samm:description \"Indicates if the speed limit is adhered to.\"@en ;\r\n samm:characteristic :TrafficLight .\r\n\r\n:SpatialPositionCharacteristic a samm-c:SingleEntity ;\r\n samm:preferredName \"spatial position characteristic\"@en ;\r\n samm:description \"Represents a single position in space with optional z coordinate.\"@en ;\r\n samm:dataType :SpatialPosition .\r\n\r\n:Speed a samm-c:Measurement ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"Scalar representation of speed of an object in kilometers per hour.\"@en ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:kilometrePerHour .\r\n\r\n:TrafficLight a samm-c:Enumeration ;\r\n samm:preferredName \"warning level\"@en ;\r\n samm:description \"Represents if speed of position change is within specification (green), within tolerance (yellow), or outside specification (red).\"@en ;\r\n samm:dataType xsd:string ;\r\n samm-c:values ( \"green\" \"yellow\" \"red\" ) .\r\n\r\n:SpatialPosition a samm:Entity ;\r\n samm:preferredName \"spatial position\"@en ;\r\n samm:description \"Represents latitude, longitude and altitude information in the WGS84 geodetic reference datum\"@en ;\r\n samm:see ;\r\n samm:properties ( :latitude :longitude [ samm:property :altitude; samm:optional true ] ) .\r\n\r\n:latitude a samm:Property ;\r\n samm:preferredName \"latitude\"@en ;\r\n samm:description \"latitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"9.1781\"^^xsd:decimal .\r\n\r\n:longitude a samm:Property ;\r\n samm:preferredName \"longitude\"@en ;\r\n samm:description \"longitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"48.80835\"^^xsd:decimal .\r\n\r\n:altitude a samm:Property ;\r\n samm:preferredName \"altitude\"@en ;\r\n samm:description \"Elevation above sea level zero\"@en ;\r\n samm:see ;\r\n samm:characteristic :MetresAboveMeanSeaLevel ;\r\n samm:exampleValue \"153\"^^xsd:float .\r\n\r\n:Coordinate a samm-c:Measurement ;\r\n samm:preferredName \"coordinate\"@en ;\r\n samm:description \"Representing the geographical coordinate\"@en ;\r\n samm:dataType xsd:decimal ;\r\n samm-c:unit unit:degreeUnitOfAngle .\r\n\r\n:MetresAboveMeanSeaLevel a samm-c:Measurement ;\r\n samm:preferredName \"metres above mean sea level\"@en ;\r\n samm:description \"Signifies the vertical distance in reference to a historic mean sea level as a vertical datum\"@en ;\r\n samm:see ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:metre .\r\n" }, "url": { "raw": "http://localhost:{{port}}/ame/api/models", @@ -122,12 +121,12 @@ "header": [ { "key": "NAMESPACE", - "value": "io.aspectmodel:1.0.0", + "value": "org.eclipse.examples:1.0.0", "type": "text" }, { "key": "FILE-NAME", - "value": "AspectDefault.ttl", + "value": "Movement.ttl", "type": "default" } ], @@ -199,8 +198,8 @@ "pm.test(\"Status code is 200\", function () {\r", " pm.response.to.have.status(200);\r", " const expectedObject = {\r", - " \"io.aspectmodel:1.0.0\": [\r", - " \"AspectDefault.ttl\"\r", + " \"org.eclipse.examples:1.0.0\": [\r", + " \"Movement.ttl\"\r", " ]\r", " }\r", "});" @@ -249,7 +248,7 @@ "header": [], "body": { "mode": "raw", - "raw": "@prefix samm: .\n@prefix samm-c: .\n@prefix samm-e: .\n@prefix unit: .\n@prefix rdf: .\n@prefix rdfs: .\n@prefix xsd: .\n@prefix : .\n\n:AspectDefault a samm:Aspect ;\n samm:properties (:property1) ;\n samm:operations () .\n\n:property1 a samm:Property;\n samm:characteristic :Characteristic1 .\n\n:Characteristic1 a samm:Characteristic ." + "raw": "@prefix samm: .\n@prefix samm-c: .\n@prefix samm-e: .\n@prefix unit: .\n@prefix rdf: .\n@prefix rdfs: .\n@prefix xsd: .\n@prefix : .\n\n:Movement a samm:Aspect ;\n samm:preferredName \"movement\"@en ;\n samm:description \"Aspect for movement information\"@en ;\n samm:properties ( :isMoving :position :speed :speedLimitWarning ) ;\n samm:operations ( ) ;\n samm:events ( ) .\n\n:isMoving a samm:Property ;\n samm:preferredName \"is moving\"@en ;\n samm:description \"Flag indicating whether the asset is currently moving\"@en ;\n samm:characteristic samm-c:Boolean .\n\n:position a samm:Property ;\n samm:preferredName \"position\"@en ;\n samm:description \"Indicates a position\"@en ;\n samm:characteristic :SpatialPositionCharacteristic .\n\n:speed a samm:Property ;\n samm:preferredName \"speed\"@en ;\n samm:description \"speed of vehicle\"@en ;\n samm:characteristic :Speed .\n\n:speedLimitWarning a samm:Property ;\n samm:preferredName \"speed limit warning\"@en ;\n samm:description \"Indicates if the speed limit is adhered to.\"@en ;\n samm:characteristic :TrafficLight .\n\n:SpatialPositionCharacteristic a samm-c:SingleEntity ;\n samm:preferredName \"spatial position characteristic\"@en ;\n samm:description \"Represents a single position in space with optional z coordinate.\"@en ;\n samm:dataType :SpatialPosition .\n\n:Speed a samm-c:Measurement ;\n samm:preferredName \"speed\"@en ;\n samm:description \"Scalar representation of speed of an object in kilometers per hour.\"@en ;\n samm:dataType xsd:float ;\n samm-c:unit unit:kilometrePerHour .\n\n:TrafficLight a samm-c:Enumeration ;\n samm:preferredName \"warning level\"@en ;\n samm:description \"Represents if speed of position change is within specification (green), within tolerance (yellow), or outside specification (red).\"@en ;\n samm:dataType xsd:string ;\n samm-c:values ( \"green\" \"yellow\" \"red\" ) .\n\n:SpatialPosition a samm:Entity ;\n samm:preferredName \"spatial position\"@en ;\n samm:description \"Represents latitude, longitude and altitude information in the WGS84 geodetic reference datum\"@en ;\n samm:see ;\n samm:properties ( :latitude :longitude [ samm:property :altitude; samm:optional true ] ) .\n\n:latitude a samm:Property ;\n samm:preferredName \"latitude\"@en ;\n samm:description \"latitude coordinate in space (WGS84)\"@en ;\n samm:see ;\n samm:characteristic :Coordinate ;\n samm:exampleValue \"9.1781\"^^xsd:decimal .\n\n:longitude a samm:Property ;\n samm:preferredName \"longitude\"@en ;\n samm:description \"longitude coordinate in space (WGS84)\"@en ;\n samm:see ;\n samm:characteristic :Coordinate ;\n samm:exampleValue \"48.80835\"^^xsd:decimal .\n\n:altitude a samm:Property ;\n samm:preferredName \"altitude\"@en ;\n samm:description \"Elevation above sea level zero\"@en ;\n samm:see ;\n samm:characteristic :MetresAboveMeanSeaLevel ;\n samm:exampleValue \"153\"^^xsd:float .\n\n:Coordinate a samm-c:Measurement ;\n samm:preferredName \"coordinate\"@en ;\n samm:description \"Representing the geographical coordinate\"@en ;\n samm:dataType xsd:decimal ;\n samm-c:unit unit:degreeUnitOfAngle .\n\n:MetresAboveMeanSeaLevel a samm-c:Measurement ;\n samm:preferredName \"metres above mean sea level\"@en ;\n samm:description \"Signifies the vertical distance in reference to a historic mean sea level as a vertical datum\"@en ;\n samm:see ;\n samm:dataType xsd:float ;\n samm-c:unit unit:metre .\n" }, "url": { "raw": "http://localhost:{{port}}/ame/api/models/migrate", @@ -290,7 +289,7 @@ "header": [], "body": { "mode": "raw", - "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:AspectDefault a samm:Aspect ;\r\n samm:properties (:property1) ;\r\n samm:operations () .\r\n\r\n:property1 a samm:Property;\r\n samm:characteristic :Characteristic1 .\r\n\r\n:Characteristic1 a samm:Characteristic ;\r\n samm:dataType xsd:string .\r\n" + "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:Movement a samm:Aspect ;\r\n samm:preferredName \"movement\"@en ;\r\n samm:description \"Aspect for movement information\"@en ;\r\n samm:properties ( :isMoving :position :speed :speedLimitWarning ) ;\r\n samm:operations ( ) ;\r\n samm:events ( ) .\r\n\r\n:isMoving a samm:Property ;\r\n samm:preferredName \"is moving\"@en ;\r\n samm:description \"Flag indicating whether the asset is currently moving\"@en ;\r\n samm:characteristic samm-c:Boolean .\r\n\r\n:position a samm:Property ;\r\n samm:preferredName \"position\"@en ;\r\n samm:description \"Indicates a position\"@en ;\r\n samm:characteristic :SpatialPositionCharacteristic .\r\n\r\n:speed a samm:Property ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"speed of vehicle\"@en ;\r\n samm:characteristic :Speed .\r\n\r\n:speedLimitWarning a samm:Property ;\r\n samm:preferredName \"speed limit warning\"@en ;\r\n samm:description \"Indicates if the speed limit is adhered to.\"@en ;\r\n samm:characteristic :TrafficLight .\r\n\r\n:SpatialPositionCharacteristic a samm-c:SingleEntity ;\r\n samm:preferredName \"spatial position characteristic\"@en ;\r\n samm:description \"Represents a single position in space with optional z coordinate.\"@en ;\r\n samm:dataType :SpatialPosition .\r\n\r\n:Speed a samm-c:Measurement ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"Scalar representation of speed of an object in kilometers per hour.\"@en ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:kilometrePerHour .\r\n\r\n:TrafficLight a samm-c:Enumeration ;\r\n samm:preferredName \"warning level\"@en ;\r\n samm:description \"Represents if speed of position change is within specification (green), within tolerance (yellow), or outside specification (red).\"@en ;\r\n samm:dataType xsd:string ;\r\n samm-c:values ( \"green\" \"yellow\" \"red\" ) .\r\n\r\n:SpatialPosition a samm:Entity ;\r\n samm:preferredName \"spatial position\"@en ;\r\n samm:description \"Represents latitude, longitude and altitude information in the WGS84 geodetic reference datum\"@en ;\r\n samm:see ;\r\n samm:properties ( :latitude :longitude [ samm:property :altitude; samm:optional true ] ) .\r\n\r\n:latitude a samm:Property ;\r\n samm:preferredName \"latitude\"@en ;\r\n samm:description \"latitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"9.1781\"^^xsd:decimal .\r\n\r\n:longitude a samm:Property ;\r\n samm:preferredName \"longitude\"@en ;\r\n samm:description \"longitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"48.80835\"^^xsd:decimal .\r\n\r\n:altitude a samm:Property ;\r\n samm:preferredName \"altitude\"@en ;\r\n samm:description \"Elevation above sea level zero\"@en ;\r\n samm:see ;\r\n samm:characteristic :MetresAboveMeanSeaLevel ;\r\n samm:exampleValue \"153\"^^xsd:float .\r\n\r\n:Coordinate a samm-c:Measurement ;\r\n samm:preferredName \"coordinate\"@en ;\r\n samm:description \"Representing the geographical coordinate\"@en ;\r\n samm:dataType xsd:decimal ;\r\n samm-c:unit unit:degreeUnitOfAngle .\r\n\r\n:MetresAboveMeanSeaLevel a samm-c:Measurement ;\r\n samm:preferredName \"metres above mean sea level\"@en ;\r\n samm:description \"Signifies the vertical distance in reference to a historic mean sea level as a vertical datum\"@en ;\r\n samm:see ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:metre .\r\n" }, "url": { "raw": "http://localhost:{{port}}/ame/api/models/validate", @@ -413,12 +412,12 @@ "header": [ { "key": "NAMESPACE", - "value": "io.aspectmodel:1.0.0", + "value": "org.eclipse.examples:1.0.0", "type": "text" }, { "key": "FILE-NAME", - "value": "AspectDefault.ttl", + "value": "Movement.ttl", "type": "default" } ], @@ -517,7 +516,7 @@ ], "body": { "mode": "raw", - "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:AspectDefault a samm:Aspect ;\r\n samm:properties (:property1) ;\r\n samm:operations () .\r\n\r\n:property1 a samm:Property;\r\n samm:characteristic :Characteristic1 .\r\n\r\n:Characteristic1 a samm:Characteristic ;\r\n samm:dataType xsd:string .\r\n" + "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:Movement a samm:Aspect ;\r\n samm:preferredName \"movement\"@en ;\r\n samm:description \"Aspect for movement information\"@en ;\r\n samm:properties ( :isMoving :position :speed :speedLimitWarning ) ;\r\n samm:operations ( ) ;\r\n samm:events ( ) .\r\n\r\n:isMoving a samm:Property ;\r\n samm:preferredName \"is moving\"@en ;\r\n samm:description \"Flag indicating whether the asset is currently moving\"@en ;\r\n samm:characteristic samm-c:Boolean .\r\n\r\n:position a samm:Property ;\r\n samm:preferredName \"position\"@en ;\r\n samm:description \"Indicates a position\"@en ;\r\n samm:characteristic :SpatialPositionCharacteristic .\r\n\r\n:speed a samm:Property ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"speed of vehicle\"@en ;\r\n samm:characteristic :Speed .\r\n\r\n:speedLimitWarning a samm:Property ;\r\n samm:preferredName \"speed limit warning\"@en ;\r\n samm:description \"Indicates if the speed limit is adhered to.\"@en ;\r\n samm:characteristic :TrafficLight .\r\n\r\n:SpatialPositionCharacteristic a samm-c:SingleEntity ;\r\n samm:preferredName \"spatial position characteristic\"@en ;\r\n samm:description \"Represents a single position in space with optional z coordinate.\"@en ;\r\n samm:dataType :SpatialPosition .\r\n\r\n:Speed a samm-c:Measurement ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"Scalar representation of speed of an object in kilometers per hour.\"@en ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:kilometrePerHour .\r\n\r\n:TrafficLight a samm-c:Enumeration ;\r\n samm:preferredName \"warning level\"@en ;\r\n samm:description \"Represents if speed of position change is within specification (green), within tolerance (yellow), or outside specification (red).\"@en ;\r\n samm:dataType xsd:string ;\r\n samm-c:values ( \"green\" \"yellow\" \"red\" ) .\r\n\r\n:SpatialPosition a samm:Entity ;\r\n samm:preferredName \"spatial position\"@en ;\r\n samm:description \"Represents latitude, longitude and altitude information in the WGS84 geodetic reference datum\"@en ;\r\n samm:see ;\r\n samm:properties ( :latitude :longitude [ samm:property :altitude; samm:optional true ] ) .\r\n\r\n:latitude a samm:Property ;\r\n samm:preferredName \"latitude\"@en ;\r\n samm:description \"latitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"9.1781\"^^xsd:decimal .\r\n\r\n:longitude a samm:Property ;\r\n samm:preferredName \"longitude\"@en ;\r\n samm:description \"longitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"48.80835\"^^xsd:decimal .\r\n\r\n:altitude a samm:Property ;\r\n samm:preferredName \"altitude\"@en ;\r\n samm:description \"Elevation above sea level zero\"@en ;\r\n samm:see ;\r\n samm:characteristic :MetresAboveMeanSeaLevel ;\r\n samm:exampleValue \"153\"^^xsd:float .\r\n\r\n:Coordinate a samm-c:Measurement ;\r\n samm:preferredName \"coordinate\"@en ;\r\n samm:description \"Representing the geographical coordinate\"@en ;\r\n samm:dataType xsd:decimal ;\r\n samm-c:unit unit:degreeUnitOfAngle .\r\n\r\n:MetresAboveMeanSeaLevel a samm-c:Measurement ;\r\n samm:preferredName \"metres above mean sea level\"@en ;\r\n samm:description \"Signifies the vertical distance in reference to a historic mean sea level as a vertical datum\"@en ;\r\n samm:see ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:metre .\r\n" }, "url": { "raw": "http://localhost:{{port}}/ame/api/generate/documentation?language=en", @@ -554,7 +553,13 @@ "});\r", "\r", "pm.test(\"Response body is valid\", function () {\r", - " pm.expect(pm.response.json()['property1']).to.exist\r", + " pm.expect(pm.response.json()['isMoving']).to.exist;\r", + " pm.expect(pm.response.json()['position']).to.exist;\r", + " pm.expect(pm.response.json()['position']['altitude']).to.exist;\r", + " pm.expect(pm.response.json()['position']['latitude']).to.exist;\r", + " pm.expect(pm.response.json()['position']['longitude']).to.exist;\r", + " pm.expect(pm.response.json()['speed']).to.exist;\r", + " pm.expect(pm.response.json()['speedLimitWarning']).to.exist;\r", "});" ], "type": "text/javascript" @@ -566,7 +571,7 @@ "header": [], "body": { "mode": "raw", - "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:AspectDefault a samm:Aspect ;\r\n samm:properties (:property1) ;\r\n samm:operations () .\r\n\r\n:property1 a samm:Property;\r\n samm:characteristic :Characteristic1 .\r\n\r\n:Characteristic1 a samm:Characteristic ;\r\n samm:dataType xsd:string .\r\n" + "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:Movement a samm:Aspect ;\r\n samm:preferredName \"movement\"@en ;\r\n samm:description \"Aspect for movement information\"@en ;\r\n samm:properties ( :isMoving :position :speed :speedLimitWarning ) ;\r\n samm:operations ( ) ;\r\n samm:events ( ) .\r\n\r\n:isMoving a samm:Property ;\r\n samm:preferredName \"is moving\"@en ;\r\n samm:description \"Flag indicating whether the asset is currently moving\"@en ;\r\n samm:characteristic samm-c:Boolean .\r\n\r\n:position a samm:Property ;\r\n samm:preferredName \"position\"@en ;\r\n samm:description \"Indicates a position\"@en ;\r\n samm:characteristic :SpatialPositionCharacteristic .\r\n\r\n:speed a samm:Property ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"speed of vehicle\"@en ;\r\n samm:characteristic :Speed .\r\n\r\n:speedLimitWarning a samm:Property ;\r\n samm:preferredName \"speed limit warning\"@en ;\r\n samm:description \"Indicates if the speed limit is adhered to.\"@en ;\r\n samm:characteristic :TrafficLight .\r\n\r\n:SpatialPositionCharacteristic a samm-c:SingleEntity ;\r\n samm:preferredName \"spatial position characteristic\"@en ;\r\n samm:description \"Represents a single position in space with optional z coordinate.\"@en ;\r\n samm:dataType :SpatialPosition .\r\n\r\n:Speed a samm-c:Measurement ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"Scalar representation of speed of an object in kilometers per hour.\"@en ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:kilometrePerHour .\r\n\r\n:TrafficLight a samm-c:Enumeration ;\r\n samm:preferredName \"warning level\"@en ;\r\n samm:description \"Represents if speed of position change is within specification (green), within tolerance (yellow), or outside specification (red).\"@en ;\r\n samm:dataType xsd:string ;\r\n samm-c:values ( \"green\" \"yellow\" \"red\" ) .\r\n\r\n:SpatialPosition a samm:Entity ;\r\n samm:preferredName \"spatial position\"@en ;\r\n samm:description \"Represents latitude, longitude and altitude information in the WGS84 geodetic reference datum\"@en ;\r\n samm:see ;\r\n samm:properties ( :latitude :longitude [ samm:property :altitude; samm:optional true ] ) .\r\n\r\n:latitude a samm:Property ;\r\n samm:preferredName \"latitude\"@en ;\r\n samm:description \"latitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"9.1781\"^^xsd:decimal .\r\n\r\n:longitude a samm:Property ;\r\n samm:preferredName \"longitude\"@en ;\r\n samm:description \"longitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"48.80835\"^^xsd:decimal .\r\n\r\n:altitude a samm:Property ;\r\n samm:preferredName \"altitude\"@en ;\r\n samm:description \"Elevation above sea level zero\"@en ;\r\n samm:see ;\r\n samm:characteristic :MetresAboveMeanSeaLevel ;\r\n samm:exampleValue \"153\"^^xsd:float .\r\n\r\n:Coordinate a samm-c:Measurement ;\r\n samm:preferredName \"coordinate\"@en ;\r\n samm:description \"Representing the geographical coordinate\"@en ;\r\n samm:dataType xsd:decimal ;\r\n samm-c:unit unit:degreeUnitOfAngle .\r\n\r\n:MetresAboveMeanSeaLevel a samm-c:Measurement ;\r\n samm:preferredName \"metres above mean sea level\"@en ;\r\n samm:description \"Signifies the vertical distance in reference to a historic mean sea level as a vertical datum\"@en ;\r\n samm:see ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:metre .\r\n" }, "url": { "raw": "http://localhost:{{port}}/ame/api/generate/json-sample", @@ -596,8 +601,15 @@ " pm.response.to.have.status(200);\r", "});\r", "pm.test(\"Response body is valid\", function () {\r", - " pm.expect(pm.response.json()[\"components\"][\"schemas\"][\"urn_samm_io.aspectmodel_1.0.0_Characteristic1\"][\"type\"]).to.equal(\"string\");\r", - " pm.expect(pm.response.json()[\"properties\"][\"property1\"][\"$ref\"]).to.equal(\"#/components/schemas/urn_samm_io.aspectmodel_1.0.0_Characteristic1\");\r", + " pm.expect(pm.response.json()[\"components\"][\"schemas\"][\"urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Boolean\"][\"type\"]).to.equal(\"boolean\");\r", + " pm.expect(pm.response.json()[\"components\"][\"schemas\"][\"urn_samm_org.eclipse.examples_1.0.0_Coordinate\"][\"type\"]).to.equal(\"number\");\r", + " pm.expect(pm.response.json()[\"components\"][\"schemas\"][\"urn_samm_org.eclipse.examples_1.0.0_MetresAboveMeanSeaLevel\"][\"type\"]).to.equal(\"number\");\r", + " pm.expect(pm.response.json()[\"components\"][\"schemas\"][\"urn_samm_org.eclipse.examples_1.0.0_SpatialPosition\"][\"type\"]).to.equal(\"object\");\r", + "\r", + " pm.expect(pm.response.json()[\"properties\"][\"isMoving\"][\"$ref\"]).to.equal(\"#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Boolean\");\r", + " pm.expect(pm.response.json()[\"properties\"][\"position\"][\"$ref\"]).to.equal(\"#/components/schemas/urn_samm_org.eclipse.examples_1.0.0_SpatialPosition\");\r", + " pm.expect(pm.response.json()[\"properties\"][\"speed\"][\"$ref\"]).to.equal(\"#/components/schemas/urn_samm_org.eclipse.examples_1.0.0_Speed\");\r", + " pm.expect(pm.response.json()[\"properties\"][\"speedLimitWarning\"][\"$ref\"]).to.equal(\"#/components/schemas/urn_samm_org.eclipse.examples_1.0.0_TrafficLight\");\r", "});" ], "type": "text/javascript" @@ -609,7 +621,7 @@ "header": [], "body": { "mode": "raw", - "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:AspectDefault a samm:Aspect ;\r\n samm:properties (:property1) ;\r\n samm:operations () .\r\n\r\n:property1 a samm:Property;\r\n samm:characteristic :Characteristic1 .\r\n\r\n:Characteristic1 a samm:Characteristic ;\r\n samm:dataType xsd:string .\r\n" + "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:Movement a samm:Aspect ;\r\n samm:preferredName \"movement\"@en ;\r\n samm:description \"Aspect for movement information\"@en ;\r\n samm:properties ( :isMoving :position :speed :speedLimitWarning ) ;\r\n samm:operations ( ) ;\r\n samm:events ( ) .\r\n\r\n:isMoving a samm:Property ;\r\n samm:preferredName \"is moving\"@en ;\r\n samm:description \"Flag indicating whether the asset is currently moving\"@en ;\r\n samm:characteristic samm-c:Boolean .\r\n\r\n:position a samm:Property ;\r\n samm:preferredName \"position\"@en ;\r\n samm:description \"Indicates a position\"@en ;\r\n samm:characteristic :SpatialPositionCharacteristic .\r\n\r\n:speed a samm:Property ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"speed of vehicle\"@en ;\r\n samm:characteristic :Speed .\r\n\r\n:speedLimitWarning a samm:Property ;\r\n samm:preferredName \"speed limit warning\"@en ;\r\n samm:description \"Indicates if the speed limit is adhered to.\"@en ;\r\n samm:characteristic :TrafficLight .\r\n\r\n:SpatialPositionCharacteristic a samm-c:SingleEntity ;\r\n samm:preferredName \"spatial position characteristic\"@en ;\r\n samm:description \"Represents a single position in space with optional z coordinate.\"@en ;\r\n samm:dataType :SpatialPosition .\r\n\r\n:Speed a samm-c:Measurement ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"Scalar representation of speed of an object in kilometers per hour.\"@en ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:kilometrePerHour .\r\n\r\n:TrafficLight a samm-c:Enumeration ;\r\n samm:preferredName \"warning level\"@en ;\r\n samm:description \"Represents if speed of position change is within specification (green), within tolerance (yellow), or outside specification (red).\"@en ;\r\n samm:dataType xsd:string ;\r\n samm-c:values ( \"green\" \"yellow\" \"red\" ) .\r\n\r\n:SpatialPosition a samm:Entity ;\r\n samm:preferredName \"spatial position\"@en ;\r\n samm:description \"Represents latitude, longitude and altitude information in the WGS84 geodetic reference datum\"@en ;\r\n samm:see ;\r\n samm:properties ( :latitude :longitude [ samm:property :altitude; samm:optional true ] ) .\r\n\r\n:latitude a samm:Property ;\r\n samm:preferredName \"latitude\"@en ;\r\n samm:description \"latitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"9.1781\"^^xsd:decimal .\r\n\r\n:longitude a samm:Property ;\r\n samm:preferredName \"longitude\"@en ;\r\n samm:description \"longitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"48.80835\"^^xsd:decimal .\r\n\r\n:altitude a samm:Property ;\r\n samm:preferredName \"altitude\"@en ;\r\n samm:description \"Elevation above sea level zero\"@en ;\r\n samm:see ;\r\n samm:characteristic :MetresAboveMeanSeaLevel ;\r\n samm:exampleValue \"153\"^^xsd:float .\r\n\r\n:Coordinate a samm-c:Measurement ;\r\n samm:preferredName \"coordinate\"@en ;\r\n samm:description \"Representing the geographical coordinate\"@en ;\r\n samm:dataType xsd:decimal ;\r\n samm-c:unit unit:degreeUnitOfAngle .\r\n\r\n:MetresAboveMeanSeaLevel a samm-c:Measurement ;\r\n samm:preferredName \"metres above mean sea level\"@en ;\r\n samm:description \"Signifies the vertical distance in reference to a historic mean sea level as a vertical datum\"@en ;\r\n samm:see ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:metre .\r\n" }, "url": { "raw": "http://localhost:{{port}}/ame/api/generate/json-schema", @@ -721,7 +733,7 @@ "pm.test(\"Response body is valid\", function () {\r", " const jsonData = pm.response.json();\r", " pm.expect(jsonData.openapi).to.equal(\"3.0.3\");\r", - " pm.expect(jsonData.info.title).to.equal(\"AspectDefault\");\r", + " pm.expect(jsonData.info.title).to.equal(\"movement\");\r", " pm.expect(jsonData.info.version).to.equal(\"v1.0.0\");\r", " pm.expect(jsonData.servers[0].url).to.equal(\"http://www.test.com/api/v1.0.0\");\r", "\r", @@ -736,7 +748,7 @@ "header": [], "body": { "mode": "raw", - "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:AspectDefault a samm:Aspect ;\r\n samm:properties (:property1) ;\r\n samm:operations () .\r\n\r\n:property1 a samm:Property;\r\n samm:characteristic :Characteristic1 .\r\n\r\n:Characteristic1 a samm:Characteristic ;\r\n samm:dataType xsd:string .\r\n" + "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:Movement a samm:Aspect ;\r\n samm:preferredName \"movement\"@en ;\r\n samm:description \"Aspect for movement information\"@en ;\r\n samm:properties ( :isMoving :position :speed :speedLimitWarning ) ;\r\n samm:operations ( ) ;\r\n samm:events ( ) .\r\n\r\n:isMoving a samm:Property ;\r\n samm:preferredName \"is moving\"@en ;\r\n samm:description \"Flag indicating whether the asset is currently moving\"@en ;\r\n samm:characteristic samm-c:Boolean .\r\n\r\n:position a samm:Property ;\r\n samm:preferredName \"position\"@en ;\r\n samm:description \"Indicates a position\"@en ;\r\n samm:characteristic :SpatialPositionCharacteristic .\r\n\r\n:speed a samm:Property ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"speed of vehicle\"@en ;\r\n samm:characteristic :Speed .\r\n\r\n:speedLimitWarning a samm:Property ;\r\n samm:preferredName \"speed limit warning\"@en ;\r\n samm:description \"Indicates if the speed limit is adhered to.\"@en ;\r\n samm:characteristic :TrafficLight .\r\n\r\n:SpatialPositionCharacteristic a samm-c:SingleEntity ;\r\n samm:preferredName \"spatial position characteristic\"@en ;\r\n samm:description \"Represents a single position in space with optional z coordinate.\"@en ;\r\n samm:dataType :SpatialPosition .\r\n\r\n:Speed a samm-c:Measurement ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"Scalar representation of speed of an object in kilometers per hour.\"@en ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:kilometrePerHour .\r\n\r\n:TrafficLight a samm-c:Enumeration ;\r\n samm:preferredName \"warning level\"@en ;\r\n samm:description \"Represents if speed of position change is within specification (green), within tolerance (yellow), or outside specification (red).\"@en ;\r\n samm:dataType xsd:string ;\r\n samm-c:values ( \"green\" \"yellow\" \"red\" ) .\r\n\r\n:SpatialPosition a samm:Entity ;\r\n samm:preferredName \"spatial position\"@en ;\r\n samm:description \"Represents latitude, longitude and altitude information in the WGS84 geodetic reference datum\"@en ;\r\n samm:see ;\r\n samm:properties ( :latitude :longitude [ samm:property :altitude; samm:optional true ] ) .\r\n\r\n:latitude a samm:Property ;\r\n samm:preferredName \"latitude\"@en ;\r\n samm:description \"latitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"9.1781\"^^xsd:decimal .\r\n\r\n:longitude a samm:Property ;\r\n samm:preferredName \"longitude\"@en ;\r\n samm:description \"longitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"48.80835\"^^xsd:decimal .\r\n\r\n:altitude a samm:Property ;\r\n samm:preferredName \"altitude\"@en ;\r\n samm:description \"Elevation above sea level zero\"@en ;\r\n samm:see ;\r\n samm:characteristic :MetresAboveMeanSeaLevel ;\r\n samm:exampleValue \"153\"^^xsd:float .\r\n\r\n:Coordinate a samm-c:Measurement ;\r\n samm:preferredName \"coordinate\"@en ;\r\n samm:description \"Representing the geographical coordinate\"@en ;\r\n samm:dataType xsd:decimal ;\r\n samm-c:unit unit:degreeUnitOfAngle .\r\n\r\n:MetresAboveMeanSeaLevel a samm-c:Measurement ;\r\n samm:preferredName \"metres above mean sea level\"@en ;\r\n samm:description \"Signifies the vertical distance in reference to a historic mean sea level as a vertical datum\"@en ;\r\n samm:see ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:metre .\r\n" }, "url": { "raw": "http://localhost:{{port}}/ame/api/generate/open-api-spec?output=json&baseUrl=http://www.test.com&includeQueryApi=true&useSemanticVersion=true&pagingOption=NO_PAGING", @@ -790,7 +802,7 @@ "pm.test(\"Response body is valid\", function () {\r", " const jsonData = pm.response.text();\r", " pm.expect(jsonData).to.include(\"openapi: 3.0.3\");\r", - " pm.expect(jsonData).to.include(\"title: AspectDefault\");\r", + " pm.expect(jsonData).to.include(\"title: movement\");\r", " pm.expect(jsonData).to.include(\"version: v1\");\r", " pm.expect(jsonData).to.include(\"url: http://www.test.com/api/v1\");\r", "\r", @@ -805,7 +817,7 @@ "header": [], "body": { "mode": "raw", - "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:AspectDefault a samm:Aspect ;\r\n samm:properties (:property1) ;\r\n samm:operations () .\r\n\r\n:property1 a samm:Property;\r\n samm:characteristic :Characteristic1 .\r\n\r\n:Characteristic1 a samm:Characteristic ;\r\n samm:dataType xsd:string .\r\n" + "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:Movement a samm:Aspect ;\r\n samm:preferredName \"movement\"@en ;\r\n samm:description \"Aspect for movement information\"@en ;\r\n samm:properties ( :isMoving :position :speed :speedLimitWarning ) ;\r\n samm:operations ( ) ;\r\n samm:events ( ) .\r\n\r\n:isMoving a samm:Property ;\r\n samm:preferredName \"is moving\"@en ;\r\n samm:description \"Flag indicating whether the asset is currently moving\"@en ;\r\n samm:characteristic samm-c:Boolean .\r\n\r\n:position a samm:Property ;\r\n samm:preferredName \"position\"@en ;\r\n samm:description \"Indicates a position\"@en ;\r\n samm:characteristic :SpatialPositionCharacteristic .\r\n\r\n:speed a samm:Property ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"speed of vehicle\"@en ;\r\n samm:characteristic :Speed .\r\n\r\n:speedLimitWarning a samm:Property ;\r\n samm:preferredName \"speed limit warning\"@en ;\r\n samm:description \"Indicates if the speed limit is adhered to.\"@en ;\r\n samm:characteristic :TrafficLight .\r\n\r\n:SpatialPositionCharacteristic a samm-c:SingleEntity ;\r\n samm:preferredName \"spatial position characteristic\"@en ;\r\n samm:description \"Represents a single position in space with optional z coordinate.\"@en ;\r\n samm:dataType :SpatialPosition .\r\n\r\n:Speed a samm-c:Measurement ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"Scalar representation of speed of an object in kilometers per hour.\"@en ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:kilometrePerHour .\r\n\r\n:TrafficLight a samm-c:Enumeration ;\r\n samm:preferredName \"warning level\"@en ;\r\n samm:description \"Represents if speed of position change is within specification (green), within tolerance (yellow), or outside specification (red).\"@en ;\r\n samm:dataType xsd:string ;\r\n samm-c:values ( \"green\" \"yellow\" \"red\" ) .\r\n\r\n:SpatialPosition a samm:Entity ;\r\n samm:preferredName \"spatial position\"@en ;\r\n samm:description \"Represents latitude, longitude and altitude information in the WGS84 geodetic reference datum\"@en ;\r\n samm:see ;\r\n samm:properties ( :latitude :longitude [ samm:property :altitude; samm:optional true ] ) .\r\n\r\n:latitude a samm:Property ;\r\n samm:preferredName \"latitude\"@en ;\r\n samm:description \"latitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"9.1781\"^^xsd:decimal .\r\n\r\n:longitude a samm:Property ;\r\n samm:preferredName \"longitude\"@en ;\r\n samm:description \"longitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"48.80835\"^^xsd:decimal .\r\n\r\n:altitude a samm:Property ;\r\n samm:preferredName \"altitude\"@en ;\r\n samm:description \"Elevation above sea level zero\"@en ;\r\n samm:see ;\r\n samm:characteristic :MetresAboveMeanSeaLevel ;\r\n samm:exampleValue \"153\"^^xsd:float .\r\n\r\n:Coordinate a samm-c:Measurement ;\r\n samm:preferredName \"coordinate\"@en ;\r\n samm:description \"Representing the geographical coordinate\"@en ;\r\n samm:dataType xsd:decimal ;\r\n samm-c:unit unit:degreeUnitOfAngle .\r\n\r\n:MetresAboveMeanSeaLevel a samm-c:Measurement ;\r\n samm:preferredName \"metres above mean sea level\"@en ;\r\n samm:description \"Signifies the vertical distance in reference to a historic mean sea level as a vertical datum\"@en ;\r\n samm:see ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:metre .\r\n" }, "url": { "raw": "http://localhost:{{port}}/ame/api/generate/open-api-spec?output=yaml&baseUrl=http://www.test.com&includeQueryApi=false&useSemanticVersion=false&pagingOption=OFFSET_BASED_PAGING", @@ -993,7 +1005,7 @@ "header": [], "body": { "mode": "raw", - "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:AspectDefault a samm:Aspect ;\r\n samm:properties (:property1) ;\r\n samm:operations () .\r\n\r\n:property1 a samm:Property;\r\n samm:characteristic :Characteristic1 .\r\n\r\n:Characteristic1 a samm:Characteristic ;\r\n samm:dataType xsd:string .\r\n" + "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:Movement a samm:Aspect ;\r\n samm:preferredName \"movement\"@en ;\r\n samm:description \"Aspect for movement information\"@en ;\r\n samm:properties ( :isMoving :position :speed :speedLimitWarning ) ;\r\n samm:operations ( ) ;\r\n samm:events ( ) .\r\n\r\n:isMoving a samm:Property ;\r\n samm:preferredName \"is moving\"@en ;\r\n samm:description \"Flag indicating whether the asset is currently moving\"@en ;\r\n samm:characteristic samm-c:Boolean .\r\n\r\n:position a samm:Property ;\r\n samm:preferredName \"position\"@en ;\r\n samm:description \"Indicates a position\"@en ;\r\n samm:characteristic :SpatialPositionCharacteristic .\r\n\r\n:speed a samm:Property ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"speed of vehicle\"@en ;\r\n samm:characteristic :Speed .\r\n\r\n:speedLimitWarning a samm:Property ;\r\n samm:preferredName \"speed limit warning\"@en ;\r\n samm:description \"Indicates if the speed limit is adhered to.\"@en ;\r\n samm:characteristic :TrafficLight .\r\n\r\n:SpatialPositionCharacteristic a samm-c:SingleEntity ;\r\n samm:preferredName \"spatial position characteristic\"@en ;\r\n samm:description \"Represents a single position in space with optional z coordinate.\"@en ;\r\n samm:dataType :SpatialPosition .\r\n\r\n:Speed a samm-c:Measurement ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"Scalar representation of speed of an object in kilometers per hour.\"@en ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:kilometrePerHour .\r\n\r\n:TrafficLight a samm-c:Enumeration ;\r\n samm:preferredName \"warning level\"@en ;\r\n samm:description \"Represents if speed of position change is within specification (green), within tolerance (yellow), or outside specification (red).\"@en ;\r\n samm:dataType xsd:string ;\r\n samm-c:values ( \"green\" \"yellow\" \"red\" ) .\r\n\r\n:SpatialPosition a samm:Entity ;\r\n samm:preferredName \"spatial position\"@en ;\r\n samm:description \"Represents latitude, longitude and altitude information in the WGS84 geodetic reference datum\"@en ;\r\n samm:see ;\r\n samm:properties ( :latitude :longitude [ samm:property :altitude; samm:optional true ] ) .\r\n\r\n:latitude a samm:Property ;\r\n samm:preferredName \"latitude\"@en ;\r\n samm:description \"latitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"9.1781\"^^xsd:decimal .\r\n\r\n:longitude a samm:Property ;\r\n samm:preferredName \"longitude\"@en ;\r\n samm:description \"longitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"48.80835\"^^xsd:decimal .\r\n\r\n:altitude a samm:Property ;\r\n samm:preferredName \"altitude\"@en ;\r\n samm:description \"Elevation above sea level zero\"@en ;\r\n samm:see ;\r\n samm:characteristic :MetresAboveMeanSeaLevel ;\r\n samm:exampleValue \"153\"^^xsd:float .\r\n\r\n:Coordinate a samm-c:Measurement ;\r\n samm:preferredName \"coordinate\"@en ;\r\n samm:description \"Representing the geographical coordinate\"@en ;\r\n samm:dataType xsd:decimal ;\r\n samm-c:unit unit:degreeUnitOfAngle .\r\n\r\n:MetresAboveMeanSeaLevel a samm-c:Measurement ;\r\n samm:preferredName \"metres above mean sea level\"@en ;\r\n samm:description \"Signifies the vertical distance in reference to a historic mean sea level as a vertical datum\"@en ;\r\n samm:see ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:metre .\r\n" }, "url": { "raw": "http://localhost:{{port}}/ame/api/generate/aasx", @@ -1037,7 +1049,7 @@ "header": [], "body": { "mode": "raw", - "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:AspectDefault a samm:Aspect ;\r\n samm:properties (:property1) ;\r\n samm:operations () .\r\n\r\n:property1 a samm:Property;\r\n samm:characteristic :Characteristic1 .\r\n\r\n:Characteristic1 a samm:Characteristic ;\r\n samm:dataType xsd:string .\r\n" + "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:Movement a samm:Aspect ;\r\n samm:preferredName \"movement\"@en ;\r\n samm:description \"Aspect for movement information\"@en ;\r\n samm:properties ( :isMoving :position :speed :speedLimitWarning ) ;\r\n samm:operations ( ) ;\r\n samm:events ( ) .\r\n\r\n:isMoving a samm:Property ;\r\n samm:preferredName \"is moving\"@en ;\r\n samm:description \"Flag indicating whether the asset is currently moving\"@en ;\r\n samm:characteristic samm-c:Boolean .\r\n\r\n:position a samm:Property ;\r\n samm:preferredName \"position\"@en ;\r\n samm:description \"Indicates a position\"@en ;\r\n samm:characteristic :SpatialPositionCharacteristic .\r\n\r\n:speed a samm:Property ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"speed of vehicle\"@en ;\r\n samm:characteristic :Speed .\r\n\r\n:speedLimitWarning a samm:Property ;\r\n samm:preferredName \"speed limit warning\"@en ;\r\n samm:description \"Indicates if the speed limit is adhered to.\"@en ;\r\n samm:characteristic :TrafficLight .\r\n\r\n:SpatialPositionCharacteristic a samm-c:SingleEntity ;\r\n samm:preferredName \"spatial position characteristic\"@en ;\r\n samm:description \"Represents a single position in space with optional z coordinate.\"@en ;\r\n samm:dataType :SpatialPosition .\r\n\r\n:Speed a samm-c:Measurement ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"Scalar representation of speed of an object in kilometers per hour.\"@en ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:kilometrePerHour .\r\n\r\n:TrafficLight a samm-c:Enumeration ;\r\n samm:preferredName \"warning level\"@en ;\r\n samm:description \"Represents if speed of position change is within specification (green), within tolerance (yellow), or outside specification (red).\"@en ;\r\n samm:dataType xsd:string ;\r\n samm-c:values ( \"green\" \"yellow\" \"red\" ) .\r\n\r\n:SpatialPosition a samm:Entity ;\r\n samm:preferredName \"spatial position\"@en ;\r\n samm:description \"Represents latitude, longitude and altitude information in the WGS84 geodetic reference datum\"@en ;\r\n samm:see ;\r\n samm:properties ( :latitude :longitude [ samm:property :altitude; samm:optional true ] ) .\r\n\r\n:latitude a samm:Property ;\r\n samm:preferredName \"latitude\"@en ;\r\n samm:description \"latitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"9.1781\"^^xsd:decimal .\r\n\r\n:longitude a samm:Property ;\r\n samm:preferredName \"longitude\"@en ;\r\n samm:description \"longitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"48.80835\"^^xsd:decimal .\r\n\r\n:altitude a samm:Property ;\r\n samm:preferredName \"altitude\"@en ;\r\n samm:description \"Elevation above sea level zero\"@en ;\r\n samm:see ;\r\n samm:characteristic :MetresAboveMeanSeaLevel ;\r\n samm:exampleValue \"153\"^^xsd:float .\r\n\r\n:Coordinate a samm-c:Measurement ;\r\n samm:preferredName \"coordinate\"@en ;\r\n samm:description \"Representing the geographical coordinate\"@en ;\r\n samm:dataType xsd:decimal ;\r\n samm-c:unit unit:degreeUnitOfAngle .\r\n\r\n:MetresAboveMeanSeaLevel a samm-c:Measurement ;\r\n samm:preferredName \"metres above mean sea level\"@en ;\r\n samm:description \"Signifies the vertical distance in reference to a historic mean sea level as a vertical datum\"@en ;\r\n samm:see ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:metre .\r\n" }, "url": { "raw": "http://localhost:{{port}}/ame/api/generate/aas-xml", @@ -1082,7 +1094,7 @@ "header": [], "body": { "mode": "raw", - "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:AspectDefault a samm:Aspect ;\r\n samm:properties (:property1) ;\r\n samm:operations () .\r\n\r\n:property1 a samm:Property;\r\n samm:characteristic :Characteristic1 .\r\n\r\n:Characteristic1 a samm:Characteristic ;\r\n samm:dataType xsd:string .\r\n" + "raw": "@prefix samm: .\r\n@prefix samm-c: .\r\n@prefix samm-e: .\r\n@prefix unit: .\r\n@prefix rdf: .\r\n@prefix rdfs: .\r\n@prefix xsd: .\r\n@prefix : .\r\n\r\n:Movement a samm:Aspect ;\r\n samm:preferredName \"movement\"@en ;\r\n samm:description \"Aspect for movement information\"@en ;\r\n samm:properties ( :isMoving :position :speed :speedLimitWarning ) ;\r\n samm:operations ( ) ;\r\n samm:events ( ) .\r\n\r\n:isMoving a samm:Property ;\r\n samm:preferredName \"is moving\"@en ;\r\n samm:description \"Flag indicating whether the asset is currently moving\"@en ;\r\n samm:characteristic samm-c:Boolean .\r\n\r\n:position a samm:Property ;\r\n samm:preferredName \"position\"@en ;\r\n samm:description \"Indicates a position\"@en ;\r\n samm:characteristic :SpatialPositionCharacteristic .\r\n\r\n:speed a samm:Property ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"speed of vehicle\"@en ;\r\n samm:characteristic :Speed .\r\n\r\n:speedLimitWarning a samm:Property ;\r\n samm:preferredName \"speed limit warning\"@en ;\r\n samm:description \"Indicates if the speed limit is adhered to.\"@en ;\r\n samm:characteristic :TrafficLight .\r\n\r\n:SpatialPositionCharacteristic a samm-c:SingleEntity ;\r\n samm:preferredName \"spatial position characteristic\"@en ;\r\n samm:description \"Represents a single position in space with optional z coordinate.\"@en ;\r\n samm:dataType :SpatialPosition .\r\n\r\n:Speed a samm-c:Measurement ;\r\n samm:preferredName \"speed\"@en ;\r\n samm:description \"Scalar representation of speed of an object in kilometers per hour.\"@en ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:kilometrePerHour .\r\n\r\n:TrafficLight a samm-c:Enumeration ;\r\n samm:preferredName \"warning level\"@en ;\r\n samm:description \"Represents if speed of position change is within specification (green), within tolerance (yellow), or outside specification (red).\"@en ;\r\n samm:dataType xsd:string ;\r\n samm-c:values ( \"green\" \"yellow\" \"red\" ) .\r\n\r\n:SpatialPosition a samm:Entity ;\r\n samm:preferredName \"spatial position\"@en ;\r\n samm:description \"Represents latitude, longitude and altitude information in the WGS84 geodetic reference datum\"@en ;\r\n samm:see ;\r\n samm:properties ( :latitude :longitude [ samm:property :altitude; samm:optional true ] ) .\r\n\r\n:latitude a samm:Property ;\r\n samm:preferredName \"latitude\"@en ;\r\n samm:description \"latitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"9.1781\"^^xsd:decimal .\r\n\r\n:longitude a samm:Property ;\r\n samm:preferredName \"longitude\"@en ;\r\n samm:description \"longitude coordinate in space (WGS84)\"@en ;\r\n samm:see ;\r\n samm:characteristic :Coordinate ;\r\n samm:exampleValue \"48.80835\"^^xsd:decimal .\r\n\r\n:altitude a samm:Property ;\r\n samm:preferredName \"altitude\"@en ;\r\n samm:description \"Elevation above sea level zero\"@en ;\r\n samm:see ;\r\n samm:characteristic :MetresAboveMeanSeaLevel ;\r\n samm:exampleValue \"153\"^^xsd:float .\r\n\r\n:Coordinate a samm-c:Measurement ;\r\n samm:preferredName \"coordinate\"@en ;\r\n samm:description \"Representing the geographical coordinate\"@en ;\r\n samm:dataType xsd:decimal ;\r\n samm-c:unit unit:degreeUnitOfAngle .\r\n\r\n:MetresAboveMeanSeaLevel a samm-c:Measurement ;\r\n samm:preferredName \"metres above mean sea level\"@en ;\r\n samm:description \"Signifies the vertical distance in reference to a historic mean sea level as a vertical datum\"@en ;\r\n samm:see ;\r\n samm:dataType xsd:float ;\r\n samm-c:unit unit:metre .\r\n" }, "url": { "raw": "http://localhost:{{port}}/ame/api/generate/aas-json", diff --git a/pom.xml b/pom.xml index cbb1373e..14b64404 100644 --- a/pom.xml +++ b/pom.xml @@ -61,7 +61,7 @@ - 2.6.0 + 2.6.1 3.0.0