Source code

Download source archive ↓

src/rdflib/namespace/_XSD.py

1from rdflib.namespace import DefinedNamespace, Namespace
2from rdflib.term import URIRef
3
4
5class XSD(DefinedNamespace):
6    """
7    W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes
8
9    Generated from: ../schemas/datatypes.xsd
10    Date: 2021-09-05 20:37+10
11
12    """
13
14    _NS = Namespace("http://www.w3.org/2001/XMLSchema#")
15
16    ENTITIES: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#ENTITIES
17    ENTITY: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#ENTITY
18    ID: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#ID
19    IDREF: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#IDREF
20    IDREFS: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#IDREFS
21    NCName: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#NCName
22    NMTOKEN: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#NMTOKEN
23    NMTOKENS: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#NMTOKENS
24    NOTATION: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#NOTATIONNOTATION cannot be used directly in a schema; rather a type
25    Name: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#Name
26    QName: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#QName
27    anyURI: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#anyURI
28    base64Binary: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#base64Binary
29    boolean: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#boolean
30    byte: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#byte
31    date: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#date
32    dateTime: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#dateTime
33    dateTimeStamp: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#dateTimeStamp
34    dayTimeDuration: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#dayTimeDuration
35    decimal: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#decimal
36    double: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#double
37    duration: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#duration
38    float: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#float
39    gDay: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#gDay
40    gMonth: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#gMonth
41    gMonthDay: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#gMonthDay
42    gYear: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#gYear
43    gYearMonth: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#gYearMonth
44    hexBinary: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#binary
45    int: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#int
46    integer: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#integer
47    language: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#language
48    long: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#long
49    negativeInteger: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#negativeInteger
50    nonNegativeInteger: (
51        URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#nonNegativeInteger
52    )
53    nonPositiveInteger: (
54        URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#nonPositiveInteger
55    )
56    normalizedString: (
57        URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#normalizedString
58    )
59    positiveInteger: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#positiveInteger
60    short: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#short
61    string: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#string
62    time: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#time
63    token: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#token
64    unsignedByte: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#unsignedByte
65    unsignedInt: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#unsignedInt
66    unsignedLong: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#unsignedLong
67    unsignedShort: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#unsignedShort
68    yearMonthDuration: (
69        URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#yearMonthDuration
70    )
71
72    # fundamental facets - https://www.w3.org/TR/xmlschema11-2/#rf-fund-facets
73    ordered: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-ordered
74    bounded: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-bounded
75    cardinality: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-cardinality
76    numeric: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-numeric
77
78    # constraining facets - https://www.w3.org/TR/xmlschema11-2/#rf-facets
79    length: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-length
80    minLength: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-minLength
81    maxLength: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-maxLength
82    pattern: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-pattern
83    enumeration: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-enumeration
84    whiteSpace: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-whiteSpace
85    maxExclusive: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-maxExclusive
86    maxInclusive: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-maxInclusive
87    minExclusive: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-minExclusive
88    minInclusive: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-minInclusive
89    totalDigits: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-totalDigits
90    fractionDigits: URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-fractionDigits
91    Assertions: URIRef  # see: https://www.w3.org/TR/xmlschema11-2/#rf-assertions
92    explicitTimezone: (
93        URIRef  # see: http://www.w3.org/TR/xmlschema11-2/#rf-explicitTimezone
94    )
95
96    # The Seven-property Model - https://www.w3.org/TR/xmlschema11-2/#theSevenPropertyModel
97    year: URIRef  # see: https://www.w3.org/TR/xmlschema11-2/#vp-dt-http://www.w3.org/TR/xmlschema11-2/#rf-whiteSpace
98    month: URIRef  # see: https://www.w3.org/TR/xmlschema11-2/#vp-dt-month
99    day: URIRef  # see: https://www.w3.org/TR/xmlschema11-2/#vp-dt-day
100    hour: URIRef  # see: https://www.w3.org/TR/xmlschema11-2/#vp-dt-hour
101    minute: URIRef  # see: https://www.w3.org/TR/xmlschema11-2/#vp-dt-minute
102    second: URIRef  # see: https://www.w3.org/TR/xmlschema11-2/#vp-dt-second
103    timezoneOffset: URIRef  # see: https://www.w3.org/TR/xmlschema11-2/#vp-dt-timezone