Skip to content

Commit

Permalink
Added date property and updated media
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloCanalSuarez committed Apr 15, 2020
1 parent aac416b commit c4ed38a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
18 changes: 13 additions & 5 deletions main/jsonldProposal/jsonldExample.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
"author":{
"@id": "schema:author",
"@type": "@id"
},
"date": {
"@id": "schema:DateTime",
"@type": "xsd:dateTime"
},
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
Expand All @@ -47,19 +51,23 @@
"author": "https://luispresacollada.solid.community/profile/card#me",
"description": "This is a test to see the output of the JsonLDConversor",
"comments": "http://inrupt.luispc1998/viade/comments/routeComments/commentExample.json",

"date": "2020-02-25T18:50:22Z",
"media": [
{
"@id": "http://inrupt.luispc1998/viade/resources/imagen.jpg"
"@id": "http://inrupt.luispc1998/viade/resources/da34fas749sa3h883j.jpg",
"name": "MyFoto"
},
{
"@id": "http://inrupt.angelixus/viade/resources/video.mp4"
"@id": "http://inrupt.angelixus/viade/resources/pt92as74234a3h5xb3j.mp4",
"name": "MyVideo"
},
{
"@id": "http://inrupt.raupemol/viade/resources/foto.png"
"@id": "http://inrupt.raupemol/viade/resources/da34zas4213sa7b542.png",
"name": "OtherFoto"
},
{
"@id": "http://inrupt.luispc1998/viade/resources/video3.mp4"
"@id": "http://inrupt.luispc1998/viade/resources/da345432jtsa7b542e.mp4",
"name": "OtherVideo"
}
],
"waypoints" : [
Expand Down
14 changes: 7 additions & 7 deletions main/jsonldProposal/podManagement.bs
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ but at least this should be there.

The following properties can be found:

* name: the name of the route
* author: the webId of the creator of the route (optional)
* description: a description of the route (optional)
* waypoints: a list of waypoints (optional)
* points: points of the route, describing the path
* name: the name of the route.
* author: the webId of the creator of the route (optional).
* description: a description of the route (optional).
* waypoints: a list of waypoints (optional).
* points: points of the route, describing the path.
* comments: a link (@id) to a file related with the route where the links to the users comments will be stored.
* resources: a list of links to resources.

* date: the date of creation of the route (optional).
* media: a list of links to resources. Also contains the optional property "name" for each media element.

The example (if any error is seen in the context, please point it out):

Expand Down

0 comments on commit c4ed38a

Please sign in to comment.