Addresses.asn

Addresses DEFINITIONS IMPLICIT TAGS ::=

BEGIN

EXPORTS AddressType,

ReportedAddresses,

ReportedAddress,

RequestedAddress;

AddressType ::= ENUMERATED {

physical (0), --- физический

legal (1), --- юридический

delivery (2), --- доставки счета

receive (3), --- приезда курьера

common (4), --- общий

other (5) --- другой

}

ReportedAddresses ::= SEQUENCE OF ReportedAddress

ReportedAddress ::= SEQUENCE {

address-info AddressInfoReport, --- адрес

title AddressType OPTIONAL --- тип адреса

}

AddressInfoReport ::= CHOICE {

struct-info[0] AddressStructInfoReport, ---

структурированный адрес

unstruct-mfo[1] UTF8String(SIZE (1 .. 1024)) ---

неструктурированный адрес

}

AddressStructInfoReport ::= SEQUENCE {

zip [0] UTF8String (SIZE (1 .. 32)) OPTIONAL, --- почтовый

индекс, zip-код

country [1] UTF8String (SIZE (1 .. 128)) OPTIONAL, --- страна

region [2] UTF8String (SIZE (1 .. 128)) OPTIONAL, --- область

zone [3] UTF8String (SIZE (1 .. 128)) OPTIONAL, --- район,

муниципальный округ

city [4] UTF8String (SIZE (1 .. 128)) OPTIONAL, --- город,

поселок, деревня

street [5] UTF8String (SIZE (1 .. 128)) OPTIONAL, --- улица

building [6] UTF8String (SIZE (1 .. 128)) OPTIONAL, --- дом,

строение

build-sect [7] UTF8String (SIZE (1 .. 128)) OPTIONAL, --- корпус

apartment [8] UTF8String (SIZE (1 .. 128)) OPTIONAL --- квартира,

офис

}

RequestedAddress ::= SEQUENCE {

address-info RequestedAddressInfo, --- адрес

title AddressType OPTIONAL --- тип адреса

}

RequestedAddressInfo ::= CHOICE {

struct-info[0] RequestedAddressStructInfo, ---

структурированный адрес

unstruct-info[1] UTF8String(SIZE (1 .. 1024)) ---

неструктурированный адрес

}

RequestedAddressStructInfo ::= SEQUENCE {

country [0] UTF8String (SIZE (1 .. 128)), --- страна

region [1] UTF8String (SIZE (1 .. 128)) OPTIONAL, --- область

zone [2] UTF8String (SIZE (1 .. 128)) OPTIONAL, --- район,

муниципальный округ

city [3] UTF8String (SIZE (1 .. 128)) OPTIONAL, --- город,

поселок, деревня

street [4] UTF8String (SIZE (1 .. 128)) OPTIONAL, --- улица

building [5] UTF8String (SIZE (1 .. 128)) OPTIONAL, --- дом,

строение

build-sect [6] UTF8String (SIZE (1 .. 128)) OPTIONAL, --- корпус

apartment [7] UTF8String (SIZE (1 .. 128)) OPTIONAL, --- квартира,

офис

zip [8] UTF8String (SIZE (1 .. 32)) OPTIONAL --- почтовый

индекс, zip-код

}

END