changeset 611:8782e3a00b71

Added importer configuration.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 16 Apr 2015 15:49:27 +0200
parents 374a2e78cec5
children 23ab3247b36e
files src/main/resources/import.json
diffstat 1 files changed, 261 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/resources/import.json	Thu Apr 16 15:49:27 2015 +0200
@@ -0,0 +1,261 @@
+{
+    "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]{1,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": "medium",
+        "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]{1,4}",
+        "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]{1,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]{1,10}",
+        "default": ""
+    }, {
+        "key": "ort_code",
+        "regex": ".{3,12}",
+        "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]{1,8}",
+        "default": ""
+    }, {
+        "key": "ort_netzbetreiber",
+        "regex": ".{2}",
+        "default": ""
+    }, {
+        "key": "ort_gemeindeschluessel",
+        "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": ".{1,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": ""
+    }]
+}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)