{
  "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. Facility profiles use compact public contracts. Reference data excludes audit and navigation fields. Bulk files use reviewed data requests; keyed archives and direct exports are unavailable.",
    "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"
                }
              }
            }
          },
          "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/{id}/services": {
      "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/ObjectResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicFacilityServicesModelResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectResponse"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicFacilityServicesModelResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicFacilityServicesModelResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/public/v1/facilities/dhis2/{dhis2id}/services": {
      "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"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicFacilityServicesModelResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicFacilityServicesModelResponse"
                }
              }
            }
          }
        },
        "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/PublicFacilityDetailModelResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicFacilityDetailModelResponse"
                }
              }
            }
          }
        },
        "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/PublicFacilityDetailModelResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicFacilityDetailModelResponse"
                }
              }
            }
          }
        },
        "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/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/Lookup/ProfessionalRequirements": {
      "get": {
        "tags": [
          "PublicLookup"
        ],
        "description": "Requires `lookups:read`. ",
        "parameters": [
          {
            "name": "facilityTypeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "subTypeId",
            "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/Report/Dashboard": {
      "get": {
        "tags": [
          "PublicReport"
        ],
        "description": "Requires `reports:read`. ",
        "parameters": [
          {
            "name": "PublicOnly",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "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": "PublicOnly",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "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/UnclassifiedFacilities": {
      "get": {
        "tags": [
          "PublicReport"
        ],
        "description": "Requires `reports:read`. ",
        "parameters": [
          {
            "name": "PublicOnly",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "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/UnlocatedFacilities": {
      "get": {
        "tags": [
          "PublicReport"
        ],
        "description": "Requires `reports:read`. ",
        "parameters": [
          {
            "name": "PublicOnly",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "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/NoCoordinateFacilities": {
      "get": {
        "tags": [
          "PublicReport"
        ],
        "description": "Requires `reports:read`. ",
        "parameters": [
          {
            "name": "PublicOnly",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "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": "PublicOnly",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "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/RequestReasons": {
      "get": {
        "tags": [
          "PublicRequestReasons"
        ],
        "description": "Requires `lookups:read`. ",
        "parameters": [
          {
            "name": "kind",
            "in": "query",
            "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/RequestReasonOptionListResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestReasonOptionListResponse"
                }
              }
            }
          }
        },
        "security": [
          { }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "APIResult": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "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
          },
          "excludeFacilityTypeId": {
            "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
          },
          "settlementId": {
            "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
          },
          "createdStartDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdEndDate": {
            "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
      },
      "FacilityTypeFilterModel": {
        "type": "object",
        "properties": {
          "facilityTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "facilitySubTypeIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ObjectResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/APIResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublicFacilityBedsModel": {
        "type": "object",
        "properties": {
          "inpatient": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "emergency": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "maternity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublicFacilityDetailModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "otherName": {
            "type": "string",
            "nullable": true
          },
          "oldName": {
            "type": "string",
            "nullable": true
          },
          "hmisCode": {
            "type": "string",
            "nullable": true
          },
          "ethiopianNationalFacilityId": {
            "type": "string",
            "nullable": true
          },
          "facilityId": {
            "type": "string",
            "nullable": true
          },
          "dhis2Id": {
            "type": "string",
            "nullable": true
          },
          "reportsTo": {
            "$ref": "#/components/schemas/PublicFacilityReferenceModel"
          },
          "referralLinkage": {
            "$ref": "#/components/schemas/PublicFacilityReferenceModel"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "operationalStatus": {
            "type": "string",
            "nullable": true
          },
          "facilityType": {
            "type": "string",
            "nullable": true
          },
          "parentFacilityType": {
            "type": "string",
            "nullable": true
          },
          "facilityTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicLookupModel"
            },
            "nullable": true
          },
          "ownership": {
            "type": "string",
            "nullable": true
          },
          "settlement": {
            "type": "string",
            "nullable": true
          },
          "yearOpened": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "catchmentPopulation": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "isPrimaryHealthCareUnit": {
            "type": "boolean",
            "nullable": true
          },
          "yearLicenseLastRenewed": {
            "type": "string",
            "format": "date-time",
            "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
          },
          "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
          },
          "specificAreaName": {
            "type": "string",
            "nullable": true
          },
          "streetNumber": {
            "type": "string",
            "nullable": true
          },
          "houseNumber": {
            "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
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "website": {
            "type": "string",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "nullable": true
          },
          "postalAddress": {
            "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
          }
        },
        "additionalProperties": false
      },
      "PublicFacilityDetailModelResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/APIResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "$ref": "#/components/schemas/PublicFacilityDetailModel"
          }
        },
        "additionalProperties": false
      },
      "PublicFacilityIctModel": {
        "type": "object",
        "properties": {
          "servers": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "desktops": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "laptops": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "tablets": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "roomsWithLan": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "internet2G": {
            "type": "boolean",
            "nullable": true
          },
          "internet3G": {
            "type": "boolean",
            "nullable": true
          },
          "internet4G": {
            "type": "boolean",
            "nullable": true
          }
        },
        "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
      },
      "PublicFacilityReferenceModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "hmisCode": {
            "type": "string",
            "nullable": true
          },
          "dhis2Id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublicFacilityRoomAvailabilityModel": {
        "type": "object",
        "properties": {
          "reception": {
            "type": "boolean",
            "nullable": true
          },
          "record": {
            "type": "boolean",
            "nullable": true
          },
          "emergency": {
            "type": "boolean",
            "nullable": true
          },
          "inpatient": {
            "type": "boolean",
            "nullable": true
          },
          "laboratory": {
            "type": "boolean",
            "nullable": true
          },
          "imaging": {
            "type": "boolean",
            "nullable": true
          },
          "mch": {
            "type": "boolean",
            "nullable": true
          },
          "delivery": {
            "type": "boolean",
            "nullable": true
          },
          "administration": {
            "type": "boolean",
            "nullable": true
          },
          "icu": {
            "type": "boolean",
            "nullable": true
          },
          "maternity": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublicFacilityRoomsModel": {
        "type": "object",
        "properties": {
          "reception": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "record": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "emergency": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "opd": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ipd": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "laboratory": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "imaging": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "mch": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "operatingTheatres": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "administration": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "icu": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublicFacilitySanitationModel": {
        "type": "object",
        "properties": {
          "flushToPipedSewer": {
            "type": "boolean",
            "nullable": true
          },
          "flushToSepticTank": {
            "type": "boolean",
            "nullable": true
          },
          "flushToPitLatrine": {
            "type": "boolean",
            "nullable": true
          },
          "soakPit": {
            "type": "boolean",
            "nullable": true
          },
          "ventilatedImprovedPit": {
            "type": "boolean",
            "nullable": true
          },
          "pitLatrineWithCleanableSlab": {
            "type": "boolean",
            "nullable": true
          },
          "compostingToilet": {
            "type": "boolean",
            "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
          },
          "settlementId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "sourceOfPowerId": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublicFacilityServicesModel": {
        "type": "object",
        "properties": {
          "facilityId": {
            "type": "integer",
            "format": "int32"
          },
          "clinical": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicLookupModel"
            },
            "nullable": true
          },
          "diagnosticAndImaging": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicLookupModel"
            },
            "nullable": true
          },
          "support": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicLookupModel"
            },
            "nullable": true
          },
          "twentyFourHour": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicLookupModel"
            },
            "nullable": true
          },
          "otherDiagnosticAndImagingServices": {
            "type": "string",
            "nullable": true
          },
          "constructionStatus": {
            "type": "string",
            "nullable": true
          },
          "power": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicLookupModel"
            },
            "nullable": true
          },
          "water": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicLookupModel"
            },
            "nullable": true
          },
          "ictInfrastructure": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicLookupModel"
            },
            "nullable": true
          },
          "wasteManagement": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicLookupModel"
            },
            "nullable": true
          },
          "communications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicLookupModel"
            },
            "nullable": true
          },
          "staffing": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicStaffCountModel"
            },
            "nullable": true
          },
          "staffingSummary": {
            "$ref": "#/components/schemas/PublicFacilityStaffingSummaryModel"
          },
          "beds": {
            "$ref": "#/components/schemas/PublicFacilityBedsModel"
          },
          "rooms": {
            "$ref": "#/components/schemas/PublicFacilityRoomsModel"
          },
          "roomAvailability": {
            "$ref": "#/components/schemas/PublicFacilityRoomAvailabilityModel"
          },
          "transport": {
            "$ref": "#/components/schemas/PublicFacilityTransportModel"
          },
          "ict": {
            "$ref": "#/components/schemas/PublicFacilityIctModel"
          },
          "sanitation": {
            "$ref": "#/components/schemas/PublicFacilitySanitationModel"
          }
        },
        "additionalProperties": false
      },
      "PublicFacilityServicesModelResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/APIResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "$ref": "#/components/schemas/PublicFacilityServicesModel"
          }
        },
        "additionalProperties": false
      },
      "PublicFacilityStaffingSummaryModel": {
        "type": "object",
        "properties": {
          "medicalDoctors": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "specialistPhysicians": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "subSpecialists": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "healthOfficers": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "nurses": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "midwives": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "emergencyMedicalTechnicians": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "anesthesiaProfessionals": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "biomedicalEngineers": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "pharmacists": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "medicalLaboratoryTechnicians": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "emergencySurgicalOfficers": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dentalProfessionals": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "radiographers": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "physiotherapists": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "environmentalHealthProfessionals": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "healthInformationTechnicians": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "healthExtensionWorkers": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublicFacilityTransportModel": {
        "type": "object",
        "properties": {
          "hasAmbulances": {
            "type": "boolean",
            "nullable": true
          },
          "hasCars": {
            "type": "boolean",
            "nullable": true
          },
          "hasMotorcycles": {
            "type": "boolean",
            "nullable": true
          },
          "ambulances": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "cars": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "motorcycles": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "otherModernTransport": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublicLookupModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublicStaffCountModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RequestReasonOption": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "requiresDescription": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "RequestReasonOptionListResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/APIResult"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RequestReasonOption"
            },
            "nullable": true
          }
        },
        "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": "PublicFacilityRetrieval"
    },
    {
      "name": "PublicLocation"
    },
    {
      "name": "PublicLookup"
    },
    {
      "name": "PublicReport"
    },
    {
      "name": "PublicRequestReasons"
    }
  ]
}