{
    "openapi": "3.0.0",
    "info": {
        "title": "Review forms API",
        "version": "1.0.0",
        "description": "APIs for verifying if review forms exists for a given devicename."
    },
    "paths": {
        "/forms/{deviceName}": {
            "get": {
                "summary": "Identify missing documents for a specific claim",
                "description": "Verify if the quality forms exists for a device with given deviceName",
                "operationId": "identifyMissingDocuments",
                "parameters": [
                    {
                        "name": "deviceName",
                        "in": "query",
                        "description": "Name of the device",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "returns if device documentation exists or not",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "documentexists": {
                                            "type": "string",
                                            "description": "This informs whether the form exists or not"
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}