{
    "swagger": "2.0",
    "info": {
        "title": "PlateMask.AI (License Plate Anonymization)",
        "description": "Automated detection and blurring of vehicle license plates to ensure privacy compliance.",
        "version": "1.0.0"
    },
    "host": "services.forecastica.com",
    "basePath": "/aws/api",
    "schemes": [
        "https"
    ],
    "securityDefinitions": {
        "Bearer": {
            "type": "apiKey",
            "name": "Authorization",
            "in": "header",
            "description": "Mandatory API Key for authentication. Format: Bearer YOUR_API_KEY"
        }
    },
    "paths": {
        "/plate/blur": {
            "post": {
                "summary": "Synchronous Plate Blurring",
                "description": "Detects and blurs license plates in the uploaded image.",
                "consumes": [
                    "multipart/form-data"
                ],
                "produces": [
                    "image/jpeg"
                ],
                "parameters": [
                    {
                        "name": "image",
                        "in": "formData",
                        "description": "The source image file to be anonymized.",
                        "required": true,
                        "type": "file"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Returns the blurred image file binary.",
                        "schema": {
                            "type": "file"
                        }
                    },
                    "401": {
                        "description": "Unauthorized - Invalid or missing Bearer API_Key."
                    },
                    "500": {
                        "description": "Internal Server Error - An error occurred during image processing."
                    }
                },
                "security": [
                    {
                        "Bearer": []
                    }
                ]
            }
        }
    }
}