1#[derive(Debug, Clone, Copy, PartialEq, Eq)]
10pub struct Licence {
11 pub id: &'static str,
13 pub covers: &'static str,
15 pub text: &'static str,
17}
18
19pub const LICENCES: &[Licence] = &[
25 Licence {
26 id: "MIT",
27 covers: "the code of einvoice-xsd",
28 text: include_str!("../LICENSES/MIT.txt"),
29 },
30 Licence {
31 id: "LicenseRef-OASIS-Copyright-Notice",
32 covers: "the OASIS UBL 2.1 schema modules embedded by einvoice-xsd \
33 (xsd/maindoc/UBL-*-2.1.xsd and xsd/common/UBL-*-2.1.xsd, except \
34 UBL-xmldsig-core-schema-2.1.xsd), copyright OASIS Open 2013",
35 text: include_str!("../LICENSES/LicenseRef-OASIS-Copyright-Notice.txt"),
36 },
37 Licence {
38 id: "LicenseRef-UN-CEFACT-Copyright-Notice",
39 covers: "xsd/common/CCTS_CCT_SchemaModule-2.1.xsd of the UBL 2.1 schemas embedded \
40 by einvoice-xsd, copyright UN/CEFACT 2006; and the UN/CEFACT CII D16B \
41 schemas embedded by einvoice-xsd, unmodified, copyright UN/CEFACT 2016: \
42 uncefact/data/standard/CrossIndustryInvoice_100pD16B.xsd, \
43 uncefact/data/standard/CrossIndustryInvoice_QualifiedDataType_100pD16B.xsd, \
44 uncefact/data/standard/CrossIndustryInvoice_ReusableAggregateBusinessInformationEntity_100pD16B.xsd \
45 and uncefact/data/standard/CrossIndustryInvoice_UnqualifiedDataType_100pD16B.xsd",
46 text: include_str!("../LICENSES/LicenseRef-UN-CEFACT-Copyright-Notice.txt"),
47 },
48 Licence {
49 id: "W3C-19980720",
50 covers: "xsd/common/UBL-xmldsig-core-schema-2.1.xsd of the UBL 2.1 schemas embedded \
51 by einvoice-xsd: the W3C XML Signature schema (copyright The Internet \
52 Society and W3C), as modified by OASIS (DOCTYPE identifiers removed) and \
53 published in the UBL 2.1 package; einvoice-xsd does not modify it",
54 text: include_str!("../LICENSES/W3C-19980720.txt"),
55 },
56];