Skip to content

Commit

Permalink
Merge pull request #14 from uncefact/fix_csv-files-split
Browse files Browse the repository at this point in the history
fix: minor fix for functions jsonld file
  • Loading branch information
kshychko authored May 28, 2024
2 parents e49fa02 + 0129ed8 commit 16838b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class UNLOCODEToJSONLDVocabulary extends Transformer {
functionsMap.put("6", new Function("6", "Multimodal transport facility", "Any location where one or more of the below facilities can be found: Inland Clearance Depot (ICD): a multimodal transport facility, other than a sea port or an airport, which is approved by a competent body, equipped with fixed installations and offering services for the handling and temporary storage of any kind of goods (including containers) carried under customs transit by any applicable mode of transport, placed under customs control and, with customs and other agencies, competent to clear goods for home use, warehousing, temporary admission, re-export, temporary storage for onward transit and outright export. (Definition applies also to synonyms like Dry Port, Inland Clearance Terminal, etc.) Container Depot: a multimodal transport facility which offers services for storage, repair and maintenance of containers. Inland freight terminal: a multimodal transport facility, other than a sea port or an airport, operated on a common- user basis, at which trade cargo is received or dispatched."));
functionsMap.put("7", new Function("7", "Fixed Transport Installation (oil pipeline terminal, electric power lines, ropeway terminals, etc.)", "Any location with permanent facilities to load or discharge cargo that doesn’t fit in the previous definitions (e.g. oil platform)."));
functionsMap.put("8", new Function("8", "Inland water transport (river ports, and lake ports)", "Any location with permanent facilities at which vessels can load or discharge cargo moving in inland waterway traffic."));
functionsMap.put("0", new Function("0", "Not officially functional", "Digit '0' means that the criteria for inclusion apply, but that no information is available or used which is recognized by the competent authority regarding the specific transport mode or function(s) of the location."));
functionsMap.put("0", new Function("0", "Not officially functional", "Digit \"0\" means that the criteria for inclusion apply, but that no information is available or used which is recognized by the competent authority regarding the specific transport mode or function(s) of the location."));
functionsMap.put("B", new Function("B", "Cross Border (former code; not to be used) ", "Any location that is located on the border with other"));
functionsMap.put("A", new Function("A", "Special Economic Zone (SEZ)", "Any geographic region that has economic laws different from a country's typical economic laws for the purposes of trade operations and duties and tariffs."));
for (String key : functionsMap.keySet()) {
Expand All @@ -75,7 +75,7 @@ public class UNLOCODEToJSONLDVocabulary extends Transformer {
}


public UNLOCODEToJSONLDVocabulary(Set<String> inputFiles, Set<String> defaultInputFiles, boolean prettyPrint) {
public UNLOCODEToJSONLDVocabulary(Set<String> inputFiles, Set<String> defaultInputFiles, boolean prettyPrint) {
super(null);
setInputFiles(inputFiles);
setDefaultInputFiles(defaultInputFiles);
Expand Down
2 changes: 1 addition & 1 deletion vocab/unlocode-functions.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@id": "unlcdf:0",
"@type": "unlcdv:Function",
"rdf:value": "0",
"rdfs:comment": "Digit '0' means that the criteria for inclusion apply, but that no information is available or used which is recognized by the competent authority regarding the specific transport mode or function(s) of the location.",
"rdfs:comment": "Digit \"0\" means that the criteria for inclusion apply, but that no information is available or used which is recognized by the competent authority regarding the specific transport mode or function(s) of the location.",
"rdfs:label": "Not officially functional"
},
{
Expand Down

0 comments on commit 16838b4

Please sign in to comment.