From 5152f607f112f138e3a1fc0cb142191f15d1dcc0 Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Thu, 11 Feb 2021 14:37:29 +0300 Subject: [PATCH] [#129] netmap: Describe UN-LOCODE related attributes Signed-off-by: Stanislav Bogatyrev --- netmap/types.proto | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/netmap/types.proto b/netmap/types.proto index c7220ad..12a2c8d 100644 --- a/netmap/types.proto +++ b/netmap/types.proto @@ -153,30 +153,34 @@ message NodeInfo { // * UN-LOCODE \ // Node's geographic location in // [UN/LOCODE](https://www.unece.org/cefact/codesfortrade/codes_index.html) - // format approximated to the nearest point defined in standard. + // format approximated to the nearest point defined in the standard. // * CountryCode \ - // TODO: write description. - // * Country \ // Country code in // [ISO 3166-1_alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) - // format. Calculated automatically from `Locode` attribute - // * LocationCode \ - // TODO: write description. + // format. Calculated automatically from `UN-LOCODE` attribute. + // * Country \ + // Country short name in English, as defined in + // [ISO-3166](https://www.iso.org/obp/ui/#search). Calculated automatically + // from `UN-LOCODE` attribute. // * Location \ - // TODO: write description. + // Place names are given, whenever possible, in their national language + // versions as expressed in the Roman alphabet using the 26 characters of + // the character set adopted for international trade data interchange, + // written without diacritics . Calculated automatically from `UN-LOCODE` + // attribute. // * SubDivCode \ - // TODO: write description. + // Country's administrative subdivision where node is located. Calculated + // automatically from `UN-LOCODE` attribute based on `SubDiv` field. + // Presented in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) + // format. // * SubDiv \ - // TODO: write description. + // Country's administrative subdivision name, as defined in + // [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). Calculated + // automatically from `UN-LOCODE` attribute. // * Continent \ - // TODO: write description. - // * Region \ - // Country's administative subdivision where node is located. Calculated - // automatically from `Locode` attribute based on `SubDiv` field. Presented - // in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format. - // * City \ - // City, town, village or rural area name where node is located written - // without diacritics . Calculated automatically from `Locode` attribute. + // Node's continent name according to the [Seven-Continent model] + // (https://en.wikipedia.org/wiki/Continent#Number). Calculated + // automatically from `UN-LOCODE` attribute. // // For detailed description of each well-known attribute please see the // corresponding section in NeoFS Technical specification.