{
    "basePath": "http://api.basetax.co.uk/v4",
    "swaggerVersion": "1.2",
    "apiVersion": "1.0.0",
    "resourcePath": "/uk-properties",
    "apis": [
        {
            "path": "/uk-properties",
            "operations": [
                {
                    "method": "GET",
                    "summary": "Get all uk property",
                    "nickname": "uk_property",
                    "responseMessages": [
                        {
                            "code": 400,
                            "message": "Invalid request params"
                        },
                        {
                            "code": 401,
                            "message": "Caller is not authenticated"
                        },
                        {
                            "code": 404,
                            "message": "Resource not found"
                        }
                    ]
                },
                {
                    "method": "POST",
                    "summary": "Create one uk property",
                    "nickname": "uk_property",
                    "parameters": [
                        {
                            "paramType": "body",
                            "name": "body",
                            "type": "UKProperty",
                            "required": true,
                            "description": "Json Object"
                        }
                    ],
                    "responseMessages": [
                        {
                            "code": 400,
                            "message": "Invalid request params"
                        },
                        {
                            "code": 401,
                            "message": "Caller is not authenticated"
                        },
                        {
                            "code": 404,
                            "message": "Resource not found"
                        }
                    ]
                }
            ]
        },
        {
            "path": "/uk-properties/{id}",
            "operations": [
                {
                    "method": "GET",
                    "summary": "Get one uk property",
                    "nickname": "uk_property",
                    "parameters": [
                        {
                            "paramType": "path",
                            "name": "id",
                            "type": "string",
                            "required": true,
                            "description": "Id"
                        }
                    ],
                    "responseMessages": [
                        {
                            "code": 400,
                            "message": "Invalid request params"
                        },
                        {
                            "code": 401,
                            "message": "Caller is not authenticated"
                        },
                        {
                            "code": 404,
                            "message": "Resource not found"
                        }
                    ]
                },
                {
                    "method": "PUT",
                    "summary": "Update a uk property",
                    "nickname": "uk_property",
                    "parameters": [
                        {
                            "paramType": "path",
                            "name": "id",
                            "type": "string",
                            "required": true,
                            "description": "Id"
                        },
                        {
                            "paramType": "body",
                            "name": "body",
                            "type": "UKProperty",
                            "required": true,
                            "description": "Json Object"
                        }
                    ],
                    "responseMessages": [
                        {
                            "code": 400,
                            "message": "Invalid request params"
                        },
                        {
                            "code": 401,
                            "message": "Caller is not authenticated"
                        },
                        {
                            "code": 404,
                            "message": "Resource not found"
                        }
                    ]
                },
                {
                    "method": "DELETE",
                    "summary": "Delete a uk property",
                    "nickname": "uk_property",
                    "parameters": [
                        {
                            "paramType": "path",
                            "name": "id",
                            "type": "string",
                            "required": true,
                            "description": "Id"
                        }
                    ],
                    "responseMessages": [
                        {
                            "code": 400,
                            "message": "Invalid request params"
                        },
                        {
                            "code": 401,
                            "message": "Caller is not authenticated"
                        },
                        {
                            "code": 404,
                            "message": "Resource not found"
                        }
                    ]
                }
            ]
        }
    ],
    "models": {
        "UKProperty": {
            "id": "UKProperty",
            "properties": {
                "user_id": {
                    "description": "User ID",
                    "type": "integer",
                    "defaultValue": 4
                },
                "tax_year_id": {
                    "description": "Tax year id",
                    "type": "integer",
                    "defaultValue": 5
                },
                "tax_return_id": {
                    "description": "Tax return id",
                    "type": "integer",
                    "defaultValue": 24004
                },
                "property_id": {
                    "description": "Employer id",
                    "type": "integer",
                    "defaultValue": 1
                },
                "PRO1": {
                    "description": "PRO1",
                    "type": "integer"
                },
                "PRO2": {
                    "description": "PRO2",
                    "type": "boolean"
                },
                "PRO3": {
                    "description": "PRO3",
                    "type": "boolean"
                },
                "PRO4": {
                    "description": "PRO4",
                    "type": "boolean"
                },
                "PRO5": {
                    "description": "PRO5",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO6": {
                    "description": "PRO6",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO7": {
                    "description": "PRO7",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO8": {
                    "description": "PRO8",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO9": {
                    "description": "PRO9",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO10": {
                    "description": "PRO10",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO11": {
                    "description": "PRO11",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO12": {
                    "description": "PRO12",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO13": {
                    "description": "PRO13",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO14": {
                    "description": "PRO14",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO15": {
                    "description": "PRO15",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO16": {
                    "description": "PRO16",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO17": {
                    "description": "PRO17",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO18": {
                    "description": "PRO18",
                    "type": "boolean"
                },
                "PRO19": {
                    "description": "PRO19",
                    "type": "boolean"
                },
                "PRO20": {
                    "description": "PRO20",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO21": {
                    "description": "PRO21",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO22": {
                    "description": "PRO22",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO23": {
                    "description": "PRO23",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO24": {
                    "description": "PRO24",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO25": {
                    "description": "PRO25",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO26": {
                    "description": "PRO26",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO27": {
                    "description": "PRO27",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO28": {
                    "description": "PRO28",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO29": {
                    "description": "PRO29",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO30": {
                    "description": "PRO30",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO31": {
                    "description": "PRO31",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO32": {
                    "description": "PRO32",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO33": {
                    "description": "PRO33",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO34": {
                    "description": "PRO34",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO35": {
                    "description": "PRO35",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO36": {
                    "description": "PRO36",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO37": {
                    "description": "PRO37",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO38": {
                    "description": "PRO38",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO39": {
                    "description": "PRO39",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO40": {
                    "description": "PRO40",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO41": {
                    "description": "PRO41",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO42": {
                    "description": "PRO42",
                    "type": "float",
                    "defaultValue": 3.2
                },
                "PRO43": {
                    "description": "PRO43",
                    "type": "float",
                    "defaultValue": 3.2
                }
            }
        }
    },
    "produces": [
        "application/json"
    ]
}