All files / ontologies xsd.ts

13.79% Statements 4/29
0% Branches 0/100
0% Functions 0/25
14.28% Lines 4/28

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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      14x   14x                                                                                                     14x   14x                                                                                                
import { NamedNode } from '@rdfjs/types';
 
/** Namespace URI of the XSD vocabulary. */
export const _XSD = 'http://www.w3.org/2001/XMLSchema#';
 
export const XSD = {
	/** anyURI represents an Internationalized Resource Identifier Reference (IRI).  An anyURI value can be absolute or relative, and may have an optional fragment identifier (i.e., it may be an IRI Reference).  This type should be used when the value fulfills the role of an IRI, as defined in [RFC 3987] or its successor(s) in the IETF Standards Track. */
	'anyURI': 'http://www.w3.org/2001/XMLSchema#anyURI',
	/** base64Binary represents arbitrary Base64-encoded binary data.  For base64Binary data the entire binary stream is encoded using the Base64 Encoding defined in [RFC 3548], which is derived from the encoding described in [RFC 2045]. */
	'base64Binary': 'http://www.w3.org/2001/XMLSchema#base64Binary',
	/** boolean represents the values of two-valued logic. */
	'boolean': 'http://www.w3.org/2001/XMLSchema#boolean',
	/** byte is ·derived· from short by setting the value of ·maxInclusive· to be 127 and ·minInclusive· to be -128. The ·base type· of byte is short. */
	'byte': 'http://www.w3.org/2001/XMLSchema#byte',
	/** date represents top-open intervals of exactly one day in length on the timelines of dateTime, beginning on the beginning moment of each day, up to but not including the beginning moment of the next day).  For non-timezoned values, the top-open intervals disjointly cover the non-timezoned timeline, one per day.  For timezoned values, the intervals begin at every minute and therefore overlap. */
	'date': 'http://www.w3.org/2001/XMLSchema#date',
	/** dateTime represents instants of time, optionally marked with a particular time zone offset.  Values representing the same instant but having different time zone offsets are equal but not identical. */
	'dateTime': 'http://www.w3.org/2001/XMLSchema#dateTime',
	/** decimal represents a subset of the real numbers, which can be represented by decimal numerals. The ·value space· of decimal is the set of numbers that can be obtained by dividing an integer by a non-negative power of ten, i.e., expressible as i / 10n where i and n are integers and n ≥ 0. Precision is not reflected in this value space; the number 2.0 is not distinct from the number 2.00. The order relation on decimal is the order relation on real numbers, restricted to this subset. */
	'decimal': 'http://www.w3.org/2001/XMLSchema#decimal',
	/** The double datatype is patterned after the IEEE double-precision 64-bit floating point datatype [IEEE 754-2008].  Each floating point datatype has a value space that is a subset of the rational numbers.  Floating point numbers are often used to approximate arbitrary real numbers. */
	'double': 'http://www.w3.org/2001/XMLSchema#double',
	/** duration is a datatype that represents durations of time.  The concept of duration being captured is drawn from those of [ISO 8601], specifically durations without fixed endpoints. */
	'duration': 'http://www.w3.org/2001/XMLSchema#duration',
	/** The float datatype is patterned after the IEEE single-precision 32-bit floating point datatype [IEEE 754-2008].  Its value space is a subset of the rational numbers.  Floating point numbers are often used to approximate arbitrary real numbers. */
	'float': 'http://www.w3.org/2001/XMLSchema#float',
	/** int is ·derived· from long by setting the value of ·maxInclusive· to be 2147483647 and ·minInclusive· to be -2147483648.  The ·base type· of int is long. */
	'int': 'http://www.w3.org/2001/XMLSchema#int',
	/** integer is ·derived· from decimal by fixing the value of ·fractionDigits· to be 0 and disallowing the trailing decimal point.  This results in the standard mathematical concept of the integer numbers.  The ·value space· of integer is the infinite set {...,-2,-1,0,1,2,...}.  The ·base type· of integer is decimal. */
	'integer': 'http://www.w3.org/2001/XMLSchema#integer',
	/** long is ·derived· from integer by setting the value of ·maxInclusive· to be 9223372036854775807 and ·minInclusive· to be -9223372036854775808. The ·base type· of long is integer. */
	'long': 'http://www.w3.org/2001/XMLSchema#long',
	/** negativeInteger is ·derived· from nonPositiveInteger by setting the value of ·maxInclusive· to be -1.  This results in the standard mathematical concept of the negative integers.  The ·value space· of negativeInteger is the infinite set {...,-2,-1}.  The ·base type· of negativeInteger is nonPositiveInteger. */
	'negativeInteger': 'http://www.w3.org/2001/XMLSchema#negativeInteger',
	'nonNegativeInteger': 'http://www.w3.org/2001/XMLSchema#nonNegativeInteger',
	/** nonPositiveInteger is ·derived· from integer by setting the value of ·maxInclusive· to be 0.  This results in the standard mathematical concept of the non-positive integers. The ·value space· of nonPositiveInteger is the infinite set {...,-2,-1,0}.  The ·base type· of nonPositiveInteger is integer. */
	'nonPositiveInteger': 'http://www.w3.org/2001/XMLSchema#nonPositiveInteger',
	/** nonNegativeInteger is ·derived· from integer by setting the value of ·minInclusive· to be 0.  This results in the standard mathematical concept of the non-negative integers. The ·value space· of nonNegativeInteger is the infinite set {0,1,2,...}.  The ·base type· of nonNegativeInteger is integer. */
	'positiveInteger': 'http://www.w3.org/2001/XMLSchema#positiveInteger',
	/** short is ·derived· from int by setting the value of ·maxInclusive· to be 32767 and ·minInclusive· to be -32768.  The ·base type· of short is int. */
	'short': 'http://www.w3.org/2001/XMLSchema#short',
	/** The string datatype represents character strings in XML. */
	'string': 'http://www.w3.org/2001/XMLSchema#string',
	/** time represents instants of time that recur at the same point in each calendar day, or that occur in some arbitrary calendar day. */
	'time': 'http://www.w3.org/2001/XMLSchema#time',
	/** unsignedInt is ·derived· from unsignedLong by setting the value of ·maxInclusive· to be 4294967295.  The ·base type· of unsignedInt is unsignedLong. */
	'unsignedInt': 'http://www.w3.org/2001/XMLSchema#unsignedInt',
	/** unsignedShort is ·derived· from unsignedInt by setting the value of ·maxInclusive· to be 65535.  The ·base type· of unsignedShort is unsignedInt. */
	'unsignedShort': 'http://www.w3.org/2001/XMLSchema#unsignedShort',
	/** unsignedLong is ·derived· from nonNegativeInteger by setting the value of ·maxInclusive· to be 18446744073709551615.  The ·base type· of unsignedLong is nonNegativeInteger. */
	'unsingedLong': 'http://www.w3.org/2001/XMLSchema#unsingedLong',
	/** unsignedByte is ·derived· from unsignedShort by setting the value of ·maxInclusive· to be 255.  The ·base type· of unsignedByte is unsignedShort. */
	'usignedByte': 'http://www.w3.org/2001/XMLSchema#usignedByte',
}
 
/** Namespace URI of the xsd vocabulary. */
export const _xsd = { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#' } as NamedNode;
 
export const xsd = {
	/** anyURI represents an Internationalized Resource Identifier Reference (IRI).  An anyURI value can be absolute or relative, and may have an optional fragment identifier (i.e., it may be an IRI Reference).  This type should be used when the value fulfills the role of an IRI, as defined in [RFC 3987] or its successor(s) in the IETF Standards Track. */
	'anyURI': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#anyURI', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#anyURI' } as NamedNode,
	/** base64Binary represents arbitrary Base64-encoded binary data.  For base64Binary data the entire binary stream is encoded using the Base64 Encoding defined in [RFC 3548], which is derived from the encoding described in [RFC 2045]. */
	'base64Binary': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#base64Binary', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#base64Binary' } as NamedNode,
	/** boolean represents the values of two-valued logic. */
	'boolean': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#boolean', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#boolean' } as NamedNode,
	/** byte is ·derived· from short by setting the value of ·maxInclusive· to be 127 and ·minInclusive· to be -128. The ·base type· of byte is short. */
	'byte': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#byte', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#byte' } as NamedNode,
	/** date represents top-open intervals of exactly one day in length on the timelines of dateTime, beginning on the beginning moment of each day, up to but not including the beginning moment of the next day).  For non-timezoned values, the top-open intervals disjointly cover the non-timezoned timeline, one per day.  For timezoned values, the intervals begin at every minute and therefore overlap. */
	'date': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#date', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#date' } as NamedNode,
	/** dateTime represents instants of time, optionally marked with a particular time zone offset.  Values representing the same instant but having different time zone offsets are equal but not identical. */
	'dateTime': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#dateTime', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#dateTime' } as NamedNode,
	/** decimal represents a subset of the real numbers, which can be represented by decimal numerals. The ·value space· of decimal is the set of numbers that can be obtained by dividing an integer by a non-negative power of ten, i.e., expressible as i / 10n where i and n are integers and n ≥ 0. Precision is not reflected in this value space; the number 2.0 is not distinct from the number 2.00. The order relation on decimal is the order relation on real numbers, restricted to this subset. */
	'decimal': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#decimal', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#decimal' } as NamedNode,
	/** The double datatype is patterned after the IEEE double-precision 64-bit floating point datatype [IEEE 754-2008].  Each floating point datatype has a value space that is a subset of the rational numbers.  Floating point numbers are often used to approximate arbitrary real numbers. */
	'double': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#double', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#double' } as NamedNode,
	/** duration is a datatype that represents durations of time.  The concept of duration being captured is drawn from those of [ISO 8601], specifically durations without fixed endpoints. */
	'duration': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#duration', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#duration' } as NamedNode,
	/** The float datatype is patterned after the IEEE single-precision 32-bit floating point datatype [IEEE 754-2008].  Its value space is a subset of the rational numbers.  Floating point numbers are often used to approximate arbitrary real numbers. */
	'float': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#float', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#float' } as NamedNode,
	/** int is ·derived· from long by setting the value of ·maxInclusive· to be 2147483647 and ·minInclusive· to be -2147483648.  The ·base type· of int is long. */
	'int': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#int', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#int' } as NamedNode,
	/** integer is ·derived· from decimal by fixing the value of ·fractionDigits· to be 0 and disallowing the trailing decimal point.  This results in the standard mathematical concept of the integer numbers.  The ·value space· of integer is the infinite set {...,-2,-1,0,1,2,...}.  The ·base type· of integer is decimal. */
	'integer': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#integer', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#integer' } as NamedNode,
	/** long is ·derived· from integer by setting the value of ·maxInclusive· to be 9223372036854775807 and ·minInclusive· to be -9223372036854775808. The ·base type· of long is integer. */
	'long': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#long', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#long' } as NamedNode,
	/** negativeInteger is ·derived· from nonPositiveInteger by setting the value of ·maxInclusive· to be -1.  This results in the standard mathematical concept of the negative integers.  The ·value space· of negativeInteger is the infinite set {...,-2,-1}.  The ·base type· of negativeInteger is nonPositiveInteger. */
	'negativeInteger': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#negativeInteger', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#negativeInteger' } as NamedNode,
	'nonNegativeInteger': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#nonNegativeInteger', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#nonNegativeInteger' } as NamedNode,
	/** nonPositiveInteger is ·derived· from integer by setting the value of ·maxInclusive· to be 0.  This results in the standard mathematical concept of the non-positive integers. The ·value space· of nonPositiveInteger is the infinite set {...,-2,-1,0}.  The ·base type· of nonPositiveInteger is integer. */
	'nonPositiveInteger': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#nonPositiveInteger', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#nonPositiveInteger' } as NamedNode,
	/** nonNegativeInteger is ·derived· from integer by setting the value of ·minInclusive· to be 0.  This results in the standard mathematical concept of the non-negative integers. The ·value space· of nonNegativeInteger is the infinite set {0,1,2,...}.  The ·base type· of nonNegativeInteger is integer. */
	'positiveInteger': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#positiveInteger', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#positiveInteger' } as NamedNode,
	/** short is ·derived· from int by setting the value of ·maxInclusive· to be 32767 and ·minInclusive· to be -32768.  The ·base type· of short is int. */
	'short': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#short', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#short' } as NamedNode,
	/** The string datatype represents character strings in XML. */
	'string': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#string', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#string' } as NamedNode,
	/** time represents instants of time that recur at the same point in each calendar day, or that occur in some arbitrary calendar day. */
	'time': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#time', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#time' } as NamedNode,
	/** unsignedInt is ·derived· from unsignedLong by setting the value of ·maxInclusive· to be 4294967295.  The ·base type· of unsignedInt is unsignedLong. */
	'unsignedInt': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#unsignedInt', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#unsignedInt' } as NamedNode,
	/** unsignedShort is ·derived· from unsignedInt by setting the value of ·maxInclusive· to be 65535.  The ·base type· of unsignedShort is unsignedInt. */
	'unsignedShort': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#unsignedShort', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#unsignedShort' } as NamedNode,
	/** unsignedLong is ·derived· from nonNegativeInteger by setting the value of ·maxInclusive· to be 18446744073709551615.  The ·base type· of unsignedLong is nonNegativeInteger. */
	'unsingedLong': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#unsingedLong', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#unsingedLong' } as NamedNode,
	/** unsignedByte is ·derived· from unsignedShort by setting the value of ·maxInclusive· to be 255.  The ·base type· of unsignedByte is unsignedShort. */
	'usignedByte': { termType: 'NamedNode', value: 'http://www.w3.org/2001/XMLSchema#usignedByte', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.w3.org/2001/XMLSchema#usignedByte' } as NamedNode,
}