Created
December 20, 2020 21:07
-
-
Save droyo/604d306ec1880d47d735dab16df619e2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// Code generated by xsdgen. DO NOT EDIT. | |
package ws | |
// Must be at least 1 items long | |
type Email string | |
// Must be at least 1 items long | |
type ВерсПрог string | |
// May be one of 5.02 | |
type ВерсФорм string | |
// Must match the pattern ([0-1]{1}[0-9]{1}|2[0-3]{1})\.([0-5]{1}[0-9]{1})\.([0-5]{1}[0-9]{1}) | |
type ВремяТип string | |
// Must match the pattern ((((0[1-9]{1}|1[0-9]{1}|2[0-8]{1})\.(0[1-9]{1}|1[0-2]{1}))|((29|30)\.(01|0[3-9]{1}|1[0-2]{1}))|(31\.(01|03|05|07|08|10|12)))\.((19|20)[0-9]{2}))|(29\.02\.((19|20)(((0|2|4|6|8)(0|4|8))|((1|3|5|7|9)(2|6))))) | |
type ДатаТип string | |
type Документ struct { | |
ОргПодт ОргПодт `xml:"http://example.com/ ОргПодт"` | |
СведПодтв СведПодтв `xml:"http://example.com/ СведПодтв"` | |
СвОтпр ОтпрПол `xml:"http://example.com/ СвОтпр"` | |
СвПолДок ОтпрПол `xml:"http://example.com/ СвПолДок"` | |
КНД КНД `xml:"КНД,attr"` | |
} | |
// Must match the pattern ([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{10} | |
type ИННФЛТип string | |
// Must match the pattern ([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{8} | |
type ИННЮЛТип string | |
// Must be at least 1 items long | |
type ИдФайл string | |
// May be no more than 3 items long | |
type ИденСОС string | |
// Must be at least 1 items long | |
type Имя string | |
// Must be at least 1 items long | |
type ИмяПостФайла string | |
// May be one of 1167002 | |
type КНД string | |
// Must match the pattern [0-9]{7} | |
type КНДТип string | |
// Must match the pattern ([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})([0-9]{2})([0-9A-Z]{2})([0-9]{3}) | |
type КППТип string | |
// Must be at least 1 items long | |
type НаимНО string | |
// Must be at least 1 items long | |
type НаимОрг string | |
type ОргПодт struct { | |
СпецОперат СпецОперат `xml:"http://example.com/ СпецОперат"` | |
НО СвНО `xml:"http://example.com/ НО"` | |
} | |
// Сведения об участнике электронного обмена | |
type ОтпрПол struct { | |
ОтпрЮЛ ОтпрЮЛ `xml:"http://example.com/ ОтпрЮЛ"` | |
ОтпрФЛ ОтпрФЛ `xml:"http://example.com/ ОтпрФЛ"` | |
ОтпрНО СвНО `xml:"http://example.com/ ОтпрНО"` | |
Email Email `xml:"E-mail,attr"` | |
} | |
type ОтпрФЛ struct { | |
ФИО ФИОТип `xml:"http://example.com/ ФИО"` | |
ИННФЛ ИННФЛТип `xml:"ИННФЛ,attr,omitempty"` | |
} | |
type ОтпрЮЛ struct { | |
НаимОрг НаимОрг `xml:"НаимОрг,attr"` | |
ИННЮЛ ИННЮЛТип `xml:"ИННЮЛ,attr"` | |
КПП КППТип `xml:"КПП,attr"` | |
} | |
// Must be at least 1 items long | |
type Отчество string | |
// Must match the pattern [0-9]{4} | |
type СОНОТип string | |
// Сведения о налоговом органе | |
type СвНО struct { | |
КодНО СОНОТип `xml:"КодНО,attr"` | |
НаимНО НаимНО `xml:"НаимНО,attr"` | |
} | |
type СведОтпрФайл struct { | |
ЭЦППолФайл []ЭЦППолФайл `xml:"http://example.com/ ЭЦППолФайл"` | |
ИмяПостФайла ИмяПостФайла `xml:"ИмяПостФайла,attr"` | |
} | |
type СведПодтв struct { | |
СведОтпрФайл []СведОтпрФайл `xml:"http://example.com/ СведОтпрФайл"` | |
ДатаОтпр ДатаТип `xml:"ДатаОтпр,attr"` | |
ВремяОтпр ВремяТип `xml:"ВремяОтпр,attr"` | |
} | |
type СпецОперат struct { | |
НаимОрг НаимОрг `xml:"НаимОрг,attr"` | |
ИденСОС ИденСОС `xml:"ИденСОС,attr"` | |
} | |
// Фамилия, имя, отчество | |
type ФИОТип struct { | |
Фамилия Фамилия `xml:"Фамилия,attr"` | |
Имя Имя `xml:"Имя,attr"` | |
Отчество Отчество `xml:"Отчество,attr,omitempty"` | |
} | |
type Файл struct { | |
Документ Документ `xml:"http://example.com/ Документ"` | |
ИдФайл ИдФайл `xml:"ИдФайл,attr"` | |
ВерсПрог ВерсПрог `xml:"ВерсПрог,attr"` | |
ВерсФорм ВерсФорм `xml:"ВерсФорм,attr"` | |
} | |
// Must be at least 1 items long | |
type Фамилия string | |
// Must be at least 1 items long | |
type ЭЦППолФайл string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment