Skip to content

Commit 7014ec9

Browse files
Merge pull request #19 from AndreaCimminoArriaga/master
Update version 0.2.2
2 parents 25a3e44 + ad58dcc commit 7014ec9

40 files changed

+31
-3867
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Java API for Thing Descriptions of WoT (JDTs)
2-
[![Version](https://img.shields.io/badge/Version-0.2.1-orange)](https://github.com/oeg-upm/wot-jtd/releases)] [![Maven Central](https://img.shields.io/badge/Maven%20Central-v0.2.1-green)](https://search.maven.org/search?q=g:%22es.upm.fi.oeg%22%20AND%20a:%22wot-jtd%22) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![GitHub stars](https://img.shields.io/github/stars/Naereen/StrapDown.js.svg?style=social&label=Star&maxAge=2592000)](https://github.com/oeg-upm/wot-jtd/stargazers)
2+
[![Version](https://img.shields.io/badge/Version-0.2.2-orange)](https://github.com/oeg-upm/wot-jtd/releases)] [![Maven Central](https://img.shields.io/badge/Maven%20Central-v0.2.2-green)](https://search.maven.org/search?q=g:%22es.upm.fi.oeg%22%20AND%20a:%22wot-jtd%22) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![GitHub stars](https://img.shields.io/github/stars/Naereen/StrapDown.js.svg?style=social&label=Star&maxAge=2592000)](https://github.com/oeg-upm/wot-jtd/stargazers)
33

44
The JDT is an ORM implementation of the current [Thing Description](https://www.w3.org/TR/wot-thing-description/) model standardised by the [W3C Web of Things group](https://www.w3.org/WoT/). The current features are:
55
* Serialise:
@@ -11,8 +11,9 @@ The JDT is an ORM implementation of the current [Thing Description](https://www.
1111
* Translate a set of RDF triples into its equivalent JSON-LD framed document
1212
* Validation
1313
* Validate a JTD using [SHACL shapes](https://www.w3.org/TR/shacl/)
14-
* Validate a JTD using [JSON schema](https://json-schema.org/) **(coming soon)**
15-
* Validate a JTD according to the [restrictions specified in the standard](https://www.w3.org/TR/wot-thing-description/) **(coming soon)**
14+
* Validate a JTD using [JSON schema](https://json-schema.org/) **(coming soon)**
15+
* Validate a JTD according to the [restrictions specified in the standard](https://www.w3.org/TR/wot-thing-description/) **(coming soon)**
16+
1617

1718
If you have any feedback or feature suggestion, please let us know posting an issue with the label <span style="color:#EFA914">**feedback**</span>
1819

@@ -41,16 +42,16 @@ Import the JDTs library as a maven dependency, **be sure to specify the latest v
4142
<dependency>
4243
<groupId>es.upm.fi.oeg</groupId>
4344
<artifactId>wot-jtd</artifactId>
44-
<version>0.2.1</version>
45+
<version>0.2.2</version>
4546
</dependency>
4647
```
4748

4849
Alternatively, the dependency can be installed manually. First, download the latest jar from the [releases section](), and then install the dependency as follows (**be sure to specify the latest version**):
4950
````
50-
mvn install:install-file -Dfile=wot-jtd.jar -DgroupId=es.upm.fi.oeg -DartifactId=wot-jtd -Dversion=0.2.1 -Dpackaging=jar
51+
mvn install:install-file -Dfile=wot-jtd.jar -DgroupId=es.upm.fi.oeg -DartifactId=wot-jtd -Dversion=0.2.2 -Dpackaging=jar
5152
````
5253

53-
Check our [Maven Central Repository page](https://search.maven.org/artifact/es.upm.fi.oeg/wot-jtd/0.2.1/jar) to discover other installation options like Gradle Groovy or Kotlin, Scala, and others.
54+
Check our [Maven Central Repository page](https://search.maven.org/artifact/es.upm.fi.oeg/wot-jtd/0.2.2/jar) to discover other installation options like Gradle Groovy or Kotlin, Scala, and others.
5455

5556
## Model
5657

@@ -158,6 +159,7 @@ ValidationReport shapeReport = JTD.validateWithShape(thing, shapesGraph);
158159
##### Using JSON schema (*comming soon*)
159160
##### Using restrictions in the model (*comming soon*)
160161

162+
161163
### Support or Contact
162164
WoT-JTD was created by [Andrea Cimmino](https://scholar.google.es/citations?user=_6U9WMcAAAAJ&hl=es&oi=ao) ([email protected]) and [Raúl García Castro](http://garcia-castro.com/) ([email protected]) at the [Universidad Politécnica de Madrid](https://www.upm.es/) in the research group [Ontology Engineering Group](https://oeg.fi.upm.es/).
163165

pom.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>es.upm.fi.oeg</groupId>
44
<artifactId>wot-jtd</artifactId>
5-
<version>0.2.1</version>
5+
<version>0.2.2</version>
66
<url>https://oeg-upm.github.io/wot-jtd</url>
77
<name>Java Thing Description API</name>
88
<description>This API aims at assisting developers for handling WoT Thing Descriptions, providing special support for RDF</description>
@@ -14,7 +14,7 @@
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1515
</properties>
1616

17-
<licenses>
17+
<licenses>
1818
<license>
1919
<name>The Apache License, Version 2.0</name>
2020
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
@@ -212,6 +212,11 @@
212212
<scope>test</scope>
213213
</dependency>
214214

215+
<dependency>
216+
<groupId>es.upm.fi.oeg</groupId>
217+
<artifactId>kehio</artifactId>
218+
<version>0.1.0</version>
219+
</dependency>
215220

216221
</dependencies>
217222

src/main/java/kehio/annotations/RdfContainer.java

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/main/java/kehio/annotations/RdfDatatype.java

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/main/java/kehio/annotations/RdfDatatypeGroup.java

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/main/java/kehio/annotations/RdfId.java

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/main/java/kehio/annotations/RdfObject.java

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/main/java/kehio/annotations/RdfObjectGroup.java

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/main/java/kehio/annotations/RdfPropertiesContainer.java

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/main/java/kehio/annotations/RdfUrlMap.java

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)