Skip to content

Commit

Permalink
Merge pull request #14 from AndreaCimminoArriaga/master
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
AndreaCimminoArriaga authored Apr 21, 2021
2 parents 2357a6b + 2b5713a commit e0a845e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Java API for Thing Descriptions of WoT (JDTs)
[![Maven Central](https://img.shields.io/badge/Maven%20Central-v0.1.6-orange)](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)
[![Version](https://img.shields.io/badge/Version-0.2.0-orange)](https://github.com/oeg-upm/wot-jtd/releases)] [![Maven Central](https://img.shields.io/badge/Maven%20Central-v0.2.0-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)

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:
* Serialise:
Expand Down Expand Up @@ -41,16 +41,16 @@ Import the JDTs library as a maven dependency, **be sure to specify the latest v
<dependency>
<groupId>es.upm.fi.oeg</groupId>
<artifactId>wot-jtd</artifactId>
<version>0.1.6</version>
<version>0.2.0</version>
</dependency>
```

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**):
````
mvn install:install-file -Dfile=wot-jtd.jar -DgroupId=es.upm.fi.oeg -DartifactId=wot-jtd -Dversion=0.1.6 -Dpackaging=jar
mvn install:install-file -Dfile=wot-jtd.jar -DgroupId=es.upm.fi.oeg -DartifactId=wot-jtd -Dversion=0.2.0 -Dpackaging=jar
````

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

## Model

Expand Down Expand Up @@ -156,4 +156,4 @@ ValidationReport shapeReport = JTD.validateWithShape(thing, shapesGraph);
````

##### Using JSON schema (*comming soon*)
##### Using restrictions in the model (*comming soon*)
##### Using restrictions in the model (*comming soon*)

0 comments on commit e0a845e

Please sign in to comment.