| ... | ... | @@ -99,7 +99,7 @@ Here is an example of our API : |
|
|
|
Did you notice the presence of a context ?
|
|
|
|
|
|
|
|
```json
|
|
|
|
"@type": "foaf:user",
|
|
|
|
"@type": "foaf:user",
|
|
|
|
"@context": [
|
|
|
|
"https://cdn.happy-dev.fr/owl/hdcontext.jsonld",
|
|
|
|
{
|
| ... | ... | @@ -107,6 +107,39 @@ Did you notice the presence of a context ? |
|
|
|
}
|
|
|
|
]
|
|
|
|
```
|
|
|
|
### It is a way to go from the Json to JsonLD
|
|
|
|
|
|
|
|
That's mean that
|
|
|
|
Here is the context referred :
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"@context": {
|
|
|
|
"@vocab": "http://happy-dev.fr/owl/#",
|
|
|
|
"foaf": "http://xmlns.com/foaf/0.1/",
|
|
|
|
"doap": "http://usefulinc.com/ns/doap#",
|
|
|
|
"ldp": "http://www.w3.org/ns/ldp#",
|
|
|
|
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
|
|
|
|
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
|
|
|
|
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
|
|
|
"geo": "http://www.w3.org/2003/01/geo/wgs84_pos#",
|
|
|
|
"acl": "http://www.w3.org/ns/auth/acl#",
|
|
|
|
"name": "rdfs:label",
|
|
|
|
"deadline": "xsd:dateTime",
|
|
|
|
"lat": "geo:lat",
|
|
|
|
"lng": "geo:long",
|
|
|
|
"jabberID": "foaf:jabberID",
|
|
|
|
"permissions": "acl:accessControl",
|
|
|
|
"mode": "acl:mode",
|
|
|
|
"view": "acl:Read",
|
|
|
|
"change": "acl:Write",
|
|
|
|
"add": "acl:Append",
|
|
|
|
"delete": "acl:Delete",
|
|
|
|
"control": "acl:Control"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
The page is still in process and constructed in french.
|
|
|
|
You can participate to [the review](https://docs.google.com/document/d/1l70VbMxgGPAVuyT9_MtxLHhnELBE__hl40gE7AaJvk8/edit?usp=sharing)
|
| ... | ... | |
| ... | ... | |