{
  "openapi": "3.0.4",
  "info": {
    "title": "MFR Public Retrieval API",
    "description": "API-key-protected registry retrieval. Supply X-Api-Key. Lookups and locations are global reference data; facility and report filters use the client's location scope. Compatibility payloads retain legacy metadata. Exports require facilities:export. Facility compatibility detail and All retain the legacy FacilityModel, including contacts, attachments, audit fields and nested objects. The plural facilities routes keep their existing narrower public models.",
    "version": "v1"
  },
  "paths": {
    "/api/public/v1/facilities/search": {
      "post": {
        "tags": [
          "PublicFacilities"
        ],
        "description": "Requires `facilities:read`. ",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublicFacilitySearchParametersModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PublicFacilitySearchParametersModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PublicFacilitySearchParametersModel"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicFacilityListModelIEnumerableResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicFacilityListModelIEnumerableResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicFacilityListModelIEnumerableResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/facilities/{id}": {
      "get": {
        "tags": [
          "PublicFacilities"
        ],
        "description": "Requires `facilities:read`. ",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicFacilityDetailModelResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicFacilityDetailModelResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicFacilityDetailModelResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicFacilityDetailModelResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/facilities/dhis2/{dhis2id}": {
      "get": {
        "tags": [
          "PublicFacilities"
        ],
        "description": "Requires `facilities:read`. ",
        "parameters": [
          {
            "name": "dhis2id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Facility/ExportXLSX": {
      "post": {
        "tags": [
          "PublicFacilityExports"
        ],
        "description": "Requires `facilities:export`. ",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "200": {
            "description": "Facility export download",
            "content": {
              "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Facility/ExportCSV": {
      "post": {
        "tags": [
          "PublicFacilityExports"
        ],
        "description": "Requires `facilities:export`. ",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "200": {
            "description": "Facility export download",
            "content": {
              "application/csv": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Facility/ExportJSON": {
      "post": {
        "tags": [
          "PublicFacilityExports"
        ],
        "description": "Requires `facilities:export`. ",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "200": {
            "description": "Facility export download",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Facility": {
      "get": {
        "tags": [
          "PublicFacilityRetrieval"
        ],
        "description": "Requires `facilities:read`. ",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacilityModelResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacilityModelResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Facility/{dhis2id}": {
      "get": {
        "tags": [
          "PublicFacilityRetrieval"
        ],
        "description": "Requires `facilities:read`. ",
        "parameters": [
          {
            "name": "dhis2id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacilityModelResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacilityModelResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Facility/GetFacilities": {
      "post": {
        "tags": [
          "PublicFacilityRetrieval"
        ],
        "description": "Requires `facilities:read`. ",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Facility/GetFacilitiesZen": {
      "post": {
        "tags": [
          "PublicFacilityRetrieval"
        ],
        "description": "Requires `facilities:read`. ",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Facility/GetArchivedFacilities": {
      "post": {
        "tags": [
          "PublicFacilityRetrieval"
        ],
        "description": "Requires `facilities:read`. ",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Facility/GetFacilitiesCount": {
      "get": {
        "tags": [
          "PublicFacilityRetrieval"
        ],
        "description": "Requires `facilities:read`. ",
        "parameters": [
          {
            "name": "regionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "zoneId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "woredaId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Facility/GetLookupsUsageCount": {
      "get": {
        "tags": [
          "PublicFacilityRetrieval"
        ],
        "description": "Requires `facilities:read`. ",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Facility/All": {
      "get": {
        "tags": [
          "PublicFacilityRetrieval"
        ],
        "description": "Requires `facilities:read`. ",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "facilityTypeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "statusId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "regionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "zoneId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "woredaId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "operationalStatusId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "constructionStatusId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "clinicalServiceId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "diagnosticAndImagingServiceId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "twentyFourHourServiceOfferId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "supportServiceId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "reportsToId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Location/Regions": {
      "get": {
        "tags": [
          "PublicLocation"
        ],
        "description": "Requires `locations:read`. ",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Location/Zones": {
      "get": {
        "tags": [
          "PublicLocation"
        ],
        "description": "Requires `locations:read`. ",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Location/GetZoneByRegion": {
      "get": {
        "tags": [
          "PublicLocation"
        ],
        "description": "Requires `locations:read`. ",
        "parameters": [
          {
            "name": "RegionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Location/Woredas": {
      "get": {
        "tags": [
          "PublicLocation"
        ],
        "description": "Requires `locations:read`. ",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Location/GetWoredaByZone": {
      "get": {
        "tags": [
          "PublicLocation"
        ],
        "description": "Requires `locations:read`. ",
        "parameters": [
          {
            "name": "ZoneId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Lookup": {
      "get": {
        "tags": [
          "PublicLookup"
        ],
        "description": "Requires `lookups:read`. ",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Lookup/GetFacilityType": {
      "get": {
        "tags": [
          "PublicLookup"
        ],
        "description": "Requires `lookups:read`. ",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Lookup/GetFacilityTypeByParent": {
      "get": {
        "tags": [
          "PublicLookup"
        ],
        "description": "Requires `lookups:read`. ",
        "parameters": [
          {
            "name": "ParentFacilityTypeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Lookup/GetOwnership": {
      "get": {
        "tags": [
          "PublicLookup"
        ],
        "description": "Requires `lookups:read`. ",
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Lookup/QualificationsByFacilityType": {
      "post": {
        "tags": [
          "PublicLookup"
        ],
        "description": "Requires `lookups:read`. ",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityTypeFilterModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityTypeFilterModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityTypeFilterModel"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Report/Dashboard": {
      "get": {
        "tags": [
          "PublicReport"
        ],
        "description": "Requires `reports:read`. ",
        "parameters": [
          {
            "name": "FacilityTypeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StatusId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "RegionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ZoneId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "WoredaId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "OperationalStatusId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ConstructionStatusId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ClinicalServiceId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "DiagnosticAndImagingServiceId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "TwentyFourHourServiceOfferId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SupportServiceId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "IsPhcu",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Report/Counts": {
      "post": {
        "tags": [
          "PublicReport"
        ],
        "description": "Requires `reports:read`. ",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityParametersModel"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Report/RecentFacilities": {
      "get": {
        "tags": [
          "PublicReport"
        ],
        "description": "Requires `reports:read`. ",
        "parameters": [
          {
            "name": "FacilityTypeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StatusId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "RegionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ZoneId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "WoredaId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "OperationalStatusId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ConstructionStatusId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ClinicalServiceId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "DiagnosticAndImagingServiceId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "TwentyFourHourServiceOfferId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SupportServiceId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "IsPhcu",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/Report/GeoLocations/{type}": {
      "get": {
        "tags": [
          "PublicReport"
        ],
        "description": "Requires `reports:read`. ",
        "parameters": [
          {
            "name": "type",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "FacilityTypeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StatusId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "RegionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ZoneId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "WoredaId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "OperationalStatusId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ConstructionStatusId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ClinicalServiceId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "DiagnosticAndImagingServiceId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "TwentyFourHourServiceOfferId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SupportServiceId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "IsPhcu",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "APIResult": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "ClinicalServiceModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommunicationsModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConstructionStatusModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DiagnosticAndImagingServiceModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilityClinicalServiceModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "clinicalServiceId": {
            "type": "integer",
            "format": "int32"
          },
          "clinicalService": {
            "$ref": "#/components/schemas/ClinicalServiceModel"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilityCommunicationsModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "communicationsId": {
            "type": "integer",
            "format": "int32"
          },
          "communications": {
            "$ref": "#/components/schemas/CommunicationsModel"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilityDiagnosticAndImagingServiceModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "diagnosticAndImagingServiceId": {
            "type": "integer",
            "format": "int32"
          },
          "diagnosticAndImagingService": {
            "$ref": "#/components/schemas/DiagnosticAndImagingServiceModel"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilityFacilityTypeModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "facilityId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "facilityTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "facilityType": {
            "$ref": "#/components/schemas/FacilityTypeModel"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilityHumanResourceModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "humanResourceId": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "integer",
            "format": "int32"
          },
          "humanResource": {
            "$ref": "#/components/schemas/HumanResourceModel"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilityIctInfrastructureModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "ictInfrastructureId": {
            "type": "integer",
            "format": "int32"
          },
          "ictInfrastructure": {
            "$ref": "#/components/schemas/IctInfrastructureModel"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilityModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "statusId": {
            "type": "integer",
            "format": "int32"
          },
          "isImported": {
            "type": "boolean",
            "nullable": true
          },
          "otherName": {
            "type": "string",
            "nullable": true
          },
          "oldName": {
            "type": "string",
            "nullable": true
          },
          "oldId": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "hmisCode": {
            "type": "string",
            "nullable": true
          },
          "ethiopianNationalFacilityId": {
            "type": "string",
            "nullable": true
          },
          "facilityId": {
            "type": "string",
            "nullable": true
          },
          "dhis2Id": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "kebele": {
            "type": "string",
            "nullable": true
          },
          "houseNumber": {
            "type": "string",
            "nullable": true
          },
          "specificAreaName": {
            "type": "string",
            "nullable": true
          },
          "streetNumber": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "longitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "altitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "website": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "nullable": true
          },
          "postalAddress": {
            "type": "string",
            "nullable": true
          },
          "pocName": {
            "type": "string",
            "nullable": true
          },
          "pocEmail": {
            "type": "string",
            "nullable": true
          },
          "pocPhoneNumber": {
            "type": "string",
            "nullable": true
          },
          "pocQualification": {
            "type": "string",
            "nullable": true
          },
          "pocRegistrationNumber": {
            "type": "string",
            "nullable": true
          },
          "numberOfMedicalDoctor": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfSpecialistPhysician": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfSubSpecialists": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfHealthOfficer": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfNurse": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfMidwife": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfEmergencyMedicalTechnician": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfAnesthesiaProfessional": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfBiomedicalEngineers": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfPharmacist": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfMedicalLaboratoryTechnician": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfEmergencySurgicalOfficer": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfDentalProfessional": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfRadiographer": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfPhysiotherapist": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfEnvironmentalHealthProfessional": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfHealthInformationTechnician": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfHealthExtensionWorker": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfInPatientBeds": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfReceptionRooms": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfRecordRooms": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfEmergencyRooms": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfEmergencyBeds": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfOpdRooms": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfIpdRooms": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfLaboratoryRooms": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfImagingRooms": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfMchRooms": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfOrRooms": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfAdministrationRooms": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfIcuRooms": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfMaternityBeds": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "isReceptionRoomAvailable": {
            "type": "boolean",
            "nullable": true
          },
          "isRecordRoomAvailable": {
            "type": "boolean",
            "nullable": true
          },
          "isEmergencyRoomAvailable": {
            "type": "boolean",
            "nullable": true
          },
          "isImpatientRoomAvailable": {
            "type": "boolean",
            "nullable": true
          },
          "isLaboratoryRoomAvailable": {
            "type": "boolean",
            "nullable": true
          },
          "isImagingRoomAvailable": {
            "type": "boolean",
            "nullable": true
          },
          "isMchRoomAvailable": {
            "type": "boolean",
            "nullable": true
          },
          "isDeliveryRoomAvailable": {
            "type": "boolean",
            "nullable": true
          },
          "isAdminRoomAvailable": {
            "type": "boolean",
            "nullable": true
          },
          "isIcuRoomAvailable": {
            "type": "boolean",
            "nullable": true
          },
          "isMaternityRoomAvailable": {
            "type": "boolean",
            "nullable": true
          },
          "transportAmbulances": {
            "type": "boolean",
            "nullable": true
          },
          "transportCars": {
            "type": "boolean",
            "nullable": true
          },
          "transportMotorcycles": {
            "type": "boolean",
            "nullable": true
          },
          "numberOfAmbulances": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfCars": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfMotorcycles": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfOtherModernAvailableTransport": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfServers": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfDesktops": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfLaptops": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfTablets": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfRoomsWithLan": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "twoGInternetAccess": {
            "type": "boolean",
            "nullable": true
          },
          "threeGInternetAccess": {
            "type": "boolean",
            "nullable": true
          },
          "fourGInternetAccess": {
            "type": "boolean",
            "nullable": true
          },
          "toiletFlushToPipedSewerSystem": {
            "type": "boolean",
            "nullable": true
          },
          "toiletFlushToSepticTank": {
            "type": "boolean",
            "nullable": true
          },
          "toiletFlushToPitLaterine": {
            "type": "boolean",
            "nullable": true
          },
          "toiletSoakPit": {
            "type": "boolean",
            "nullable": true
          },
          "toiletVentilatedImprovedPit": {
            "type": "boolean",
            "nullable": true
          },
          "toiletPitLatrineCleanableSlable": {
            "type": "boolean",
            "nullable": true
          },
          "toiletCompositingToilet": {
            "type": "boolean",
            "nullable": true
          },
          "yearOpened": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "yearLicenseLastRenewed": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "catchmentPopulation": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "isPrimaryHealthCareUnit": {
            "type": "boolean",
            "nullable": true
          },
          "remark": {
            "type": "string",
            "nullable": true
          },
          "attachment": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "attachmentName": {
            "type": "string",
            "nullable": true
          },
          "facilityOwnersName": {
            "type": "string",
            "nullable": true
          },
          "otherDiagnosticAndImagingServices": {
            "type": "string",
            "nullable": true
          },
          "closedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "suspensionStartDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "suspensionEndDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "regionId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "zoneId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "woredaId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "settlementId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ownershipId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "facilityTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "operationalStatusId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "constructionStatusId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "reportsToId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "referralLinkageId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "region": {
            "$ref": "#/components/schemas/RegionModel"
          },
          "zone": {
            "$ref": "#/components/schemas/ZoneModel"
          },
          "woreda": {
            "$ref": "#/components/schemas/WoredaModel"
          },
          "status": {
            "$ref": "#/components/schemas/StatusModel"
          },
          "ownership": {
            "$ref": "#/components/schemas/OwnershipModel"
          },
          "facilityType": {
            "$ref": "#/components/schemas/FacilityTypeModel"
          },
          "operationalStatus": {
            "$ref": "#/components/schemas/OperationalStatusModel"
          },
          "constructionStatus": {
            "$ref": "#/components/schemas/ConstructionStatusModel"
          },
          "settlement": {
            "$ref": "#/components/schemas/SettlementModel"
          },
          "reportsTo": {
            "$ref": "#/components/schemas/FacilityModel"
          },
          "referralLinkage": {
            "$ref": "#/components/schemas/FacilityModel"
          },
          "facilitysFacilityTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FacilityFacilityTypeModel"
            },
            "nullable": true
          },
          "facilityClinicalServices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FacilityClinicalServiceModel"
            },
            "nullable": true
          },
          "facilityHumanResources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FacilityHumanResourceModel"
            },
            "nullable": true
          },
          "facilityCommunications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FacilityCommunicationsModel"
            },
            "nullable": true
          },
          "facilityDiagnosticAndImagingServices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FacilityDiagnosticAndImagingServiceModel"
            },
            "nullable": true
          },
          "facilitySupportServices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FacilitySupportServiceModel"
            },
            "nullable": true
          },
          "facilityTwentyFourHourServiceOffers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FacilityTwentyFourHourServiceOfferModel"
            },
            "nullable": true
          },
          "facilityWasteManagements": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FacilityWasteManagementModel"
            },
            "nullable": true
          },
          "facilityIctInfrastructures": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FacilityIctInfrastructureModel"
            },
            "nullable": true
          },
          "facilitySourceOfPowers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FacilitySourceOfPowerModel"
            },
            "nullable": true
          },
          "facilitySourceOfWater": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FacilitySourceOfWaterModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilityModelResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/APIResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "$ref": "#/components/schemas/FacilityModel"
          }
        },
        "additionalProperties": false
      },
      "FacilityParametersModel": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "showPerPage": {
            "type": "integer",
            "format": "int32"
          },
          "statusId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "ownershipId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "regionId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "zoneId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "woredaId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "facilityTypeId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "operationalStatusId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "constructionStatusId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "clinicalServiceId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "diagnosticAndImagingServiceId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "twentyFourHourServiceOfferId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "supportServiceId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "ictInfrastructureId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "sourceOfPowerId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "sourceOfWaterId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "suspensionStartDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "suspensionEndDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isPhcu": {
            "type": "boolean",
            "nullable": true
          },
          "isFlOwned": {
            "type": "boolean",
            "nullable": true
          },
          "columns": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "clinicalServiceColumns": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "diagnosticAndImagingServiceColumns": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "twentyFourHourServiceOfferColumns": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "supportServiceColumns": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "humanResourceColumns": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "ictInfrastructureColumns": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "sourceOfPowerColumns": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "sourceOfWaterColumns": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilitySourceOfPowerModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "sourceOfPowerId": {
            "type": "integer",
            "format": "int32"
          },
          "sourceOfPower": {
            "$ref": "#/components/schemas/SourceOfPowerModel"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilitySourceOfWaterModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "sourceOfWaterId": {
            "type": "integer",
            "format": "int32"
          },
          "sourceOfWater": {
            "$ref": "#/components/schemas/SourceOfWaterModel"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilitySupportServiceModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "supportServiceId": {
            "type": "integer",
            "format": "int32"
          },
          "supportService": {
            "$ref": "#/components/schemas/SupportServiceModel"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilityTwentyFourHourServiceOfferModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "twentyFourHourServiceOfferId": {
            "type": "integer",
            "format": "int32"
          },
          "twentyFourHourServiceOffer": {
            "$ref": "#/components/schemas/TwentyFourHourServiceOfferModel"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilityTypeFilterModel": {
        "type": "object",
        "properties": {
          "facilityTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "facilitySubTypeIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilityTypeModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "parentFacilityTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "parentFacility": {
            "$ref": "#/components/schemas/FacilityTypeModel"
          },
          "childFacilityTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FacilityTypeModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FacilityWasteManagementModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "wasteManagementId": {
            "type": "integer",
            "format": "int32"
          },
          "wasteManagement": {
            "$ref": "#/components/schemas/WasteManagementModel"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HumanResourceModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IctInfrastructureModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ObjectResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/APIResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OperationalStatusModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OwnershipModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublicFacilityDetailModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "otherName": {
            "type": "string",
            "nullable": true
          },
          "hmisCode": {
            "type": "string",
            "nullable": true
          },
          "ethiopianNationalFacilityId": {
            "type": "string",
            "nullable": true
          },
          "facilityId": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "operationalStatus": {
            "type": "string",
            "nullable": true
          },
          "facilityType": {
            "type": "string",
            "nullable": true
          },
          "parentFacilityType": {
            "type": "string",
            "nullable": true
          },
          "ownership": {
            "type": "string",
            "nullable": true
          },
          "region": {
            "type": "string",
            "nullable": true
          },
          "zone": {
            "type": "string",
            "nullable": true
          },
          "woreda": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "kebele": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "longitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "website": {
            "type": "string",
            "nullable": true
          },
          "pocName": {
            "type": "string",
            "nullable": true
          },
          "pocQualification": {
            "type": "string",
            "nullable": true
          },
          "pocRegistrationNumber": {
            "type": "string",
            "nullable": true
          },
          "pocPhoneNumber": {
            "type": "string",
            "nullable": true
          },
          "pocEmail": {
            "type": "string",
            "nullable": true
          },
          "clinicalServices": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "diagnosticAndImagingServices": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "supportServices": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "twentyFourHourServiceOffers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublicFacilityDetailModelResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/APIResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "$ref": "#/components/schemas/PublicFacilityDetailModel"
          }
        },
        "additionalProperties": false
      },
      "PublicFacilityListModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "operationalStatus": {
            "type": "string",
            "nullable": true
          },
          "facilityType": {
            "type": "string",
            "nullable": true
          },
          "parentFacilityType": {
            "type": "string",
            "nullable": true
          },
          "ownership": {
            "type": "string",
            "nullable": true
          },
          "region": {
            "type": "string",
            "nullable": true
          },
          "zone": {
            "type": "string",
            "nullable": true
          },
          "woreda": {
            "type": "string",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int64"
          },
          "pageCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PublicFacilityListModelIEnumerableResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/APIResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicFacilityListModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublicFacilitySearchParametersModel": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "showPerPage": {
            "type": "integer",
            "format": "int32"
          },
          "statusId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "ownershipId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "regionId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "zoneId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "woredaId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "facilityTypeId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "operationalStatusId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "constructionStatusId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "clinicalServiceId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "diagnosticAndImagingServiceId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "twentyFourHourServiceOfferId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "supportServiceId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RegionModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "logoPath": {
            "type": "string",
            "nullable": true
          },
          "useFacilityLicensing": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SettlementModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SourceOfPowerModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SourceOfWaterModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StatusModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SupportServiceModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TwentyFourHourServiceOfferModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WasteManagementModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WoredaModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "zoneId": {
            "type": "integer",
            "format": "int32"
          },
          "logoPath": {
            "type": "string",
            "nullable": true
          },
          "useFacilityLicensing": {
            "type": "boolean",
            "nullable": true
          },
          "zone": {
            "$ref": "#/components/schemas/ZoneModel"
          }
        },
        "additionalProperties": false
      },
      "ZoneModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedBy": {
            "type": "integer",
            "format": "int32"
          },
          "modifiedDate": {
            "type": "string",
            "format": "date-time"
          },
          "rowGuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "regionId": {
            "type": "integer",
            "format": "int32"
          },
          "logoPath": {
            "type": "string",
            "nullable": true
          },
          "useFacilityLicensing": {
            "type": "boolean",
            "nullable": true
          },
          "region": {
            "$ref": "#/components/schemas/RegionModel"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "description": "An approved client API key. Permissions are granted separately for each endpoint family.",
        "name": "X-Api-Key",
        "in": "header"
      }
    }
  },
  "tags": [
    {
      "name": "PublicFacilities"
    },
    {
      "name": "PublicFacilityExports"
    },
    {
      "name": "PublicFacilityRetrieval"
    },
    {
      "name": "PublicLocation"
    },
    {
      "name": "PublicLookup"
    },
    {
      "name": "PublicReport"
    }
  ]
}