„api v1 compensation json properties de“ ändern

mpeltriaux 2022-04-27 10:19:32 +02:00
parent bf6ac8350e
commit 898d581aba

@ -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 @@
]
}
}
```
</details>
@ -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.)