sdml-core 0.4.1

Core Model for Simple Domain Modeling Language (SDML)
Documentation
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
/**
This Rust module contains the SDML model of the SDML library module `xsd` for XML Schema.
 */
use crate::model::{
    annotations::{AnnotationOnlyBody, HasAnnotations},
    modules::Module,
    HasBody,
};
use std::str::FromStr;

// ------------------------------------------------------------------------------------------------
// Public Types
// ------------------------------------------------------------------------------------------------

pub const MODULE_PATH: &str = "::org::w3";
pub const MODULE_NAME: &str = "xsd";
pub const MODULE_URL: &str = "http://www.w3.org/2001/XMLSchema#";

// ------------------------------------------------------------------------------------------------
// Public Types ❱ "ur" types
// ------------------------------------------------------------------------------------------------

pub const ANY_TYPE: &str = "anyType";
pub const ANY_SIMPLE_TYPE: &str = "anySimpleType";

// ------------------------------------------------------------------------------------------------
// Public Types ❱ built-in primitive types
// ------------------------------------------------------------------------------------------------

pub const ANY_URI: &str = "anyURI";
pub const BASE64_BINARY: &str = "base64Binary";
pub const BOOLEAN: &str = "boolean";
pub const DATE: &str = "date";
pub const DATETIME: &str = "dateTime";
pub const DATETIME_STAMP: &str = "dateTimeStamp";
pub const DECIMAL: &str = "decimal";
pub const DOUBLE: &str = "double";
pub const DURATION: &str = "duration";
pub const FLOAT: &str = "float";
pub const GDAY: &str = "gDay";
pub const GMONTH: &str = "gMonth";
pub const GMONTH_DAY: &str = "gMonthDay";
pub const GYEAR: &str = "gYear";
pub const GYEAR_MONTH: &str = "gYearMonth";
pub const HEX_BINARY: &str = "hexBinary";
pub const QNAME: &str = "QName";
pub const QNOTATION: &str = "QNotation";
pub const STRING: &str = "string";
pub const TIME: &str = "time";

// ------------------------------------------------------------------------------------------------
// Public Types ❱ built-in derived types
// ------------------------------------------------------------------------------------------------

pub const NORMALIZED_STRING: &str = "normalizedString";
pub const TOKEN: &str = "token";
pub const LANGUAGE: &str = "language";
pub const NAME: &str = "Name";
pub const NMTOKEN: &str = "NMTOKEN";
pub const NCNAME: &str = "NCName";
pub const ID: &str = "ID";
pub const IDREF: &str = "IDREF";
pub const ENTITY: &str = "ENTITY";

pub const DAYTIME_DURATION: &str = "dayTimeDuration";
pub const YEARMONTH_DURATION: &str = "yearMonthDuration";

pub const INTEGER: &str = "integer";
pub const NONPOSITIVE_INTEGER: &str = "nonPositiveInteger";
pub const NEGATIVE_INTEGER: &str = "negativeInteger";
pub const LONG: &str = "long";
pub const INT: &str = "int";
pub const SHORT: &str = "short";
pub const BYTE: &str = "byte";
pub const NONNEGATIVE_INTEGER: &str = "nonNegativeInteger";
pub const UNSIGNED_LONG: &str = "unsignedLong";
pub const UNSIGNED_INT: &str = "unsignedInt";
pub const UNSIGNED_SHORT: &str = "unsignedShort";
pub const UNSIGNED_BYTE: &str = "unsignedByte";
pub const POSITIVE_INTEGER: &str = "positiveInteger";

// ------------------------------------------------------------------------------------------------
// Public Types ❱ constraining facets
// ------------------------------------------------------------------------------------------------

pub const ENUMERATION: &str = "enumeration";
pub const FRACTION_DIGITS: &str = "fractionDigits";
pub const LENGTH: &str = "length";
pub const MAX_EXCLUSIVE: &str = "maxExclusive";
pub const MAX_INCLUSIVE: &str = "maxInclusive";
pub const MAX_LENGTH: &str = "maxLength";
pub const MIN_EXCLUSIVE: &str = "minExclusive";
pub const MIN_INCLUSIVE: &str = "minInclusive";
pub const MIN_LENGTH: &str = "minLength";
pub const PATTERN: &str = "pattern";
pub const TOTAL_DIGITS: &str = "totalDigits";
pub const WHITE_SPACE: &str = "whiteSpace";

// ------------------------------------------------------------------------------------------------
// Public Functions
// ------------------------------------------------------------------------------------------------

module_function!(|| {
    let module_uri: url::Url = url::Url::parse(MODULE_URL).unwrap();

    module!(
        id!(unchecked xsd), module_uri ; call |module: Module|
        module.with_imports([import_statement!(
            id!(unchecked dct),
        )])
            .with_annotations([
                annotation!(id!(unchecked dc_terms:title), rdf_str!("XML Schema Part 2: Datatypes Second Edition"@en)),
                annotation!(id!(unchecked rdfs:seeAlso), url!("https://www.w3.org/TR/xmlschema-2/")),
            ])
            .with_definitions([
                // ---------------------------------------------------------------------------------
                // Datatypes, Purple
                // ---------------------------------------------------------------------------------
                rdf!(
                    id!(unchecked anySimpleType) ;
                    datatype ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("anySimpleType"@en)),
                    ])).into(),
                // ---------------------------------------------------------------------------------
                // Datatypes, Blue
                // ---------------------------------------------------------------------------------
                datatype!(
                    id!(unchecked anyURI), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("anyURI"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked base64Binary), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("base64Binary"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked boolean), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("boolean"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked date), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("date"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked dateTime), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("dateTime"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked decimal), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("decimal"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked double), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("double"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked duration), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("duration"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked float), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("float"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked gDay), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("gDay"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked gMonth), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("gMonth"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked gMonthDay), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("gMonthDay"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked gYear), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("gYear"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked gYearMonth), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("gYearMonth"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked hexBinary), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("hexBinary"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked QName), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("QName"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked QNotation), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("QNotation"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked string), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("string"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked time), idref!(unchecked anySimpleType) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("time"@en)),
                    ])).into(),
                // ---------------------------------------------------------------------------------
                // Datatypes, Green
                // ---------------------------------------------------------------------------------
                datatype!(
                    id!(unchecked integer), idref!(unchecked decimal) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("integer"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked normalizedString), idref!(unchecked string) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("normalizedString"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked token), idref!(unchecked normalizedString) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("token"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked language), idref!(unchecked token) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("language"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked Name), idref!(unchecked token) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("Name"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked NMTOKEN), idref!(unchecked token) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("NMTOKEN"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked NCNAME), idref!(unchecked Name) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("NCNAME"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked nonPositiveInteger), idref!(unchecked integer) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("nonPositiveInteger"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked negativeInteger), idref!(unchecked nonPositiveInteger) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("negativeInteger"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked long), idref!(unchecked integer) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("long"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked int), idref!(unchecked long) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("int"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked short), idref!(unchecked int) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("short"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked byte), idref!(unchecked short) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("byte"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked nonNegativeInteger), idref!(unchecked integer) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("nonNegativeInteger"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked unsignedLong), idref!(unchecked nonNegativeInteger) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("unsignedLong"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked unsignedInt), idref!(unchecked unsignedLong) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("unsignedInt"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked unsignedShort), idref!(unchecked unsignedInt) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("unsignedShort"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked unsignedByte), idref!(unchecked unsignedShort) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("unsignedByte"@en)),
                    ])).into(),
                datatype!(
                    id!(unchecked positiveInteger), idref!(unchecked nonNegativeInteger) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!("positiveInteger"@en)),
                    ])).into(),
                // ---------------------------------------------------------------------------------
                // Facets
                // ---------------------------------------------------------------------------------
                rdf!(id!(unchecked enumeration) ;
                    property id!(unchecked Property) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!(enumeration@en)),
                    ])).into(),
                rdf!(id!(unchecked fractionDigits) ;
                    property id!(unchecked Property) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!(fractionDigits@en)),
                    ])).into(),
                rdf!(id!(unchecked length) ;
                    property id!(unchecked Property) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!(length@en)),
                    ])).into(),
                rdf!(id!(unchecked maxExclusive) ;
                    property id!(unchecked Property) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!(maxExclusive@en)),
                    ])).into(),
                rdf!(id!(unchecked maxInclusive) ;
                    property id!(unchecked Property) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!(maxInclusive@en)),
                    ])).into(),
                rdf!(id!(unchecked maxLength) ;
                    property id!(unchecked Property) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!(maxLength@en)),
                    ])).into(),
                rdf!(id!(unchecked minExclusive) ;
                    property id!(unchecked Property) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!(minExclusive@en)),
                    ])).into(),
                rdf!(id!(unchecked minInclusive) ;
                    property id!(unchecked Property) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!(minInclusive@en)),
                    ])).into(),
                rdf!(id!(unchecked minLength) ;
                    property id!(unchecked Property) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!(minLength@en)),
                    ])).into(),
                rdf!(id!(unchecked pattern) ;
                    property id!(unchecked Property) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!(pattern@en)),
                    ])).into(),
                rdf!(id!(unchecked totalDigits) ;
                    property id!(unchecked Property) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!(totalDigits@en)),
                    ])).into(),
                rdf!(id!(unchecked whiteSpace) ;
                    property id!(unchecked Property) ;
                    call |body: AnnotationOnlyBody|
                    body.with_annotations([
                        annotation!(id!(unchecked rdfs:isDefinedBy), id!(unchecked xsd)),
                        annotation!(id!(unchecked skos:prefLabel), rdf_str!(whiteSpace@en)),
                    ])).into(),
            ])
    )
});