-
Notifications
You must be signed in to change notification settings - Fork 293
/
Copy pathListedLicense.xsd
646 lines (645 loc) · 35.8 KB
/
ListedLicense.xsd
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
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:tns="http://www.spdx.org/license" targetNamespace="http://www.spdx.org/license" elementFormDefault="qualified" version="1.0.0">
<annotation>
<documentation xml:lang="en">
<xhtml:h1>SPDX License List XML Schema</xhtml:h1>
<xhtml:p>
This format is internal to the SPDX legal team and is subject to change. For stable output formats, see <xhtml:a href="https://github.com/spdx/license-list-data">license-list-data</xhtml:a>.
</xhtml:p>
<xhtml:p>
SPDX-License-Identifier: CC0-1.0
</xhtml:p>
</documentation>
</annotation>
<element name="SPDXLicenseCollection" type="tns:SPDXLicenseCollectionType">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>SPDXLicenseCollection</xhtml:code> is the root element of SPDX license lists.
</xhtml:p>
</documentation>
</annotation>
</element>
<complexType name="SPDXLicenseCollectionType">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>SPDXLicenseCollectionType</xhtml:code> collects a set of licenses and/or exceptions. The order in which child elements are listed is not significant.
</xhtml:p>
</documentation>
</annotation>
<choice minOccurs="1" maxOccurs="unbounded">
<element name="license" type="tns:LicenseType"/>
<element name="exception" type="tns:ExceptionType"/>
</choice>
</complexType>
<complexType name="ExceptionType" mixed="true">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>ExceptionType</xhtml:code> is an exception to a license condition or additional permissions beyond those granted in a license. Exceptions are not standalone licenses, although the schem for <xhtml:code>LicenseType</xhtml:code> is very similar. See the <xhtml:code>LicenseType</xhtml:code> documentation for details on the attribute semantics.
</xhtml:p>
</documentation>
</annotation>
<all>
<element name="obsoletedBys" type="tns:obsoletedBysType" minOccurs="0" maxOccurs="1" />
<element name="crossRefs" type="tns:crossRefsType" minOccurs="0" maxOccurs="1"/>
<element name="notes" type="tns:formattedFixedTextType" minOccurs="0" maxOccurs="1"/>
<element name="text" type="tns:formattedAltTextType" minOccurs="0" maxOccurs="1"/>
</all>
<attribute name="licenseId" type="string" use="required" />
<attribute name="name" type="string" use="required" />
<attribute name="listVersionAdded" type="string"/>
<attribute name="deprecatedVersion" type="string"/>
</complexType>
<complexType name="LicenseType" mixed="true">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>LicenseType</xhtml:code> is a license. It does not represent exceptions, although the schema for <xhtml:code>ExceptionType</xhtml:code> is very similar.
</xhtml:p>
</documentation>
</annotation>
<all>
<element name="obsoletedBys" type="tns:obsoletedBysType" minOccurs="0" maxOccurs="1" />
<element name="crossRefs" type="tns:crossRefsType" minOccurs="0" maxOccurs="1"/>
<element name="notes" type="tns:formattedFixedTextType" minOccurs="0" maxOccurs="1">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>notes</xhtml:code> contains unstructured notes about the license.
</xhtml:p>
</documentation>
</annotation>
</element>
<element name="standardLicenseHeader" type="tns:formattedAltTextType" minOccurs="0" maxOccurs="1">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>standardLicenseHeader</xhtml:code> is the license steward's recommended text for per-file license grants. Place this element within <xhtml:code>text</xhtml:code> when the license contains the recommended grant text (for example, in an appendix). Make <xhtml:code>standardLicenseHeader</xhtml:code> a sibling of <xhtml:code>text</xhtml:code> when the license does not contain the recommended grant text.
</xhtml:p>
</documentation>
</annotation>
</element>
<element name="text" type="tns:formattedAltStandardLicenseHeaderTextType" minOccurs="0" maxOccurs="1">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>text</xhtml:code> is the license text as a standalone document.
</xhtml:p>
</documentation>
</annotation>
</element>
</all>
<attribute name="licenseId" type="string" use="required">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>licenseId</xhtml:code> is the short identifier used in <xhtml:a href="https://spdx.org/spdx-specification-21-web-version#h.jxpfx0ykyb60">SPDX License Expressions</xhtml:a>.
</xhtml:p>
</documentation>
</annotation>
</attribute>
<attribute name="isOsiApproved" type="boolean">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>isOsiApproved</xhtml:code> is true if and only if the license is approved by Open Source Initiative as listed <xhtml:a href="https://opensource.org/licenses">here</xhtml:a>.
</xhtml:p>
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string" use="required">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>name</xhtml:code> is the name of the license, as provided by the license steward. In the absence of an external license steward, the name is chosen by the SPDX legal team.
</xhtml:p>
</documentation>
</annotation>
</attribute>
<attribute name="listVersionAdded" type="string">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>listVersionAdded</xhtml:code> is the version of the license list which first included the license. This impacts the portability of a license identifier, because identifiers introduced in a later version may not be supported by tooling which targets an earlier version.
</xhtml:p>
</documentation>
</annotation>
</attribute>
<attribute name="deprecatedVersion" type="string">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>deprecatedVersion</xhtml:code> is the version of the license list which first deprecated the license. SPDX authors are encouraged to upgrade to the most recent equivalent identifier supported by their tooling. Future major releases of the license list may remove deprecated entries completely, after which new tools may no longer be able to understand them.
</xhtml:p>
</documentation>
</annotation>
</attribute>
</complexType>
<complexType name="crossRefsType">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>crossRefsType</xhtml:code> is a set of URIs for the license or exception. When the license steward has a URI devoted to the license, it must be the first entry in <xhtml:code>crossRefsType</xhtml:code>. The order in which the other child elements are listed is not significant.
</xhtml:p>
</documentation>
</annotation>
<sequence>
<element name="crossRef" type="anyURI" minOccurs="1" maxOccurs="unbounded">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>crossRef</xhtml:code> is a URI related to the license or exception. Two main types are supported: resources devoted to the license itself (either by the license steward or third parties) and examples of use in prominent projects. Dead links may be supplemented by archived replacements (e.g. through the <xhtml:a href="https://archive.org/">Internet Archive</xhtml:a>).
</xhtml:p>
</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="obsoletedBysType">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>obsoletedBysType</xhtml:code> is a wrapper for a set of <xhtml:code>obsoletedBy</xhtml:code> entries.
</xhtml:p>
</documentation>
</annotation>
<sequence>
<element name="obsoletedBy" type="tns:obsoletedByType" minOccurs="1" maxOccurs="unbounded" />
</sequence>
</complexType>
<complexType name="obsoletedByType" mixed="true">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>obsoletedByType</xhtml:code> represents a recommended replacement for license expressions containing a given license or exception. The algorithm for determining the recommended replacement in the context of a given license expression is:
</xhtml:p>
<xhtml:ol>
<xhtml:li>Parse the license expression to extract the short identifiers.</xhtml:li>
<xhtml:li>Look up <xhtml:code>obsoletedBy</xhtml:code> entries for the short identifiers.</xhtml:li>
<xhtml:li>If any <xhtml:code>obsoletedBy</xhtml:code> has an <xhtml:code>expression</xhtml:code> attribute that matches the source, the value of that <xhtml:code>obsoletedBy</xhtml:code> is the recommended replacement for that expression. Otherwise, the value of the <xhtml:code>obsoletedBy</xhtml:code> without an expression attribute is the recommended replacement for the short identifier.</xhtml:li>
</xhtml:ol>
<xhtml:p>
For example, the expression <xhtml:code>GPL-2.0+ WITH GCC-exception-2.0</xhtml:code> could be parsed to either of the following short license identifiers:
</xhtml:p>
<xhtml:ul>
<xhtml:li>
<xhtml:p>
<xhtml:code>GPL-2.0+</xhtml:code>, in which case there would be a single <xhtml:code>obsoletedBy</xhtml:code> with no <xhtml:code>expression</xhtml:code> attribute:
</xhtml:p>
<xhtml:p>
<xhtml:code><obsoletedBy>GPL-2.0-or-later</obsoletedBy></xhtml:code>
</xhtml:p>
<xhtml:p>
So the recommended replacement for <xhtml:code>GPL-2.0+</xhtml:code> would be <xhtml:code>GPL-2.0-or-later</xhtml:code>.
</xhtml:p>
</xhtml:li>
<xhtml:li>
<xhtml:p>
<xhtml:code>GPL-2.0</xhtml:code>, in which case there would be two <xhtml:code>obsoletedBy</xhtml:code> elements:
</xhtml:p>
<xhtml:p>
<xhtml:code><obsoletedBy>GPL-2.0-only</obsoletedBy></xhtml:code><xhtml:br/>
<xhtml:code><obsoletedBy expression="GPL-2.0+">GPL-2.0-or-later</obsoletedBy></xhtml:code>
</xhtml:p>
<xhtml:p>
The element with <xhtml:code>expression="GPL-2.0+"</xhtml:code> matches the initial license expression, so the recommended replacement for <xhtml:code>GPL-2.0+</xhtml:code> is <xhtml:code>GPL-2.0-or-later</xhtml:code>.
</xhtml:p>
</xhtml:li>
</xhtml:ul>
</documentation>
</annotation>
<attribute name="expression" type="string">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>expression</xhtml:code> is the license expression which is obsoleted by the expression contained by the element. Defaults to the bare identifier.
</xhtml:p>
</documentation>
</annotation>
</attribute>
</complexType>
<complexType name="altParagraphType" mixed="true">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>altParagraphType</xhtml:code> represents alternative content within a paragraph, where the SPDX considers several alternatives legally equivalent. The <xhtml:code>match</xhtml:code> will support the legally equivalent alternatives. While the SPDX will aim to exclude legally-signicant differences in <xhtml:code>match</xhtml:code>, this is not always possible. Consumers are encouraged to review matched text manually and make their own conclusions about legal significance.
</xhtml:p>
</documentation>
</annotation>
<group ref="tns:formattedFixedParagraphGroup" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
This formatted content (potentially empty) is the canonical text recommended by the SPDX. It should match at least one version of the canonical text currently recommended by the license steward, if any.
</xhtml:p>
</documentation>
</annotation>
</group>
<attribute name="name" type="string" use="required">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>name</xhtml:code> is a unique (within the license/exception) name for this <xhtml:code>altType</xhtml:code> element.
</xhtml:p>
</documentation>
</annotation>
</attribute>
<attribute name="match" type="string" use="required">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>match</xhtml:code> is the <xhtml:a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html#tag_09_04">POSIX extended regular expression (ERE)</xhtml:a> defining allowed matches. Where possible, alternates are listed in order of decreasing numbers of matched characters, which allows for regular expression engines using both POSIX's <xhtml:a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html#tag_09_01_02">longest-match</xhtml:a> semantics and those which prefer the leftmost branch (e.g. <xhtml:a href="https://golang.org/pkg/regexp/#Compile">Go</xhtml:a>, <xhtml:a href="https://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf#sec-alternative.cE">JavaScript</xhtml:a>, <xhtml:a href="http://perldoc.perl.org/perlre.html#Combining-RE-Pieces">Perl</xhtml:a>, <xhtml:a href="https://docs.python.org/3.5/library/re.html#regular-expression-syntax">Python</xhtml:a>, etc.)
</xhtml:p>
</documentation>
</annotation>
</attribute>
<attribute name="spacing" type="string" default="before">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>spacing</xhtml:code> defines how spacing is handled around the alt text. Since XML does not preserve white space, to render the text from the license XML we need to provide hints to the tools that translate the XML to text (or other formats). Valid values are <xhtml:code>none</xhtml:code> for no spaces before or after the alt text; <xhtml:code>before</xhtml:code> (default) for a space before, but not after the alt text; <xhtml:code>after</xhtml:code> for a space after, but not before the alt text; <xhtml:code>both</xhtml:code>a space before and after the alt text.
</xhtml:p>
</documentation>
</annotation>
</attribute>
</complexType>
<complexType name="altType" mixed="true">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>altType</xhtml:code> represents alternative content, where the SPDX considers several alternatives legally equivalent. The <xhtml:code>match</xhtml:code> will support the legally equivalent alternatives. While the SPDX will aim to exclude legally-signicant differences in <xhtml:code>match</xhtml:code>, this is not always possible. Consumers are encouraged to review matched text manually and make their own conclusions about legal significance.
</xhtml:p>
</documentation>
</annotation>
<group ref="tns:formattedFixedTextGroup" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
This formatted content (potentially empty) is the canonical text recommended by the SPDX. It should match at least one version of the canonical text currently recommended by the license steward, if any.
</xhtml:p>
</documentation>
</annotation>
</group>
<attribute name="name" type="string" use="required">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>name</xhtml:code> is a unique (within the license/exception) name for this <xhtml:code>altType</xhtml:code> element.
</xhtml:p>
</documentation>
</annotation>
</attribute>
<attribute name="match" type="string" use="required">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>match</xhtml:code> is the <xhtml:a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html#tag_09_04">POSIX extended regular expression (ERE)</xhtml:a> defining allowed matches. Where possible, alternates are listed in order of decreasing numbers of matched characters, which allows for regular expression engines using both POSIX's <xhtml:a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html#tag_09_01_02">longest-match</xhtml:a> semantics and those which prefer the leftmost branch (e.g. <xhtml:a href="https://golang.org/pkg/regexp/#Compile">Go</xhtml:a>, <xhtml:a href="https://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf#sec-alternative.cE">JavaScript</xhtml:a>, <xhtml:a href="http://perldoc.perl.org/perlre.html#Combining-RE-Pieces">Perl</xhtml:a>, <xhtml:a href="https://docs.python.org/3.5/library/re.html#regular-expression-syntax">Python</xhtml:a>, etc.)
</xhtml:p>
</documentation>
</annotation>
</attribute>
<attribute name="spacing" type="string" default="before">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>spacing</xhtml:code> defines how spacing is handled around the alt text. Since XML does not preserve white space, to render the text from the license XML we need to provide hints to the tools that translate the XML to text (or other formats). Valid values are <xhtml:code>none</xhtml:code> for no spaces before or after the alt text; <xhtml:code>before</xhtml:code> (default) for a space before, but not after the alt text; <xhtml:code>after</xhtml:code> for a space after, but not before the alt text; <xhtml:code>both</xhtml:code>a space before and after the alt text.
</xhtml:p>
</documentation>
</annotation>
</attribute>
</complexType>
<complexType name="optionalParagraphType" mixed="true">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>optionalType</xhtml:code> is formatted text within a paragraph that is not legally significant. The legal meaning of the license/exception is the same regardless of whether the optional text is included or not.
</xhtml:p>
</documentation>
</annotation>
<group ref="tns:formattedAltParagraphGroup" minOccurs="0" maxOccurs="unbounded"/>
<attribute name="spacing" type="string" default="before">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>spacing</xhtml:code> defines how spacing is handled around the optional text. Since XML does not preserve white space, to render the text from the license XML we need to provide hints to the tools that translate the XML to text (or other formats). Valid values are <xhtml:code>none</xhtml:code> for no spaces before or after the optional text; <xhtml:code>before</xhtml:code> (default) for a space before, but not after the optional text; <xhtml:code>after</xhtml:code> for a space after, but not before the optional text; <xhtml:code>both</xhtml:code>a space before and after the optional text.
</xhtml:p>
</documentation>
</annotation>
</attribute>
</complexType>
<complexType name="optionalType" mixed="true">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>optionalType</xhtml:code> is formatted text that is not legally significant. The legal meaning of the license/exception is the same regardless of whether the optional text is included or not.
</xhtml:p>
</documentation>
</annotation>
<group ref="tns:formattedAltTextGroup" minOccurs="0" maxOccurs="unbounded"/>
<attribute name="spacing" type="string" default="before">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>spacing</xhtml:code> defines how spacing is handled around the optional text. Since XML does not preserve white space, to render the text from the license XML we need to provide hints to the tools that translate the XML to text (or other formats). Valid values are <xhtml:code>none</xhtml:code> for no spaces before or after the optional text; <xhtml:code>before</xhtml:code> (default) for a space before, but not after the optional text; <xhtml:code>after</xhtml:code> for a space after, but not before the optional text; <xhtml:code>both</xhtml:code>a space before and after the optional text.
</xhtml:p>
</documentation>
</annotation>
</attribute>
</complexType>
<complexType name="optionalStandardLicenseHeaderParagraphType" mixed="true">
<group ref="tns:formattedAltStandardLicenseHeaderParagraphGroup" minOccurs="0" maxOccurs="unbounded"/>
<attribute name="spacing" type="string" default="before">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>spacing</xhtml:code> defines how spacing is handled around the optional text. Since XML does not preserve white space, to render the text from the license XML we need to provide hints to the tools that translate the XML to text (or other formats). Valid values are <xhtml:code>none</xhtml:code> for no spaces before or after the optional text; <xhtml:code>before</xhtml:code> (default) for a space before, but not after the optional text; <xhtml:code>after</xhtml:code> for a space after, but not before the optional text; <xhtml:code>both</xhtml:code>a space before and after the optional text.
</xhtml:p>
</documentation>
</annotation>
</attribute>
</complexType>
<complexType name="optionalStandardLicenseHeaderType" mixed="true">
<group ref="tns:formattedAltStandardLicenseHeaderTextGroup" minOccurs="0" maxOccurs="unbounded"/>
<attribute name="spacing" type="string" default="before">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>spacing</xhtml:code> defines how spacing is handled around the optional text. Since XML does not preserve white space, to render the text from the license XML we need to provide hints to the tools that translate the XML to text (or other formats). Valid values are <xhtml:code>none</xhtml:code> for no spaces before or after the optional text; <xhtml:code>before</xhtml:code> (default) for a space before, but not after the optional text; <xhtml:code>after</xhtml:code> for a space after, but not before the optional text; <xhtml:code>both</xhtml:code>a space before and after the optional text.
</xhtml:p>
</documentation>
</annotation>
</attribute>
</complexType>
<complexType name="listType">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>listType</xhtml:code> formats a list of entries. We do not distinguish between ordered and unordered lists, because bullets must be declared explicitly in the formatted content.
</xhtml:p>
</documentation>
</annotation>
<sequence>
<element name="item" type="tns:formattedAltTextType" minOccurs="1" maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="listStandardLicenseHeaderType">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>listStandardLicenseHeaderType</xhtml:code> is a <xhtml:code>listType</xhtml:code> that also allows <xhtml:code><standardLicenseHeader></xhtml:code> within its ancestor elements.
</xhtml:p>
</documentation>
</annotation>
<sequence>
<element name="item" type="tns:formattedAltStandardLicenseHeaderTextType" minOccurs="1" maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="emptyType">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>emptyType</xhtml:code> is empty, for elements like <xhtml:code><br/></xhtml:code> that must contain no content.
</xhtml:p>
</documentation>
</annotation>
</complexType>
<complexType name="formattedFixedParagraphType" mixed="true">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>formattedFixedParagraphType</xhtml:code> is formatted text without lists, optional or variable portions.
</xhtml:p>
</documentation>
</annotation>
<group ref="tns:formattedFixedParagraphGroup" minOccurs="0" maxOccurs="unbounded"/>
</complexType>
<complexType name="formattedFixedTextType" mixed="true">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>formattedFixedTextType</xhtml:code> is formatted text without optional or variable portions.
</xhtml:p>
</documentation>
</annotation>
<group ref="tns:formattedFixedTextGroup" minOccurs="0" maxOccurs="unbounded"/>
</complexType>
<complexType name="formattedAltParagraphType" mixed="true">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>formattedAltParagraphType</xhtml:code> is formatted text that allows optional and variable portions but disallows lists.
</xhtml:p>
</documentation>
</annotation>
<group ref="tns:formattedAltParagraphGroup" minOccurs="0" maxOccurs="unbounded"/>
</complexType>
<complexType name="formattedAltTextType" mixed="true">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>formattedAltTextType</xhtml:code> is formatted text that allows optional and variable portions.
</xhtml:p>
</documentation>
</annotation>
<group ref="tns:formattedAltTextGroup" minOccurs="0" maxOccurs="unbounded"/>
</complexType>
<complexType name="formattedAltStandardLicenseHeaderParagraphType" mixed="true">
<group ref="tns:formattedAltStandardLicenseHeaderParagraphGroup" minOccurs="0" maxOccurs="unbounded"/>
</complexType>
<complexType name="formattedAltStandardLicenseHeaderTextType" mixed="true">
<group ref="tns:formattedAltStandardLicenseHeaderTextGroup" minOccurs="0" maxOccurs="unbounded"/>
</complexType>
<group name="formattedFixedParagraphGroup">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>formattedFixedParagraphGroup</xhtml:code> is formatted text without lists, optional or variable portions. The children for <xhtml:code>formattedAltStandardLicenseHeaderParagraphGroup</xhtml:code> have the same semantics, except for the fixed/alt and standard license header distinctions. See the <xhtml:code>formattedAltStandardLicenseHeaderParagraphGroup</xhtml:code> documentation for details on the attribute semantics.
</xhtml:p>
</documentation>
</annotation>
<choice>
<element name="p" type="tns:formattedFixedParagraphType" minOccurs="0" maxOccurs="unbounded"/>
<element name="bullet" type="string" minOccurs="0" maxOccurs="unbounded"/>
<element name="br" type="tns:emptyType" minOccurs="0" maxOccurs="unbounded"/>
<element name="titleText" type="tns:formattedFixedParagraphType" minOccurs="0" maxOccurs="1"/>
<element name="copyrightText" type="tns:formattedFixedParagraphType" minOccurs="0" maxOccurs="1"/>
</choice>
</group>
<group name="formattedFixedTextGroup">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>formattedFixedTextGroup</xhtml:code> is formatted text without optional or variable portions. The children for <xhtml:code>formattedAltStandardLicenseHeaderTextGroup</xhtml:code> have the same semantics, except for the fixed/alt and standard license header distinctions. See the <xhtml:code>formattedAltStandardLicenseHeaderTextGroup</xhtml:code> documentation for details on the attribute semantics.
</xhtml:p>
</documentation>
</annotation>
<choice>
<element name="p" type="tns:formattedFixedParagraphType" minOccurs="0" maxOccurs="unbounded"/>
<element name="bullet" type="string" minOccurs="0" maxOccurs="unbounded"/>
<element name="list" type="tns:listType" minOccurs="0" maxOccurs="unbounded"/>
<element name="br" type="tns:emptyType" minOccurs="0" maxOccurs="unbounded"/>
<element name="titleText" type="tns:formattedFixedTextType" minOccurs="0" maxOccurs="1"/>
<element name="copyrightText" type="tns:formattedFixedTextType" minOccurs="0" maxOccurs="1"/>
</choice>
</group>
<group name="formattedAltParagraphGroup">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>formattedAltParagraphGroup</xhtml:code> is formatted text with optional and variable portions without lists. The children for <xhtml:code>formattedAltStandardLicenseHeaderParagraphGroup</xhtml:code> have the same semantics, except for the standard license header distinction. See the <xhtml:code>formattedAltStandardLicenseHeaderParagraphGroup</xhtml:code> documentation for details on the attribute semantics.
</xhtml:p>
</documentation>
</annotation>
<choice>
<element name="p" type="tns:formattedAltParagraphType" minOccurs="0" maxOccurs="unbounded"/>
<element name="bullet" type="string" minOccurs="0" maxOccurs="unbounded"/>
<element name="optional" type="tns:optionalParagraphType" minOccurs="0" maxOccurs="unbounded"/>
<element name="alt" type="tns:altParagraphType" minOccurs="0" maxOccurs="unbounded"/>
<element name="br" type="tns:emptyType" minOccurs="0" maxOccurs="unbounded"/>
<element name="titleText" type="tns:formattedAltParagraphType" minOccurs="0" maxOccurs="1"/>
<element name="copyrightText" type="tns:formattedAltParagraphType" minOccurs="0" maxOccurs="1"/>
</choice>
</group>
<group name="formattedAltTextGroup">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>formattedAltTextGroup</xhtml:code> is formatted text with optional and variable portions. The children for <xhtml:code>formattedAltStandardLicenseHeaderTextGroup</xhtml:code> have the same semantics, except for the standard license header distinction. See the <xhtml:code>formattedAltStandardLicenseHeaderTextGroup</xhtml:code> documentation for details on the attribute semantics.
</xhtml:p>
</documentation>
</annotation>
<choice>
<element name="p" type="tns:formattedAltParagraphType" minOccurs="0" maxOccurs="unbounded"/>
<element name="bullet" type="string" minOccurs="0" maxOccurs="unbounded"/>
<element name="list" type="tns:listType" minOccurs="0" maxOccurs="unbounded"/>
<element name="optional" type="tns:optionalType" minOccurs="0" maxOccurs="unbounded"/>
<element name="alt" type="tns:altType" minOccurs="0" maxOccurs="unbounded"/>
<element name="br" type="tns:emptyType" minOccurs="0" maxOccurs="unbounded"/>
<element name="titleText" type="tns:formattedAltTextType" minOccurs="0" maxOccurs="1"/>
<element name="copyrightText" type="tns:formattedAltTextType" minOccurs="0" maxOccurs="1"/>
</choice>
</group>
<group name="formattedAltStandardLicenseHeaderParagraphGroup">
<choice>
<element name="p" type="tns:formattedAltStandardLicenseHeaderParagraphType" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>p</xhtml:code> is a paragraph with the same semantics as in <xhtml:a href="https://www.w3.org/TR/html52/grouping-content.html#elementdef-p">HTML</xhtml:a>.
</xhtml:p>
</documentation>
</annotation>
</element>
<element name="bullet" type="string" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>bullet</xhtml:code> is a list-item bullet.
</xhtml:p>
</documentation>
</annotation>
</element>
<element name="optional" type="tns:optionalStandardLicenseHeaderParagraphType" minOccurs="0" maxOccurs="unbounded"/>
<element name="alt" type="tns:altParagraphType" minOccurs="0" maxOccurs="unbounded"/>
<element name="br" type="tns:emptyType" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>br</xhtml:code> is a line break with the same semantics as in <xhtml:a href="https://www.w3.org/TR/html52/textlevel-semantics.html#the-br-element">HTML</xhtml:a>.
</xhtml:p>
</documentation>
</annotation>
</element>
<element name="titleText" type="tns:formattedAltStandardLicenseHeaderParagraphType" minOccurs="0" maxOccurs="1">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>titleText</xhtml:code> is the title of the license/exception. This that the content should be formatted as a header and that it optional (as described in <xhtml:content>optionalType</xhtml:content>).
</xhtml:p>
</documentation>
</annotation>
</element>
<element name="copyrightText" type="tns:formattedAltStandardLicenseHeaderParagraphType" minOccurs="0" maxOccurs="1">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>copyrightText</xhtml:code> is the <xhtml:em>content</xhtml:em> copyright statement. Some licenses/exceptions (e.g. the GPL family) include a copright line for the license/exception itself; <xhtml:code>copyrightText</xhtml:code> should not be used for those cases.
</xhtml:p>
</documentation>
</annotation>
</element>
<element name="standardLicenseHeader" type="tns:formattedAltStandardLicenseHeaderParagraphType" minOccurs="0" maxOccurs="1">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>standardLicenseHeader</xhtml:code> is the license steward's recommended text for per-file license grants. Place this element within <xhtml:code>text</xhtml:code> when the license contains the recommended grant text (for example, in an appendix). Make <xhtml:code>standardLicenseHeader</xhtml:code> a sibling of <xhtml:code>text</xhtml:code> when the license does not contain the recommended grant text.
</xhtml:p>
</documentation>
</annotation>
</element>
</choice>
</group>
<group name="formattedAltStandardLicenseHeaderTextGroup">
<choice>
<element name="p" type="tns:formattedAltStandardLicenseHeaderParagraphType" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>p</xhtml:code> is a paragraph with the same semantics as in <xhtml:a href="https://www.w3.org/TR/html52/grouping-content.html#elementdef-p">HTML</xhtml:a>.
</xhtml:p>
</documentation>
</annotation>
</element>
<element name="bullet" type="string" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>bullet</xhtml:code> is a list-item bullet.
</xhtml:p>
</documentation>
</annotation>
</element>
<element name="list" type="tns:listStandardLicenseHeaderType" minOccurs="0" maxOccurs="unbounded"/>
<element name="optional" type="tns:optionalStandardLicenseHeaderType" minOccurs="0" maxOccurs="unbounded"/>
<element name="alt" type="tns:altType" minOccurs="0" maxOccurs="unbounded"/>
<element name="br" type="tns:emptyType" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>br</xhtml:code> is a line break with the same semantics as in <xhtml:a href="https://www.w3.org/TR/html52/textlevel-semantics.html#the-br-element">HTML</xhtml:a>.
</xhtml:p>
</documentation>
</annotation>
</element>
<element name="titleText" type="tns:formattedAltStandardLicenseHeaderTextType" minOccurs="0" maxOccurs="1">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>titleText</xhtml:code> is the title of the license/exception. This that the content should be formatted as a header and that it optional (as described in <xhtml:content>optionalType</xhtml:content>).
</xhtml:p>
</documentation>
</annotation>
</element>
<element name="copyrightText" type="tns:formattedAltStandardLicenseHeaderTextType" minOccurs="0" maxOccurs="1">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>copyrightText</xhtml:code> is the <xhtml:em>content</xhtml:em> copyright statement. Some licenses/exceptions (e.g. the GPL family) include a copright line for the license/exception itself; <xhtml:code>copyrightText</xhtml:code> should not be used for those cases.
</xhtml:p>
</documentation>
</annotation>
</element>
<element name="standardLicenseHeader" type="tns:formattedAltStandardLicenseHeaderTextType" minOccurs="0" maxOccurs="1">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>standardLicenseHeader</xhtml:code> is the license steward's recommended text for per-file license grants. Place this element within <xhtml:code>text</xhtml:code> when the license contains the recommended grant text (for example, in an appendix). Make <xhtml:code>standardLicenseHeader</xhtml:code> a sibling of <xhtml:code>text</xhtml:code> when the license does not contain the recommended grant text.
</xhtml:p>
</documentation>
</annotation>
</element>
</choice>
</group>
</schema>