-
Notifications
You must be signed in to change notification settings - Fork 214
Expand file tree
/
Copy pathconstants.js
More file actions
33 lines (28 loc) · 896 Bytes
/
Copy pathconstants.js
File metadata and controls
33 lines (28 loc) · 896 Bytes
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
/*
* Copyright (c) 2017 Digital Bazaar, Inc. All rights reserved.
*/
'use strict';
const RDF = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#';
const XSD = 'http://www.w3.org/2001/XMLSchema#';
module.exports = {
// TODO: Deprecated and will be removed later. Use LINK_HEADER_CONTEXT.
LINK_HEADER_REL: 'http://www.w3.org/ns/json-ld#context',
LINK_HEADER_CONTEXT: 'http://www.w3.org/ns/json-ld#context',
RDF,
RDF_LIST: RDF + 'List',
RDF_FIRST: RDF + 'first',
RDF_REST: RDF + 'rest',
RDF_NIL: RDF + 'nil',
RDF_TYPE: RDF + 'type',
RDF_PLAIN_LITERAL: RDF + 'PlainLiteral',
RDF_XML_LITERAL: RDF + 'XMLLiteral',
RDF_JSON_LITERAL: RDF + 'JSON',
RDF_OBJECT: RDF + 'object',
RDF_LANGSTRING: RDF + 'langString',
XSD,
XSD_BOOLEAN: XSD + 'boolean',
XSD_DOUBLE: XSD + 'double',
XSD_FLOAT: XSD + 'float',
XSD_INTEGER: XSD + 'integer',
XSD_STRING: XSD + 'string',
};