From 898d581aba5d41cab86fe69403fbcd5e6605fdb0 Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Wed, 27 Apr 2022 10:19:32 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Eapi=20v1=20compensation=20json=20prope?= =?UTF-8?q?rties=20de=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api-v1-compensation-json-properties-de.md | 43 ++++++++--------------- 1 file changed, 15 insertions(+), 28 deletions(-) diff --git a/api-v1-compensation-json-properties-de.md b/api-v1-compensation-json-properties-de.md index 24a74a1..c9dd139 100644 --- a/api-v1-compensation-json-properties-de.md +++ b/api-v1-compensation-json-properties-de.md @@ -54,21 +54,10 @@ "before_states": [ { "biotope": "136156", - "biotope_details": [], - "surface": 1000.0 - }, - { - "biotope": "136156", - "biotope_details": [], - "surface": 11.0 - }, - { - "biotope": "136159", "biotope_details": [ - "138046", - "161751" + "138046" ], - "surface": 1.0 + "surface": 1000.0 } ], "after_states": [ @@ -80,20 +69,17 @@ ], "actions": [ { - "action": "709452", - "action_details": [], - "amount": 1000.0, - "unit": "qm", - "comment": "" - }, - { - "action": "709130", - "action_details": [ - "709649", + "action_types": [ + "709297", + "709289", + "709299" + ], + "action_details": [ + "709649", "709709" ], - "amount": 1.0, - "unit": "pcs", + "amount": 1000.0, + "unit": "qm", "comment": "" } ], @@ -106,6 +92,7 @@ ] } } + ``` @@ -138,12 +125,12 @@ * Aufbau identisch zu `before_states` * `actions` (list): * Enthält Informationen zu einer Menge von konkreten Maßnahmen, welche durchgeführt wurden, um die beschriebene Biotopveränderung zu bewirken -* `action.action` (str): - * Identifiziert eindeutig eine Maßnahme +* `action.action_types` (list): + * Identifiziert eindeutig eine Menge von Maßnahmen, die zusammengehörig durchgeführt werden * `action.action_details` (str): * Identifiziert eindeutig eine Menge von Zusatzmerkmalen, welche der Maßnahme zugeordnet werden können * `action.amount` (float): - * Menge/Anzahl der Maßnahme + * Menge/Anzahl der durchzuführenden Maßnahmen * `action.unit` (str): * Einheitstyp für `amount` * Valide Einheiten sind: ["cm", "m", "km", "qm", "ha", "pcs"] ~(cm, m, km, m², ha, St.)