Mercurial > lada > lada-server
diff import.json @ 312:fb47c445af20
Config file for LAF importer.
Copy to some location and set the system property to this location.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 20 Aug 2013 16:21:55 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/import.json Tue Aug 20 16:21:55 2013 +0200 @@ -0,0 +1,253 @@ +{ + "probe": [{ + "key": "uebertragungsformat", + "regex": ".{1}", + "default": "0" + }, { + "key": "version", + "regex": ".{4}", + "default": "0000" + }, { + "key": "datenbasis", + "regex": ".{1,6}", + "default": "" + }, { + "key": "datenbasis_s", + "regex": "[0-9]{2}", + "default": "00" + }, { + "key": "netzkennung", + "regex": ".{2}", + "default": "00" + }, { + "key": "erzeuger", + "regex": ".{2}", + "default": "00" + }, { + "key": "staat_der_messstelle_lang", + "regex": ".+", + "default": "" + }, { + "key": "staat_der_messstelle_kurz", + "regex": ".{1,5}", + "default": "" + }, { + "key": "staat_der_messstelle_s", + "regex": "[0-9]{8}", + "default": "" + }, { + "key": "messstelle", + "regex": ".{5}", + "default": "" + }, { + "key": "probe_id", + "regex": ".{1,16}", + "default": "" + }, { + "key": "hauptprobennummer", + "regex": ".{1,20}", + "default": "" + }, { + "key": "messprogramm_c", + "regex": ".+", + "default": "" + }, { + "key": "messprogramm_s", + "regex": ".{1}", + "default": "" + }, { + "key": "messprogramm_land", + "regex": ".{1,3}", + "default": "" + }, { + "key": "mpr_id", + "regex": "[0-9]{5}", + "default": "" + }, { + "key": "probenahmeinstitution", + "regex": ".{1,9}", + "default": "" + }, { + "key": "probenart", + "regex": ".{1}", + "default": "" + }, { + "key": "zeitbasis", + "regex": ".+", + "default": "" + }, { + "key": "zeitbasis_s", + "regex": "[0-9]{1}", + "default": "" + }, { + "key": "soll_datum_uhrzeit_a", + "regex": "[0-9]{8} [0-9]{4}", + "default": "" + }, { + "key": "soll_datum_uhrzeit_e", + "regex": "[0-9]{8} [0-9]{4}", + "default": "" + }, { + "key": "probenahme_datum_uhrzeit_a", + "regex": "[0-9]{8} [0-9]{4}", + "default": "" + }, { + "key": "probenahme_datum_uhrzeit_e", + "regex": "[0-9]{8} [0-9]{4}", + "default": "" + }, { + "key": "umweltbereich_c", + "regex": ".+", + "default": "" + }, { + "key": "umweltbereich_s", + "regex": ".{3}", + "default": "" + }, { + "key": "deskriptoren", + "regex": ".{1,100}", + "default": "" + }, { + "key": "rei_programmpunkt", + "regex": ".{1,10}", + "default": "" + }, { + "key": "rei_programmpunktgruppe", + "regex": ".{1,21}", + "default": "" + }, { + "key": "testdaten", + "regex": "[0-9]{1}", + "default": "" + }, { + "key": "szenario", + "regex": ".{1,20}", + "default": "" + }, { + "key": "probenkommentar", + "regex": ".{3,7} [0-9]{8} [0-9]{4} [.|\\s]{3,300}", + "default": "" + }], + "messung": [{ + "key": "messungs_id", + "regex": "[0-9]{2}", + "default": "" + }, { + "key": "nebenprobennummer", + "regex": ".{1,4}", + "default": "" + }, { + "key": "mess_datum_uhrzeit", + "regex": "[0-9]{8} [0-9]{4}", + "default": "" + }, { + "key": "messzeit_sekunden", + "regex": "[0-9]{8}", + "default": "" + }, { + "key": "messmethode_c", + "regex": ".+", + "default": "" + }, { + "key": "messmethode_s", + "regex": ".{2}", + "default": "" + }, { + "key": "bearbeitungsstatus", + "regex": ".{1,4}", + "default": "" + }, { + "key": "erfassung_abgeschlossen", + "regex": "[0-9]{1}", + "default": "" + }, { + "key": "messwert", + "regex": ".+ [0-9]{1,11},[0-9]{1,11} .{1,9} [0-9]{0,8},{0,1}[0-9]{0,8} [0-9]{1,11},[0-9]{1,11} [0-9]{0,8},{0,1}[0-9]{0,8} [0-9]{0,8},{0,1}[0-9]{0,8} .{1}", + "default": "" + }, { + "key": "kommentar", + "regex": ".{1,5} [0-9]{8} [0-9]{4} .{1,300}", + "default": "" + }], + "ort": [{ + "key": "ort_id", + "regex": "[0-9]{10}", + "default": "" + }, { + "key": "ort_typ", + "regex": ".{1}", + "default": "" + }, { + "key": "ort_zusatztext", + "regex": ".+", + "default": "" + }, { + "key": "ort_land_lang", + "regex": ".+", + "default": "" + }, { + "key": "ort_land_kurz", + "regex": ".{1,5}", + "default": "" + }, { + "key": "ort_land_s", + "regex": "[0-9]{8}", + "default": "" + }, { + "key": "ort_netzbetreiber", + "regex": ".{2}", + "default": "" + }, { + "key": "ort_gemeindeschlüssel", + "regex": "[0-9]{8}", + "default": "" + }, { + "key": "ort_gemeindename", + "regex": ".+", + "default": "" + }, { + "key": "ort_koordinatenart", + "regex": "[0-9]{1}", + "default": "" + }, { + "key": "ort_koordinaten", + "regex": ".+ .{1,22} .{1,22}", + "default": "" + }, { + "key": "ort_koordinaten_s", + "regex": "[0-9]{2} .{1,22} .{1,22}", + "default": "" + }, { + "key": "ort_bezeichnung", + "regex": ".{1,10}", + "default": "" + }, { + "key": "ort_beschreibung", + "regex": ".{1,100}", + "default": "" + }, { + "key": "ort_nuts_code", + "regex": "[0-9]{10}", + "default": "" + }, { + "key": "ort_hoehe_land", + "regex": "[0-9]{1,9},[0-9]{1,9}", + "default": "" + }, { + "key": "ort_unschaerfe_flag", + "regex": ".{1}", + "default": "" + }, { + "key": "probenzusatzbeschreibung", + "regex": ".+ [0-9]{1,11},[0-9]{1,11} .{1,9} [0-9]{1,8},[0-9]{1,8}", + "default": "" + }, { + "key": "pzb_s", + "regex": ".{8} [0-9]{1,11},[0-9]{1,11} [0-9]{3} [0-9]{1,8},[0-9]{1,8}", + "default": "" + }, { + "key": "probenkommentar", + "regex": ".{1,5} [0-9]{8} [0-9]{4} .{1,300}", + "default": "" + }] +}