{"service":"HALOWERK geowerk","endpoint":"/v1/polygon-ops","method":"POST","content_type":"application/json","inputSchema":{"type":"object","required":["polygon"],"additionalProperties":false,"properties":{"polygon":{"type":"array","minItems":3,"maxItems":100000,"items":{"type":"object","required":["x","y"],"additionalProperties":false,"properties":{"x":{"type":"number","minimum":-1000000000000,"maximum":1000000000000,"description":""},"y":{"type":"number","minimum":-1000000000000,"maximum":1000000000000,"description":""}}}}}},"requestExample":{"polygon":[{"x":0,"y":0},{"x":10,"y":0},{"x":10,"y":10},{"x":0,"y":10}]},"operations":[{"method":"POST","inputSchema":{"type":"object","required":["polygon"],"additionalProperties":false,"properties":{"polygon":{"type":"array","minItems":3,"maxItems":100000,"items":{"type":"object","required":["x","y"],"additionalProperties":false,"properties":{"x":{"type":"number","minimum":-1000000000000,"maximum":1000000000000,"description":""},"y":{"type":"number","minimum":-1000000000000,"maximum":1000000000000,"description":""}}}}}},"requestExample":{"polygon":[{"x":0,"y":0},{"x":10,"y":0},{"x":10,"y":10},{"x":0,"y":10}]}}],"example_request":{"polygon":[{"x":0,"y":0},{"x":10,"y":0},{"x":10,"y":10},{"x":0,"y":10}]},"serviceName":"HALOWERK geowerk","tags":["iot","geo","transparent"],"outputSchema":{"type":"object","required":["method"],"properties":{"method":{"type":"string"}},"additionalProperties":true},"outputExample":{"area":100,"centroid":{"x":5,"y":5},"coordinate_unit":"caller_supplied_planar_unit","unavailable_fields":[],"method":"Calculates planar polygon area and centroid in caller-declared coordinate units."}}