forked from akretion/nfelib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xsdata.xml
65 lines (62 loc) · 3.86 KB
/
.xsdata.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
<?xml version="1.0" encoding="UTF-8"?>
<Config xmlns="http://pypi.org/project/xsdata" version="22.7">
<Output maxLineLength="79">
<Package>generated</Package>
<Format repr="true" eq="true" order="false" unsafeHash="false" frozen="false" slots="false" kwOnly="false">dataclasses</Format>
<Structure>filenames</Structure>
<DocstringStyle>reStructuredText</DocstringStyle>
<RelativeImports>false</RelativeImports>
<CompoundFields defaultName="choice" forceDefaultName="false">false</CompoundFields>
<PostponedAnnotations>false</PostponedAnnotations>
<UnnestClasses>false</UnnestClasses>
</Output>
<Extensions>
<Extension type="class" class=".*" import="nfelib.CommonMixin" prepend="false" applyIfDerived="false"/>
</Extensions>
<Conventions>
<ClassName case="pascalCase" safePrefix="type"/>
<FieldName case="originalCase" safePrefix="value"/>
<ConstantName case="screamingSnakeCase" safePrefix="value"/>
<ModuleName case="snakeCase" safePrefix="mod"/>
<PackageName case="snakeCase" safePrefix="pkg"/>
</Conventions>
<Substitutions>
<!-- defaults : -->
<Substitution type="package" search="http://www.w3.org/2001/XMLSchema" replace="xs"/>
<Substitution type="package" search="http://www.w3.org/XML/1998/namespace" replace="xml"/>
<Substitution type="package" search="http://www.w3.org/2001/XMLSchema-instance" replace="xsi"/>
<Substitution type="package" search="http://www.w3.org/1999/xlink" replace="xlink"/>
<Substitution type="package" search="http://www.w3.org/1999/xhtml" replace="xhtml"/>
<Substitution type="package" search="http://schemas.xmlsoap.org/wsdl/soap/" replace="soap"/>
<Substitution type="package" search="http://schemas.xmlsoap.org/wsdl/soap12/" replace="soap12"/>
<Substitution type="package" search="http://schemas.xmlsoap.org/soap/envelope/" replace="soapenv"/>
<!-- xmldsig : -->
<Substitution type="field" search="^@any_element$" replace="any_element"/>
<Substitution type="field" search="^@other_element$" replace="other_element"/>
<Substitution type="field" search="^@any_attributes$" replace="any_attributes"/>
<Substitution type="field" search="^Signature$" replace="signature"/>
<Substitution type="field" search="^SignatureMethod$" replace="signatureMethod"/>
<Substitution type="field" search="^SignatureValue$" replace="signatureValue"/>
<Substitution type="field" search="^CanonicalizationMethod$" replace="canonicalizationMethod"/>
<Substitution type="field" search="^DigestValue$" replace="digestValue"/>
<Substitution type="field" search="^DigestMethod$" replace="digestMethod"/>
<Substitution type="field" search="^SignatureProperty$" replace="signatureProperty"/>
<Substitution type="field" search="^SignaturePropertiesType$" replace="signaturePropertiesType"/>
<Substitution type="field" search="^Transform$" replace="transform"/>
<Substitution type="field" search="^Transforms$" replace="transforms"/>
<Substitution type="field" search="^TransformType$" replace="transformType"/>
<Substitution type="field" search="^TransformsType$" replace="transformsType"/>
<Substitution type="field" search="^Reference$" replace="reference"/>
<Substitution type="field" search="^SignedInfo$" replace="signedInfo"/>
<Substitution type="field" search="^KeyInfo$" replace="keyInfo"/>
<!-- generics (NFe and others): -->
<Substitution type="class" search="^Class$" replace="Type"/>
<Substitution type="class" search="^Object$" replace="_Object"/>
<Substitution type="class" search="^Id$" replace="id"/>
<!-- CTe: -->
<Substitution type="field" search="^Comp$" replace="comp"/>
<Substitution type="field" search="^Entrega$" replace="entrega"/>
<Substitution type="field" search="^ObsCont$" replace="obsCont"/>
<Substitution type="field" search="^ObsFisco$" replace="obsFisco"/>
</Substitutions>
</Config>