Files
konova/api/tests/v1/create/intervention_create_post_body.json
T
mpeltriaux 8ac8952729 # Refactors API geometry processing
* refactors API geometry processing to use GeoJsonValidator and GeometryProcessor just like SimpleGeomForm
* moves cast_to_multipolygon, cast_to_rlp_srid, flatten_geom_to_2D, is_valid_4326 and is_area_valid into GeometryProcessor
* adds changeable SRID to GeoJsonValidator constructor
* updates test data
* updates test cases
2026-09-12 17:58:00 +02:00

25 lines
642 B
JSON

{
"type": "Polygon",
"coordinates": [
],
"properties": {
"title": "Test_intervention",
"external_identifier": "LOREMIPSUM-1236",
"responsible": {
"registration_office": null,
"registration_file_number": null,
"conservation_office": null,
"conservation_file_number": null,
"handler": {
"type": null,
"detail": "Someone"
}
},
"legal": {
"registration_date": null,
"binding_date": null,
"process_type": null,
"laws": []
}
}
}