{
  "openapi": "3.1.1",
  "info": {
    "title": "Unit Trac Api",
    "description": "The Unit Trac Api provides access to information about your account with Unit Trac.",
    "contact": {
      "name": "Unit Trac Support",
      "url": "https://unittrac.com",
      "email": "service@unittrac.com"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://www.unittrac.com/"
    }
  ],
  "paths": {
    "/.well-known/oauth-authorization-server": {
      "get": {
        "tags": [
          "UnitTrac.Web.Site.Mvc"
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service temporarily unavailable"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/.well-known/oauth-protected-resource": {
      "get": {
        "tags": [
          "UnitTrac.Web.Site.Mvc"
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service temporarily unavailable"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/.well-known/oauth-protected-resource/mcp": {
      "get": {
        "tags": [
          "UnitTrac.Web.Site.Mvc"
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service temporarily unavailable"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/oauth/token": {
      "post": {
        "tags": [
          "UnitTrac.Web.Site.Mvc"
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service temporarily unavailable"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/.well-known/assetlinks.json": {
      "get": {
        "tags": [
          "UnitTrac.Web.Site.Mvc"
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service temporarily unavailable"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/api/v1/Businesses/details": {
      "get": {
        "tags": [
          "Businesses"
        ],
        "summary": "Details",
        "description": "Provides basic information about your business.",
        "operationId": "BusinessDetails",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessDetailsApiModel"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service temporarily unavailable"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/api/v1/Countries": {
      "get": {
        "tags": [
          "Countries"
        ],
        "summary": "List",
        "description": "Provides the list of countries Unit Trac supports, each with its ID, name, and two-letter abbreviation.",
        "operationId": "CountryList",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CountrySummaryApiModel"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service temporarily unavailable"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/api/v1/Countries/{abbreviation}": {
      "get": {
        "tags": [
          "Countries"
        ],
        "summary": "Details",
        "description": "Provides a single country by its two-letter abbreviation (for example \"US\", \"CA\", etc.).",
        "operationId": "CountryDetails",
        "parameters": [
          {
            "name": "abbreviation",
            "in": "path",
            "description": "The country's two-letter abbreviation (for example \"US\", \"CA\", etc.).",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CountrySummaryApiModel"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service temporarily unavailable"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/api/v1/Countries/{country}/stateprovinces": {
      "get": {
        "tags": [
          "Countries"
        ],
        "summary": "List State/Provinces",
        "description": "Provides the states/provinces for a country. Pass the country's two-letter abbreviation (for example \"US\", \"CA\", etc.) in the route.",
        "operationId": "CountryStateProvinceList",
        "parameters": [
          {
            "name": "country",
            "in": "path",
            "description": "The country's two-letter abbreviation (for example \"US\", \"CA\", etc.).",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StateProvinceSummaryApiModel"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service temporarily unavailable"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/api/v1/Facilities": {
      "get": {
        "tags": [
          "Facilities"
        ],
        "summary": "List",
        "description": "Provides a collection of facilities associated with your business.",
        "operationId": "FacilityList",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FacilitySummaryApiModel"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service temporarily unavailable"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/api/v1/Facilities/{id}": {
      "get": {
        "tags": [
          "Facilities"
        ],
        "summary": "Details",
        "description": "Provides details about your facility.  Pass the facility ID in the route, or this will fall back to the list endpoint.",
        "operationId": "FacilityDetails",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacilityDetailsApiModel"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service temporarily unavailable"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    },
    "/api/v1/FacilityReviews": {
      "get": {
        "tags": [
          "FacilityReviews"
        ],
        "summary": "List",
        "description": "Provides a collection of reviews customers have recorded about your facility.",
        "operationId": "FacilityReviewsList",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "completed, name, or rating.  Default is completed",
            "schema": {
              "type": "string",
              "default": "completed"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedListApiModelOfFacilityReviewSummaryApiModel"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service temporarily unavailable"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ],
        "x-badges": [
          {
            "name": "Premium Website Feature",
            "position": "after"
          }
        ]
      }
    },
    "/api/v1/FacilityReviews/{facilityId}": {
      "get": {
        "tags": [
          "FacilityReviews"
        ],
        "summary": "List by Facility",
        "description": "Provides a collection of reviews customers have recorded about your facility.",
        "operationId": "FacilityReviewsListByFacility",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "take",
            "in": "query",
            "description": "The number of results to return per call (max of 50).  Default 50.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 50
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "completed, name, or rating.  Default is completed",
            "schema": {
              "type": "string",
              "default": "completed"
            }
          },
          {
            "name": "facilityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedListApiModelOfFacilityReviewSummaryApiModel"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service temporarily unavailable"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ],
        "x-badges": [
          {
            "name": "Premium Website Feature",
            "position": "after"
          }
        ]
      }
    },
    "/api/v1/Leads": {
      "post": {
        "tags": [
          "Leads"
        ],
        "summary": "Create",
        "description": "Submits a new lead for your business - use this to capture a lease application, unit reservation, or other rental reservation from a prospective customer. The lead is recorded and the business's configured lead notifications are sent.",
        "operationId": "LeadCreate",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadApiModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadApiModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LeadApiModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service temporarily unavailable"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "ApiKey": [ ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "AddressApiModel": {
        "type": "object",
        "properties": {
          "addressLine1": {
            "type": [
              "null",
              "string"
            ],
            "example": "123 Example Ln."
          },
          "addressLine2": {
            "type": [
              "null",
              "string"
            ],
            "example": "#2."
          },
          "city": {
            "type": [
              "null",
              "string"
            ],
            "example": "Example City"
          },
          "stateProvince": {
            "type": [
              "null",
              "string"
            ],
            "example": "CA"
          },
          "postalCode": {
            "type": [
              "null",
              "string"
            ],
            "example": "12345"
          },
          "country": {
            "type": [
              "null",
              "string"
            ],
            "example": "US"
          }
        }
      },
      "BusinessDetailsApiModel": {
        "required": [
          "id",
          "name",
          "phone",
          "email"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Business Id",
            "example": "business_xxxxxxxxxxxxxxxxxxxx"
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Business Name",
            "example": "Acme Units LLC."
          },
          "phone": {
            "type": [
              "null",
              "string"
            ],
            "description": "Business Phone Number",
            "example": "(123) 333-3333"
          },
          "email": {
            "type": [
              "null",
              "string"
            ],
            "description": "Business Email Address",
            "example": "example@domain.com"
          },
          "url": {
            "type": [
              "null",
              "string"
            ],
            "description": "Business Website Url",
            "example": "https://www.acmeunits.com"
          },
          "mailingAddress": {
            "$ref": "#/components/schemas/AddressApiModel"
          }
        },
        "description": "Details about your business"
      },
      "CountrySummaryApiModel": {
        "required": [
          "id",
          "name",
          "abbreviation"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Country Id",
            "example": "country_xxxxxxxxxxxxxxxxxxxx"
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Country Name",
            "example": "United States"
          },
          "abbreviation": {
            "type": [
              "null",
              "string"
            ],
            "description": "Country two-letter abbreviation",
            "example": "US"
          }
        },
        "description": "Information about a country"
      },
      "FacilityDetailsApiModel": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Facility Id",
            "example": "facility_xxxxxxxxxxxxxxxxxxxx"
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Facility Name",
            "example": "Cooper Road"
          },
          "physicalAddress": {
            "$ref": "#/components/schemas/AddressApiModel"
          },
          "mailingAddress": {
            "$ref": "#/components/schemas/AddressApiModel"
          },
          "sizes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/SizeDetailsApiModel"
            }
          }
        },
        "description": "Detailed information about a facility associated with your business"
      },
      "FacilityReviewSummaryApiModel": {
        "required": [
          "facilityReviewId",
          "facilityId",
          "reviewerName",
          "starRating",
          "reviewSummary",
          "completedDateLocal"
        ],
        "type": "object",
        "properties": {
          "facilityReviewId": {
            "type": "string",
            "description": "Facility Review Id",
            "example": "facilityreview_xxxxxxxxxxxxxxxxxxxx"
          },
          "facilityId": {
            "type": "string",
            "description": "Facility Id",
            "example": "facility_xxxxxxxxxxxxxxxxxxxx"
          },
          "reviewerName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Reviewer Name",
            "example": "John Doe"
          },
          "starRating": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Star Rating",
            "format": "uint8",
            "example": 5
          },
          "reviewSummary": {
            "type": [
              "null",
              "string"
            ],
            "description": "Review Summary",
            "example": "The best place to store my extra stuff.  Thanks!"
          },
          "completedDateLocal": {
            "type": "string",
            "description": "Completed Date",
            "format": "date-time",
            "example": "2025-01-01T00:00:00.0000000+00:00"
          }
        },
        "description": "A review of your facility submitted by a customer"
      },
      "FacilitySummaryApiModel": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Facility Id",
            "example": "facility_xxxxxxxxxxxxxxxxxxxx"
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Facility Name",
            "example": "Cooper Road"
          },
          "physicalAddress": {
            "$ref": "#/components/schemas/AddressApiModel"
          },
          "mailingAddress": {
            "$ref": "#/components/schemas/AddressApiModel"
          }
        },
        "description": "Information about a facility associated with your business"
      },
      "LeadApiModel": {
        "required": [
          "preferredSizeID",
          "preferredContactMethod"
        ],
        "type": "object",
        "properties": {
          "customerName": {
            "maxLength": 50,
            "type": [
              "null",
              "string"
            ]
          },
          "customerEmailCsv": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ],
            "description": "The prospective customer's email address. If multiple comma/semicolon-separated addresses are supplied, only the first is used."
          },
          "customerPhone1": {
            "maxLength": 50,
            "type": [
              "null",
              "string"
            ]
          },
          "customerPhone2": {
            "maxLength": 50,
            "type": [
              "null",
              "string"
            ]
          },
          "addressLine1": {
            "maxLength": 50,
            "type": [
              "null",
              "string"
            ]
          },
          "addressLine2": {
            "maxLength": 50,
            "type": [
              "null",
              "string"
            ]
          },
          "city": {
            "maxLength": 50,
            "type": [
              "null",
              "string"
            ]
          },
          "stateProvinceID": {
            "type": "string",
            "description": "The state or province, given as the id returned by the Countries state/provinces endpoint (for example \"stateprovince_xxxxxxxxxxxxxxxxxxxx\"). If it isn't supplied or can't be resolved, your business's state/province is used.",
            "example": "stateprovince_xxxxxxxxxxxxxxxxxxxx"
          },
          "postalCode": {
            "maxLength": 50,
            "type": [
              "null",
              "string"
            ]
          },
          "preferredSizeID": {
            "type": "string",
            "description": "The preferred unit size, given as the size id returned by the Facilities Details endpoint (for example \"size_xxxxxxxxxxxxxxxxxxxx\").",
            "example": "size_xxxxxxxxxxxxxxxxxxxx"
          },
          "comments": {
            "maxLength": 1000,
            "type": [
              "null",
              "string"
            ],
            "description": "Optional.  Use this to pass a message from the user or system to the Unit Trac user interface.  This message will appear as a note to assist while processing the request."
          },
          "preferredContactMethod": {
            "type": [
              "null",
              "integer"
            ],
            "description": "<p>Possible values:</p>\r\n<ul>\r\n<li><b>Phone</b>: 0</li>\r\n<li><b>Text</b>: 1</li>\r\n<li><b>Email</b>: 2</li>\r\n</ul>\r\n"
          },
          "preferredMoveInDateLocal": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "PagedListApiModelOfFacilityReviewSummaryApiModel": {
        "type": "object",
        "properties": {
          "items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/FacilityReviewSummaryApiModel"
            }
          },
          "currentPage": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "resultsPerPage": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalResultCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": [
              "null",
              "string"
            ]
          },
          "title": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "detail": {
            "type": [
              "null",
              "string"
            ]
          },
          "instance": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SizeDetailsApiModel": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Size Id",
            "example": "size_xxxxxxxxxxxxxxxxxxxx"
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Size Name",
            "example": "Large"
          },
          "storageDescription": {
            "type": [
              "null",
              "string"
            ],
            "description": "Storage Description",
            "example": "Boat / RV / Trailer"
          },
          "formattedSize": {
            "type": [
              "null",
              "string"
            ],
            "description": "Formatted Size",
            "example": "10' x 20'"
          },
          "width": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Width",
            "format": "float",
            "example": 10
          },
          "height": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Height",
            "format": "float",
            "example": 10
          },
          "depth": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Depth",
            "format": "float",
            "example": 20
          },
          "unitOfMeasure": {
            "type": "integer",
            "description": "Unit of Measure<p>Possible values:</p>\r\n<ul>\r\n<li><b>Imperial</b>: 1</li>\r\n<li><b>Metric</b>: 2</li>\r\n</ul>\r\n",
            "example": 1
          },
          "sizePrice": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Size price (when not priced per unit)",
            "format": "double",
            "example": 70.5
          },
          "perUnitPricing": {
            "type": "boolean",
            "description": "If true, the size is priced per unit, otherwise priced using the Size Price",
            "example": false
          },
          "pricingPeriod": {
            "type": "integer",
            "description": "Pricing Period<p>Possible values:</p>\r\n<ul>\r\n<li><b>Monthly</b>: 1</li>\r\n<li><b>Weekly</b>: 2</li>\r\n</ul>\r\n",
            "example": 1
          },
          "icon": {
            "description": "The icon used to visually represent the size",
            "$ref": "#/components/schemas/SizeIconApiModel"
          },
          "units": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/UnitDetailsApiModel"
            }
          }
        },
        "description": "Information about a size of unit offered at your facility"
      },
      "SizeIconApiModel": {
        "type": "object",
        "properties": {
          "iconPath": {
            "type": [
              "null",
              "string"
            ],
            "description": "Path to the image (for image type icons)",
            "example": "/img/sizeIcons/3D-Colored-Box-Single.svg"
          },
          "iconCssClass": {
            "type": [
              "null",
              "string"
            ],
            "description": "Css class for the icon (for font type icons)",
            "example": "fa-box"
          },
          "iconType": {
            "type": "integer",
            "description": "Icon Type<p>Possible values:</p>\r\n<ul>\r\n<li><b>Image</b>: 1</li>\r\n<li><b>Font Icon</b>: 2</li>\r\n</ul>\r\n",
            "example": 1
          }
        }
      },
      "StateProvinceSummaryApiModel": {
        "required": [
          "id",
          "name",
          "abbreviation"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "State/Province Id",
            "example": "stateprovince_xxxxxxxxxxxxxxxxxxxx"
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "State/Province Name",
            "example": "Wisconsin"
          },
          "abbreviation": {
            "type": [
              "null",
              "string"
            ],
            "description": "State/Province two-letter abbreviation",
            "example": "WI"
          }
        },
        "description": "Information about a state or province"
      },
      "UnitDetailsApiModel": {
        "required": [
          "id",
          "sizeId",
          "identifier"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unit Id",
            "example": "unit_xxxxxxxxxxxxxxxxxxxx"
          },
          "sizeId": {
            "type": "string",
            "description": "Size Id",
            "example": "size_xxxxxxxxxxxxxxxxxxxx"
          },
          "identifier": {
            "type": [
              "null",
              "string"
            ],
            "description": "Unit Identifier",
            "example": "Unit 001"
          },
          "unitPrice": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Unit Price (per period)",
            "format": "double",
            "example": 70.5
          },
          "pricingPeriod": {
            "type": "integer",
            "description": "Pricing Period<p>Possible values:</p>\r\n<ul>\r\n<li><b>Monthly</b>: 1</li>\r\n<li><b>Weekly</b>: 2</li>\r\n</ul>\r\n",
            "example": 1
          },
          "isCurrentlyActive": {
            "type": "boolean",
            "description": "True if the unit is active, otherwise false",
            "example": true
          },
          "isCurrentlyLeased": {
            "type": "boolean",
            "description": "True if the unit is currently leased to a customer, otherwise false",
            "example": true
          },
          "displayOnWebsite": {
            "type": "boolean",
            "description": "True if the unit should be visible on your website, otherwise false",
            "example": true
          },
          "currentStatus": {
            "type": "integer",
            "description": "Current status of the unit<p>Possible values:</p>\r\n<ul>\r\n<li><b>Rentable</b>: 1</li>\r\n<li><b>Unrentable</b>: 2</li>\r\n<li><b>Needs Repair</b>: 3</li>\r\n</ul>\r\n",
            "example": 1
          }
        },
        "description": "Information about a unit available at your facility"
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "type": "http",
        "description": "Api Key (can be found in your business settings)",
        "scheme": "bearer",
        "bearerFormat": "Api Key"
      }
    }
  },
  "tags": [
    {
      "name": "UnitTrac.Web.Site.Mvc"
    },
    {
      "name": "Businesses"
    },
    {
      "name": "Countries"
    },
    {
      "name": "Facilities"
    },
    {
      "name": "FacilityReviews"
    },
    {
      "name": "Leads"
    }
  ]
}