„api v1 ecoaccount json properties de“ ändern

mpeltriaux 2022-04-27 10:20:25 +02:00
parent 898d581aba
commit f206232944

@ -60,14 +60,14 @@ Der Aufbau der Ökokonto Attribute ähnelt in weiten Teilen [dem der Kompensatio
] ]
], ],
"properties": { "properties": {
"title": "Ökokonto 123", "title": "Tolles Ökokonto",
"deductable_surface": 10000.0, "deductable_surface": 10000.0,
"responsible": { "responsible": {
"conservation_office": "710138", "conservation_office": null,
"conservation_file_number": "123-TEST", "conservation_file_number": "123-TEST",
"handler": { "handler": {
"type": "710185", "type": "710178",
"detail": null "detail": "Firma Mustermann234"
} }
}, },
"legal": { "legal": {
@ -76,18 +76,28 @@ Der Aufbau der Ökokonto Attribute ähnelt in weiten Teilen [dem der Kompensatio
"before_states": [ "before_states": [
{ {
"biotope": "136155", "biotope": "136155",
"biotope_details": [
"138046",
"161751"
],
"surface": 10000.0 "surface": 10000.0
} }
], ],
"after_states": [ "after_states": [
{ {
"biotope": "136156", "biotope": "136156",
"biotope_details": [],
"surface": 10000.0 "surface": 10000.0
} }
], ],
"actions": [ "actions": [
{ {
"action": "709234", "action_types": [
"709297",
"709289",
"709299"
],
"action_details": [],
"amount": 1.0, "amount": 1.0,
"unit": "cm", "unit": "cm",
"comment": "" "comment": ""
@ -96,6 +106,8 @@ Der Aufbau der Ökokonto Attribute ähnelt in weiten Teilen [dem der Kompensatio
"deadlines": [] "deadlines": []
} }
} }
``` ```
</details> </details>
@ -136,8 +148,8 @@ Der Aufbau der Ökokonto Attribute ähnelt in weiten Teilen [dem der Kompensatio
* Aufbau identisch zu `before_states` * Aufbau identisch zu `before_states`
* `actions` (list): * `actions` (list):
* Enthält Informationen zu einer Menge von konkreten Maßnahmen, welche durchgeführt wurden, um die beschriebene Biotopveränderung zu bewirken * Enthält Informationen zu einer Menge von konkreten Maßnahmen, welche durchgeführt wurden, um die beschriebene Biotopveränderung zu bewirken
* `action.action` (str): * `action.action_types` (list):
* Identifiziert eindeutig eine Maßnahme * Identifiziert eindeutig eine Menge von Maßnahmen, die zusammengehörig durchgeführt werden
* `action.action_details` (str): * `action.action_details` (str):
* Identifiziert eindeutig eine Menge von Zusatzmerkmalen, welche der Maßnahme zugeordnet werden können * Identifiziert eindeutig eine Menge von Zusatzmerkmalen, welche der Maßnahme zugeordnet werden können
* `action.amount` (float): * `action.amount` (float):