File: ddlm_data_types.dic

package info (click to toggle)
cod-tools 3.11.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 159,136 kB
  • sloc: perl: 58,707; sh: 41,323; ansic: 7,268; xml: 1,982; yacc: 1,117; makefile: 731; python: 166
file content (513 lines) | stat: -rw-r--r-- 14,237 bytes parent folder | download | duplicates (3)
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
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
#\#CIF_2.0
##############################################################################
#                                                                            #
#               TEST DICTIONARY USED FOR TESTING THE VALIDATION              #
#                              OF CONTENTS TYPE                              #
#                                                                            #
##############################################################################
data_TEST_CONTENTS_TYPE_DIC

    _dictionary.title            TEST_CONTENTS_TYPE_DIC
    _dictionary.class            Instance
    _dictionary.version          1.0.0
    _dictionary.date             2021-11-08
    _dictionary.uri              https://www.example.com/test_contents_type.dic
    _dictionary.ddl_conformance  4.1.0
    _dictionary.namespace        SoftwareTest
    _description.text
;
    This dictionary contains fake definitions for validator testing purposes.
;
    loop_
    _dictionary_audit.version
    _dictionary_audit.date
    _dictionary_audit.revision
    1.0.0 2021-11-08 'Initial release of the dictionary.'

save_PARENT
    _definition.id               PARENT
    _definition.scope            Category
    _definition.class            Head
    _definition.update           2017-07-15
    _description.text
;
     This category is parent of all other categories in the FAKE_DIC
     dictionary.
;
    _name.category_id            TEST_CONTENTS_TYPE_DIC
    _name.object_id              PARENT
save_

save_CATEGORY

    _definition.id               CATEGORY
    _definition.scope            Category
    _definition.class            Loop
    _definition.update           2017-07-15
    _description.text
;
    The data items in this category describe the full set of data types
    available in the DDLm.
;
    _name.category_id            PARENT
    _name.object_id              CATEGORY
    _category.key_id             '_category.key'
    loop_
    _category_key.name
                                 '_category.key'
    loop_
    _description_example.case
    _description_example.detail
;
 loop_
 _category.key
 _category.text_item
 1 text_1
 2 text_2
;
;
 An example of the looped category values.
;
save_

save_category.key
    _definition.id               '_category.key'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
 Key of the CATEGORY category.
;
    _description.common
;
 Key of the CATEGORY category.
;
    _name.category_id            category
    _name.object_id              key
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Index
save_

save_category.index_item
    _definition.id               '_category.index_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     An index.
;
    _description.common
;
     An index.
;
    _name.category_id            category
    _name.object_id              index_item
    _type.purpose                Measurand
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Index
save_

save_category.text_item
    _definition.id               '_category.text_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     A text field.
;
    _description.common
;
     A text field.
;
    _name.category_id            category
    _name.object_id              text_item
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Text
save_

save_category.word_item
    _definition.id               '_category.word_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2021-11-08
    _description.text
;
     A 'Word' field.
;
    _description.common
;
     A 'Word' field.
;
    _name.category_id            category
    _name.object_id              word_item
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Word
save_

save_category.code_item
    _definition.id               '_category.code_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     A code string.
;
    _description.common
;
     A code string.
;
    _name.category_id            category
    _name.object_id              code_item
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Code
save_

save_category.name_item
    _definition.id               '_category.name_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     A name string.
;
    _description.common
;
     A name string.
;
    _name.category_id            category
    _name.object_id              name_item
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Name
save_

save_category.tag_item
    _definition.id               '_category.tag_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     A tag string.
;
    _description.common
;
     A tag string.
;
    _name.category_id            category
    _name.object_id              tag_item
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Tag
save_

save_category.uri_item
    _definition.id               '_category.uri_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2019-01-08
    _description.text
;
     An URI string.
;
    _description.common
;
     An URI string.
;
    _name.category_id            category
    _name.object_id              uri_item
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Uri
save_

save_category.date_item
    _definition.id               '_category.date_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     A date string.
;
    _description.common
;
     A date string.
;
    _name.category_id            category
    _name.object_id              date_item
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Date
save_

save_category.datetime_item
    _definition.id               '_category.datetime_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     A datetime string.
;
    _description.common
;
     A datetime string.
;
    _name.category_id            category
    _name.object_id              date_item
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               DateTime
save_

save_category.version_item
    _definition.id               '_category.version_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     A version string.
;
    _description.common
;
     A version string.
;
    _name.category_id            category
    _name.object_id              version_item
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Version
save_

save_category.dimension_item
    _definition.id               '_category.dimension_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
 A dimension string consisting of zero or more natural numbers separated
 by commas written in between square brackets.
;
    _description.common
;
 A dimension string consisting of zero or more natural numbers separated
 by commas written in between square brackets.
;
    _name.category_id            category
    _name.object_id              dimension_item
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Dimension
    loop_
    _description_example.case
    '[]'
    '[4]'
    '[3,3]'
save_

save_category.range_item
    _definition.id               '_category.range_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     A range value.
;
    _description.common
;
     A range value.
;
    _name.category_id            category
    _name.object_id              range_item
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Range
save_

save_category.count_item
    _definition.id               '_category.count_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     A count value.
;
    _description.common
;
     A count value.
;
    _name.category_id            category
    _name.object_id              count_item
    _type.purpose                Measurand
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Count
save_

save_category.integer_item
    _definition.id               '_category.integer_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     An integer value.
;
    _description.common
;
     An integer value.
;
    _name.category_id            category
    _name.object_id              integer_item
    _type.purpose                Measurand
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Integer
save_

save_category.real_item
    _definition.id               '_category.real_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     A real value.
;
    _description.common
;
     A real value.
;
    _name.category_id            category
    _name.object_id              real_item
    _type.purpose                Measurand
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Real
save_

save_category.imag_item
    _definition.id               '_category.imag_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     A imaginary value.
;
    _description.common
;
     A imaginary value.
;
    _name.category_id            category
    _name.object_id              imag_item
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Imag
save_

save_category.complex_item
    _definition.id               '_category.complex_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     A complex value.
;
    _description.common
;
     A complex value.
;
    _name.category_id            category
    _name.object_id              complex_item
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Complex
save_

save_category.symop_item
    _definition.id               '_category.symop_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2017-07-15
    _description.text
;
     A symop value.
;
    _description.common
;
     A symop value.
;
    _name.category_id            category
    _name.object_id              symop_item
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
    _type.contents               Symop
save_

save_category.byReference_item
    _definition.id               '_category.byreference_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2018-04-09
    _description.text
;
     Data item with the ByReference content type.
;
    _description.common          'byReference content type'
    _name.category_id            category
    _name.object_id              symop_item
    _type.purpose                Measurand
    _type.source                 Assigned
    _type.container              Single
    _type.contents               ByReference
    _type.contents_referenced_id '_category.integer_item'
save_

save_category.default_item
    _definition.id               '_category.default_item'
    _definition.scope            Item
    _definition.class            Attribute
    _definition.update           2018-04-09
    _description.common          'default content type'
    _description.text
;
     Data item with the default content type.
;
    _name.category_id            category
    _name.object_id              default_item
    _type.purpose                Key
    _type.source                 Assigned
    _type.container              Single
save_