{
  "openapi": "3.0.1",
  "info": {
    "title": "DISA API Documentation",
    "version": "avionte"
  },
  "paths": {
    "/v1/avionte/applicantlink/create": {
      "post": {
        "tags": [
          "Applicant Link"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateApplicantLinkRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateApplicantLinkRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateApplicantLinkRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateApplicantLinkRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/avionte/applicantlink/{id}": {
      "get": {
        "tags": [
          "Applicant Link"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/avionte/applicantlink/templates": {
      "get": {
        "tags": [
          "Applicant Link"
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/avionte/auth/testauth": {
      "post": {
        "tags": [
          "Authentication"
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/avionte/auth/GenerateAuthHeaderSecured": {
      "get": {
        "tags": [
          "Authentication"
        ],
        "parameters": [
          {
            "name": "credential1",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "credential2",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secret",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "timestamp",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/avionte/auth/GetSSOLink": {
      "get": {
        "tags": [
          "Authentication"
        ],
        "parameters": [
          {
            "name": "redirect",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/avionte/auth/GetSSOLinkByOrderId": {
      "get": {
        "tags": [
          "Authentication"
        ],
        "parameters": [
          {
            "name": "orderId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/avionte/auth/GetSSOLinkByApplicantLinkId": {
      "get": {
        "tags": [
          "Authentication"
        ],
        "parameters": [
          {
            "name": "applicantLinkId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/avionte/customers/options": {
      "get": {
        "tags": [
          "Customers"
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/avionte/orders/GetOrder": {
      "get": {
        "tags": [
          "Orders"
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/avionte/orders/create": {
      "post": {
        "tags": [
          "Orders"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrderRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrderRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrderRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrderRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/avionte/orders/{id}": {
      "get": {
        "tags": [
          "Orders"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "includePdf",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/avionte/orders/status/{orderId}": {
      "get": {
        "tags": [
          "Orders"
        ],
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/avionte/orders/createheldorder": {
      "post": {
        "tags": [
          "Orders"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateHeldOrderRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateHeldOrderRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateHeldOrderRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateHeldOrderRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/avionte/products": {
      "get": {
        "tags": [
          "Products"
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/avionte/products/getpackagejson": {
      "get": {
        "tags": [
          "Products"
        ],
        "parameters": [
          {
            "name": "packageId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ApplicantLinkEmailOptions": {
        "type": "object",
        "properties": {
          "sendEmail": {
            "type": "boolean"
          },
          "sendFollowups": {
            "type": "boolean"
          },
          "sendConfirmation": {
            "type": "boolean"
          },
          "customEmailMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ApplicantLinkPostbackStatuses": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "format": "int32"
      },
      "ApplicantLinkProducts": {
        "type": "object",
        "properties": {
          "packageId": {
            "type": "integer",
            "format": "int32"
          },
          "alaCarteServices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ApplicantLinkService"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ApplicantLinkRequestFormsCompletedPostbackRequest": {
        "type": "object",
        "properties": {
          "applicantLinkId": {
            "type": "integer",
            "format": "int32"
          },
          "orderId": {
            "type": "integer",
            "format": "int32"
          },
          "status": {
            "$ref": "#/components/schemas/ApplicantLinkPostbackStatuses"
          },
          "webhookCallbackId": {
            "type": "integer",
            "format": "int32"
          },
          "customerId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ApplicantLinkRequestOrderCompletedPostbackRequest": {
        "type": "object",
        "properties": {
          "applicantLinkId": {
            "type": "integer",
            "format": "int32"
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "orderId": {
            "type": "integer",
            "format": "int32"
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "report": {
            "type": "string",
            "nullable": true
          },
          "result": {
            "$ref": "#/components/schemas/OrderResults"
          },
          "total": {
            "type": "number",
            "format": "double"
          },
          "webhookCallbackId": {
            "type": "integer",
            "format": "int32"
          },
          "externalSubjectId": {
            "type": "string",
            "nullable": true
          },
          "externalCustomerId": {
            "type": "string",
            "nullable": true
          },
          "externalRequestId": {
            "type": "string",
            "nullable": true
          },
          "customerId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ApplicantLinkService": {
        "type": "object",
        "properties": {
          "serviceId": {
            "type": "integer",
            "format": "int32"
          },
          "minQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "maxQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "serviceCategory": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateApplicantLinkRequest": {
        "required": [
          "emailAddress",
          "emailOptions",
          "firstName",
          "lastName",
          "phoneNumber",
          "products"
        ],
        "type": "object",
        "properties": {
          "templateId": {
            "type": "integer",
            "format": "int32"
          },
          "firstName": {
            "minLength": 1,
            "type": "string"
          },
          "lastName": {
            "minLength": 1,
            "type": "string"
          },
          "emailAddress": {
            "minLength": 1,
            "type": "string"
          },
          "phoneNumber": {
            "minLength": 1,
            "type": "string"
          },
          "allowNewYork": {
            "type": "boolean"
          },
          "requirePayment": {
            "type": "boolean"
          },
          "authorizationOnly": {
            "type": "boolean"
          },
          "customerEmailAddress": {
            "type": "string",
            "nullable": true
          },
          "billingCode": {
            "type": "string",
            "nullable": true
          },
          "overrideAccountId": {
            "type": "integer",
            "format": "int32"
          },
          "rush": {
            "type": "boolean"
          },
          "redirectUrl": {
            "type": "string",
            "nullable": true
          },
          "iccJobCode": {
            "type": "string",
            "nullable": true
          },
          "statusPostbackURL": {
            "type": "string",
            "nullable": true
          },
          "orderPostbackURL": {
            "type": "string",
            "nullable": true
          },
          "expireDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "customFields": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          },
          "emailOptions": {
            "$ref": "#/components/schemas/ApplicantLinkEmailOptions"
          },
          "products": {
            "$ref": "#/components/schemas/ApplicantLinkProducts"
          },
          "integrationPartnerId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "integrationPartnerCredentialsType": {
            "$ref": "#/components/schemas/IntegrationPartnerAuthenticationCredentialsType"
          },
          "integrationPartnerTokenType": {
            "$ref": "#/components/schemas/IntegrationPartnerAuthenticationExpirationTokenType"
          }
        },
        "additionalProperties": false
      },
      "CreateHeldOrderRequest": {
        "type": "object",
        "properties": {
          "applicantLinkId": {
            "type": "integer",
            "format": "int32"
          },
          "overridePackageId": {
            "type": "integer",
            "format": "int32"
          },
          "billingCode": {
            "type": "string",
            "nullable": true
          },
          "iccJobCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateOrderRequest": {
        "type": "object",
        "properties": {
          "settings": {
            "$ref": "#/components/schemas/OrderSettings"
          },
          "subject": {
            "$ref": "#/components/schemas/OrderSubject"
          },
          "items": {
            "$ref": "#/components/schemas/OrderContents"
          }
        },
        "additionalProperties": false
      },
      "DOTAgency": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "format": "int32"
      },
      "DateRangeListInputModel": {
        "type": "object",
        "properties": {
          "start": {
            "type": "string",
            "nullable": true
          },
          "end": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "startYearOnly": {
            "type": "boolean",
            "readOnly": true
          },
          "endYearOnly": {
            "type": "boolean",
            "readOnly": true
          },
          "stillEmployed": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "DrivingRecordFields": {
        "type": "object",
        "properties": {
          "licenseNumber": {
            "type": "string",
            "nullable": true
          },
          "licenseState": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DrugScreeningFields": {
        "required": [
          "reasonForTest"
        ],
        "type": "object",
        "properties": {
          "reasonForTest": {
            "$ref": "#/components/schemas/DrugScreeningReasonEnum"
          },
          "daysToExpiration": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dotAgency": {
            "$ref": "#/components/schemas/DOTAgency"
          },
          "driversLicenseNumber": {
            "type": "string",
            "nullable": true
          },
          "driversLicenseState": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DrugScreeningReasonEnum": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16
        ],
        "type": "integer",
        "format": "int32"
      },
      "EducationFields": {
        "required": [
          "city",
          "country",
          "schoolName",
          "state"
        ],
        "type": "object",
        "properties": {
          "degree": {
            "type": "string",
            "nullable": true
          },
          "major": {
            "type": "string",
            "nullable": true
          },
          "schoolName": {
            "minLength": 1,
            "type": "string"
          },
          "addressLine1": {
            "type": "string",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "minLength": 1,
            "type": "string"
          },
          "state": {
            "minLength": 1,
            "type": "string"
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "minLength": 1,
            "type": "string"
          },
          "phoneNumber1": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber2": {
            "type": "string",
            "nullable": true
          },
          "faxNumber": {
            "type": "string",
            "nullable": true
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "nullable": true
          },
          "graduated": {
            "type": "boolean"
          },
          "typeOfEducation": {
            "type": "string",
            "nullable": true
          },
          "nameOnDiploma": {
            "type": "string",
            "nullable": true
          },
          "yearObtained": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IntegrationPartnerAuthenticationCredentialsType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "IntegrationPartnerAuthenticationExpirationTokenType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "LicenseFields": {
        "type": "object",
        "properties": {
          "yearIssued": {
            "type": "integer",
            "format": "int32"
          },
          "licensingAgencyId": {
            "type": "string",
            "nullable": true
          },
          "licensingAgency": {
            "type": "string",
            "nullable": true
          },
          "licenseNumber": {
            "type": "string",
            "nullable": true
          },
          "stateOfIssue": {
            "type": "string",
            "nullable": true
          },
          "comments": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderCompletedPostbackRequest": {
        "type": "object",
        "properties": {
          "customerAccountId": {
            "type": "integer",
            "format": "int32"
          },
          "customerAccountPersonId": {
            "type": "integer",
            "format": "int32"
          },
          "customerId": {
            "type": "integer",
            "format": "int32"
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "hasNYJurisdiction": {
            "type": "boolean"
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "orderId": {
            "type": "integer",
            "format": "int32"
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "report": {
            "type": "string",
            "nullable": true
          },
          "result": {
            "$ref": "#/components/schemas/OrderResults"
          },
          "total": {
            "type": "number",
            "format": "double"
          },
          "externalSubjectId": {
            "type": "string",
            "nullable": true
          },
          "externalCustomerId": {
            "type": "string",
            "nullable": true
          },
          "externalRequestId": {
            "type": "string",
            "nullable": true
          },
          "webhookCallbackId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "OrderContents": {
        "type": "object",
        "properties": {
          "packageId": {
            "type": "integer",
            "format": "int32"
          },
          "services": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderService"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderJurisdiction": {
        "required": [
          "county",
          "state"
        ],
        "type": "object",
        "properties": {
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "minLength": 1,
            "type": "string"
          },
          "county": {
            "minLength": 1,
            "type": "string"
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderResults": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "OrderService": {
        "type": "object",
        "properties": {
          "serviceId": {
            "type": "integer",
            "format": "int32"
          },
          "educationHistory": {
            "$ref": "#/components/schemas/EducationFields"
          },
          "workHistory": {
            "$ref": "#/components/schemas/WorkHistoryFields"
          },
          "reference": {
            "$ref": "#/components/schemas/ReferenceFields"
          },
          "driversLicense": {
            "$ref": "#/components/schemas/DrivingRecordFields"
          },
          "professionalLicense": {
            "$ref": "#/components/schemas/LicenseFields"
          },
          "workersComp": {
            "$ref": "#/components/schemas/WorkersCompFields"
          },
          "ucc": {
            "$ref": "#/components/schemas/UCCFields"
          },
          "drugScreening": {
            "$ref": "#/components/schemas/DrugScreeningFields"
          }
        },
        "additionalProperties": false
      },
      "OrderSettings": {
        "type": "object",
        "properties": {
          "billingCode": {
            "type": "string",
            "nullable": true
          },
          "rushOrder": {
            "type": "boolean"
          },
          "ignoreNYJurisdictions": {
            "type": "boolean"
          },
          "customerEmailAddresses": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "customerId": {
            "type": "string",
            "nullable": true
          },
          "requestId": {
            "type": "string",
            "nullable": true
          },
          "completedCallbackURL": {
            "type": "string",
            "nullable": true
          },
          "overrideAccountId": {
            "type": "integer",
            "format": "int32"
          },
          "customFields": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderSubject": {
        "required": [
          "currentAddress",
          "dob",
          "employmentLocation",
          "firstName",
          "lastName",
          "phoneNumber"
        ],
        "type": "object",
        "properties": {
          "subjectId": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "minLength": 1,
            "type": "string"
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "minLength": 1,
            "type": "string"
          },
          "ssn": {
            "type": "string",
            "nullable": true
          },
          "dob": {
            "type": "string",
            "format": "date-time"
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "minLength": 1,
            "type": "string"
          },
          "employmentLocation": {
            "minLength": 1,
            "type": "string"
          },
          "aliases": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderSubjectAlias"
            },
            "nullable": true
          },
          "international": {
            "type": "boolean"
          },
          "sendCopyOfReport": {
            "$ref": "#/components/schemas/SubjectCopyReportOptions"
          },
          "currentAddress": {
            "$ref": "#/components/schemas/SubjectAddress"
          },
          "previousAddress": {
            "$ref": "#/components/schemas/SubjectAddress"
          },
          "jurisdictions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderJurisdiction"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderSubjectAlias": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReferenceFields": {
        "required": [
          "firstName",
          "lastName",
          "phoneNumber1",
          "yearsKnown"
        ],
        "type": "object",
        "properties": {
          "emailAddress": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "minLength": 1,
            "type": "string"
          },
          "lastName": {
            "minLength": 1,
            "type": "string"
          },
          "relation": {
            "type": "string",
            "nullable": true
          },
          "yearsKnown": {
            "type": "integer",
            "format": "int32"
          },
          "phoneNumber1": {
            "minLength": 1,
            "type": "string"
          },
          "phoneNumber2": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubjectAddress": {
        "required": [
          "addressLine1",
          "city",
          "country",
          "postalCode",
          "state"
        ],
        "type": "object",
        "properties": {
          "addressLine1": {
            "minLength": 1,
            "type": "string"
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "minLength": 1,
            "type": "string"
          },
          "state": {
            "minLength": 1,
            "type": "string"
          },
          "postalCode": {
            "minLength": 1,
            "type": "string"
          },
          "country": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SubjectCopyReportOptions": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "UCCFields": {
        "type": "object",
        "properties": {
          "institutionName": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WorkHistoryFields": {
        "required": [
          "city",
          "companyName",
          "contactFirstName",
          "contactLastName",
          "contractedEmployee",
          "okToContact",
          "phoneNumber1",
          "startDate",
          "state"
        ],
        "type": "object",
        "properties": {
          "companyName": {
            "minLength": 1,
            "type": "string"
          },
          "addressLine1": {
            "type": "string",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "minLength": 1,
            "type": "string"
          },
          "state": {
            "minLength": 1,
            "type": "string"
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber1": {
            "minLength": 1,
            "type": "string"
          },
          "phoneNumber2": {
            "type": "string",
            "nullable": true
          },
          "faxNumber": {
            "type": "string",
            "nullable": true
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          },
          "website": {
            "type": "string",
            "nullable": true
          },
          "yourTitle": {
            "type": "string",
            "nullable": true
          },
          "contactTitle": {
            "type": "string",
            "nullable": true
          },
          "contactFirstName": {
            "minLength": 1,
            "type": "string"
          },
          "contactLastName": {
            "minLength": 1,
            "type": "string"
          },
          "contractedEmployee": {
            "type": "boolean"
          },
          "contractedCompanyName": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "minLength": 1,
            "type": "string"
          },
          "endDate": {
            "type": "string",
            "nullable": true
          },
          "reasonForLeaving": {
            "type": "string",
            "nullable": true
          },
          "okToContact": {
            "type": "boolean"
          },
          "dateRange": {
            "$ref": "#/components/schemas/DateRangeListInputModel"
          }
        },
        "additionalProperties": false
      },
      "WorkersCompFields": {
        "type": "object",
        "properties": {
          "state": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "description": "Token for accessing secure APIs",
        "name": "Authorization",
        "in": "header"
      }
    }
  }
}