-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed zf2 schema file location, added zf1 schema files and check, a…
…dded some tests
- Loading branch information
Jochen Stärk
authored and
Jochen Stärk
committed
Jul 8, 2019
1 parent
3d4433a
commit 20f6f5b
Showing
22 changed files
with
769 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xs:schema xmlns:rsm="urn:ferd:CrossIndustryDocument:invoice:1p0" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:12" | ||
xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12" | ||
xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15" | ||
targetNamespace="urn:ferd:CrossIndustryDocument:invoice:1p0" | ||
elementFormDefault="qualified"> | ||
<xs:import namespace="urn:un:unece:uncefact:data:standard:QualifiedDataType:12" schemaLocation="ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_QualifiedDataType_12.xsd"/> | ||
<xs:import namespace="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12" schemaLocation="ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_12.xsd"/> | ||
<xs:import namespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15" schemaLocation="ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_15.xsd"/> | ||
<xs:element name="CrossIndustryDocument" type="rsm:CrossIndustryDocumentType"/> | ||
<xs:complexType name="CrossIndustryDocumentType"> | ||
<xs:sequence> | ||
<xs:element name="SpecifiedExchangedDocumentContext" type="ram:ExchangedDocumentContextType"/> | ||
<xs:element name="HeaderExchangedDocument" type="ram:ExchangedDocumentType"/> | ||
<xs:element name="SpecifiedSupplyChainTradeTransaction" type="ram:SupplyChainTradeTransactionType"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:schema> |
76 changes: 76 additions & 0 deletions
76
...ources/schema/zf1/ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_QualifiedDataType_12.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xs:schema xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:12" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15" | ||
targetNamespace="urn:un:unece:uncefact:data:standard:QualifiedDataType:12" | ||
elementFormDefault="qualified" | ||
version="12.0"> | ||
<xs:import namespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15" schemaLocation="ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_15.xsd"/> | ||
<xs:simpleType name="AllowanceChargeReasonCodeContentType"> | ||
<xs:restriction base="xs:token"/> | ||
</xs:simpleType> | ||
<xs:complexType name="AllowanceChargeReasonCodeType"> | ||
<xs:simpleContent> | ||
<xs:extension base="qdt:AllowanceChargeReasonCodeContentType"/> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
<xs:simpleType name="CountryIDContentType"> | ||
<xs:restriction base="xs:token"/> | ||
</xs:simpleType> | ||
<xs:complexType name="CountryIDType"> | ||
<xs:simpleContent> | ||
<xs:extension base="qdt:CountryIDContentType"/> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
<xs:simpleType name="DateMandatoryDateTimeType"> | ||
<xs:union memberTypes="xs:dateTime xs:date"/> | ||
</xs:simpleType> | ||
<xs:simpleType name="DeliveryTermsCodeContentType"> | ||
<xs:restriction base="xs:token"/> | ||
</xs:simpleType> | ||
<xs:complexType name="DeliveryTermsCodeType"> | ||
<xs:simpleContent> | ||
<xs:extension base="qdt:DeliveryTermsCodeContentType"/> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
<xs:simpleType name="DocumentCodeContentType"> | ||
<xs:restriction base="xs:token"/> | ||
</xs:simpleType> | ||
<xs:complexType name="DocumentCodeType"> | ||
<xs:simpleContent> | ||
<xs:extension base="qdt:DocumentCodeContentType"/> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
<xs:simpleType name="PaymentMeansCodeContentType"> | ||
<xs:restriction base="xs:token"/> | ||
</xs:simpleType> | ||
<xs:complexType name="PaymentMeansCodeType"> | ||
<xs:simpleContent> | ||
<xs:extension base="qdt:PaymentMeansCodeContentType"/> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
<xs:simpleType name="ReferenceCodeContentType"> | ||
<xs:restriction base="xs:token"/> | ||
</xs:simpleType> | ||
<xs:complexType name="ReferenceCodeType"> | ||
<xs:simpleContent> | ||
<xs:extension base="qdt:ReferenceCodeContentType"/> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
<xs:simpleType name="TaxCategoryCodeContentType"> | ||
<xs:restriction base="xs:token"/> | ||
</xs:simpleType> | ||
<xs:complexType name="TaxCategoryCodeType"> | ||
<xs:simpleContent> | ||
<xs:extension base="qdt:TaxCategoryCodeContentType"/> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
<xs:simpleType name="TaxTypeCodeContentType"> | ||
<xs:restriction base="xs:token"/> | ||
</xs:simpleType> | ||
<xs:complexType name="TaxTypeCodeType"> | ||
<xs:simpleContent> | ||
<xs:extension base="qdt:TaxTypeCodeContentType"/> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:schema> |
Oops, something went wrong.