-
Notifications
You must be signed in to change notification settings - Fork 6
/
MidgardObjects.xml
672 lines (637 loc) · 30.8 KB
/
MidgardObjects.xml
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
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
<?xml version="1.0" encoding="UTF-8"?>
<Schema xmlns="http://www.midgard-project.org/repligard/1.4">
<type name="midgard_person" table="person">
<user_values>
<typeof>http://xmlns.com/foaf/0.1/Person</typeof>
<namespaces>foaf:http://xmlns.com/foaf/0.1/</namespaces>
</user_values>
<property name="id" type="unsigned integer" primaryfield="id">
<description>Local non-replication-safe database identifier</description>
</property>
<property name="firstname" type="string" index="yes" unique="yes">
<description>First name of the person</description>
<property>foaf:firstName</property>
</property>
<property name="lastname" type="string" index="yes">
<description>Last name of the person</description>
<property>foaf:lastName</property>
</property>
</type>
<type name="midgard_attachment" table="blobs">
<property name="id" type="unsigned integer" primaryfield="id">
<description>Local non-replication-safe database identifier</description>
</property>
<property name="name" type="string" index="yes">
<description>Filename of the attachment</description>
</property>
<property name="title" type="string">
<description>Title of the attachment</description>
</property>
<property name="location" type="string" index="yes">
<description>Location of the attachment in the blob directory structure</description>
</property>
<property name="mimetype" type="string" index="yes">
<description>MIME type of the attachment</description>
</property>
<property name="parentguid" type="guid" field="parent_guid" parentfield="parent_guid">
<description>GUID of the object the attachment is attached to</description>
</property>
</type>
<type name="midgard_parameter" table="record_extension">
<property name="id" type="unsigned integer" primaryfield="id">
<description>Local non-replication-safe database identifier</description>
</property>
<property name="domain" type="string" index="yes">
<description>Namespace of the parameter</description>
</property>
<property name="name" type="string" index="yes">
<description>Key of the parameter</description>
</property>
<property name="value" type="text">
<description>Value of the parameter</description>
</property>
<property name="parentguid" type="guid" field="parent_guid" parentfield="parent_guid">
<description>GUID of the object the parameter extends</description>
</property>
</type>
<type name="midgard_snippetdir" table="snippetdir">
<property name="id" type="unsigned integer" primaryfield="id">
<description>Local non-replication-safe database identifier</description>
</property>
<property name="name" type="string" index="yes" unique="yes">
<description>Path name of the snippetdir</description>
</property>
<property name="up" type="unsigned integer" link="midgard_snippetdir:id" upfield="up">
<description>Snippetdir the snippetdir is under</description>
</property>
</type>
<type name="midgard_snippet" table="snippet" parent="midgard_snippetdir">
<property name="id" type="unsigned integer" primaryfield="id">
<description>Local non-replication-safe database identifier</description>
</property>
<property name="name" type="string" index="yes" unique="yes">
<description>Path name of the snippet</description>
</property>
<property name="snippetdir" type="unsigned integer" link="midgard_snippetdir:id" parentfield="snippetdir">
<description>Snippetdir the snippet is under</description>
</property>
<property name="code" type="text">
<description>Code of the snippet</description>
</property>
<property name="doc" type="text">
<description>Documentation of the snippet</description>
</property>
</type>
<type name="midgard_quota" table="quota">
<property name="id" type="unsigned integer" primaryfield="id">
<description>Local non-replication-safe database identifier</description>
</property>
<property name="sgsizelimit" type="integer" field="limit_sg_size">
<description>Quota for the sitegroup (in bytes)</description>
</property>
<property name="sgsize" type="integer" field="sg_size">
<description>Disk usage of the sitegroup (in bytes)</description>
</property>
<property name="sgrecordslimit" type="integer" field="limit_sg_records">
<description>Limit of number of records for the sitegroup</description>
</property>
<property name="sgrecords" type="integer" field="sg_records">
<description>Number of records for the sitegroup</description>
</property>
<property name="typename" type="string" index="yes">
<description>MgdSchema type the quota applies to</description>
</property>
<property name="typesizelimit" type="integer" field="limit_type_size">
<description>Quota of the type for the sitegroup (in bytes)</description>
</property>
<property name="typesize" type="integer" field="type_size">
<description>Disk usage of the type of the sitegroup (in bytes)</description>
</property>
<property name="typerecordslimit" type="integer" field="limit_type_records">
<description>Limit of number of records of the type for the sitegroup</description>
</property>
<property name="typerecords" type="integer" field="type_records">
<description>Number of records of the type for the sitegroup</description>
</property>
</type>
<type name="midgard_activity" table="midgard_activity">
<user_values>
<typeof>http://xmlns.notu.be/aair#Activity</typeof>
<namespaces>aair:http://xmlns.notu.be/aair#</namespaces>
</user_values>
<property name="id" type="unsigned integer" primaryfield="id">
<description>Local non-replication-safe database identifier</description>
</property>
<property name="actor" link="midgard_person:id" type="unsigned integer" parentfield="actor">
<description>The person who performed the activity</description>
<property>aair:Actor</property>
</property>
<property name="verb" type="string" index="yes">
<!-- Note: there must be multiple verbs when Midgard supports it -->
<description>The action performed, following Atom Activity Extension URL schema (for example: http://activitystrea.ms/schema/1.0/post)</description>
<property>aair:activityVerb</property>
</property>
<property name="target" type="guid">
<description>The object that the action was done to</description>
<property>aair:activityObject</property>
</property>
<property name="summary" type="string">
<description>A human-readable description of the activity</description>
<property>aair:summary</property>
</property>
<property name="application" type="string" index="yes">
<description>Application the activity was performed with. In case of MidCOM, a component</description>
<property>aair:Application</property>
</property>
</type>
<!-- JCR schemas -->
<!-- mix:title -->
<type name="mix_title" metadata="false" abstract="mixin">
<!-- JCR properties of mix:title type -->
<property name="jcr-title" type="string">
<RequiredType>STRING</RequiredType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<isMultiple>false</isMultiple>
</property>
<property name="jcr-description" type="string">
<RequiredType>STRING</RequiredType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<isMultiple>false</isMultiple>
</property>
<!-- Node and NodeType definitions -->
<user_values>
<description>This mixin node type can be used to add standardized title and description properties to a node.</description>
<Supertypes></Supertypes>
<isMixin>true</isMixin>
<PrimaryItemName></PrimaryItemName>
<RequiredPrimaryTypes></RequiredPrimaryTypes>
<DefaultPrimaryType></DefaultPrimaryType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<SameNameSiblings>false</SameNameSiblings>
</user_values>
</type>
<!-- mix:created -->
<type name="mix_created" metadata="false" abstract="mixin">
<!-- JCR properties of mix:title type -->
<property name="jcr-created" type="datetime">
<RequiredType>DATE</RequiredType>
<isAutoCreated>true</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>true</isProtected>
<isMultiple>false</isMultiple>
</property>
<property name="jcr-createdBy" type="string">
<RequiredType>STRING</RequiredType>
<isAutoCreated>true</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>true</isProtected>
<isMultiple>false</isMultiple>
</property>
<!-- Node and NodeType definitions -->
<user_values>
<description>This mixin node type can be used to add standardized creation information
properties to a node. In implementations that make these properties protected,
their values are controlled by the repository, which should set them appropriately
upon the initial persist of a node with this mixin type. In cases where this mixin is
added to an already existing node the semantics of these properties are
implementation specific (see §10.10.3 Assigning Mixin Node Types).
</description>
<Supertypes></Supertypes>
<isMixin>true</isMixin>
<PrimaryItemName></PrimaryItemName>
<RequiredPrimaryTypes></RequiredPrimaryTypes>
<DefaultPrimaryType></DefaultPrimaryType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<SameNameSiblings>false</SameNameSiblings>
</user_values>
</type>
<!-- mix:lastModified -->
<type name="mix_lastModified" metadata="false" abstract="mixin">
<!-- JCR properties of mix:lastModified type -->
<property name="jcr-lastModified" type="datetime">
<RequiredType>DATE</RequiredType>
<isAutoCreated>true</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<isMultiple>false</isMultiple>
</property>
<property name="jcr-lastModifiedBy" type="string">
<RequiredType>STRING</RequiredType>
<isAutoCreated>true</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<isMultiple>false</isMultiple>
</property>
<!-- Node and NodeType definitions -->
<user_values>
<description>This mixin node type can be used to provide standardized modification
information properties to a node. In implementations that make these properties
protected, their values are controlled by the repository, which should set them
appropriately upon a significant modification of the subgraph of a node with this
mixin. What constitutes a significant modification will depend on the semantics of
the various parts of a node's subgraph and is implementation-dependent.
</description>
<Supertypes></Supertypes>
<isMixin>true</isMixin>
<PrimaryItemName></PrimaryItemName>
<RequiredPrimaryTypes></RequiredPrimaryTypes>
<DefaultPrimaryType></DefaultPrimaryType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<SameNameSiblings>false</SameNameSiblings>
<OriginalName>mix:lastModified</OriginalName>
</user_values>
</type>
<!-- mix:language -->
<type name="mix_language" metadata="false" abstract="mixin">
<!-- JCR properties of mix:language type -->
<property name="jcr-language" type="string">
<RequiredType>STRING</RequiredType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<isMultiple>false</isMultiple>
</property>
<!-- Node and NodeType definitions -->
<user_values>
<description>This mixin node type can be used to provide a standardized property that
specifies the natural language in which the content of a node is expressed. The
value of the jcr:language property should be a language code as defined in RFC
</description>
<Supertypes></Supertypes>
<isMixin>true</isMixin>
<PrimaryItemName></PrimaryItemName>
<RequiredPrimaryTypes></RequiredPrimaryTypes>
<DefaultPrimaryType></DefaultPrimaryType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<SameNameSiblings>false</SameNameSiblings>
</user_values>
</type>
<!-- mix:mimeType -->
<type name="mix_mimeType" metadata="false" abstract="mixin">
<!-- JCR properties of mix:mimeType type -->
<property name="jcr-mimeType" type="string">
<RequiredType>STRING</RequiredType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<isMultiple>false</isMultiple>
</property>
<property name="jcr-encoding" type="string">
<RequiredType>STRING</RequiredType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<isMultiple>false</isMultiple>
</property>
<!-- Node and NodeType definitions -->
<user_values>
<description>This mixin node type can be used to provide standardized mimetype and
encoding properties to a node.
If a node of this type has a primary item that is a single-value BINARY property
then jcr:mimeType property indicates the media type6 applicable to the contents
of that property and, if that media type is one to which a text encoding applies,
the jcr:encoding property indicates the character set7 used.
If a node of this type does not meet the above precondition then the
interpretation of the jcr:mimeType and jcr:encoding properties is
implementation-dependent.
</description>
<Supertypes></Supertypes>
<isMixin>true</isMixin>
<PrimaryItemName></PrimaryItemName>
<RequiredPrimaryTypes></RequiredPrimaryTypes>
<DefaultPrimaryType></DefaultPrimaryType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<SameNameSiblings>false</SameNameSiblings>
<OriginalName>mix:mimeType</OriginalName>
</user_values>
</type>
<!-- mix:etag -->
<type name="mix_etag" metadata="false" abstract="mixin">
<!-- JCR properties of mix:title type -->
<property name="jcr-etag" type="string">
<RequiredType>STRING</RequiredType>
<isAutoCreated>true</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>true</isProtected>
<isMultiple>false</isMultiple>
</property>
<!-- Node and NodeType definitions -->
<user_values>
<description>A jcr:etag property is an opaque string whose syntax is identical to that defined
for entity tags in HTTP/1.1. Semantically, the jcr:etag is comparable to the
HTTP/1.1 strong entity tag.
</description>
<Supertypes></Supertypes>
<isMixin>true</isMixin>
<PrimaryItemName></PrimaryItemName>
<RequiredPrimaryTypes></RequiredPrimaryTypes>
<DefaultPrimaryType></DefaultPrimaryType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<SameNameSiblings>false</SameNameSiblings>
</user_values>
</type>
<!-- mix:referenceable -->
<type name="mix_referenceable" metadata="false" abstract="mixin">
<!-- JCR properties of mix:title type -->
<property name="jcr-uuid" type="string">
<RequiredType>STRING</RequiredType>
<isAutoCreated>true</isAutoCreated>
<isMandatory>true</isMandatory>
<isProtected>true</isProtected>
<isMultiple>false</isMultiple>
</property>
<!-- Node and NodeType definitions -->
<user_values>
<description>This node type adds an auto-created, mandatory, protected STRING property to
the node, called jcr:uuid, which exposes the identifier of the node. Note that the
term “UUID” is used for backward compatibility with JCR 1.0 and does not
necessarily imply the use of the UUID syntax, or global uniqueness.
The identifier of a referenceable node must be a referenceable identifier.
Referenceable identifiers must fulfill a number of constraints beyond the
minimum required of standard identifiers (see §3.8.3 Referenceable Identifiers).
</description>
<Supertypes></Supertypes>
<isMixin>true</isMixin>
<PrimaryItemName></PrimaryItemName>
<RequiredPrimaryTypes></RequiredPrimaryTypes>
<DefaultPrimaryType></DefaultPrimaryType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<SameNameSiblings>false</SameNameSiblings>
</user_values>
</type>
<!-- mix:shareable -->
<type name="mix_shareable" metadata="false" abstract="mixin" extends="mix_referenceable">
<!-- JCR properties of mix:shareable type -->
<!-- Node and NodeType definitions -->
<user_values>
<description>All shareable nodes are referenceable.</description>
<Supertypes>mix:referenceable</Supertypes>
<isMixin>true</isMixin>
<PrimaryItemName></PrimaryItemName>
<RequiredPrimaryTypes></RequiredPrimaryTypes>
<DefaultPrimaryType></DefaultPrimaryType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<SameNameSiblings>false</SameNameSiblings>
</user_values>
</type>
<!-- nt:base -->
<type name="nt_base" metadata="false" abstract="interface">
<!-- JCR properties of nt:base Node -->
<property name="jcr-primaryType" type="string">
<description>The type of a node</description>
<getOnParentVersion>COMPUTE</getOnParentVersion>
<RequiredType>NAME</RequiredType>
<isAutoCreated>true</isAutoCreated>
<isMandatory>true</isMandatory>
<isProtected>true</isProtected>
<isMultiple>false</isMultiple>
</property>
<property name="jcr-mixinTypes">
<description>Mixin types multivalue</description>
<RequiredType>NAME</RequiredType>
<getOnParentVersion>COMPUTE</getOnParentVersion>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>true</isProtected>
<isMultiple>true</isMultiple>
</property>
<!-- Node and NodeType definitions -->
<user_values>
<Supertypes></Supertypes>
<isMixin>false</isMixin>
<PrimaryItemName></PrimaryItemName>
<RequiredPrimaryTypes></RequiredPrimaryTypes>
<DefaultPrimaryType></DefaultPrimaryType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<OnParentVersion></OnParentVersion>
<isProtected>false</isProtected>
<SameNameSiblings>false</SameNameSiblings>
<isAbstract>true</isAbstract>
</user_values>
</type>
<!-- nt:hierarchyNode -->
<type name="nt_hierarchyNode" metadata="false" abstract="interface" extends="nt_base, mix_created">
<!-- Node and NodeType definitions -->
<user_values>
<Supertypes>mix:created</Supertypes>
<isMixin>false</isMixin>
<PrimaryItemName></PrimaryItemName>
<RequiredPrimaryTypes></RequiredPrimaryTypes>
<DefaultPrimaryType></DefaultPrimaryType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<OnParentVersion></OnParentVersion>
<isProtected>false</isProtected>
<SameNameSiblings>false</SameNameSiblings>
<isAbstract>true</isAbstract>
</user_values>
</type>
<!-- nt:folder -->
<type name="nt_folder" table="phpcr_nt_folder" metadata="false" extends="nt_hierarchyNode">
<property name="id" type="unsigned integer" primaryfield="id">
<description>Local non-replication-safe database identifier</description>
</property>
<!-- Node and NodeType definitions -->
<user_values>
<Supertypes>nt:hierarchyNode</Supertypes>
<isMixin>false</isMixin>
<PrimaryItemName></PrimaryItemName>
<ChildNodeDefinition>*</ChildNodeDefinition>
<RequiredPrimaryTypes>nt:hierarchyNode</RequiredPrimaryTypes>
<DefaultPrimaryType></DefaultPrimaryType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<OnParentVersion>VERSION</OnParentVersion>
<isProtected>false</isProtected>
<SameNameSiblings>false</SameNameSiblings>
</user_values>
</type>
<!-- nt:file -->
<type name="nt_file" table="phpcr_nt_file" metadata="false" extends="nt_hierarchyNode">
<property name="id" type="unsigned integer" primaryfield="id">
<description>Local non-replication-safe database identifier</description>
</property>
<!-- Node and NodeType definitions -->
<user_values>
<Supertypes>nt:hierarchyNode</Supertypes>
<isMixin>false</isMixin>
<HasOrderableChildNodes>false</HasOrderableChildNodes>
<PrimaryItemName>jcr:content</PrimaryItemName>
<ChildNodeDefinition>jcr:content</ChildNodeDefinition>
<RequiredPrimaryTypes>nt:base</RequiredPrimaryTypes>
<DefaultPrimaryType></DefaultPrimaryType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>true</isMandatory>
<OnParentVersion>COPY</OnParentVersion>
<isProtected>false</isProtected>
<SameNameSiblings>false</SameNameSiblings>
</user_values>
</type>
<!-- nt:linkedFile -->
<type name="nt_linkedFile" table="phpcr_nt_linked_file" metadata="false" extends="nt_hierarchyNode">
<property name="id" type="unsigned integer" primaryfield="id">
<description>Local non-replication-safe database identifier</description>
</property>
<!-- JCR properties of nt:linkedFile Node -->
<property name="jcr-content" type="string" field="jcr_content" default="nt:linkedFile">
<description>The type of a node</description>
<RequiredType>REFERENCE</RequiredType>
<getOnParentVersion></getOnParentVersion>
<isAutoCreated>false</isAutoCreated>
<isMandatory>true</isMandatory>
<isProtected>false</isProtected>
<isMultiple>false</isMultiple>
</property>
<!-- Node and NodeType definitions -->
<user_values>
<Supertypes>nt:hierarchyNode</Supertypes>
<isMixin>false</isMixin>
<HasOrderableChildNodes>false</HasOrderableChildNodes>
<PrimaryItemName>jcr:content</PrimaryItemName>
<OriginalName>nt:linkedFile</OriginalName>
</user_values>
</type>
<!-- nt:unstructured -->
<type name="nt_unstructured" table="phpcr_nt_unstructured" metadata="false" extends="nt_base">
<property name="id" type="unsigned integer" primaryfield="id">
<description>Local non-replication-safe database identifier</description>
</property>
<!-- JCR properties of nt:unstructured Node - derived from abstract nt_base -->
<!-- Node and NodeType definitions -->
<user_values>
<Supertypes>nt:base</Supertypes>
<isMixin>false</isMixin>
<HasOrderableChildNodes>true</HasOrderableChildNodes>
<PrimaryItemName></PrimaryItemName>
<ChildNodeDefinition>*</ChildNodeDefinition>
<RequiredPrimaryTypes>nt:base</RequiredPrimaryTypes>
<DefaultPrimaryType>nt:unstructured</DefaultPrimaryType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<OnParentVersion>VERSION</OnParentVersion>
<isProtected>false</isProtected>
<SameNameSiblings>true</SameNameSiblings>
</user_values>
</type>
<!-- nt:resource -->
<type name="nt_resource" table="phpcr_nt_resource" metadata="false" extends="nt_base, mix_referenceable, mix_mimeType, mix_lastModified">
<property name="id" type="unsigned integer" primaryfield="id">
<description>Local non-replication-safe database identifier</description>
</property>
<property name="jcr-data" type="string" field="jcr_data">
<description>Binary data</description>
<RequiredType>BINARY</RequiredType>
<getOnParentVersion>COPY</getOnParentVersion>
<isAutoCreated>false</isAutoCreated>
<isMandatory>true</isMandatory>
<isProtected>false</isProtected>
<isMultiple>false</isMultiple>
<ValueConstraints></ValueConstraints>
<DefaultValues></DefaultValues>
</property>
<!-- Node and NodeType definitions -->
<user_values>
<Supertypes>nt:base mix:referenceable mix:mimeType mix:lastModified</Supertypes>
<isMixin>false</isMixin>
<HasOrderableChildNodes>false</HasOrderableChildNodes>
<PrimaryItemName>jcr:data</PrimaryItemName>
<RequiredPrimaryTypes>nt:hierarchyNode</RequiredPrimaryTypes>
<DefaultPrimaryType></DefaultPrimaryType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<OnParentVersion>VERSION</OnParentVersion>
<isProtected>false</isProtected>
<SameNameSiblings>false</SameNameSiblings>
</user_values>
</type>
<!-- nt:query -->
<type name="nt_query" table="phpcr_nt_query" metadata="false" extends="nt_base">
<property name="id" type="unsigned integer" primaryfield="id">
<description>Local non-replication-safe database identifier</description>
</property>
<property name="jcr-statement" type="string" field="jcr_statement">
<description>Query statement</description>
<RequiredType>STRING</RequiredType>
<getOnParentVersion>COPY</getOnParentVersion>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<isMultiple>false</isMultiple>
<ValueConstraints></ValueConstraints>
<DefaultValues></DefaultValues>
</property>
<property name="jcr-language" type="string" field="jcr_language">
<description>Query language</description>
<RequiredType>STRING</RequiredType>
<getOnParentVersion>COPY</getOnParentVersion>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<isProtected>false</isProtected>
<isMultiple>false</isMultiple>
<ValueConstraints></ValueConstraints>
<DefaultValues></DefaultValues>
</property>
<!-- Node and NodeType definitions -->
<user_values>
<Description>This node type may be used to store a persistent query.</Description>
<Supertypes>nt:base</Supertypes>
<isMixin>false</isMixin>
<HasOrderableChildNodes>false</HasOrderableChildNodes>
<PrimaryItemName></PrimaryItemName>
<RequiredPrimaryTypes></RequiredPrimaryTypes>
<DefaultPrimaryType></DefaultPrimaryType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<OnParentVersion>VERSION</OnParentVersion>
<isProtected>false</isProtected>
<SameNameSiblings>false</SameNameSiblings>
</user_values>
</type>
<!-- nt:address -->
<type name="nt_address" table="phpcr_nt_address" metadata="false" extends="nt_base">
<property name="id" type="unsigned integer" primaryfield="id">
<description>Local non-replication-safe database identifier</description>
</property>
<property name="jcr-protocol" type="string" />
<property name="jcr-host" type="string" />
<property name="jcr-port" type="string" />
<property name="jcr-repository" type="string" />
<property name="jcr-path" type="string">
<RequiredType>STRING</RequiredType>
</property>
<!-- Node and NodeType definitions -->
<user_values>
<Supertypes>nt:address</Supertypes>
<isMixin>false</isMixin>
<PrimaryItemName></PrimaryItemName>
<RequiredPrimaryTypes></RequiredPrimaryTypes>
<DefaultPrimaryType></DefaultPrimaryType>
<isAutoCreated>false</isAutoCreated>
<isMandatory>false</isMandatory>
<OnParentVersion>VERSION</OnParentVersion>
<isProtected>false</isProtected>
<SameNameSiblings>false</SameNameSiblings>
</user_values>
</type>
</Schema>