-
Notifications
You must be signed in to change notification settings - Fork 16
/
namespaces.ts
113 lines (93 loc) · 3.17 KB
/
namespaces.ts
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/**
* Defines a Hydra Core Vocabulary namespace IRI.
* @constant {string}
*/
const hydraNamespace = "http://www.w3.org/ns/hydra/core#";
/**
* Defines Hydra Core Vocabulary terms.
* @constant
*/
export let hydra = {
namespace: hydraNamespace,
apiDocumentation: hydraNamespace + "apiDocumentation",
description: hydraNamespace + "description",
entrypoint: hydraNamespace + "entrypoint",
supportedClass: hydraNamespace + "supportedClass",
title: hydraNamespace + "title",
ApiDocumentation: hydraNamespace + "ApiDocumentation",
mapping: hydraNamespace + "mapping",
object: hydraNamespace + "object",
property: hydraNamespace + "property",
subject: hydraNamespace + "subject",
template: hydraNamespace + "template",
variable: hydraNamespace + "variable",
variableRepresentation: hydraNamespace + "variableRepresentation",
BasicRepresentation: hydraNamespace + "BasicRepresentation",
IriTemplate: hydraNamespace + "IriTemplate",
IriTemplateMapping: hydraNamespace + "IriTemplateMapping",
Link: hydraNamespace + "Link",
TemplatedLink: hydraNamespace + "TemplatedLink",
VariableRepresentation: hydraNamespace + "VariableRepresentation",
collection: hydraNamespace + "collection",
manages: hydraNamespace + "manages",
member: hydraNamespace + "member",
pageIndex: hydraNamespace + "pageIndex",
pageReference: hydraNamespace + "pageReference",
totalItems: hydraNamespace + "totalItems",
Collection: hydraNamespace + "Collection",
PartialCollectionView: hydraNamespace + "PartialCollectionView",
readable: hydraNamespace + "readable",
required: hydraNamespace + "required",
supportedOperation: hydraNamespace + "supportedOperation",
supportedProperty: hydraNamespace + "supportedProperty",
writeable: hydraNamespace + "writeable",
Class: hydraNamespace + "Class",
SupportedProperty: hydraNamespace + "SupportedProperty",
expects: hydraNamespace + "expects",
expectsHeader: hydraNamespace + "expectsHeader",
method: hydraNamespace + "method",
possibleStatus: hydraNamespace + "possibleStatus",
returns: hydraNamespace + "returns",
returnsHeader: hydraNamespace + "returnsHeader",
Operation: hydraNamespace + "Operation",
Status: hydraNamespace + "Status",
operation: hydraNamespace + "operation",
Resource: hydraNamespace + "Resource",
first: hydraNamespace + "first",
freetextQuery: hydraNamespace + "freetextQuery",
last: hydraNamespace + "last",
next: hydraNamespace + "next",
previous: hydraNamespace + "previous",
search: hydraNamespace + "search",
view: hydraNamespace + "view"
};
/**
* Defines RDF namespace IRI.
* @constant
*/
const rdfNamespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
/**
* Defines useful RDF terms.
* @constant
*/
export let rdf = {
namespace: rdfNamespace,
Property: rdfNamespace + "Property",
type: rdfNamespace + "type"
};
/**
* Defines RDFS namespace IRI.
* @constant
*/
const rdfsNamespace = "http://www.w3.org/2000/01/rdf-schema#";
/**
* Defines useful RDFS terms.
* @constant
*/
export let rdfs = {
namespace: rdfsNamespace,
comment: rdfsNamespace + "comment",
domain: rdfsNamespace + "domain",
label: rdfsNamespace + "label",
range: rdfsNamespace + "range"
};