{
    "swagger": "2.0",
    "info": {
        "description": "This is a get PublicOrganisations list API",
        "version": "1.0.0",
        "title": "Get PublicOrganisations List",
        "termsOfService": "https://open.data.gov.mt/terms.html",
        "contact": {
            "email": "data.governance@gov.mt"
        },
        "license": {
            "name": "-",
            "url": "https://open.data.gov.mt/privacyPolicy.html"
        }
    },
    "host": "data.gov.mt",
    "basePath": "/api",
    "tags": [
        {
            "name": "PublicOrganisations",
            "description": "Get PublicOrganisations List",
            "externalDocs": {
                "description": "Find out PublicOrganisations list",
                "url": "https://open.data.gov.mt"
            }
        }
    ],
    "schemes": [
        "https",
        "http"
    ],
    "paths": {
        "/PublicOrganisations/v1": {
            "get": {
                "tags": [
                    "PublicOrganisations"
                ],
                "summary": "Get PublicOrganisations List",
                "description": "",
                "operationId": "NationalDataPortal",
                "consumes": [
                    "application/x-www-form-urlencoded"
                ],
                "produces": [
                    "application/xml",
                    "application/json"
                ],
                "parameters": [
                    {
                        "name": "Session",
                        "in": "formData",
                        "description": "Session of the user",
                        "required": false,
                        "type": "integer",
                        "format": "int64"
                    },
                    {
                        "name": "Token",
                        "in": "formData",
                        "description": "Token of the user",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "Process",
                        "in": "formData",
                        "description": "Process",
                        "required": false,
                        "type": "integer",
                        "format": "int64"
                    },
                    {
                        "name": "SearchName",
                        "in": "formData",
                        "description": "SearchName of the Functions field",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "SearchAcronym",
                        "in": "formData",
                        "description": "SearchAcronym of the Functions field",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "SearchType",
                        "in": "formData",
                        "description": "SearchType of the sector field",
                        "required": false,
                        "type": "integer",
                        "format": "int64"
                    },
                    {
                        "name": "SearchTypeName",
                        "in": "formData",
                        "description": "SearchTypeName of the user",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "SearchMinistry",
                        "in": "formData",
                        "description": "SearchMinistry of the Functions field",
                        "required": false,
                        "type": "integer",
                        "format": "int64"
                    },
                    {
                        "name": "SearchMinistryName",
                        "in": "formData",
                        "description": "SearchMinistryName of the user",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "SearchSector",
                        "in": "formData",
                        "description": "SearchSector of the Functions field",
                        "required": false,
                        "type": "integer",
                        "format": "int64"
                    },
                    {
                        "name": "SearchSectorName",
                        "in": "formData",
                        "description": "SearchSectorName of the user",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "SearchFunction",
                        "in": "formData",
                        "description": "SearchFunction of the Functions field",
                        "required": false,
                        "type": "integer",
                        "format": "int64"
                    },
                    {
                        "name": "SearchFunctionName",
                        "in": "formData",
                        "description": "SearchFunctionName of the user",
                        "required": false,
                        "type": "string"
                    },
                    {
                        "name": "Identifier",
                        "in": "formData",
                        "description": "Identifier of the Functions field",
                        "required": false,
                        "type": "integer",
                        "format": "int64"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/definitions/PublicOrganisations"
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/definitions/PublicOrganisations"
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/definitions/PublicOrganisations"
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/definitions/PublicOrganisations"
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/definitions/PublicOrganisations"
                            }
                        }
                    },
                    "405": {
                        "description": "Method Not Allowed",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/definitions/PublicOrganisations"
                            }
                        }
                    }
                }
            }
        }
    },
    "definitions": {
        "PublicOrganisations": {
            "type": "object",
            "properties": {
                "Recordlabel_Register": {
                    "type": "integer",
                    "format": "int64"
                },
                "PublicOrganisation_Organisation_Identifier": {
                    "type": "integer",
                    "format": "int64"
                },
                "PublicOrganisation_Name": {
                    "type": "string"
                },
                "PublicOrganisation_Name_EN": {
                    "type": "string"
                },
                "PublicOrganisation_Name_MT": {
                    "type": "string"
                },
                "PublicOrganisation_Acronym": {
                    "type": "string"
                },
                "Function_Ministry": {
                    "type": "integer",
                    "format": "int32"
                },
                "Function_Ministry_Common": {
                    "type": "integer",
                    "format": "int32"
                },
                "Function_Ministry_Name": {
                    "type": "string"
                },
                "Function_Sector": {
                    "type": "integer",
                    "format": "int32"
                },
                "Function_Sector_Common": {
                    "type": "integer",
                    "format": "int32"
                },
                "Function_Sector_Name": {
                    "type": "string"
                },
                "PublicOrganisation_Function": {
                    "type": "integer",
                    "format": "int32"
                },
                "PublicOrganisation_Function_Common": {
                    "type": "integer",
                    "format": "int32"
                },
                "PublicOrganisation_Function_Name": {
                    "type": "string"
                },
                "PublicOrganisation_CIO": {
                    "type": "integer",
                    "format": "int32"
                },
                "PublicOrganisation_CIO_Common": {
                    "type": "integer",
                    "format": "int32"
                },
                "PublicOrganisation_CIO_Name": {
                    "type": "string"
                },
                "RecordLabel_URI": {
                    "type": "string"
                },
                "Recordlabel_GUID": {
                    "type": "string"
                },
                "RecordLabel_VersionNumber": {
                    "type": "integer",
                    "format": "int32"
                },
                "RecordLabel_CurrentVersion": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_Identifier": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_Current": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_Common": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_SameAs": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_Original": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_CDR": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_Description": {
                    "type": "string"
                },
                "Organisation_Name": {
                    "type": "string"
                },
                "Organisation_Name_EN": {
                    "type": "string"
                },
                "Organisation_Name_MT": {
                    "type": "string"
                },
                "Organisation_OrganisationType": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_OrganisationTypeCommon": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_OrganisationTypeName": {
                    "type": "string"
                },
                "Organisation_SubType": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_SubTypeCommon": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_SubTypeName": {
                    "type": "string"
                },
                "Organisation_Parent": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_ParentCommon": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_ParentName": {
                    "type": "string"
                },
                "Organisation_Group": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_GroupCommon": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_GroupName": {
                    "type": "string"
                },
                "Organisation_Category": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_CategoryCommon": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_CategoryName": {
                    "type": "string"
                },
                "Organisation_Function": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_FunctionCommon": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_FunctionName": {
                    "type": "string"
                },
                "Organisation_Ministry": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_MinistryCommon": {
                    "type": "integer",
                    "format": "int32"
                },
                "Organisation_MinistryName": {
                    "type": "string"
                },
                "Organisation_Timestamp": {
                    "type": "string",
                    "format": "date-time"
                },
                "Organisation_Timestamp_Close": {
                    "type": "string",
                    "format": "date-time"
                },
                "Organisation_RecordStatus": {
                    "type": "string"
                }
            },
            "xml": {
                "name": "PublicOrganisations"
            }
        }
    }
}