-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmartapi.jsonld
72 lines (67 loc) · 2.43 KB
/
smartapi.jsonld
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"@context": {
"smartapi": "http://purl.org/smartapi/smartapi.jsonld#",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"owl": "http://www.w3.org/2002/07/owl#",
"prov": "https://www.w3.org/ns/prov#",
"dct": "http://purl.org/dc/terms/",
"schema": "http://schema.org/",
"pschema": "http://pending.schema.org/",
"defines": {
"@reverse": "rdfs:isDefinedBy"
},
"openapi": {"@id": "smartapi:schema-version","@type": "xsd:string"},
"info": {"@id": "schema:about","@type": "@id"},
"title": {"@id": "schema:name","@type": "xsd:string"},
"description": {"@id": "schema:description","@type": "xsd:string"},
"termsOfService": {"@id": "pschema:termsOfService"},
"version": {"@id": "schema:version","@type": "xsd:string"},
"license": {"@id": "schema:license","@type": "@id"},
"contact": {"@id": "smartapi:contact","@type": "@id"},
"name": {"@id": "schema:name", "@type": "xsd:string"},
"url": {"@id": "schema:url", "@type": "xsd:string"},
"email": {"@id": "schema:email", "@type": "xsd:string"},
"patternProperties": {"@id":"smartapi:patternProperties"},
"additionalProperties": {"@id":"smartapi:additionalProperties"},
"paths": {"@id": "smartapi:paths","@type": "@id"},
"externalDocs": {"@id": "schema:documentation","@type": "@id"},
"servers": {"@id": "schema:url","@type": "@id"},
"$ref": {"@id": "rdf:type", "@type": "@id"},
"x-id": {"@id": "http://schema.org/identifier","@type":"xsd:string"},
"x-organization": {"@id": "http://schema.org/vendor","@type":"xsd:string"}
},
"@id": "smartapi:",
"@type": "owl:Ontology",
"dct:title": "The smartAPI ontology",
"dct:creator": {
"@id": "https://orcid.org/0000-0003-4727-9435",
"dct:label": "Michel Dumontier"
},
"defines": [
{
"@id": "smartapi:schema-version",
"@type": "owl:ObjectProperty",
"rdfs:label": "Schema Version",
"rdfs:comment": "The version of the schema used."
},
{
"@id": "smartapi:pattern-properties",
"@type": "owl:DatatypeProperty",
"rdfs:label": "Pattern properties",
"rdfs:comment": "A pattern to capture user-specified properties."
},
{
"@id": "smartapi:paths",
"@type": "owl:ObjectProperty",
"rdfs:label": "Path property",
"rdfs:comment": "A relation to API paths."
},
{
"@id": "smartapi:contact",
"@type": "owl:ObjectProperty",
"rdfs:label": "Contact property",
"rdfs:comment": "A relation to a API contacts."
}
]
}