{
  "openapi": "3.0.1",
  "info": {
    "title": "Corrigo Api Integration",
    "version": "v1"
  },
  "servers": [
    {
      "url": "/api"
    }
  ],
  "paths": {
    "/v{version}/base/{entityName}/{inlineId}": {
      "get": {
        "tags": [
          "Base"
        ],
        "parameters": [
          {
            "name": "entityName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "inlineId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "properties",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "requestId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CompanyName",
            "in": "header",
            "description": "Company friendly name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Base"
        ],
        "parameters": [
          {
            "name": "entityName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "inlineId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "requestId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CompanyName",
            "in": "header",
            "description": "Company friendly name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/base/{entityName}": {
      "post": {
        "tags": [
          "Base"
        ],
        "parameters": [
          {
            "name": "entityName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CompanyName",
            "in": "header",
            "description": "Company friendly name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "put": {
        "tags": [
          "Base"
        ],
        "parameters": [
          {
            "name": "entityName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CompanyName",
            "in": "header",
            "description": "Company friendly name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/batch/Get": {
      "post": {
        "tags": [
          "Batch"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CompanyName",
            "in": "header",
            "description": "Company friendly name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BatchEntityRequestItem"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/batch/Create": {
      "post": {
        "tags": [
          "Batch"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CompanyName",
            "in": "header",
            "description": "Company friendly name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BatchChangeRequestItem"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/batch/Update": {
      "post": {
        "tags": [
          "Batch"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CompanyName",
            "in": "header",
            "description": "Company friendly name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BatchChangeRequestItem"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/batch/Delete": {
      "post": {
        "tags": [
          "Batch"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CompanyName",
            "in": "header",
            "description": "Company friendly name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BatchEntityRequestItem"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/batch/Cmd": {
      "post": {
        "tags": [
          "Batch"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CompanyName",
            "in": "header",
            "description": "Company friendly name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BatchCmdRequestItem"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/cmd/{entityName}/{commandName}": {
      "post": {
        "tags": [
          "Cmd"
        ],
        "parameters": [
          {
            "name": "entityName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "commandName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CompanyName",
            "in": "header",
            "description": "Company friendly name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CmdRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/cmd/{commandName}": {
      "post": {
        "tags": [
          "Cmd"
        ],
        "parameters": [
          {
            "name": "commandName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CompanyName",
            "in": "header",
            "description": "Company friendly name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CmdRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/CorrigoService/GetCompanyWsdkUrl/{company}": {
      "get": {
        "tags": [
          "CorrigoService"
        ],
        "parameters": [
          {
            "name": "company",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "requestId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CompanyName",
            "in": "header",
            "description": "Company friendly name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/query/{entityName}": {
      "post": {
        "tags": [
          "Query"
        ],
        "parameters": [
          {
            "name": "entityName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CompanyName",
            "in": "header",
            "description": "Company friendly name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QueryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ActionResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseResponse"
          },
          {
            "type": "object",
            "properties": {
              "entitySpecifier": {
                "$ref": "#/components/schemas/EntitySpecifier"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Actor": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "typeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "displayAs": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ActorEntitySpecifierActorCorrigoEntityWithComposedId": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "performDeletion": {
                "type": "boolean"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyTreeNode"
                },
                "nullable": true
              },
              "limitMultipleEntitiesNumberBehaviour": {
                "type": "boolean"
              },
              "isNew": {
                "type": "boolean",
                "readOnly": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ActorType": {
        "enum": [
          "Unknown",
          "Employee",
          "Occupancy",
          "CorrigoNet",
          "Resident",
          "CommLease",
          "CommLeaseSpace",
          "Property",
          "Portfolio",
          "LeaseGroup",
          "LeaseUser",
          "Supplier",
          "Asset",
          "WO",
          "Org",
          "Warranty",
          "WOPrintout",
          "Team",
          "CompanyProp",
          "Landmark",
          "Provider",
          "ReportTimeSet",
          "TenantCoi",
          "Model",
          "Theme",
          "CustomerInvoice",
          "Payment",
          "MhLocation",
          "MhProduct",
          "PmRmTemplate",
          "Document",
          "WoProxy",
          "Proposal",
          "PlWoItem",
          "Insurance",
          "InvTemplate",
          "ReportSubscription",
          "Requestor",
          "ProcTemplateStep",
          "Procedure",
          "MhOrder",
          "AssetSystem",
          "WorkTemplate",
          "WtWoProxy",
          "Incident",
          "Visit",
          "DutyType",
          "Estimate",
          "Quote",
          "WoActionLog",
          "ProcedureTemplate",
          "WoRequiredDoc",
          "WoSchedule",
          "Rounds",
          "RoundsSchedule",
          "RoundsStep",
          "Specialty",
          "ReceiptStorageRecord",
          "MhTransaction",
          "MhConsumptionRequest",
          "AlertSend"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "AddChildWorkOrderResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "workOrder": {
                "$ref": "#/components/schemas/WorkOrder"
              },
              "workPlanLink": {
                "$ref": "#/components/schemas/WpTree"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "AddChildWorkOrderRoutine": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "woItemIds": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Address": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "street": {
                "type": "string",
                "nullable": true
              },
              "city": {
                "type": "string",
                "nullable": true
              },
              "state": {
                "type": "string",
                "nullable": true
              },
              "zip": {
                "type": "string",
                "nullable": true
              },
              "street2": {
                "type": "string",
                "nullable": true
              },
              "actorTypeId": {
                "type": "integer",
                "format": "int32"
              },
              "typeId": {
                "type": "string"
              },
              "actorId": {
                "type": "integer",
                "format": "int32"
              },
              "latitude": {
                "type": "number",
                "format": "double"
              },
              "longitude": {
                "type": "number",
                "format": "double"
              },
              "country": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Address2": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "actorId": {
                "type": "integer",
                "format": "int32"
              },
              "typeId": {
                "$ref": "#/components/schemas/StreetAddrType"
              },
              "street": {
                "type": "string",
                "nullable": true
              },
              "street2": {
                "type": "string",
                "nullable": true
              },
              "city": {
                "type": "string",
                "nullable": true
              },
              "state": {
                "type": "string",
                "nullable": true
              },
              "zip": {
                "type": "string",
                "nullable": true
              },
              "country": {
                "type": "string",
                "nullable": true
              },
              "geoStatusId": {
                "$ref": "#/components/schemas/GeoStatus"
              },
              "latitude": {
                "type": "number",
                "format": "double"
              },
              "longitude": {
                "type": "number",
                "format": "double"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "AiResponseRequiredWoStatisticCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "userEmail": {
                "type": "string",
                "nullable": true
              },
              "processedDays": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "AiResponseRequiredWoStatisticCommandResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "countAiResponseRequired": {
                "type": "integer",
                "format": "int32"
              },
              "countProcessedAiMessages": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "AiResponseRequiredWorkOrdersFilters": {
        "type": "object",
        "properties": {
          "providerName": {
            "type": "string",
            "nullable": true
          },
          "customerName": {
            "type": "string",
            "nullable": true
          },
          "woNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AiResponseRequiredWorkOrdersListItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "workOrderUrl": {
            "type": "string",
            "nullable": true
          },
          "providerName": {
            "type": "string",
            "nullable": true
          },
          "customerName": {
            "type": "string",
            "nullable": true
          },
          "workZoneName": {
            "type": "string",
            "nullable": true
          },
          "locationAddress": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "woNumber": {
            "type": "string",
            "nullable": true
          },
          "woStatus": {
            "type": "string",
            "nullable": true
          },
          "woPriority": {
            "type": "string",
            "nullable": true
          },
          "woDueDate": {
            "type": "string",
            "format": "date-time"
          },
          "workDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AlertResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "alertId": {
            "type": "integer",
            "format": "int32"
          },
          "content": {
            "type": "string",
            "nullable": true
          },
          "contentShort": {
            "type": "string",
            "nullable": true
          },
          "sendCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AlertScope": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "userId": {
                "type": "integer",
                "format": "int32"
              },
              "alertTypeId": {
                "$ref": "#/components/schemas/AlertType"
              },
              "scopeId": {
                "type": "integer",
                "format": "int32"
              },
              "scopeTypeId": {
                "$ref": "#/components/schemas/ActorType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "AlertSubscription": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "userId": {
                "type": "integer",
                "format": "int32"
              },
              "alertTypeId": {
                "$ref": "#/components/schemas/AlertType"
              },
              "fullScopeSubscription": {
                "type": "boolean"
              },
              "subscriptionScope": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AlertScope"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "AlertSubscriptionEntitySpecifierAlertSubscriptionCorrigoEntityWithComposedIdAndOptimisticLock": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "performDeletion": {
                "type": "boolean"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyTreeNode"
                },
                "nullable": true
              },
              "limitMultipleEntitiesNumberBehaviour": {
                "type": "boolean"
              },
              "isNew": {
                "type": "boolean",
                "readOnly": true
              },
              "concurrencyId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "AlertType": {
        "enum": [
          "Unknown",
          "Emergency",
          "ApptReminder",
          "ApptChanged",
          "FlaggedTech",
          "EscalationExpired",
          "AssignedWo",
          "BadSurevy",
          "OverdueWoPrior",
          "OverdueWo",
          "NewWo",
          "FlaggedScope",
          "WoCancelled",
          "WorkPlanComplete",
          "WoUnassigned",
          "WoOnHold",
          "WoPriorityChange",
          "VisitOverdue",
          "ImpairmentOverdue",
          "ImpairmentWellOverdue",
          "TenantCoiExpires",
          "QuoteReview",
          "CustomerNoteAssignee",
          "OnSiteLatePrior",
          "BadVerify",
          "CustomerNoteScope",
          "CWoCreated",
          "CWoPutOnHold",
          "CWoCancelled",
          "CWoPickedUp",
          "CWoRejected",
          "CApproveQuote",
          "CVerifyWork",
          "CWoCompleted",
          "CSendWo",
          "CProviderMsg",
          "CCustomerEstimate",
          "CVendorInvoice",
          "CCost",
          "CApptChange",
          "CProviderUrgentMsg",
          "ProposalCurrent",
          "ProposalEnds",
          "ProposalSkipped",
          "PwdExpiration",
          "AssetStatus",
          "ActiveIncident",
          "OpenIncident",
          "IncidentUpdate",
          "CpPwdExpiration",
          "ProDisconnect",
          "CriticalFacilitiesCurrent",
          "CriticalFacilitiesEnds",
          "OfflineDownloadTimeoutExpires",
          "OfflineDownloadStatusIsReleased",
          "IncidentDraft",
          "WorkOrderRenamed",
          "CriticalFacilitiesCreateIncidentProposalRequest",
          "CriticalFacilitiesReviewIncidentProposalRequest",
          "CriticalFacilitiesCreateIncidentApprovalRequestStatusChanged",
          "CriticalFacilitiesReviewIncidentApprovalRequestStatusChanged",
          "WoMessageSentAlertType",
          "RoundsCreatedWithAssignment",
          "RoundsReassignedProvider",
          "RoundsAssignmentRemoved",
          "RoundsRejected",
          "RoundsCancelled",
          "RoundsRecalled",
          "RoundsNotAccepted",
          "RoundsEwEnding",
          "RoundsEwEndingProvider",
          "RoundsMultipleGenerated",
          "RoundsMissed",
          "RoundsIncomplete",
          "RoundsPaused",
          "RoundsPausedProvider",
          "RoundsNotAssigned",
          "RoundsMassCancelled",
          "ApproachingNTEAssignee",
          "ApproachingNTEScope",
          "EmailAttachment",
          "EmailAttachmentFailure",
          "LateInvoiceVendorReminder",
          "VendorInvoiceApprovalReminder",
          "VendorInvoiceManagerEscalation",
          "VendorInvoiceSubmittedCategory"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "AllProperties": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/PropertySetBase"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "Anonymous": {
        "type": "object",
        "properties": {
          "baseline": {
            "type": "integer",
            "format": "int32"
          },
          "optimized": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Anonymous3": {
        "type": "object",
        "properties": {
          "request": {
            "type": "integer",
            "format": "int32"
          },
          "solution": {
            "type": "integer",
            "format": "int32"
          },
          "difference": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Anonymous4": {
        "type": "object",
        "properties": {
          "request": {
            "type": "integer",
            "format": "int32"
          },
          "solution": {
            "type": "integer",
            "format": "int32"
          },
          "difference": {
            "type": "integer",
            "format": "int32"
          },
          "changeType": {
            "$ref": "#/components/schemas/ChangeType"
          }
        },
        "additionalProperties": false
      },
      "Anonymous5": {
        "type": "object",
        "properties": {
          "request": {
            "type": "integer",
            "format": "int32"
          },
          "solution": {
            "type": "integer",
            "format": "int32"
          },
          "difference": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Anonymous6": {
        "type": "object",
        "properties": {
          "request": {
            "type": "integer",
            "format": "int32"
          },
          "solution": {
            "type": "integer",
            "format": "int32"
          },
          "difference": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Anonymous7": {
        "type": "object",
        "properties": {
          "solution": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Anonymous8": {
        "type": "object",
        "properties": {
          "solution": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ApInvoiceStatus": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "forecastGroupId": {
                "$ref": "#/components/schemas/ForecastGroup"
              },
              "apStateId": {
                "$ref": "#/components/schemas/ApState"
              },
              "readyForExport": {
                "type": "boolean"
              },
              "setOnExport": {
                "type": "boolean"
              },
              "childWoDefault": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ApState": {
        "enum": [
          "None",
          "Received",
          "Paid",
          "Waiting",
          "Authorized",
          "Exported",
          "Disputed"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ApStatusChangeCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object",
            "properties": {
              "vendorInvoiceStatusId": {
                "type": "integer",
                "format": "int32"
              },
              "keepCommentIntact": {
                "type": "boolean"
              },
              "currentStatusId": {
                "type": "integer",
                "format": "int32"
              },
              "financialConcurrencyId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ApSubmitPaymentCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/ApStatusChangeCommand"
          },
          {
            "type": "object",
            "properties": {
              "paymentAmount": {
                "type": "number",
                "format": "double"
              },
              "checkNumber": {
                "type": "string",
                "nullable": true
              },
              "checkCutDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ApiTypes": {
        "enum": [
          "SOAP",
          "REST"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ApprovalRule": {
        "enum": [
          "Unknown",
          "Always",
          "AsNeeded",
          "WhenMore"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ApprovalScope": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "actorId": {
                "type": "integer",
                "format": "int32"
              },
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "isDefault": {
                "type": "boolean"
              },
              "approvalTemplate": {
                "$ref": "#/components/schemas/ApprovalTemplate"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ApprovalTemplate": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "steps": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ApprovalTemplateStep"
                },
                "nullable": true
              },
              "typeId": {
                "$ref": "#/components/schemas/ProposalType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ApprovalTemplateStep": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "approvalTemplateId": {
                "type": "integer",
                "format": "int32"
              },
              "stepNumber": {
                "type": "integer",
                "format": "int32"
              },
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "actorId": {
                "type": "integer",
                "format": "int32"
              },
              "ruleId": {
                "$ref": "#/components/schemas/ApprovalRule"
              },
              "autoSkipHours": {
                "type": "integer",
                "format": "int32"
              },
              "isParallel": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Assembly": {
        "type": "object",
        "properties": {
          "definedTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TypeInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "exportedTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Type"
            },
            "nullable": true,
            "readOnly": true
          },
          "codeBase": {
            "type": "string",
            "nullable": true,
            "readOnly": true,
            "deprecated": true
          },
          "entryPoint": {
            "$ref": "#/components/schemas/MethodInfo"
          },
          "fullName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "imageRuntimeVersion": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isDynamic": {
            "type": "boolean",
            "readOnly": true
          },
          "location": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "reflectionOnly": {
            "type": "boolean",
            "readOnly": true
          },
          "isCollectible": {
            "type": "boolean",
            "readOnly": true
          },
          "isFullyTrusted": {
            "type": "boolean",
            "readOnly": true
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "nullable": true,
            "readOnly": true
          },
          "escapedCodeBase": {
            "type": "string",
            "nullable": true,
            "readOnly": true,
            "deprecated": true
          },
          "manifestModule": {
            "$ref": "#/components/schemas/Module"
          },
          "modules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Module"
            },
            "nullable": true,
            "readOnly": true
          },
          "globalAssemblyCache": {
            "type": "boolean",
            "readOnly": true,
            "deprecated": true
          },
          "hostContext": {
            "type": "integer",
            "format": "int64",
            "readOnly": true
          },
          "securityRuleSet": {
            "$ref": "#/components/schemas/SecurityRuleSet"
          }
        },
        "additionalProperties": false
      },
      "AssetAttribute": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "descriptor": {
                "$ref": "#/components/schemas/AttributeDescriptor"
              },
              "assetId": {
                "type": "integer",
                "format": "int32"
              },
              "topAssetId": {
                "type": "integer",
                "format": "int32"
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "value": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "AssetInfo": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "assetId": {
                "type": "integer",
                "format": "int32"
              },
              "communityId": {
                "type": "integer",
                "format": "int32"
              },
              "serialNumber": {
                "type": "string",
                "nullable": true
              },
              "tagId": {
                "type": "string",
                "nullable": true
              },
              "checkPhone": {
                "type": "string",
                "nullable": true
              },
              "assetSystem": {
                "$ref": "#/components/schemas/AssetSystem"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "AssetMatchByTaskCodeCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "parentAssetId": {
                "type": "integer",
                "format": "int32"
              },
              "assetCategories": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AssetType"
                },
                "nullable": true
              },
              "taskCode": {
                "type": "string",
                "nullable": true
              },
              "recordCount": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "AssetSystem": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "nullable": true
              },
              "displayAs": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "AssetTemplate": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "rootAssetId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "AssetTree": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "parentId": {
                "type": "integer",
                "format": "int32"
              },
              "childId": {
                "type": "integer",
                "format": "int32"
              },
              "child": {
                "$ref": "#/components/schemas/Location"
              },
              "distance": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "AssetTreeEntitySpecifierInvTreeCorrigoEntityWithComposedId": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "performDeletion": {
                "type": "boolean"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyTreeNode"
                },
                "nullable": true
              },
              "limitMultipleEntitiesNumberBehaviour": {
                "type": "boolean"
              },
              "isNew": {
                "type": "boolean",
                "readOnly": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "AssetType": {
        "enum": [
          "Unknown",
          "Regular",
          "Building",
          "Unit",
          "Community",
          "RoomArea",
          "Floor",
          "Utility",
          "Equipment"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "Attribute": {
        "type": "object",
        "properties": {
          "typeId": {
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "AttributeDescriptor": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "$ref": "#/components/schemas/CfType"
              },
              "name": {
                "type": "string",
                "nullable": true
              },
              "isHistory": {
                "type": "boolean"
              },
              "displayInWorkOrder": {
                "type": "boolean"
              },
              "options": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AttributeOption"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "AttributeOption": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "parentId": {
                "type": "integer",
                "format": "int32"
              },
              "idx": {
                "type": "integer",
                "format": "int32"
              },
              "value": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "BackupRouting": {
        "enum": [
          "Unassigned",
          "OnCall",
          "Default"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "BaseRequest": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BaseResponse": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BaseWoActionCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "actionDate": {
                "type": "string",
                "format": "date-time"
              },
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "comment": {
                "type": "string",
                "nullable": true
              },
              "statusId": {
                "$ref": "#/components/schemas/WOStatus"
              },
              "concurrencyId": {
                "type": "integer",
                "format": "int32"
              },
              "actionReasonId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "BaselineComparison": {
        "type": "object",
        "properties": {
          "metrics": {
            "$ref": "#/components/schemas/BaselineComparisonMetrics"
          },
          "narrativeInputs": {
            "$ref": "#/components/schemas/NarrativeInputs"
          },
          "baselineSolution": {
            "nullable": true
          },
          "aiNarrative": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BaselineComparisonMetric": {
        "type": "object",
        "properties": {
          "baseline": {
            "type": "number",
            "format": "float"
          },
          "optimized": {
            "type": "number",
            "format": "float"
          },
          "difference": {
            "type": "number",
            "format": "float"
          },
          "differencePercent": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "differencePercentagePoints": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "byDate": {
            "type": "object",
            "allOf": [
              {
                "$ref": "#/components/schemas/Object"
              },
              {
                "type": "object"
              }
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/Anonymous"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BaselineComparisonMetrics": {
        "type": "object",
        "properties": {
          "scheduledMinutes": {
            "$ref": "#/components/schemas/BaselineComparisonMetric"
          },
          "travelTimeMinutes": {
            "$ref": "#/components/schemas/BaselineComparisonMetric"
          },
          "overtimeMinutes": {
            "$ref": "#/components/schemas/BaselineComparisonMetric"
          },
          "slaMetPercentage": {
            "$ref": "#/components/schemas/BaselineComparisonMetric"
          },
          "minutesGainedAhead": {
            "$ref": "#/components/schemas/BaselineComparisonMetric"
          }
        },
        "additionalProperties": false
      },
      "BatchChangeRequestItem": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeRequest"
          },
          {
            "type": "object",
            "properties": {
              "entityType": {
                "$ref": "#/components/schemas/EntityType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "BatchCmdRequestItem": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CmdRequest"
          },
          {
            "type": "object",
            "properties": {
              "commandName": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "BatchEntityRequestItem": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseRequest"
          },
          {
            "type": "object",
            "properties": {
              "entityType": {
                "$ref": "#/components/schemas/EntityType"
              },
              "id": {
                "$ref": "#/components/schemas/JToken"
              },
              "properties": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "BatchEntityResponseItem": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/EntityResponse"
          },
          {
            "type": "object",
            "properties": {
              "entityType": {
                "$ref": "#/components/schemas/EntityType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "BillStatus": {
        "enum": [
          "NotBilled",
          "ReadyToBeBilled",
          "Billed",
          "ReadyToBeBilled_Billed",
          "BilledAndModified",
          "ReadyToBeBilled_BilledAndModified",
          "Billed_BilledAndModified",
          "ReadyToBeBilled_Billed_BilledAndModified"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "BillToOption": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "code": {
                "type": "string",
                "nullable": true
              },
              "typeId": {
                "$ref": "#/components/schemas/BillToTypeRule"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "BillToType": {
        "enum": [
          "None",
          "Customer",
          "WorkZone",
          "Other",
          "Location"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "BillToTypeRule": {
        "enum": [
          "None",
          "LogicDisabled",
          "WoDisabled"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "BillingAccount": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "cpThemeId": {
                "type": "integer",
                "format": "int32"
              },
              "isBillAcct": {
                "type": "boolean"
              },
              "number": {
                "type": "string",
                "nullable": true
              },
              "paymentTerms": {
                "type": "string",
                "nullable": true
              },
              "paymentNumberOfDays": {
                "type": "integer",
                "format": "int32"
              },
              "paymentInstrustions": {
                "type": "string",
                "nullable": true
              },
              "isCreditHold": {
                "type": "boolean"
              },
              "accrualMargin": {
                "type": "integer",
                "format": "int32"
              },
              "salesRep": {
                "type": "string",
                "nullable": true
              },
              "isTaxExempt": {
                "type": "boolean"
              },
              "corpEntity": {
                "$ref": "#/components/schemas/CorporateEntity"
              },
              "balance": {
                "type": "number",
                "format": "double"
              },
              "payDayType": {
                "type": "integer",
                "format": "int32"
              },
              "payDayNumber": {
                "type": "integer",
                "format": "int32"
              },
              "isSelfSelect": {
                "type": "boolean"
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "users": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkUserAndCustomerGroup"
                },
                "nullable": true
              },
              "customers": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkCustomerAndGroup"
                },
                "nullable": true
              },
              "contacts": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkContactAndGroup"
                },
                "nullable": true
              },
              "customFields": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomField2"
                },
                "nullable": true
              },
              "address": {
                "$ref": "#/components/schemas/Address2"
              },
              "notes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Note"
                },
                "nullable": true
              },
              "synchronizeNte": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "BillingRule": {
        "enum": [
          "Unknown",
          "VendorAndServiceFee",
          "Contract",
          "NotBilled",
          "ServiceFee",
          "All",
          "CostsAndFees",
          "ApprovedEstimate",
          "CustomerInvoiceImport"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "BlackoutDay": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/PortfolioChildCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "dtStart": {
                "type": "string",
                "format": "date-time"
              },
              "dtEnd": {
                "type": "string",
                "format": "date-time"
              },
              "appliesToCriticalWos": {
                "type": "boolean"
              },
              "appliesToStandardWos": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Blob": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "actorId": {
                "type": "integer",
                "format": "int32"
              },
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "body": {
                "type": "string",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Array"
                  },
                  {
                    "type": "string"
                  }
                ],
                "format": "byte",
                "nullable": true
              },
              "fileName": {
                "type": "string",
                "nullable": true
              },
              "typeId": {
                "type": "string"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "BlobEntitySpecifierBlobCorrigoEntityWithComposedId": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "performDeletion": {
                "type": "boolean"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyTreeNode"
                },
                "nullable": true
              },
              "limitMultipleEntitiesNumberBehaviour": {
                "type": "boolean"
              },
              "isNew": {
                "type": "boolean",
                "readOnly": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "BusinessHours": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/PortfolioChildCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "dayIdxDayOfWeek": {
                "type": "integer",
                "format": "int32"
              },
              "finishTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "startTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ByChangeType": {
        "type": "object",
        "properties": {
          "updated": {
            "$ref": "#/components/schemas/Updated"
          },
          "new": {
            "$ref": "#/components/schemas/New"
          }
        },
        "additionalProperties": false
      },
      "ByChangeType2": {
        "type": "object",
        "properties": {
          "updated": {
            "$ref": "#/components/schemas/Updated2"
          },
          "new": {
            "$ref": "#/components/schemas/New2"
          }
        },
        "additionalProperties": false
      },
      "ByChangeType3": {
        "type": "object",
        "properties": {
          "updated": {
            "$ref": "#/components/schemas/Updated3"
          },
          "new": {
            "$ref": "#/components/schemas/New3"
          }
        },
        "additionalProperties": false
      },
      "CallingConventions": {
        "enum": [
          "Standard",
          "VarArgs",
          "Any",
          "HasThis",
          "ExplicitThis"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "CfSharingMode": {
        "enum": [
          "None",
          "ReadOnly",
          "ReadWrite"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "CfType": {
        "enum": [
          "Unknown",
          "String",
          "Integer",
          "Decimal",
          "Money",
          "Phone",
          "Date",
          "Time",
          "Boolean",
          "Url",
          "Text",
          "StringAutocomplete",
          "BooleanWithNA"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ChangeAssignmentMode": {
        "enum": [
          "Primary",
          "AddSecondary",
          "RemoveSecondary",
          "Snapshot"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ChangeRequest": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseRequest"
          },
          {
            "type": "object",
            "properties": {
              "properties": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "nullable": true
              },
              "entity": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ChangeType": {
        "enum": [
          "Updated",
          "New"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ChargeCodeLookup": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/LookupCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CiActionType": {
        "enum": [
          "Created",
          "TaxComputed",
          "Posted",
          "Paid",
          "PaymentSubmitted",
          "Disputed",
          "Approved",
          "DocumentAttached",
          "Recalled",
          "ManuallySent",
          "Exported",
          "RollbackExported"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "CiInvoiceState": {
        "enum": [
          "Draft",
          "Posted",
          "Credit",
          "CreditUsed",
          "Paid",
          "PaidInFull",
          "Approved",
          "Exported"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "CiItemType": {
        "enum": [
          "WorkOrder",
          "GroupHeader",
          "GroupChild",
          "None"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "CmdRequest": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseRequest"
          },
          {
            "type": "object",
            "properties": {
              "command": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CmdResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseResponse"
          },
          {
            "type": "object",
            "properties": {
              "commandResult": {
                "$ref": "#/components/schemas/CommandResponse"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CommandRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "CommandResponse": {
        "type": "object",
        "properties": {
          "errorInfo": {
            "$ref": "#/components/schemas/ErrorInfo"
          }
        },
        "additionalProperties": false
      },
      "CompletionNoteOptions": {
        "enum": [
          "Ignore",
          "Replace",
          "FillEmpty",
          "Append"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "CompositeCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "isTransactional": {
                "type": "boolean"
              },
              "commands": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CommandRequest"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CompositeCommandResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "responses": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CommandResponse"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ConditionExpression": {
        "type": "object",
        "properties": {
          "propertyName": {
            "type": "string",
            "nullable": true
          },
          "operator": {
            "$ref": "#/components/schemas/ConditionOperator"
          },
          "values": {
            "type": "array",
            "items": { },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ConditionOperator": {
        "enum": [
          "Between",
          "Equal",
          "GreaterOrEqual",
          "GreaterThan",
          "In",
          "LessOrEqual",
          "LessThan",
          "Like",
          "NotBetween",
          "NotEqual",
          "NotIn",
          "NotLike",
          "NotNull",
          "Null"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ConstructorInfo": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/MethodBase"
          },
          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "nullable": true,
                "readOnly": true
              },
              "declaringType": {
                "$ref": "#/components/schemas/Type"
              },
              "reflectedType": {
                "$ref": "#/components/schemas/Type"
              },
              "module": {
                "$ref": "#/components/schemas/Module"
              },
              "customAttributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomAttributeData"
                },
                "nullable": true,
                "readOnly": true
              },
              "isCollectible": {
                "type": "boolean",
                "readOnly": true
              },
              "metadataToken": {
                "type": "integer",
                "format": "int32",
                "readOnly": true
              },
              "attributes": {
                "$ref": "#/components/schemas/MethodAttributes"
              },
              "methodImplementationFlags": {
                "$ref": "#/components/schemas/MethodImplAttributes"
              },
              "callingConvention": {
                "$ref": "#/components/schemas/CallingConventions"
              },
              "isAbstract": {
                "type": "boolean",
                "readOnly": true
              },
              "isConstructor": {
                "type": "boolean",
                "readOnly": true
              },
              "isFinal": {
                "type": "boolean",
                "readOnly": true
              },
              "isHideBySig": {
                "type": "boolean",
                "readOnly": true
              },
              "isSpecialName": {
                "type": "boolean",
                "readOnly": true
              },
              "isStatic": {
                "type": "boolean",
                "readOnly": true
              },
              "isVirtual": {
                "type": "boolean",
                "readOnly": true
              },
              "isAssembly": {
                "type": "boolean",
                "readOnly": true
              },
              "isFamily": {
                "type": "boolean",
                "readOnly": true
              },
              "isFamilyAndAssembly": {
                "type": "boolean",
                "readOnly": true
              },
              "isFamilyOrAssembly": {
                "type": "boolean",
                "readOnly": true
              },
              "isPrivate": {
                "type": "boolean",
                "readOnly": true
              },
              "isPublic": {
                "type": "boolean",
                "readOnly": true
              },
              "isConstructedGenericMethod": {
                "type": "boolean",
                "readOnly": true
              },
              "isGenericMethod": {
                "type": "boolean",
                "readOnly": true
              },
              "isGenericMethodDefinition": {
                "type": "boolean",
                "readOnly": true
              },
              "containsGenericParameters": {
                "type": "boolean",
                "readOnly": true
              },
              "methodHandle": {
                "$ref": "#/components/schemas/RuntimeMethodHandle"
              },
              "isSecurityCritical": {
                "type": "boolean",
                "readOnly": true
              },
              "isSecuritySafeCritical": {
                "type": "boolean",
                "readOnly": true
              },
              "isSecurityTransparent": {
                "type": "boolean",
                "readOnly": true
              },
              "memberType": {
                "$ref": "#/components/schemas/MemberTypes"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Contact": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "firstName": {
                "type": "string",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "nullable": true
              },
              "typeId": {
                "$ref": "#/components/schemas/LeaseContactType"
              },
              "customerId": {
                "type": "integer",
                "format": "int32"
              },
              "canViewAnyRequest": {
                "type": "boolean"
              },
              "canCreateRequest": {
                "type": "boolean"
              },
              "priorityThreshold": {
                "type": "integer",
                "format": "int32"
              },
              "customFields": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomField2"
                },
                "nullable": true
              },
              "contactAddresses": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ContactInfo"
                },
                "nullable": true
              },
              "groupsBridge": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkContactAndGroup"
                },
                "nullable": true
              },
              "username": {
                "type": "string",
                "nullable": true
              },
              "number": {
                "type": "string",
                "nullable": true
              },
              "mustResetPassword": {
                "type": "boolean"
              },
              "noAlertEmails": {
                "type": "boolean"
              },
              "comment": {
                "type": "string",
                "nullable": true
              },
              "unlimitedRequest": {
                "type": "boolean"
              },
              "unlimitedAuthorization": {
                "type": "boolean"
              },
              "supervisorId": {
                "type": "integer",
                "format": "int32"
              },
              "languageId": {
                "type": "integer",
                "format": "int32"
              },
              "customerNoteAccessId": {
                "$ref": "#/components/schemas/LsNoteAccess"
              },
              "noPwdExpirationAlert": {
                "type": "boolean"
              },
              "currencies": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ContactMoneyValues"
                },
                "nullable": true
              },
              "countryId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ContactAddrType": {
        "enum": [
          "Unknown",
          "PrimPhone",
          "PrimEmail",
          "AltPhone",
          "Pager",
          "EmergencyEMail",
          "EmergencyPhone",
          "AltEmail",
          "EMail1",
          "EMail2",
          "EMail3",
          "HomePhone",
          "OfficePhone",
          "MobilePhone",
          "WAP",
          "Fax",
          "Contact",
          "Website",
          "CssEmail",
          "CssPhone",
          "PaymentRemittanceEmail"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ContactAddress": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "typeId": {
                "$ref": "#/components/schemas/ContactAddrType"
              },
              "address": {
                "type": "string",
                "nullable": true
              },
              "isDefault": {
                "type": "boolean"
              },
              "isAlert": {
                "type": "boolean"
              },
              "isLocked": {
                "type": "boolean"
              },
              "isReport": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ContactInfo": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "actorId": {
                "type": "integer",
                "format": "int32"
              },
              "addrTypeId": {
                "$ref": "#/components/schemas/ContactAddrType"
              },
              "address": {
                "type": "string",
                "nullable": true
              },
              "isAlert": {
                "type": "boolean"
              },
              "isReport": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ContactMoneyValues": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityMoneyValues"
          },
          {
            "type": "object",
            "properties": {
              "authorizationLimit": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "requestLimit": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "notificationThreshold": {
                "type": "number",
                "format": "double",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Contract": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/SimpleLookupCorrigoEntity"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "ConvertMoneyValuesCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "values": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/MoneyValue"
                },
                "nullable": true
              },
              "targetCurrencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ConvertMoneyValuesResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "values": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/MoneyValue"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CorporateEntity": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "number": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CorrigoEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "performDeletion": {
            "type": "boolean"
          },
          "properties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyTreeNode"
            },
            "nullable": true
          },
          "limitMultipleEntitiesNumberBehaviour": {
            "type": "boolean"
          },
          "isNew": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CorrigoEntityMoneyValues": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "performDeletion": {
                "type": "boolean"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyTreeNode"
                },
                "nullable": true
              },
              "limitMultipleEntitiesNumberBehaviour": {
                "type": "boolean"
              },
              "isNew": {
                "type": "boolean",
                "readOnly": true
              },
              "concurrencyId": {
                "type": "integer",
                "format": "int32"
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "parentId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CorrigoEntityWithOptimisticLock": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "performDeletion": {
                "type": "boolean"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyTreeNode"
                },
                "nullable": true
              },
              "limitMultipleEntitiesNumberBehaviour": {
                "type": "boolean"
              },
              "isNew": {
                "type": "boolean",
                "readOnly": true
              },
              "concurrencyId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CostCategory": {
        "enum": [
          "Unknown",
          "Labor",
          "Material",
          "Misc",
          "Vendor",
          "SpotPurchase",
          "AddCharges",
          "Services",
          "Shipping",
          "Adjustments",
          "Tax"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "CostState": {
        "enum": [
          "Pending",
          "Submitted",
          "Approved",
          "Exported"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "CostStatusChangeCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object",
            "properties": {
              "costStatusId": {
                "type": "integer",
                "format": "int32"
              },
              "keepCommentIntact": {
                "type": "boolean"
              },
              "currentStatusId": {
                "type": "integer",
                "format": "int32"
              },
              "financialConcurrencyId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CreateCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "entity": {
                "$ref": "#/components/schemas/CorrigoEntity"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CreateWoPrintoutCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "printoutTemplateId": {
                "type": "integer",
                "format": "int32"
              },
              "languageId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CreateWoPrintoutResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "printoutBody": {
                "type": "string",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Array"
                  },
                  {
                    "type": "string"
                  }
                ],
                "format": "byte",
                "nullable": true
              },
              "filename": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CriticalFacilitiesSettingValues": {
        "enum": [
          "No",
          "Yes",
          "Inherit"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "CurrencyType": {
        "enum": [
          "Unknown",
          "SAR",
          "BGN",
          "TWD",
          "CZK",
          "DKK",
          "EUR",
          "USD",
          "ILS",
          "HUF",
          "JPY",
          "KRW",
          "PLN",
          "BRL",
          "RON",
          "RUB",
          "HRK",
          "SEK",
          "THB",
          "TRY",
          "PKR",
          "IDR",
          "VND",
          "AMD",
          "MKD",
          "ZAR",
          "INR",
          "MYR",
          "KZT",
          "KES",
          "KHR",
          "MMK",
          "LKR",
          "PHP",
          "NGN",
          "CNY",
          "CHF",
          "GBP",
          "MXN",
          "NOK",
          "BND",
          "BDT",
          "EGP",
          "HKD",
          "AUD",
          "SGD",
          "CAD",
          "DZD",
          "MOP",
          "NZD",
          "CRC",
          "BAM",
          "MAD",
          "TND",
          "OMR",
          "VES",
          "COP",
          "PEN",
          "JOD",
          "ARS",
          "LBP",
          "KWD",
          "CLP",
          "AED",
          "UYU",
          "BHD",
          "QAR",
          "RSD",
          "AZN",
          "UZS",
          "VUV",
          "FJD",
          "PGK",
          "TOP",
          "CFP",
          "SBD",
          "WST",
          "MUR",
          "BMD"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "CustomAttributeData": {
        "type": "object",
        "properties": {
          "attributeType": {
            "$ref": "#/components/schemas/Type"
          },
          "constructor": {
            "$ref": "#/components/schemas/ConstructorInfo"
          },
          "constructorArguments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeTypedArgument"
            },
            "nullable": true,
            "readOnly": true
          },
          "namedArguments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeNamedArgument"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CustomAttributeNamedArgument": {
        "type": "object",
        "properties": {
          "memberInfo": {
            "$ref": "#/components/schemas/MemberInfo"
          },
          "typedValue": {
            "$ref": "#/components/schemas/CustomAttributeTypedArgument"
          },
          "memberName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isField": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CustomAttributeTypedArgument": {
        "type": "object",
        "properties": {
          "argumentType": {
            "$ref": "#/components/schemas/Type"
          },
          "value": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomField": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "descriptor": {
                "$ref": "#/components/schemas/CustomFieldDescriptor"
              },
              "objectId": {
                "type": "integer",
                "format": "int32"
              },
              "value": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CustomField2": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "descriptor": {
                "$ref": "#/components/schemas/CustomFieldDescriptor"
              },
              "objectId": {
                "type": "integer",
                "format": "int32"
              },
              "objectTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "value": {
                "type": "string",
                "nullable": true
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CustomFieldAutocompleteOption": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "descriptorId": {
                "type": "integer",
                "format": "int32"
              },
              "value": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CustomFieldDescriptor": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "length": {
                "type": "integer",
                "format": "int32"
              },
              "type": {
                "$ref": "#/components/schemas/CfType"
              },
              "sharedWithProvider": {
                "$ref": "#/components/schemas/CfSharingMode"
              },
              "sharedByRequestor": {
                "$ref": "#/components/schemas/CfSharingMode"
              },
              "cpnRequestorId": {
                "type": "integer",
                "format": "int32"
              },
              "name": {
                "type": "string",
                "nullable": true
              },
              "options": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomFieldOption"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CustomFieldOption": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "parentId": {
                "type": "integer",
                "format": "int32"
              },
              "idx": {
                "type": "integer",
                "format": "int32"
              },
              "value": {
                "type": "string",
                "nullable": true
              },
              "actionsRequired": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Customer": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "name": {
                "type": "string",
                "nullable": true
              },
              "workZone": {
                "$ref": "#/components/schemas/WorkZone"
              },
              "dba": {
                "type": "string",
                "nullable": true
              },
              "instructions": {
                "type": "string",
                "nullable": true
              },
              "tenantCode": {
                "type": "string",
                "nullable": true
              },
              "taxExempt": {
                "type": "boolean"
              },
              "spaces": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Space"
                },
                "nullable": true
              },
              "contacts": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Contact"
                },
                "nullable": true
              },
              "customFields": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomField2"
                },
                "nullable": true
              },
              "notes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Note"
                },
                "nullable": true
              },
              "addresses": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Address2"
                },
                "nullable": true
              },
              "contract": {
                "$ref": "#/components/schemas/Contract"
              },
              "groupsBridge": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkCustomerAndGroup"
                },
                "nullable": true
              },
              "approvalScopes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ApprovalScope"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CustomerNoteType": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "CustomerResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "customerId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "DecisionEngineErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "details": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeleteCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "entitySpecifier": {
                "$ref": "#/components/schemas/EntitySpecifier"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Disposition": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "isCompleted": {
                "type": "boolean"
              },
              "isCancelled": {
                "type": "boolean"
              },
              "onCreate": {
                "type": "boolean"
              },
              "onComplete": {
                "type": "boolean"
              },
              "onCancel": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "DistanceUnit": {
        "enum": [
          "Unknown",
          "Kilometer",
          "Mile"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "Document": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "actorId": {
                "type": "integer",
                "format": "int32"
              },
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "title": {
                "type": "string",
                "nullable": true
              },
              "docType": {
                "$ref": "#/components/schemas/DocumentType"
              },
              "endDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "startDate": {
                "type": "string",
                "format": "date-time"
              },
              "updatedDate": {
                "type": "string",
                "format": "date-time"
              },
              "extensionId": {
                "type": "integer",
                "format": "int32"
              },
              "isShared": {
                "type": "boolean"
              },
              "isPublic": {
                "type": "boolean"
              },
              "storageTypeId": {
                "$ref": "#/components/schemas/DocumentStorageType"
              },
              "docUrl": {
                "type": "string",
                "nullable": true
              },
              "mimeType": {
                "type": "string",
                "nullable": true
              },
              "updatedBy": {
                "$ref": "#/components/schemas/Actor"
              },
              "wonId": {
                "type": "integer",
                "format": "int32"
              },
              "wonMemberId": {
                "type": "integer",
                "format": "int32"
              },
              "blob": {
                "$ref": "#/components/schemas/Blob"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "DocumentStorageType": {
        "enum": [
          "Local",
          "URL",
          "Cloud",
          "WonDocument",
          "WonNote",
          "CloudShared"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "DocumentType": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "nullable": true
              },
              "displayAs": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "DraftProcessStep": {
        "enum": [
          "NA",
          "Pending",
          "ReadyToPost",
          "FailedTax",
          "FailedPost",
          "Disputed",
          "Recalled"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "DuplicateUnitMode": {
        "enum": [
          "Unknown",
          "Fail",
          "Reuse",
          "Ignore"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "EmpCertificationClass": {
        "enum": [
          "None",
          "Class1",
          "Class1AndClass2",
          "Class1AndClass2AndClass3",
          "Class1AndClass3",
          "Class2",
          "Class2AndClass3",
          "Class3",
          "Universal"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "EmpShiftHours": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "employeeId": {
                "type": "integer",
                "format": "int32"
              },
              "employee": {
                "$ref": "#/components/schemas/Employee"
              },
              "dayIdx": {
                "type": "integer",
                "format": "int32"
              },
              "startTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "finishTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "finishDayIdx": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Employee": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "firstName": {
                "type": "string",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "nullable": true
              },
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "role": {
                "$ref": "#/components/schemas/Role"
              },
              "accessToAllWorkZones": {
                "type": "boolean"
              },
              "languageId": {
                "type": "integer",
                "format": "int32"
              },
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "username": {
                "type": "string",
                "nullable": true
              },
              "dtPwdChange": {
                "type": "string",
                "format": "date-time"
              },
              "providerInvitedOn": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "instructions": {
                "type": "string",
                "nullable": true
              },
              "wonMemberId": {
                "type": "integer",
                "format": "int32"
              },
              "wonLocationId": {
                "type": "integer",
                "format": "int32"
              },
              "wonServiceRadius": {
                "type": "integer",
                "format": "int32"
              },
              "isElectronicPayment": {
                "type": "boolean"
              },
              "providerStatusId": {
                "$ref": "#/components/schemas/EmployeeWonStatus"
              },
              "labelId": {
                "type": "integer",
                "format": "int32"
              },
              "freeTextAllowed": {
                "type": "boolean"
              },
              "radiusUnit": {
                "$ref": "#/components/schemas/DistanceUnit"
              },
              "password": {
                "type": "string",
                "nullable": true
              },
              "number": {
                "type": "string",
                "nullable": true
              },
              "jobTitle": {
                "type": "string",
                "nullable": true
              },
              "federalId": {
                "type": "string",
                "nullable": true
              },
              "externalId": {
                "type": "string",
                "nullable": true
              },
              "forcePasswordReset": {
                "type": "boolean"
              },
              "taxWarnOnly": {
                "type": "boolean"
              },
              "defaultPriceList": {
                "$ref": "#/components/schemas/PriceList"
              },
              "priceLists": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkProviderPriceList"
                },
                "nullable": true
              },
              "customFields": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomField2"
                },
                "nullable": true
              },
              "organization": {
                "$ref": "#/components/schemas/Organization"
              },
              "billAtZero": {
                "type": "boolean"
              },
              "isSupplier": {
                "type": "boolean"
              },
              "providerTypeId": {
                "$ref": "#/components/schemas/ProviderlType"
              },
              "contactAddresses": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ContactInfo"
                },
                "nullable": true
              },
              "certifications": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UserCertification"
                },
                "nullable": true
              },
              "address": {
                "$ref": "#/components/schemas/Address2"
              },
              "teams": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkUserAndTeam"
                },
                "nullable": true
              },
              "workZones": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkUserAndWorkZone"
                },
                "nullable": true
              },
              "portfolios": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkUserAndPortfolio"
                },
                "nullable": true
              },
              "customerGroups": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkUserAndCustomerGroup"
                },
                "nullable": true
              },
              "specialties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkUserAndSpecialty"
                },
                "nullable": true
              },
              "payRates": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UserPayRate"
                },
                "nullable": true
              },
              "stockLocations": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkUserAndStockLocation"
                },
                "nullable": true
              },
              "services": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkProviderAndService"
                },
                "nullable": true
              },
              "alertSubscriptions": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AlertSubscription"
                },
                "nullable": true
              },
              "taxExempt": {
                "type": "boolean"
              },
              "limitAssignmentByPortfolioId": {
                "type": "integer",
                "format": "int32"
              },
              "priceListIntegrationStatus": {
                "$ref": "#/components/schemas/PriceListIntegrationStatus"
              },
              "priceListIntegrationEnabled": {
                "type": "boolean",
                "nullable": true
              },
              "priceListIntegrationDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "startAddress": {
                "$ref": "#/components/schemas/Address2"
              },
              "shiftHours": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/EmpShiftHours"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "EmployeeBridgeCorrigoEntity": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "performDeletion": {
                "type": "boolean"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyTreeNode"
                },
                "nullable": true
              },
              "limitMultipleEntitiesNumberBehaviour": {
                "type": "boolean"
              },
              "isNew": {
                "type": "boolean",
                "readOnly": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "EmployeeResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "employeeId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "EmployeeWonStatus": {
        "enum": [
          "NA",
          "NotConnected",
          "Suspended",
          "Connected",
          "Invited"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "EntityMetadata": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Type"
          },
          "bizType": {
            "$ref": "#/components/schemas/Type"
          },
          "entityType": {
            "$ref": "#/components/schemas/EntityType"
          },
          "properties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyMetadata"
            },
            "nullable": true,
            "readOnly": true
          },
          "propertiesDictionary": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/PropertyMetadata"
            },
            "nullable": true,
            "readOnly": true
          },
          "nonCreatable": {
            "type": "boolean",
            "readOnly": true
          },
          "nonUpdatable": {
            "type": "boolean",
            "readOnly": true
          },
          "nonDeletable": {
            "type": "boolean",
            "readOnly": true
          },
          "nonFilterablePaths": {
            "type": "array",
            "allOf": [
              {
                "$ref": "#/components/schemas/Array"
              },
              {
                "type": "array"
              }
            ],
            "items": {
              "type": "string"
            },
            "nullable": true,
            "readOnly": true
          },
          "isRestorable": {
            "type": "boolean",
            "readOnly": true
          },
          "idProperty": {
            "$ref": "#/components/schemas/PropertyMetadata"
          },
          "entityProcessor": {
            "$ref": "#/components/schemas/IEntityProcessor"
          }
        },
        "additionalProperties": false
      },
      "EntityResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseResponse"
          },
          {
            "type": "object",
            "properties": {
              "data": {
                "$ref": "#/components/schemas/CorrigoEntity"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "EntitySpecifier": {
        "type": "object",
        "properties": {
          "entityType": {
            "$ref": "#/components/schemas/EntityType"
          },
          "id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EntityType": {
        "enum": [
          "TaxCode",
          "InvoiceDictionaryItem",
          "BillingAccount",
          "WorkOrder",
          "Location",
          "Address",
          "Customer",
          "Invoice",
          "InvoiceLine",
          "CorporateEntity",
          "GLAccount",
          "Payment",
          "PaymentItem",
          "Employee",
          "WorkZone",
          "Space",
          "Task",
          "Disposition",
          "WoItem",
          "CustomFieldDescriptor",
          "CustomField",
          "Organization",
          "Contact",
          "TimePeriod",
          "Specialty",
          "WorkOrderType",
          "CustomerNoteType",
          "RepairCode",
          "AttributeDescriptor",
          "WoActionReasonLookup",
          "WoPriority",
          "WoLastAction",
          "WoNote",
          "Actor",
          "ContactAddress",
          "Address2",
          "ContactInfo",
          "CustomField2",
          "Note",
          "WorkOrderCost",
          "WoAssignment",
          "WoOnSite",
          "WoActionLog",
          "WoVerification",
          "WoActionLogProp",
          "FinancialItem",
          "WoQuote",
          "WoEquipment",
          "Blob",
          "DocumentType",
          "Document",
          "Product",
          "LaborCode",
          "WpTree",
          "WoEstimate",
          "ToDoItem",
          "LinkCustomerAndGroup",
          "LinkContactAndGroup",
          "AssetInfo",
          "PmSchedule",
          "PmItem",
          "Contract",
          "TaxRegion",
          "TaxRegionItem",
          "PriceList",
          "PriceListItem",
          "ChargeCodeLookup",
          "CustomFieldOption",
          "Model",
          "LinkUserAndSpecialty",
          "LinkUserAndCustomerGroup",
          "LinkUserAndWorkZone",
          "LinkUserAndPortfolio",
          "LinkUserAndTeam",
          "UserPayRate",
          "UserCertification",
          "LinkUserAndStockLocation",
          "LinkProviderPriceList",
          "LinkProviderAndService",
          "Role",
          "AlertScope",
          "AlertSubscription",
          "AssetTree",
          "AttributeOption",
          "Team",
          "LinkTeamAndWorkZone",
          "LinkPortfolioAndWorkZone",
          "BusinessHours",
          "Holiday",
          "SpecDispatchRule",
          "EscalationRule",
          "OnCallRule",
          "Responsibility",
          "Warranty",
          "AssetAttribute",
          "SpecialtyMoneyValues",
          "ContactMoneyValues",
          "TaskMoneyValues",
          "UserPayRateMoneyValues",
          "RoleMoneyValues",
          "Portfolio",
          "AssetTemplate",
          "AssetSystem",
          "ProductCategory",
          "LinkProductAndSupplier",
          "ProductMoneyValues",
          "ApInvoiceStatus",
          "TimeCardWeek",
          "TimeCard",
          "TimeCardItem",
          "ProviderCoi",
          "ResponsibilityType",
          "ToDoType",
          "ApprovalTemplateStep",
          "ApprovalTemplate",
          "ProcedureTemplateStep",
          "ProcedureFlagReason",
          "ProcedureTemplate",
          "WoProcedureStep",
          "WoProcedure",
          "StockLocation",
          "ReplenishmentOrder",
          "ReplenishmentOrderItem",
          "ApprovalScope",
          "CustomFieldAutocompleteOption",
          "TimeOff",
          "SlaValuesOverride",
          "Turn",
          "LinkModelAndAttribute",
          "BillToOption",
          "PrintoutTemplate",
          "InvoiceLog",
          "QuoteOrEstimateItem",
          "MaterialTransaction",
          "MaterialTransactionItem",
          "StockLocationInventoryDetails",
          "InternalCostStatus",
          "WoFlag",
          "ProcedureCategory",
          "LinkProcedureCategoryAndTemplate",
          "LinkProductAndQtyAttribute",
          "RequiredDocCategory",
          "WorkTemplate",
          "Proposal",
          "WorkOrderCostCategory",
          "WoSchedule",
          "RcsCircuit",
          "RcsAction",
          "RcsCylinder",
          "LinkCommunityAndRcsCylinder",
          "LinkEmployeeAndRcsCylinder",
          "RcsLeakRateLog",
          "RcsCircuitMonitorMapping",
          "BlackoutDay",
          "ShiftHours",
          "WoVisit",
          "WoVisitCfg",
          "WoVisitSvc",
          "LirOutstandingInvoiceWorkOrder"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "Enum": {
        "type": "object",
        "additionalProperties": false
      },
      "ErrorInfo": {
        "type": "object",
        "properties": {
          "number": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ErrorResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseResponse"
          },
          {
            "type": "object",
            "properties": {
              "errorMessage": {
                "type": "string",
                "nullable": true
              },
              "errorCode": {
                "type": "string",
                "nullable": true
              },
              "timeStamp": {
                "type": "string",
                "format": "date-time"
              },
              "statusCode": {
                "$ref": "#/components/schemas/HttpStatusCode"
              },
              "error": {
                "$ref": "#/components/schemas/Exception"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "EscalationRule": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/PortfolioChildCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "userId": {
                "type": "integer",
                "format": "int32"
              },
              "notifyAfter": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "EventAttributes": {
        "enum": [
          "None",
          "SpecialName",
          "RTSpecialName",
          "ReservedMask"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "EventInfo": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/MemberInfo"
          },
          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "nullable": true,
                "readOnly": true
              },
              "declaringType": {
                "$ref": "#/components/schemas/Type"
              },
              "reflectedType": {
                "$ref": "#/components/schemas/Type"
              },
              "module": {
                "$ref": "#/components/schemas/Module"
              },
              "customAttributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomAttributeData"
                },
                "nullable": true,
                "readOnly": true
              },
              "isCollectible": {
                "type": "boolean",
                "readOnly": true
              },
              "metadataToken": {
                "type": "integer",
                "format": "int32",
                "readOnly": true
              },
              "memberType": {
                "$ref": "#/components/schemas/MemberTypes"
              },
              "attributes": {
                "$ref": "#/components/schemas/EventAttributes"
              },
              "isSpecialName": {
                "type": "boolean",
                "readOnly": true
              },
              "addMethod": {
                "$ref": "#/components/schemas/MethodInfo"
              },
              "removeMethod": {
                "$ref": "#/components/schemas/MethodInfo"
              },
              "raiseMethod": {
                "$ref": "#/components/schemas/MethodInfo"
              },
              "isMulticast": {
                "type": "boolean",
                "readOnly": true
              },
              "eventHandlerType": {
                "$ref": "#/components/schemas/Type"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Exception": {
        "type": "object",
        "properties": {
          "targetSite": {
            "$ref": "#/components/schemas/MethodBase"
          },
          "message": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "data": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true,
            "readOnly": true
          },
          "innerException": {
            "$ref": "#/components/schemas/Exception"
          },
          "helpLink": {
            "type": "string",
            "nullable": true
          },
          "source": {
            "type": "string",
            "nullable": true
          },
          "hResult": {
            "type": "integer",
            "format": "int32"
          },
          "stackTrace": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ExcludeCoi": {
        "enum": [
          "InheritGlobalSettings",
          "No",
          "ExcludeAndBlock",
          "ExcludeAndWarn"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ExtendScheduledRcsActionCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "dueDate": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "FieldAttributes": {
        "enum": [
          "PrivateScope",
          "Private",
          "FamANDAssem",
          "Assembly",
          "Family",
          "FamORAssem",
          "Public",
          "FieldAccessMask",
          "Static",
          "InitOnly",
          "Literal",
          "NotSerialized",
          "HasFieldRVA",
          "SpecialName",
          "RTSpecialName",
          "HasFieldMarshal",
          "PinvokeImpl",
          "HasDefault",
          "ReservedMask"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "FieldInfo": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/MemberInfo"
          },
          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "nullable": true,
                "readOnly": true
              },
              "declaringType": {
                "$ref": "#/components/schemas/Type"
              },
              "reflectedType": {
                "$ref": "#/components/schemas/Type"
              },
              "module": {
                "$ref": "#/components/schemas/Module"
              },
              "customAttributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomAttributeData"
                },
                "nullable": true,
                "readOnly": true
              },
              "isCollectible": {
                "type": "boolean",
                "readOnly": true
              },
              "metadataToken": {
                "type": "integer",
                "format": "int32",
                "readOnly": true
              },
              "memberType": {
                "$ref": "#/components/schemas/MemberTypes"
              },
              "attributes": {
                "$ref": "#/components/schemas/FieldAttributes"
              },
              "fieldType": {
                "$ref": "#/components/schemas/Type"
              },
              "isInitOnly": {
                "type": "boolean",
                "readOnly": true
              },
              "isLiteral": {
                "type": "boolean",
                "readOnly": true
              },
              "isNotSerialized": {
                "type": "boolean",
                "readOnly": true,
                "deprecated": true
              },
              "isPinvokeImpl": {
                "type": "boolean",
                "readOnly": true
              },
              "isSpecialName": {
                "type": "boolean",
                "readOnly": true
              },
              "isStatic": {
                "type": "boolean",
                "readOnly": true
              },
              "isAssembly": {
                "type": "boolean",
                "readOnly": true
              },
              "isFamily": {
                "type": "boolean",
                "readOnly": true
              },
              "isFamilyAndAssembly": {
                "type": "boolean",
                "readOnly": true
              },
              "isFamilyOrAssembly": {
                "type": "boolean",
                "readOnly": true
              },
              "isPrivate": {
                "type": "boolean",
                "readOnly": true
              },
              "isPublic": {
                "type": "boolean",
                "readOnly": true
              },
              "isSecurityCritical": {
                "type": "boolean",
                "readOnly": true
              },
              "isSecuritySafeCritical": {
                "type": "boolean",
                "readOnly": true
              },
              "isSecurityTransparent": {
                "type": "boolean",
                "readOnly": true
              },
              "fieldHandle": {
                "$ref": "#/components/schemas/RuntimeFieldHandle"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "FilterExpression": {
        "type": "object",
        "properties": {
          "conditions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConditionExpression"
            },
            "nullable": true
          },
          "filterOperator": {
            "$ref": "#/components/schemas/LogicalOperator"
          },
          "filters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FilterExpression"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FinancialItem": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "woId": {
                "type": "integer",
                "format": "int32"
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "comment": {
                "type": "string",
                "nullable": true
              },
              "amount": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "costCategoryId": {
                "$ref": "#/components/schemas/CostCategory"
              },
              "rate": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "startDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "duration": {
                "type": "integer",
                "format": "int32"
              },
              "invoiceItem": {
                "$ref": "#/components/schemas/InvoiceDictionaryItem"
              },
              "exclude": {
                "type": "boolean"
              },
              "ruleModification": {
                "$ref": "#/components/schemas/WoCostExclusion"
              },
              "product": {
                "$ref": "#/components/schemas/Product"
              },
              "employee": {
                "$ref": "#/components/schemas/Employee"
              },
              "quantity": {
                "type": "number",
                "format": "double"
              },
              "laborCode": {
                "$ref": "#/components/schemas/LaborCode"
              },
              "typeId": {
                "$ref": "#/components/schemas/WoCostLineType"
              },
              "taxAmount": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "withholdingTaxRate": {
                "type": "number",
                "format": "double"
              },
              "withholdingTaxRateUndefined": {
                "type": "boolean"
              },
              "stockLocation": {
                "$ref": "#/components/schemas/StockLocation"
              },
              "taxCodeReference": {
                "$ref": "#/components/schemas/TaxCode"
              },
              "nonBillable": {
                "type": "boolean",
                "nullable": true
              },
              "merchantName": {
                "type": "string",
                "nullable": true
              },
              "checkForNonBillable": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "FinancialStatusChangeResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "financial": {
                "$ref": "#/components/schemas/WorkOrderCost"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ForecastGroup": {
        "enum": [
          "None",
          "Waiting",
          "Submitted",
          "AuthOrPaid"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "GLAccount": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "descr": {
                "type": "string",
                "nullable": true
              },
              "isIncome": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GLAccountEntitySpecifierGlAccountCorrigoEntityWithComposedId": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "performDeletion": {
                "type": "boolean"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyTreeNode"
                },
                "nullable": true
              },
              "limitMultipleEntitiesNumberBehaviour": {
                "type": "boolean"
              },
              "isNew": {
                "type": "boolean",
                "readOnly": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GeneratePmWoCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object",
            "properties": {
              "pmScheduleId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GenericParameterAttributes": {
        "enum": [
          "None",
          "Covariant",
          "Contravariant",
          "VarianceMask",
          "ReferenceTypeConstraint",
          "NotNullableValueTypeConstraint",
          "DefaultConstructorConstraint",
          "SpecialConstraintMask",
          "AllowByRefLike"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "GeoStatus": {
        "enum": [
          "None",
          "Failed",
          "Protected"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "GetAiResponseRequiredWorkOrdersCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "login": {
                "type": "string",
                "nullable": true
              },
              "filters": {
                "$ref": "#/components/schemas/AiResponseRequiredWorkOrdersFilters"
              },
              "sortBy": {
                "type": "string",
                "nullable": true
              },
              "sortDirection": {
                "type": "string",
                "nullable": true
              },
              "take": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "skip": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetAiResponseRequiredWorkOrdersResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "items": {
                "type": "array",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Array"
                  },
                  {
                    "type": "array"
                  }
                ],
                "items": {
                  "$ref": "#/components/schemas/AiResponseRequiredWorkOrdersListItem"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetAlertCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetAlertResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "alertResponse": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AlertResponse"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetCompanySettingCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "settingId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetCompanySettingResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "value": {
                "type": "string",
                "nullable": true
              },
              "type": {
                "$ref": "#/components/schemas/SettingType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetCompanyWsdkUrlCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "companyName": {
                "type": "string",
                "nullable": true
              },
              "protocol": {
                "$ref": "#/components/schemas/Protocols"
              },
              "apiType": {
                "$ref": "#/components/schemas/ApiTypes"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetCompanyWsdkUrlResult": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "nullable": true
              },
              "companyName": {
                "type": "string",
                "nullable": true
              },
              "protocol": {
                "$ref": "#/components/schemas/Protocols"
              },
              "companyVersion": {
                "type": "string",
                "nullable": true
              },
              "companyId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetCustomerByAssetCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "assetId": {
                "type": "integer",
                "format": "int32"
              },
              "searchCustomerInWorkZone": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetDocDownloadUrl": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "integer",
            "format": "int32"
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "fileName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetDocDownloadUrlCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "documentIds": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetDocDownloadUrlTypeResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "results": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/GetDocDownloadUrl"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetInvoiceListDataCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "login": {
                "type": "string",
                "nullable": true
              },
              "filters": {
                "$ref": "#/components/schemas/InvoiceListMcpFilters"
              },
              "sortBy": {
                "type": "string",
                "nullable": true
              },
              "sortDirection": {
                "type": "string",
                "nullable": true
              },
              "take": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "skip": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetInvoiceTileDataCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "login": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetLicensedProvidersResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "GetLicensedProvidersRoutine": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "specialtyId": {
                "type": "integer",
                "format": "int32"
              },
              "postalCode": {
                "type": "string",
                "nullable": true
              },
              "timeStamp": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "customerId": {
                "type": "integer",
                "format": "int32"
              },
              "recordCount": {
                "type": "integer",
                "format": "int32"
              },
              "country": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetPreferredAssigneesResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "GetPreferredAssigneesRoutine": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "specialtyId": {
                "type": "integer",
                "format": "int32"
              },
              "workZoneId": {
                "type": "integer",
                "format": "int32"
              },
              "postalCode": {
                "type": "string",
                "nullable": true
              },
              "timeStamp": {
                "type": "string",
                "format": "date-time"
              },
              "customerId": {
                "type": "integer",
                "format": "int32"
              },
              "recordCount": {
                "type": "integer",
                "format": "int32"
              },
              "updateRoundRobin": {
                "type": "boolean"
              },
              "country": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetPricingAgentTileDataCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "login": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetPricingAgentWorkZonesSpecialtiesCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "login": {
                "type": "string",
                "nullable": true
              },
              "workZonesSkip": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "workZonesTake": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "workZonesSortBy": {
                "type": "string",
                "nullable": true
              },
              "workZonesSortDirection": {
                "type": "string",
                "nullable": true
              },
              "specialtiesSkip": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "specialtiesTake": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "specialtiesSortBy": {
                "type": "string",
                "nullable": true
              },
              "specialtiesSortDirection": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetProcedureStepsDocumentsResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "GetProcedureStepsDocumentsRoutine": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "GetTimeCardCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "employeeId": {
                "type": "integer",
                "format": "int32"
              },
              "baseDate": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Holiday": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/PortfolioChildCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "dtHoliday": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "HttpStatusCode": {
        "enum": [
          "Continue",
          "SwitchingProtocols",
          "Processing",
          "EarlyHints",
          "OK",
          "Created",
          "Accepted",
          "NonAuthoritativeInformation",
          "NoContent",
          "ResetContent",
          "PartialContent",
          "MultiStatus",
          "AlreadyReported",
          "IMUsed",
          "MultipleChoices",
          "Ambiguous",
          "MovedPermanently",
          "Moved",
          "Found",
          "Redirect",
          "SeeOther",
          "RedirectMethod",
          "NotModified",
          "UseProxy",
          "Unused",
          "TemporaryRedirect",
          "RedirectKeepVerb",
          "PermanentRedirect",
          "BadRequest",
          "Unauthorized",
          "PaymentRequired",
          "Forbidden",
          "NotFound",
          "MethodNotAllowed",
          "NotAcceptable",
          "ProxyAuthenticationRequired",
          "RequestTimeout",
          "Conflict",
          "Gone",
          "LengthRequired",
          "PreconditionFailed",
          "RequestEntityTooLarge",
          "RequestUriTooLong",
          "UnsupportedMediaType",
          "RequestedRangeNotSatisfiable",
          "ExpectationFailed",
          "MisdirectedRequest",
          "UnprocessableEntity",
          "UnprocessableContent",
          "Locked",
          "FailedDependency",
          "UpgradeRequired",
          "PreconditionRequired",
          "TooManyRequests",
          "RequestHeaderFieldsTooLarge",
          "UnavailableForLegalReasons",
          "InternalServerError",
          "NotImplemented",
          "BadGateway",
          "ServiceUnavailable",
          "GatewayTimeout",
          "HttpVersionNotSupported",
          "VariantAlsoNegotiates",
          "InsufficientStorage",
          "LoopDetected",
          "NotExtended",
          "NetworkAuthenticationRequired"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ICustomAttributeProvider": {
        "type": "object",
        "additionalProperties": false
      },
      "IEntityProcessor": {
        "type": "object",
        "properties": {
          "limitMultipleEntitiesNumberBehaviour": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "InsuranceStatus": {
        "enum": [
          "None",
          "Expired",
          "ExpiringSoon",
          "Current"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "IntPtr": {
        "type": "object",
        "additionalProperties": false
      },
      "InternalCostStatus": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "nullable": true
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "forecastGroupId": {
                "$ref": "#/components/schemas/ForecastGroup"
              },
              "internalCostStateId": {
                "$ref": "#/components/schemas/CostState"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Invoice": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "timeSetId": {
                "type": "integer",
                "format": "int32"
              },
              "period": {
                "$ref": "#/components/schemas/TimePeriod"
              },
              "group": {
                "$ref": "#/components/schemas/BillingAccount"
              },
              "billingContact": {
                "$ref": "#/components/schemas/Contact"
              },
              "number": {
                "type": "string",
                "nullable": true
              },
              "state": {
                "$ref": "#/components/schemas/CiInvoiceState"
              },
              "poNumber": {
                "type": "string",
                "nullable": true
              },
              "dtDue": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "glAccount": {
                "type": "string",
                "nullable": true
              },
              "comments": {
                "type": "string",
                "nullable": true
              },
              "amtBase": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "amtTax": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "amtTotal": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "isMultiline": {
                "type": "boolean"
              },
              "taxTransactionId": {
                "type": "string",
                "nullable": true
              },
              "isTaxDirty": {
                "type": "boolean"
              },
              "lineItems": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/InvoiceLine"
                },
                "nullable": true
              },
              "extNumber": {
                "type": "string",
                "nullable": true
              },
              "dtPosted": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "isManuallySent": {
                "type": "boolean"
              },
              "draftProcessStepId": {
                "$ref": "#/components/schemas/DraftProcessStep"
              },
              "canExpedite": {
                "type": "boolean"
              },
              "canEarlyPayment": {
                "type": "boolean"
              },
              "isAvailableExpeditedInvoiceFlags": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "InvoiceDictionaryItem": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/LookupCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "descr": {
                "type": "string",
                "nullable": true
              },
              "taxCode": {
                "$ref": "#/components/schemas/TaxCode"
              },
              "costCategory": {
                "$ref": "#/components/schemas/CostCategory"
              },
              "glExpense": {
                "type": "string",
                "nullable": true
              },
              "glIncome": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "InvoiceDisputeCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "invoiceId": {
                "type": "integer",
                "format": "int32"
              },
              "timestamp": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "comment": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "InvoiceLine": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "invoiceItem": {
                "$ref": "#/components/schemas/InvoiceDictionaryItem"
              },
              "workOrder": {
                "$ref": "#/components/schemas/WorkOrder"
              },
              "location": {
                "$ref": "#/components/schemas/Location"
              },
              "customer": {
                "$ref": "#/components/schemas/Customer"
              },
              "type": {
                "$ref": "#/components/schemas/CiItemType"
              },
              "dtService": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "descr": {
                "type": "string",
                "nullable": true
              },
              "qty": {
                "type": "number",
                "format": "double"
              },
              "rate": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "taxRate": {
                "type": "number",
                "format": "double"
              },
              "amtTax": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "amtTotal": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "taxCode": {
                "type": "string",
                "nullable": true
              },
              "taxCodeReference": {
                "$ref": "#/components/schemas/TaxCode"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "InvoiceListDataResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "items": {
                "type": "array",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Array"
                  },
                  {
                    "type": "array"
                  }
                ],
                "items": {
                  "$ref": "#/components/schemas/InvoiceListItem"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "InvoiceListItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "customer": {
            "type": "string",
            "nullable": true
          },
          "workOrderNumber": {
            "type": "string",
            "nullable": true
          },
          "workZone": {
            "type": "string",
            "nullable": true
          },
          "workDescription": {
            "type": "string",
            "nullable": true
          },
          "providerInvoiceNumber": {
            "type": "string",
            "nullable": true
          },
          "providerInvoiceStatus": {
            "type": "string",
            "nullable": true
          },
          "providerInvoiceApStateId": {
            "type": "integer",
            "format": "int32"
          },
          "providerInvoiceDateSubmitted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "providerInvoiceAmountOriginal": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "serviceProNteOriginal": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "providerInvoiceAmountCurrencyOriginal": {
            "type": "string",
            "nullable": true
          },
          "serviceProNteCurrencyOriginal": {
            "type": "string",
            "nullable": true
          },
          "assignedTo": {
            "type": "string",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "woCompleted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "specialty": {
            "type": "string",
            "nullable": true
          },
          "verification": {
            "type": "string",
            "nullable": true
          },
          "verificationId": {
            "type": "integer",
            "format": "int32"
          },
          "aiRecommendation": {
            "type": "string",
            "nullable": true
          },
          "aiRecommendationId": {
            "type": "integer",
            "format": "int32"
          },
          "providerInvoiceDateSubmittedTimezone": {
            "type": "string",
            "nullable": true
          },
          "woStatusId": {
            "type": "integer",
            "format": "int32"
          },
          "providerInvoiceAmountCurrencyIdOriginal": {
            "type": "integer",
            "format": "int32"
          },
          "serviceProNteCurrencyIdOriginal": {
            "type": "integer",
            "format": "int32"
          },
          "providerInvoiceAmountConverted": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "providerInvoiceAmountCurrencyConverted": {
            "type": "string",
            "nullable": true
          },
          "serviceProNteConverted": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "serviceProNteCurrencyConverted": {
            "type": "string",
            "nullable": true
          },
          "workOrderUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InvoiceListMcpFilters": {
        "type": "object",
        "properties": {
          "workZoneName": {
            "type": "string",
            "nullable": true
          },
          "woStatusIds": {
            "type": "array",
            "allOf": [
              {
                "$ref": "#/components/schemas/Array"
              },
              {
                "type": "array"
              }
            ],
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "dateSubmittedStart": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dateSubmittedEnd": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "invoiceAgeMin": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "invoiceAgeMax": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "apStatusIds": {
            "type": "array",
            "allOf": [
              {
                "$ref": "#/components/schemas/Array"
              },
              {
                "type": "array"
              }
            ],
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "verificationIds": {
            "type": "array",
            "allOf": [
              {
                "$ref": "#/components/schemas/Array"
              },
              {
                "type": "array"
              }
            ],
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "aiRecommendationIds": {
            "type": "array",
            "allOf": [
              {
                "$ref": "#/components/schemas/Array"
              },
              {
                "type": "array"
              }
            ],
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InvoiceLog": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "invoice": {
                "$ref": "#/components/schemas/Invoice"
              },
              "actor": {
                "$ref": "#/components/schemas/Actor"
              },
              "idx": {
                "type": "integer",
                "format": "int32"
              },
              "actionTypeId": {
                "$ref": "#/components/schemas/CiActionType"
              },
              "dtStamp": {
                "type": "string",
                "format": "date-time"
              },
              "dtActual": {
                "type": "string",
                "format": "date-time"
              },
              "comments": {
                "type": "string",
                "nullable": true
              },
              "id": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "InvoiceLogEntitySpecifierCiLogCorrigoEntityWithComposedId": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "performDeletion": {
                "type": "boolean"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyTreeNode"
                },
                "nullable": true
              },
              "limitMultipleEntitiesNumberBehaviour": {
                "type": "boolean"
              },
              "isNew": {
                "type": "boolean",
                "readOnly": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "InvoiceRecallCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "invoiceId": {
                "type": "integer",
                "format": "int32"
              },
              "timestamp": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "comment": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "InvoiceTileDataResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "amountOfPendingInvoices": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "amountOfApprovedInvoices": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "utcDateTime": {
                "type": "string",
                "format": "date-time"
              },
              "currencyCode": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "IsmStatus": {
        "enum": [
          "NotApplicable",
          "NotRequired",
          "Passed",
          "PassedManual",
          "Waiting",
          "Started"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "JToken": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/JToken"
        }
      },
      "JurisdictionType": {
        "enum": [
          "Country",
          "State",
          "County",
          "City",
          "Special"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "LaborCode": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "invoiceItem": {
                "$ref": "#/components/schemas/InvoiceDictionaryItem"
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "isDefault": {
                "type": "boolean"
              },
              "showForWo": {
                "type": "boolean"
              },
              "isTimeCard": {
                "type": "boolean"
              },
              "isProductive": {
                "type": "boolean"
              },
              "isPaid": {
                "type": "boolean"
              },
              "isShortcut": {
                "type": "boolean"
              },
              "isDefTimeCard": {
                "type": "boolean"
              },
              "externalCode": {
                "type": "string",
                "nullable": true
              },
              "typeId": {
                "$ref": "#/components/schemas/LaborCodeType"
              },
              "rate": {
                "type": "number",
                "format": "double"
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LaborCodeType": {
        "enum": [
          "Unknown",
          "Time",
          "Allowance"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "LayoutKind": {
        "enum": [
          "Sequential",
          "Explicit",
          "Auto"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "LeaseContactType": {
        "enum": [
          "Unknown",
          "Alternate",
          "Emergency",
          "Primary"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "LeasingSpaceStatus": {
        "enum": [
          "Unknown",
          "Historical",
          "Current",
          "OnNotice",
          "Pending"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "LinkCommunityAndRcsCylinder": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RcsCylinderBridgeCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "communityId": {
                "type": "integer",
                "format": "int32"
              },
              "cylinderId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkContactAndGroup": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "contactId": {
                "type": "integer",
                "format": "int32"
              },
              "customerGroupId": {
                "type": "integer",
                "format": "int32"
              },
              "isBillingContact": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkCustomerAndGroup": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "customerId": {
                "type": "integer",
                "format": "int32"
              },
              "customerGroupId": {
                "type": "integer",
                "format": "int32"
              },
              "isBillingAccount": {
                "type": "boolean"
              },
              "isParentRemoved": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkEmployeeAndRcsCylinder": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RcsCylinderBridgeCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "employeeId": {
                "type": "integer",
                "format": "int32"
              },
              "cylinderId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkModelAndAttribute": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "modelId": {
                "type": "integer",
                "format": "int32"
              },
              "attributeDescriptorId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkPortfolioAndWorkZone": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "workZoneId": {
                "type": "integer",
                "format": "int32"
              },
              "portfolioId": {
                "type": "integer",
                "format": "int32"
              },
              "isPrimary": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkProcedureCategoryAndTemplate": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "procedureCategoryId": {
                "type": "integer",
                "format": "int32"
              },
              "procedureTemplateId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkProductAndQtyAttribute": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "actorId": {
                "type": "integer",
                "format": "int32"
              },
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "productId": {
                "type": "integer",
                "format": "int32"
              },
              "qty": {
                "type": "number",
                "format": "double"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkProductAndSupplier": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "productId": {
                "type": "integer",
                "format": "int32"
              },
              "supplierId": {
                "type": "integer",
                "format": "int32"
              },
              "partNumber": {
                "type": "string",
                "nullable": true
              },
              "isDefault": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkProviderAndService": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/EmployeeBridgeCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "providerId": {
                "type": "integer",
                "format": "int32"
              },
              "serviceId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkProviderPriceList": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "providerId": {
                "type": "integer",
                "format": "int32"
              },
              "portfolioId": {
                "type": "integer",
                "format": "int32"
              },
              "priceListId": {
                "type": "integer",
                "format": "int32"
              },
              "idx": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkTeamAndWorkZone": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "teamId": {
                "type": "integer",
                "format": "int32"
              },
              "workZoneId": {
                "type": "integer",
                "format": "int32"
              },
              "isDefault": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkUserAndCustomerGroup": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/EmployeeBridgeCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "userId": {
                "type": "integer",
                "format": "int32"
              },
              "customerGroupId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkUserAndPortfolio": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/EmployeeBridgeCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "userId": {
                "type": "integer",
                "format": "int32"
              },
              "portfolioId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkUserAndSpecialty": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/EmployeeBridgeCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "userId": {
                "type": "integer",
                "format": "int32"
              },
              "specialtyId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkUserAndStockLocation": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/EmployeeBridgeCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "userId": {
                "type": "integer",
                "format": "int32"
              },
              "stockLocationId": {
                "type": "integer",
                "format": "int32"
              },
              "fullAccess": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkUserAndTeam": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/EmployeeBridgeCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "userId": {
                "type": "integer",
                "format": "int32"
              },
              "teamId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LinkUserAndWorkZone": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/EmployeeBridgeCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "userId": {
                "type": "integer",
                "format": "int32"
              },
              "workZoneId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LirConditionOperator": {
        "enum": [
          "Equal",
          "GreaterThan",
          "LessThan",
          "Contains",
          "In"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "LirFilterExpressionBase": {
        "type": "object",
        "properties": {
          "fieldName": {
            "type": "string",
            "nullable": true
          },
          "operator": {
            "$ref": "#/components/schemas/LirConditionOperator"
          },
          "values": {
            "type": "array",
            "items": { },
            "nullable": true
          },
          "hasInvalidFieldName": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "LirGetAllPreviewsCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "email1": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LirGetAllPreviewsResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/LirResponseBase"
          },
          {
            "type": "object",
            "properties": {
              "totalOfCurrentWoNTE": {
                "type": "number",
                "format": "double"
              },
              "totalOfInvoiceValueSubmitted": {
                "type": "number",
                "format": "double"
              },
              "utcDateTime": {
                "type": "string",
                "format": "date-time",
                "readOnly": true
              },
              "validUserScope": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LirGetAllPreviewsResponseLirCommandBase": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "LirGetProviderContactsCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "email1": {
                "type": "string",
                "nullable": true
              },
              "providerId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LirGetProviderContactsResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "providerPhone": {
                "type": "string",
                "nullable": true
              },
              "providerEmail": {
                "type": "string",
                "nullable": true
              },
              "validUserScope": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LirInvoiceProviderFilterExpression": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/LirFilterExpressionBase"
          },
          {
            "type": "object",
            "properties": {
              "fieldName": {
                "type": "string",
                "nullable": true
              },
              "operator": {
                "$ref": "#/components/schemas/LirConditionOperator"
              },
              "values": {
                "type": "array",
                "items": { },
                "nullable": true
              },
              "hasInvalidFieldName": {
                "type": "boolean",
                "readOnly": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LirInvoiceWoDetailsFilterExpression": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/LirFilterExpressionBase"
          },
          {
            "type": "object",
            "properties": {
              "fieldName": {
                "type": "string",
                "nullable": true
              },
              "operator": {
                "$ref": "#/components/schemas/LirConditionOperator"
              },
              "values": {
                "type": "array",
                "items": { },
                "nullable": true
              },
              "hasInvalidFieldName": {
                "type": "boolean",
                "readOnly": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LirOutstandingInvoiceProviderCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "LirOutstandingInvoiceProviderContactCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "LirOutstandingInvoiceProviderContactsDataLirOutstandingInvoiceCommandBase": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "email1": {
                "type": "string",
                "nullable": true
              },
              "take": {
                "type": "integer",
                "format": "int32"
              },
              "skip": {
                "type": "integer",
                "format": "int32"
              },
              "sortBy": {
                "type": "string",
                "nullable": true
              },
              "sortDirection": {
                "$ref": "#/components/schemas/OrderType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LirOutstandingInvoiceProviderContactsDataLirOutstandingInvoiceProviderCommandBase": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "email1": {
                "type": "string",
                "nullable": true
              },
              "take": {
                "type": "integer",
                "format": "int32"
              },
              "skip": {
                "type": "integer",
                "format": "int32"
              },
              "sortBy": {
                "type": "string",
                "nullable": true
              },
              "sortDirection": {
                "$ref": "#/components/schemas/OrderType"
              },
              "filters": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LirInvoiceProviderFilterExpression"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LirOutstandingInvoiceProviderContactsDataLirOutstandingInvoiceResponseLirCommandBase": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "LirOutstandingInvoiceProviderDataLirOutstandingInvoiceCommandBase": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "email1": {
                "type": "string",
                "nullable": true
              },
              "take": {
                "type": "integer",
                "format": "int32"
              },
              "skip": {
                "type": "integer",
                "format": "int32"
              },
              "sortBy": {
                "type": "string",
                "nullable": true
              },
              "sortDirection": {
                "$ref": "#/components/schemas/OrderType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LirOutstandingInvoiceProviderDataLirOutstandingInvoiceProviderCommandBase": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "email1": {
                "type": "string",
                "nullable": true
              },
              "take": {
                "type": "integer",
                "format": "int32"
              },
              "skip": {
                "type": "integer",
                "format": "int32"
              },
              "sortBy": {
                "type": "string",
                "nullable": true
              },
              "sortDirection": {
                "$ref": "#/components/schemas/OrderType"
              },
              "filters": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LirInvoiceProviderFilterExpression"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LirOutstandingInvoiceProviderDataLirOutstandingInvoiceResponseLirCommandBase": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "LirOutstandingInvoiceWoDetailsCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "filters": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LirInvoiceWoDetailsFilterExpression"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LirOutstandingInvoiceWoDetailsLirOutstandingInvoiceCommandBase": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "email1": {
                "type": "string",
                "nullable": true
              },
              "take": {
                "type": "integer",
                "format": "int32"
              },
              "skip": {
                "type": "integer",
                "format": "int32"
              },
              "sortBy": {
                "type": "string",
                "nullable": true
              },
              "sortDirection": {
                "$ref": "#/components/schemas/OrderType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LirOutstandingInvoiceWoDetailsLirOutstandingInvoiceResponseLirCommandBase": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "LirOutstandingInvoiceWorkOrder": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "providerId": {
                "type": "integer",
                "format": "int32"
              },
              "providerName": {
                "type": "string",
                "nullable": true
              },
              "isProviderConnected": {
                "type": "boolean"
              },
              "nte": {
                "type": "number",
                "format": "double"
              },
              "moneyId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "moneyCode": {
                "type": "string",
                "nullable": true
              },
              "nteInDefaultCurrency": {
                "type": "number",
                "format": "double"
              },
              "workOrderNumber": {
                "type": "string",
                "nullable": true
              },
              "workOrderSpecialty": {
                "type": "string",
                "nullable": true
              },
              "propertyId": {
                "type": "integer",
                "format": "int32"
              },
              "propertyName": {
                "type": "string",
                "nullable": true
              },
              "workDescription": {
                "type": "string",
                "nullable": true
              },
              "daysOverdue": {
                "type": "integer",
                "format": "int32"
              },
              "dateTimeCompletedUtc": {
                "type": "string",
                "format": "date-time"
              },
              "numberOfNotifications": {
                "type": "integer",
                "format": "int32"
              },
              "verificationRatingId": {
                "$ref": "#/components/schemas/WoRating"
              },
              "verificationRating": {
                "type": "string",
                "nullable": true
              },
              "woApState": {
                "$ref": "#/components/schemas/ApState"
              },
              "woType": {
                "$ref": "#/components/schemas/WOType"
              },
              "customer": {
                "type": "string",
                "nullable": true
              },
              "invoiceAmount": {
                "type": "number",
                "format": "double"
              },
              "propertyNumber": {
                "type": "string",
                "nullable": true
              },
              "propertyAddress": {
                "type": "string",
                "nullable": true
              },
              "chargeCode": {
                "type": "string",
                "nullable": true
              },
              "expenseAccount": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LirResponseBase": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "defaultCurrencyCode": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Location": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "nullable": true
              },
              "address": {
                "$ref": "#/components/schemas/Address2"
              },
              "modelId": {
                "type": "integer",
                "format": "int32"
              },
              "orphan": {
                "type": "boolean"
              },
              "typeId": {
                "$ref": "#/components/schemas/AssetType"
              },
              "parentId": {
                "type": "integer",
                "format": "int32"
              },
              "rootId": {
                "type": "integer",
                "format": "int32"
              },
              "isTemplate": {
                "type": "boolean"
              },
              "info": {
                "$ref": "#/components/schemas/AssetInfo"
              },
              "documents": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Document"
                },
                "nullable": true
              },
              "isOffline": {
                "type": "boolean"
              },
              "isLocked": {
                "type": "boolean"
              },
              "isRestricted": {
                "type": "boolean"
              },
              "attributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AssetAttribute"
                },
                "nullable": true
              },
              "isDirectParts": {
                "type": "boolean"
              },
              "directParts": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkProductAndQtyAttribute"
                },
                "nullable": true
              },
              "includeNonControllableExpenses": {
                "type": "boolean"
              },
              "criticalFacilities": {
                "$ref": "#/components/schemas/CriticalFacilitiesSettingValues"
              },
              "communityId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LogicalOperator": {
        "enum": [
          "And",
          "Or"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "LoginResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "userId": {
                "type": "integer",
                "format": "int32"
              },
              "actorTypeId": {
                "type": "integer",
                "format": "int32"
              },
              "success": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LookupCorrigoEntity": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "performDeletion": {
                "type": "boolean"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyTreeNode"
                },
                "nullable": true
              },
              "limitMultipleEntitiesNumberBehaviour": {
                "type": "boolean"
              },
              "isNew": {
                "type": "boolean",
                "readOnly": true
              },
              "concurrencyId": {
                "type": "integer",
                "format": "int32"
              },
              "isRemoved": {
                "type": "boolean"
              },
              "displayAs": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "LsNoteAccess": {
        "enum": [
          "Unknown",
          "None",
          "View",
          "AddEdit"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "MakeDocumentPublicCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "documentId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "MatchAssetsResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "locations": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Location"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "MaterialTransaction": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "typeId": {
                "$ref": "#/components/schemas/MhTransactionType"
              },
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "poNumber": {
                "type": "string",
                "nullable": true
              },
              "supplierId": {
                "type": "integer",
                "format": "int32"
              },
              "supplierOrderNumber": {
                "type": "string",
                "nullable": true
              },
              "transactionDate": {
                "type": "string",
                "format": "date-time"
              },
              "comments": {
                "type": "string",
                "nullable": true
              },
              "creatorId": {
                "type": "integer",
                "format": "int32"
              },
              "creatorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "isCommitted": {
                "type": "boolean"
              },
              "stockLocationId": {
                "type": "integer",
                "format": "int32"
              },
              "sourceStockLocationId": {
                "type": "integer",
                "format": "int32"
              },
              "replenishmentOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/MaterialTransactionItem"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "MaterialTransactionCommitCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "transaction": {
                "$ref": "#/components/schemas/MaterialTransaction"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "MaterialTransactionCommitResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "transaction": {
                "$ref": "#/components/schemas/MaterialTransaction"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "MaterialTransactionItem": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "transactionId": {
                "type": "integer",
                "format": "int32"
              },
              "productId": {
                "type": "integer",
                "format": "int32"
              },
              "stockLocationId": {
                "type": "integer",
                "format": "int32"
              },
              "sourceStockLocationId": {
                "type": "integer",
                "format": "int32"
              },
              "typeId": {
                "$ref": "#/components/schemas/MhTransactionType"
              },
              "financialItemId": {
                "type": "integer",
                "format": "int32"
              },
              "quantity": {
                "type": "number",
                "format": "double"
              },
              "price": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "lineAmount": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "replenishmentOrderItemId": {
                "type": "integer",
                "format": "int32"
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "MemberInfo": {
        "type": "object",
        "properties": {
          "memberType": {
            "$ref": "#/components/schemas/MemberTypes"
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "declaringType": {
            "$ref": "#/components/schemas/Type"
          },
          "reflectedType": {
            "$ref": "#/components/schemas/Type"
          },
          "module": {
            "$ref": "#/components/schemas/Module"
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "nullable": true,
            "readOnly": true
          },
          "isCollectible": {
            "type": "boolean",
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "MemberTypes": {
        "enum": [
          "Constructor",
          "Event",
          "Field",
          "Method",
          "Property",
          "TypeInfo",
          "Custom",
          "NestedType",
          "All"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "MethodAttributes": {
        "enum": [
          "PrivateScope",
          "ReuseSlot",
          "Private",
          "FamANDAssem",
          "Assembly",
          "Family",
          "FamORAssem",
          "Public",
          "MemberAccessMask",
          "UnmanagedExport",
          "Static",
          "Final",
          "Virtual",
          "HideBySig",
          "NewSlot",
          "VtableLayoutMask",
          "CheckAccessOnOverride",
          "Abstract",
          "SpecialName",
          "RTSpecialName",
          "PinvokeImpl",
          "HasSecurity",
          "RequireSecObject",
          "ReservedMask"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "MethodBase": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/MemberInfo"
          },
          {
            "type": "object",
            "properties": {
              "memberType": {
                "$ref": "#/components/schemas/MemberTypes"
              },
              "name": {
                "type": "string",
                "nullable": true,
                "readOnly": true
              },
              "declaringType": {
                "$ref": "#/components/schemas/Type"
              },
              "reflectedType": {
                "$ref": "#/components/schemas/Type"
              },
              "module": {
                "$ref": "#/components/schemas/Module"
              },
              "customAttributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomAttributeData"
                },
                "nullable": true,
                "readOnly": true
              },
              "isCollectible": {
                "type": "boolean",
                "readOnly": true
              },
              "metadataToken": {
                "type": "integer",
                "format": "int32",
                "readOnly": true
              },
              "attributes": {
                "$ref": "#/components/schemas/MethodAttributes"
              },
              "methodImplementationFlags": {
                "$ref": "#/components/schemas/MethodImplAttributes"
              },
              "callingConvention": {
                "$ref": "#/components/schemas/CallingConventions"
              },
              "isAbstract": {
                "type": "boolean",
                "readOnly": true
              },
              "isConstructor": {
                "type": "boolean",
                "readOnly": true
              },
              "isFinal": {
                "type": "boolean",
                "readOnly": true
              },
              "isHideBySig": {
                "type": "boolean",
                "readOnly": true
              },
              "isSpecialName": {
                "type": "boolean",
                "readOnly": true
              },
              "isStatic": {
                "type": "boolean",
                "readOnly": true
              },
              "isVirtual": {
                "type": "boolean",
                "readOnly": true
              },
              "isAssembly": {
                "type": "boolean",
                "readOnly": true
              },
              "isFamily": {
                "type": "boolean",
                "readOnly": true
              },
              "isFamilyAndAssembly": {
                "type": "boolean",
                "readOnly": true
              },
              "isFamilyOrAssembly": {
                "type": "boolean",
                "readOnly": true
              },
              "isPrivate": {
                "type": "boolean",
                "readOnly": true
              },
              "isPublic": {
                "type": "boolean",
                "readOnly": true
              },
              "isConstructedGenericMethod": {
                "type": "boolean",
                "readOnly": true
              },
              "isGenericMethod": {
                "type": "boolean",
                "readOnly": true
              },
              "isGenericMethodDefinition": {
                "type": "boolean",
                "readOnly": true
              },
              "containsGenericParameters": {
                "type": "boolean",
                "readOnly": true
              },
              "methodHandle": {
                "$ref": "#/components/schemas/RuntimeMethodHandle"
              },
              "isSecurityCritical": {
                "type": "boolean",
                "readOnly": true
              },
              "isSecuritySafeCritical": {
                "type": "boolean",
                "readOnly": true
              },
              "isSecurityTransparent": {
                "type": "boolean",
                "readOnly": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "MethodImplAttributes": {
        "enum": [
          "IL",
          "Managed",
          "Native",
          "OPTIL",
          "CodeTypeMask",
          "Runtime",
          "ManagedMask",
          "Unmanaged",
          "NoInlining",
          "ForwardRef",
          "Synchronized",
          "NoOptimization",
          "PreserveSig",
          "AggressiveInlining",
          "AggressiveOptimization",
          "InternalCall",
          "Async",
          "MaxMethodImplVal"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "MethodInfo": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/MethodBase"
          },
          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "nullable": true,
                "readOnly": true
              },
              "declaringType": {
                "$ref": "#/components/schemas/Type"
              },
              "reflectedType": {
                "$ref": "#/components/schemas/Type"
              },
              "module": {
                "$ref": "#/components/schemas/Module"
              },
              "customAttributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomAttributeData"
                },
                "nullable": true,
                "readOnly": true
              },
              "isCollectible": {
                "type": "boolean",
                "readOnly": true
              },
              "metadataToken": {
                "type": "integer",
                "format": "int32",
                "readOnly": true
              },
              "attributes": {
                "$ref": "#/components/schemas/MethodAttributes"
              },
              "methodImplementationFlags": {
                "$ref": "#/components/schemas/MethodImplAttributes"
              },
              "callingConvention": {
                "$ref": "#/components/schemas/CallingConventions"
              },
              "isAbstract": {
                "type": "boolean",
                "readOnly": true
              },
              "isConstructor": {
                "type": "boolean",
                "readOnly": true
              },
              "isFinal": {
                "type": "boolean",
                "readOnly": true
              },
              "isHideBySig": {
                "type": "boolean",
                "readOnly": true
              },
              "isSpecialName": {
                "type": "boolean",
                "readOnly": true
              },
              "isStatic": {
                "type": "boolean",
                "readOnly": true
              },
              "isVirtual": {
                "type": "boolean",
                "readOnly": true
              },
              "isAssembly": {
                "type": "boolean",
                "readOnly": true
              },
              "isFamily": {
                "type": "boolean",
                "readOnly": true
              },
              "isFamilyAndAssembly": {
                "type": "boolean",
                "readOnly": true
              },
              "isFamilyOrAssembly": {
                "type": "boolean",
                "readOnly": true
              },
              "isPrivate": {
                "type": "boolean",
                "readOnly": true
              },
              "isPublic": {
                "type": "boolean",
                "readOnly": true
              },
              "isConstructedGenericMethod": {
                "type": "boolean",
                "readOnly": true
              },
              "isGenericMethod": {
                "type": "boolean",
                "readOnly": true
              },
              "isGenericMethodDefinition": {
                "type": "boolean",
                "readOnly": true
              },
              "containsGenericParameters": {
                "type": "boolean",
                "readOnly": true
              },
              "methodHandle": {
                "$ref": "#/components/schemas/RuntimeMethodHandle"
              },
              "isSecurityCritical": {
                "type": "boolean",
                "readOnly": true
              },
              "isSecuritySafeCritical": {
                "type": "boolean",
                "readOnly": true
              },
              "isSecurityTransparent": {
                "type": "boolean",
                "readOnly": true
              },
              "memberType": {
                "$ref": "#/components/schemas/MemberTypes"
              },
              "returnParameter": {
                "$ref": "#/components/schemas/ParameterInfo"
              },
              "returnType": {
                "$ref": "#/components/schemas/Type"
              },
              "returnTypeCustomAttributes": {
                "$ref": "#/components/schemas/ICustomAttributeProvider"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "MhLocationType": {
        "enum": [
          "Other",
          "Garage",
          "Basement",
          "Closet",
          "Warehouse",
          "StoreRoom",
          "Truck",
          "Cylinder"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "MhOrderStatus": {
        "enum": [
          "Unknown",
          "Pending",
          "OnOrder",
          "Shipped",
          "Received",
          "Partial",
          "Cancelled"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "MhTransactionType": {
        "enum": [
          "Other",
          "Receive",
          "UseInService",
          "Issue",
          "Adjust",
          "Return",
          "Transfer",
          "Remove"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "MhUnit": {
        "enum": [
          "Unit",
          "Kg",
          "Lb",
          "Liter",
          "Gal",
          "Ml",
          "Oz",
          "Meter",
          "Ft",
          "Box",
          "Set",
          "Package",
          "Ppm"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "Model": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "assetCategoryId": {
                "$ref": "#/components/schemas/AssetType"
              },
              "public": {
                "type": "boolean"
              },
              "subComponentIdx": {
                "type": "string"
              },
              "glAccount": {
                "type": "string",
                "nullable": true
              },
              "instructions": {
                "type": "string",
                "nullable": true
              },
              "tasks": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Task"
                },
                "nullable": true
              },
              "attributeDescriptors": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkModelAndAttribute"
                },
                "nullable": true
              },
              "number": {
                "type": "string",
                "nullable": true
              },
              "allowAnonymousRequests": {
                "type": "boolean"
              },
              "chargeCode": {
                "$ref": "#/components/schemas/ChargeCodeLookup"
              },
              "parts": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkProductAndQtyAttribute"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Module": {
        "type": "object",
        "properties": {
          "assembly": {
            "$ref": "#/components/schemas/Assembly"
          },
          "fullyQualifiedName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "mdStreamVersion": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "moduleVersionId": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "scopeName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "moduleHandle": {
            "$ref": "#/components/schemas/ModuleHandle"
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "nullable": true,
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ModuleHandle": {
        "type": "object",
        "properties": {
          "mdStreamVersion": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "MoneyValue": {
        "type": "object",
        "properties": {
          "currencyTypeId": {
            "$ref": "#/components/schemas/CurrencyType"
          },
          "value": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "NarrativeInputs": {
        "type": "object",
        "properties": {
          "totalWorkOrders": {
            "type": "integer",
            "format": "int32"
          },
          "baselineScheduledCount": {
            "type": "integer",
            "format": "int32"
          },
          "optimizedScheduledCount": {
            "type": "integer",
            "format": "int32"
          },
          "baselineUnscheduledCount": {
            "type": "integer",
            "format": "int32"
          },
          "optimizedUnscheduledCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalAssignableUsers": {
            "type": "integer",
            "format": "int32"
          },
          "schedulingRangeStart": {
            "type": "string",
            "format": "date-time"
          },
          "schedulingRangeEnd": {
            "type": "string",
            "format": "date-time"
          },
          "scheduledMinutes": {
            "$ref": "#/components/schemas/BaselineComparisonMetric"
          },
          "travelTimeMinutes": {
            "$ref": "#/components/schemas/BaselineComparisonMetric"
          },
          "overtimeMinutes": {
            "$ref": "#/components/schemas/BaselineComparisonMetric"
          },
          "slaMetPercentage": {
            "$ref": "#/components/schemas/BaselineComparisonMetric"
          },
          "minutesGainedAhead": {
            "$ref": "#/components/schemas/BaselineComparisonMetric"
          }
        },
        "additionalProperties": false
      },
      "NestedEntityOperationResult": {
        "type": "object",
        "properties": {
          "entityPath": {
            "type": "string",
            "nullable": true
          },
          "entitySpecifier": {
            "$ref": "#/components/schemas/EntitySpecifier"
          }
        },
        "additionalProperties": false
      },
      "New": {
        "type": "object",
        "properties": {
          "request": {
            "type": "integer",
            "format": "int32"
          },
          "solution": {
            "type": "integer",
            "format": "int32"
          },
          "difference": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "New2": {
        "type": "object",
        "properties": {
          "request": {
            "type": "integer",
            "format": "int32"
          },
          "solution": {
            "type": "integer",
            "format": "int32"
          },
          "difference": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "New3": {
        "type": "object",
        "properties": {
          "solution": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "NewUnitSpecifier": {
        "type": "object",
        "properties": {
          "buildingName": {
            "type": "string",
            "nullable": true
          },
          "buildingFloorPlan": {
            "type": "string",
            "nullable": true
          },
          "floorName": {
            "type": "string",
            "nullable": true
          },
          "floorFloorPlan": {
            "type": "string",
            "nullable": true
          },
          "unitName": {
            "type": "string",
            "nullable": true
          },
          "unitFloorPlan": {
            "type": "string",
            "nullable": true
          },
          "streetAddress": {
            "$ref": "#/components/schemas/Address2"
          },
          "unitInfo": {
            "$ref": "#/components/schemas/AssetInfo"
          },
          "spaceName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "spaceFloorPlan": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "Note": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "actorId": {
                "type": "integer",
                "format": "int32"
              },
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "noteTypeLookup": {
                "$ref": "#/components/schemas/CustomerNoteType"
              },
              "isResolved": {
                "type": "boolean"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "createdBy": {
                "$ref": "#/components/schemas/Actor"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "updatedBy": {
                "$ref": "#/components/schemas/Actor"
              },
              "noteText": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "OnCallRule": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/PortfolioChildCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "dayOfWeek": {
                "type": "integer",
                "format": "int32"
              },
              "bizHoursUserId": {
                "type": "integer",
                "format": "int32"
              },
              "afterHoursUserId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "OnSiteValidationResult": {
        "enum": [
          "Unknown",
          "Invalid",
          "Unverified",
          "Valid"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "OnSiteValidationType": {
        "enum": [
          "Unknown",
          "Barcode",
          "Gps",
          "Ivr",
          "Api"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "OperationCommandResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "entitySpecifier": {
                "$ref": "#/components/schemas/EntitySpecifier"
              },
              "nestedEntitiesOperationResults": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/NestedEntityOperationResult"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "OrderExpression": {
        "type": "object",
        "properties": {
          "propertyName": {
            "type": "string",
            "nullable": true
          },
          "orderType": {
            "$ref": "#/components/schemas/OrderType"
          }
        },
        "additionalProperties": false
      },
      "OrderType": {
        "enum": [
          "Ascending",
          "Descending"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "Organization": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "number": {
                "type": "string",
                "nullable": true
              },
              "customFields": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomField2"
                },
                "nullable": true
              },
              "notes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Note"
                },
                "nullable": true
              },
              "contactAddresses": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ContactInfo"
                },
                "nullable": true
              },
              "address": {
                "$ref": "#/components/schemas/Address2"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "OvertimeMinutes": {
        "type": "object",
        "properties": {
          "solution": {
            "type": "integer",
            "format": "int32"
          },
          "byUser": {
            "type": "object",
            "allOf": [
              {
                "$ref": "#/components/schemas/Object"
              },
              {
                "type": "object"
              }
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/Anonymous7"
            },
            "nullable": true
          },
          "byDate": {
            "type": "object",
            "allOf": [
              {
                "$ref": "#/components/schemas/Object"
              },
              {
                "type": "object"
              }
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/Anonymous8"
            },
            "nullable": true
          },
          "byChangeType": {
            "$ref": "#/components/schemas/ByChangeType3"
          }
        },
        "additionalProperties": false
      },
      "PTEType": {
        "enum": [
          "Unknown",
          "PTE",
          "Appointment",
          "CallFirst",
          "NotApplicable"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ParameterAttributes": {
        "enum": [
          "None",
          "In",
          "Out",
          "Lcid",
          "Retval",
          "Optional",
          "HasDefault",
          "HasFieldMarshal",
          "Reserved3",
          "Reserved4",
          "ReservedMask"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ParameterInfo": {
        "type": "object",
        "properties": {
          "attributes": {
            "$ref": "#/components/schemas/ParameterAttributes"
          },
          "member": {
            "$ref": "#/components/schemas/MemberInfo"
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "parameterType": {
            "$ref": "#/components/schemas/Type"
          },
          "position": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "isIn": {
            "type": "boolean",
            "readOnly": true
          },
          "isLcid": {
            "type": "boolean",
            "readOnly": true
          },
          "isOptional": {
            "type": "boolean",
            "readOnly": true
          },
          "isOut": {
            "type": "boolean",
            "readOnly": true
          },
          "isRetval": {
            "type": "boolean",
            "readOnly": true
          },
          "defaultValue": {
            "nullable": true,
            "readOnly": true
          },
          "rawDefaultValue": {
            "nullable": true,
            "readOnly": true
          },
          "hasDefaultValue": {
            "type": "boolean",
            "readOnly": true
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "nullable": true,
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "Payment": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "group": {
                "$ref": "#/components/schemas/BillingAccount"
              },
              "number": {
                "type": "string",
                "nullable": true
              },
              "state": {
                "$ref": "#/components/schemas/PaymentState"
              },
              "comments": {
                "type": "string",
                "nullable": true
              },
              "method": {
                "$ref": "#/components/schemas/PaymentMethod"
              },
              "reference": {
                "type": "string",
                "nullable": true
              },
              "dtStamp": {
                "type": "string",
                "format": "date-time"
              },
              "amtPayment": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "amtBalance": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "dtPosted": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "timeSetId": {
                "type": "integer",
                "format": "int32"
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PaymentItem"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "PaymentItem": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "objectTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "objectId": {
                "type": "integer",
                "format": "int32"
              },
              "isCredit": {
                "type": "boolean"
              },
              "amtBalance": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "amtUsed": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "refInvoice": {
                "$ref": "#/components/schemas/Invoice"
              },
              "refPayment": {
                "$ref": "#/components/schemas/Payment"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "PaymentMethod": {
        "enum": [
          "Check",
          "Cash",
          "CreditCard",
          "EFT",
          "AccountCredit"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "PaymentState": {
        "enum": [
          "Draft",
          "Credit",
          "Posted"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "Portfolio": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "typeId": {
                "$ref": "#/components/schemas/PortfolioType"
              },
              "parentPortfolioId": {
                "type": "integer",
                "format": "int32"
              },
              "useBizHours": {
                "type": "boolean"
              },
              "useHolidays": {
                "type": "boolean"
              },
              "useBlackoutDays": {
                "type": "boolean"
              },
              "useOnCall": {
                "type": "boolean"
              },
              "useEscalation": {
                "type": "boolean"
              },
              "turnTemplateId": {
                "type": "integer",
                "format": "int32"
              },
              "slaValues": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SlaValuesOverride"
                },
                "nullable": true
              },
              "blackoutDays": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BlackoutDay"
                },
                "nullable": true
              },
              "holidays": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Holiday"
                },
                "nullable": true
              },
              "criticalFacilities": {
                "$ref": "#/components/schemas/CriticalFacilitiesSettingValues"
              },
              "unitTemplateID": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "PortfolioChildCorrigoEntity": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "performDeletion": {
                "type": "boolean"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyTreeNode"
                },
                "nullable": true
              },
              "limitMultipleEntitiesNumberBehaviour": {
                "type": "boolean"
              },
              "isNew": {
                "type": "boolean",
                "readOnly": true
              },
              "concurrencyId": {
                "type": "integer",
                "format": "int32"
              },
              "actorId": {
                "type": "integer",
                "format": "int32"
              },
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "PortfolioDeleteCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "portfolioId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "PortfolioType": {
        "enum": [
          "Unknown",
          "Grouping",
          "Primary"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "PostPaymentCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "paymentId": {
                "type": "integer",
                "format": "int32"
              },
              "timestamp": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "PostScheduleAISolutionCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "requestId": {
                "type": "string",
                "format": "uuid"
              },
              "solution": {
                "$ref": "#/components/schemas/SchedulingSolution"
              },
              "error": {
                "$ref": "#/components/schemas/DecisionEngineErrorResponse"
              },
              "status": {
                "$ref": "#/components/schemas/Status"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "PostScheduleAISolutionResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "processed": {
                "type": "boolean"
              },
              "requestId": {
                "type": "string",
                "format": "uuid"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "PriceList": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "typeId": {
                "$ref": "#/components/schemas/PriceListType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "PriceListIntegrationStatus": {
        "enum": [
          "Disabled",
          "Enabled"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "PriceListItem": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "vendorRate": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "rateType": {
                "$ref": "#/components/schemas/RateType"
              },
              "vendorType": {
                "$ref": "#/components/schemas/VendorType"
              },
              "priceListId": {
                "type": "integer",
                "format": "int32"
              },
              "rate": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "invoiceItem": {
                "$ref": "#/components/schemas/InvoiceDictionaryItem"
              },
              "startDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "endDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "source": {
                "$ref": "#/components/schemas/WoCostPriceSource"
              },
              "externalID": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "PriceListType": {
        "enum": [
          "Customer",
          "Vendor"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "PricingAgentSpecialtyItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isInUserScope": {
            "type": "boolean"
          },
          "woCount": {
            "type": "integer",
            "format": "int32"
          },
          "providerInvoiceTotal": {
            "type": "number",
            "format": "double"
          },
          "providerInvoiceTotalCurrency": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PricingAgentTileDataResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "moduleState": {
                "type": "string",
                "nullable": true
              },
              "strategy": {
                "type": "integer",
                "format": "int32"
              },
              "utcDateTime": {
                "type": "string",
                "format": "date-time"
              },
              "invoiceAmountTotal": {
                "type": "number",
                "format": "double"
              },
              "proposalCount": {
                "type": "integer",
                "format": "int32"
              },
              "actualSavingsNumber": {
                "type": "integer",
                "format": "int32"
              },
              "actualSavingsAmount": {
                "type": "number",
                "format": "double"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "PricingAgentWorkZoneItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "woCount": {
            "type": "integer",
            "format": "int32"
          },
          "providerInvoiceTotal": {
            "type": "number",
            "format": "double"
          },
          "providerInvoiceTotalCurrency": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PricingAgentWorkZonesSpecialtiesResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "canManageWorkZones": {
                "type": "boolean"
              },
              "canManageSpecialties": {
                "type": "boolean"
              },
              "workZones": {
                "type": "array",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Array"
                  },
                  {
                    "type": "array"
                  }
                ],
                "items": {
                  "$ref": "#/components/schemas/PricingAgentWorkZoneItem"
                },
                "nullable": true
              },
              "specialties": {
                "type": "array",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Array"
                  },
                  {
                    "type": "array"
                  }
                ],
                "items": {
                  "$ref": "#/components/schemas/PricingAgentSpecialtyItem"
                },
                "nullable": true
              },
              "workZonesReturned": {
                "type": "integer",
                "format": "int32"
              },
              "specialtiesReturned": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "PrintoutStatus": {
        "enum": [
          "NotValidated",
          "Valid",
          "Invalid"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "PrintoutTemplate": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "isDefault": {
                "type": "boolean"
              },
              "isHidden": {
                "type": "boolean"
              },
              "statusId": {
                "$ref": "#/components/schemas/PrintoutStatus"
              },
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ProcedureCategory": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ProcedureFlagReason": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ProcedureStatus": {
        "enum": [
          "Unknown",
          "Open",
          "NA",
          "Done",
          "UnderReview"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ProcedureStepConditionType": {
        "enum": [
          "Unknown",
          "Regular",
          "Parent",
          "Conditional"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ProcedureStepState": {
        "enum": [
          "None",
          "Comment",
          "Flag",
          "Value"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ProcedureStepType": {
        "enum": [
          "Unknown",
          "Text",
          "Field",
          "Attribute",
          "Document"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ProcedureTemplate": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "allowMarkAll": {
                "type": "boolean"
              },
              "allowNotApplicable": {
                "type": "boolean"
              },
              "baseId": {
                "type": "integer",
                "format": "int32"
              },
              "steps": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProcedureTemplateStep"
                },
                "nullable": true
              },
              "summary": {
                "type": "string",
                "nullable": true
              },
              "operationalRisks": {
                "type": "string",
                "nullable": true
              },
              "backoutPlan": {
                "type": "string",
                "nullable": true
              },
              "procedureCategories": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkProcedureCategoryAndTemplate"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ProcedureTemplateStep": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "procedureTemplateId": {
                "type": "integer",
                "format": "int32"
              },
              "index": {
                "type": "integer",
                "format": "int32"
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "typeId": {
                "$ref": "#/components/schemas/ProcedureStepType"
              },
              "isRequired": {
                "type": "boolean"
              },
              "fieldDescriptor": {
                "$ref": "#/components/schemas/CustomFieldDescriptor"
              },
              "attrDescriptor": {
                "$ref": "#/components/schemas/AttributeDescriptor"
              },
              "instructions": {
                "type": "string",
                "nullable": true
              },
              "conditionType": {
                "$ref": "#/components/schemas/ProcedureStepConditionType"
              },
              "parentStepId": {
                "type": "integer",
                "format": "int32"
              },
              "conditionCustomField": {
                "$ref": "#/components/schemas/CustomFieldOption"
              },
              "conditionAttribute": {
                "$ref": "#/components/schemas/AttributeOption"
              },
              "yIdx": {
                "type": "integer",
                "format": "int32"
              },
              "zIdx": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ProcedureType": {
        "enum": [
          "Regular",
          "Legacy",
          "WON"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "Product": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "invoiceItem": {
                "$ref": "#/components/schemas/InvoiceDictionaryItem"
              },
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "partName": {
                "type": "string",
                "nullable": true
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "discontinued": {
                "type": "boolean"
              },
              "unitOfMeasureId": {
                "$ref": "#/components/schemas/MhUnit"
              },
              "comments": {
                "type": "string",
                "nullable": true
              },
              "manufacturer": {
                "type": "string",
                "nullable": true
              },
              "partNumber": {
                "type": "string",
                "nullable": true
              },
              "scanCode": {
                "type": "string",
                "nullable": true
              },
              "category": {
                "$ref": "#/components/schemas/ProductCategory"
              },
              "suppliers": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkProductAndSupplier"
                },
                "nullable": true
              },
              "customFields": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomField2"
                },
                "nullable": true
              },
              "currencies": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductMoneyValues"
                },
                "nullable": true
              },
              "critical": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ProductCategory": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ProductMoneyValues": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityMoneyValues"
          },
          {
            "type": "object",
            "properties": {
              "unitPrice": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "lastPrice": {
                "type": "number",
                "format": "double",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "PropertyAttributes": {
        "enum": [
          "None",
          "SpecialName",
          "RTSpecialName",
          "HasDefault",
          "Reserved2",
          "Reserved3",
          "Reserved4",
          "ReservedMask"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "PropertyInfo": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/MemberInfo"
          },
          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "nullable": true,
                "readOnly": true
              },
              "declaringType": {
                "$ref": "#/components/schemas/Type"
              },
              "reflectedType": {
                "$ref": "#/components/schemas/Type"
              },
              "module": {
                "$ref": "#/components/schemas/Module"
              },
              "customAttributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomAttributeData"
                },
                "nullable": true,
                "readOnly": true
              },
              "isCollectible": {
                "type": "boolean",
                "readOnly": true
              },
              "metadataToken": {
                "type": "integer",
                "format": "int32",
                "readOnly": true
              },
              "memberType": {
                "$ref": "#/components/schemas/MemberTypes"
              },
              "propertyType": {
                "$ref": "#/components/schemas/Type"
              },
              "attributes": {
                "$ref": "#/components/schemas/PropertyAttributes"
              },
              "isSpecialName": {
                "type": "boolean",
                "readOnly": true
              },
              "canRead": {
                "type": "boolean",
                "readOnly": true
              },
              "canWrite": {
                "type": "boolean",
                "readOnly": true
              },
              "getMethod": {
                "$ref": "#/components/schemas/MethodInfo"
              },
              "setMethod": {
                "$ref": "#/components/schemas/MethodInfo"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "PropertyKind": {
        "enum": [
          "Unknown",
          "Scalar",
          "Entity",
          "Collection"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "PropertyMetadata": {
        "type": "object",
        "properties": {
          "propertyInfo": {
            "$ref": "#/components/schemas/PropertyInfo"
          },
          "parentEntity": {
            "$ref": "#/components/schemas/EntityMetadata"
          },
          "requiresCustomProcessing": {
            "type": "boolean",
            "readOnly": true
          },
          "queryPropertyName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "queryPropertyInfo": {
            "$ref": "#/components/schemas/PropertyInfo"
          },
          "readOnly": {
            "type": "boolean",
            "readOnly": true
          },
          "nonUpdatable": {
            "type": "boolean",
            "readOnly": true
          },
          "orderNumber": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "nonFilterablePaths": {
            "type": "array",
            "allOf": [
              {
                "$ref": "#/components/schemas/Array"
              },
              {
                "type": "array"
              }
            ],
            "items": {
              "type": "string"
            },
            "nullable": true,
            "readOnly": true
          },
          "bizPropertyInfo": {
            "$ref": "#/components/schemas/PropertyInfo"
          },
          "kind": {
            "$ref": "#/components/schemas/PropertyKind"
          },
          "mappedPropertyName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "mappedPropertyType": {
            "$ref": "#/components/schemas/Type"
          },
          "referencedEntity": {
            "$ref": "#/components/schemas/EntityMetadata"
          },
          "isIdProperty": {
            "type": "boolean",
            "readOnly": true
          },
          "isMoneyProperty": {
            "type": "boolean",
            "readOnly": true
          },
          "requiresCustomMapping": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PropertySet": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/PropertySetBase"
          },
          {
            "type": "object",
            "properties": {
              "properties": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "PropertySetBase": {
        "type": "object",
        "additionalProperties": false
      },
      "PropertyTreeNode": {
        "type": "object",
        "properties": {
          "parent": {
            "$ref": "#/components/schemas/PropertyTreeNode"
          },
          "root": {
            "$ref": "#/components/schemas/PropertyTreeNode"
          },
          "property": {
            "$ref": "#/components/schemas/PropertyMetadata"
          },
          "childProperties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyTreeNode"
            },
            "nullable": true,
            "readOnly": true
          },
          "entity": {
            "$ref": "#/components/schemas/EntityMetadata"
          },
          "path": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "pathWithRootEntity": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "bizPath": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "pathLength": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "childNestingLevel": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "isHierarchical": {
            "type": "boolean",
            "readOnly": true
          },
          "depthRootFirstEnumerator": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyTreeNode"
            },
            "nullable": true,
            "readOnly": true
          },
          "depthChildFirstEnumerator": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyTreeNode"
            },
            "nullable": true,
            "readOnly": true
          },
          "customBizProperty": {
            "$ref": "#/components/schemas/PropertyInfo"
          }
        },
        "additionalProperties": false
      },
      "PropertyValuePair": {
        "type": "object",
        "properties": {
          "propertyName": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Proposal": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "$ref": "#/components/schemas/ProposalType"
              },
              "status": {
                "$ref": "#/components/schemas/ProposalStatus"
              },
              "amount": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "workZone": {
                "$ref": "#/components/schemas/WorkZone"
              },
              "workOrder": {
                "$ref": "#/components/schemas/WorkOrder"
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "approval": {
                "$ref": "#/components/schemas/ApprovalTemplate"
              },
              "utcSubmitted": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "documents": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Document"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ProposalRejectCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "proposalId": {
                "type": "integer",
                "format": "int32"
              },
              "comment": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ProposalStatus": {
        "enum": [
          "Unknown",
          "Draft",
          "Pending",
          "Approved",
          "Rejected",
          "Insufficient",
          "DraftWaiting",
          "SubmittedWaiting",
          "RejectedByCustomer",
          "RejectedByServiceProvider"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ProposalType": {
        "enum": [
          "Standard",
          "Estimate",
          "Quote",
          "ApInvoice",
          "Nte",
          "Purchase",
          "Other",
          "WorkOrder",
          "ProcedureTemplate",
          "IncidentStart",
          "IncidentCompletion",
          "IncidentCompletionExtended",
          "RoundsSchedule",
          "FoundWork",
          "ConsumptionRequest"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "Protocols": {
        "enum": [
          "HTTP",
          "HTTPS"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ProviderCoi": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "employeeId": {
                "type": "integer",
                "format": "int32"
              },
              "amtCoverage": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "statusId": {
                "$ref": "#/components/schemas/InsuranceStatus"
              },
              "startDate": {
                "type": "string",
                "format": "date-time"
              },
              "endDate": {
                "type": "string",
                "format": "date-time"
              },
              "comment": {
                "type": "string",
                "nullable": true
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ProviderlType": {
        "enum": [
          "Regular",
          "Supplier",
          "Landlord"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "QueryBase": {
        "type": "object",
        "properties": {
          "entityType": {
            "$ref": "#/components/schemas/EntityType"
          },
          "propertySet": {
            "$ref": "#/components/schemas/PropertySetBase"
          },
          "orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderExpression"
            },
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "firstResultIndex": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "QueryByProperty": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/QueryBase"
          },
          {
            "type": "object",
            "properties": {
              "conditions": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyValuePair"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "QueryEntityResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseResponse"
          },
          {
            "type": "object",
            "properties": {
              "entities": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/EntityResponse"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "QueryExpression": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/QueryBase"
          },
          {
            "type": "object",
            "properties": {
              "criteria": {
                "$ref": "#/components/schemas/FilterExpression"
              },
              "distinct": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "QueryRequest": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseRequest"
          },
          {
            "type": "object",
            "properties": {
              "queryExpression": {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/JToken"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "QuoteOrEstimateItem": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "parentId": {
                "type": "integer",
                "format": "int32"
              },
              "parentTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "invoiceItem": {
                "$ref": "#/components/schemas/InvoiceDictionaryItem"
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "quantity": {
                "type": "number",
                "format": "double"
              },
              "rate": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "amount": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "isFlagged": {
                "type": "boolean"
              },
              "taxCode": {
                "$ref": "#/components/schemas/TaxCode"
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "QuoteStatus": {
        "enum": [
          "Unknown",
          "NotSubmitted",
          "Requested",
          "WaitingForApproval",
          "Approved",
          "Rejected",
          "InProposal",
          "Recalled"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RateType": {
        "enum": [
          "Fixed",
          "Amount",
          "Percentage"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RcsAction": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "typeId": {
                "$ref": "#/components/schemas/RcsActionType"
              },
              "dtWhen": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "actorId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "certNumber": {
                "type": "string",
                "nullable": true
              },
              "product": {
                "$ref": "#/components/schemas/Product"
              },
              "qty": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "isMetric": {
                "type": "boolean"
              },
              "costValue": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "supplier": {
                "$ref": "#/components/schemas/Employee"
              },
              "poNumber": {
                "type": "string",
                "nullable": true
              },
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "comments": {
                "type": "string",
                "nullable": true
              },
              "circuit": {
                "$ref": "#/components/schemas/RcsCircuit"
              },
              "circuitNumber": {
                "type": "string",
                "nullable": true
              },
              "cylinder": {
                "$ref": "#/components/schemas/RcsCylinder"
              },
              "cylinderNumber": {
                "type": "string",
                "nullable": true
              },
              "noLeakRate": {
                "type": "boolean"
              },
              "rcsTestMethodId": {
                "$ref": "#/components/schemas/RcsTestMethod"
              },
              "isTestPassed": {
                "type": "boolean"
              },
              "isContactNotified": {
                "type": "boolean"
              },
              "cylinderSource": {
                "$ref": "#/components/schemas/RcsCylinder"
              },
              "moneyId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "qtyCylinder": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "qtyCylinderSource": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "rcsStockTypeId": {
                "$ref": "#/components/schemas/RcsActionStockType"
              },
              "shippedTo": {
                "type": "string",
                "nullable": true
              },
              "dtShipment": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "reclamationCompany": {
                "type": "string",
                "nullable": true
              },
              "amountReclaimed": {
                "type": "number",
                "format": "double"
              },
              "amountDestroyed": {
                "type": "number",
                "format": "double"
              },
              "rcsLeakCauseId": {
                "$ref": "#/components/schemas/RcsLeakCause"
              },
              "leakCauseDescription": {
                "type": "string",
                "nullable": true
              },
              "isScheduled": {
                "type": "boolean"
              },
              "dtDue": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "parentAction": {
                "$ref": "#/components/schemas/RcsAction"
              },
              "techName": {
                "type": "string",
                "nullable": true
              },
              "certClassId": {
                "$ref": "#/components/schemas/EmpCertificationClass"
              },
              "rcsExtensionReasonId": {
                "$ref": "#/components/schemas/RcsExtensionReason"
              },
              "leaksFound": {
                "type": "boolean",
                "deprecated": true
              },
              "leaksFoundCount": {
                "type": "integer",
                "format": "int32"
              },
              "isALDCalibrationSuccess": {
                "type": "boolean"
              },
              "equipmentDestinationManager": {
                "$ref": "#/components/schemas/Employee"
              },
              "equipmentDestinationId": {
                "type": "integer",
                "format": "int32"
              },
              "remainingCapacity": {
                "type": "number",
                "format": "double"
              },
              "parasenseId": {
                "type": "string",
                "nullable": true
              },
              "refrigerantTypeOfRepairId": {
                "$ref": "#/components/schemas/RcsTypeOfRepair"
              },
              "typeOfRepairDesc": {
                "type": "string",
                "nullable": true
              },
              "alarmSetPoint": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "detectionLimit": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "rcsLeakLocationId": {
                "$ref": "#/components/schemas/RcsLeakLocation"
              },
              "rcsLeakLocationDetailId": {
                "$ref": "#/components/schemas/RcsLeakLocationDetail"
              },
              "serviceEventId": {
                "type": "integer",
                "format": "int32"
              },
              "refrigerantHistory": {
                "$ref": "#/components/schemas/RefrigerantHistoryType"
              },
              "initialCharge": {
                "type": "boolean"
              },
              "hasComponentIsolated": {
                "type": "boolean"
              },
              "dtIsolation": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "dtEndIsolation": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "rcsInspectionReasonID": {
                "$ref": "#/components/schemas/RcsInspectionReason"
              },
              "dtALDAlarm": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "RcsActionStockType": {
        "enum": [
          "Unknown",
          "SupplierStock",
          "OwnerStock",
          "External"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RcsActionType": {
        "enum": [
          "Unknown",
          "Purchased",
          "Disposed",
          "Refilled",
          "CylinderRelease",
          "CircuitRelease",
          "Added",
          "Recovered",
          "Tested",
          "Transferred",
          "LeakIdentified",
          "LeakRepaired",
          "LeakTestFollow",
          "Created",
          "CircuitEdit",
          "Retired",
          "LeakTestInitial",
          "Adjusted",
          "CylinderEdit",
          "LeakInspected",
          "ALDCalibrated",
          "Retrofitted",
          "Activated",
          "ServicedOrLeakRepaired"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RcsCircuit": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "objectId": {
                "type": "integer",
                "format": "int32"
              },
              "objectTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "asset": {
                "$ref": "#/components/schemas/Location"
              },
              "assetSystem": {
                "$ref": "#/components/schemas/AssetSystem"
              },
              "number": {
                "type": "string",
                "nullable": true
              },
              "equipmentName": {
                "type": "string",
                "nullable": true
              },
              "manufacturer": {
                "type": "string",
                "nullable": true
              },
              "model": {
                "type": "string",
                "nullable": true
              },
              "isMetric": {
                "type": "boolean"
              },
              "mhProduct": {
                "$ref": "#/components/schemas/Product"
              },
              "capacity": {
                "type": "number",
                "format": "double"
              },
              "leakRate": {
                "type": "number",
                "format": "double"
              },
              "leakThreshold": {
                "type": "number",
                "format": "double"
              },
              "comments": {
                "type": "string",
                "nullable": true
              },
              "statusId": {
                "$ref": "#/components/schemas/RcsCircuitStatus"
              },
              "equipmentTypeID": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "installDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "locationDescription": {
                "type": "string",
                "nullable": true
              },
              "locationTypeID": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "leakDetectionCoverID": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "fullChargeCalcMethodID": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "hasLeakInspection": {
                "type": "boolean"
              },
              "leakInspectionDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "isLeakDetectionEquipment": {
                "type": "boolean"
              },
              "leakDetectionDeviceTypeID": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "hasEquipmentCalibration": {
                "type": "boolean"
              },
              "equipmentCalibrationDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "actions": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/RcsAction"
                },
                "nullable": true
              },
              "leakRateLogs": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/RcsLeakRateLog"
                },
                "nullable": true
              },
              "rcsCircuitMonitorMapping": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/RcsCircuitMonitorEquipment"
                },
                "nullable": true
              },
              "isMothball": {
                "type": "boolean"
              },
              "modelYear": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "temperatureClassificationID": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "calendarLeakRate": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "equipmentStatusId": {
                "$ref": "#/components/schemas/RcsCircuitEquipmentStatus"
              },
              "operationalStatusId": {
                "$ref": "#/components/schemas/RcsCircuitOperationalStatus"
              },
              "operationalStatusDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "dateOfOperation": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "detectionLimit": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "alarmSetPoint": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "serialNumber": {
                "type": "string",
                "nullable": true
              },
              "concentrationMonitorTypeID": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "sensorTypeID": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "numberofSensors": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "sensorManufacturer": {
                "type": "string",
                "nullable": true
              },
              "locationOfSensorsInlets": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "RcsCircuitEquipmentStatus": {
        "enum": [
          "Active",
          "Mothballed",
          "Retired",
          "Inactive",
          "Decommissioned"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RcsCircuitMonitorEquipment": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "leakDetectionEquipment": {
                "$ref": "#/components/schemas/RcsCircuit"
              },
              "monitorEquipment": {
                "$ref": "#/components/schemas/RcsCircuit"
              },
              "startDate": {
                "type": "string",
                "format": "date-time"
              },
              "endDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "RcsCircuitOperationalStatus": {
        "enum": [
          "Normal",
          "UnderRepair",
          "Seasonal",
          "Retrofitted",
          "PermanentShutdownAndRemoval",
          "Mothball",
          "Sold",
          "DisposedOrDestroyed"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RcsCircuitStatus": {
        "enum": [
          "Active",
          "Retired",
          "Retrofitted"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RcsCylinder": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "baseNumber": {
                "type": "string",
                "nullable": true
              },
              "minorId": {
                "type": "integer",
                "format": "int32"
              },
              "number": {
                "type": "string",
                "nullable": true
              },
              "isMetric": {
                "type": "boolean"
              },
              "mhProduct": {
                "$ref": "#/components/schemas/Product"
              },
              "capacity": {
                "type": "number",
                "format": "double"
              },
              "qty": {
                "type": "number",
                "format": "double"
              },
              "comments": {
                "type": "string",
                "nullable": true
              },
              "statusId": {
                "$ref": "#/components/schemas/RcsCylinderStatus"
              },
              "moneyId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "isRecovery": {
                "type": "boolean"
              },
              "price": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "actions": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/RcsAction"
                },
                "nullable": true
              },
              "communitiesBridge": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkCommunityAndRcsCylinder"
                },
                "nullable": true
              },
              "employeesBridge": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkEmployeeAndRcsCylinder"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "RcsCylinderBridgeCorrigoEntity": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "performDeletion": {
                "type": "boolean"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyTreeNode"
                },
                "nullable": true
              },
              "limitMultipleEntitiesNumberBehaviour": {
                "type": "boolean"
              },
              "isNew": {
                "type": "boolean",
                "readOnly": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "RcsCylinderStatus": {
        "enum": [
          "Active",
          "Disposed"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RcsExtensionReason": {
        "enum": [
          "Unknown",
          "NoTechnician",
          "NoParts",
          "RequiresShutdown",
          "RiskRadio",
          "NoComponents",
          "Other"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RcsInspectionReason": {
        "enum": [
          "Unknown",
          "PlannedMaintenance",
          "UnplannedMaintenance",
          "AutomaticLeakDetectionAlarm",
          "Other"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RcsLeakCause": {
        "enum": [
          "Unknown",
          "Corrosion",
          "JointFailure",
          "NormalWear",
          "RubOut",
          "Rupture",
          "SealFailure",
          "Vibration",
          "Abuse",
          "Warranty",
          "MechanicalFailure",
          "Catastrophe",
          "Other"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RcsLeakLocation": {
        "enum": [
          "Unknown",
          "Compressor",
          "DischargeLine",
          "Condenser",
          "Receiver",
          "LiquidLine",
          "Evaporator",
          "SuctionLine",
          "HeatRecovery",
          "Piping",
          "Purge",
          "Valve",
          "RuptureDisc",
          "Other"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RcsLeakLocationDetail": {
        "enum": [
          "Unknown",
          "BodyOrTerminalLugs",
          "Fittings",
          "FlangesOrCouplings",
          "HeadGasket",
          "OilFloat",
          "OilSeparatorOrOilLine",
          "PressureControlTransducer",
          "Schrader",
          "ShaftSeal",
          "VibrationEliminator",
          "LiquidInjectionValve",
          "CompressorRepairNotOtherwiseListed",
          "AmbientValve",
          "BallValve",
          "CheckValve",
          "Header",
          "HotReclaimCoil",
          "HotGasBypass",
          "Muffler",
          "SchraderDisChargeLine",
          "Piping",
          "OilSeparatorOrRes",
          "PressureRegulatingValve",
          "PressureControlTransducerDischargeLine",
          "DischargeLineRepairNotOtherwiseListed",
          "BallValveCondensor",
          "CondenserCoil",
          "HeaderOrPiping",
          "SchraderCondensor",
          "SplittingValve",
          "TubeBundle",
          "PressureControlTransducerCondensor",
          "CondenserRepairNotOtherwiseListed",
          "KingValve",
          "LevelIndicatorOrAlarm",
          "PressureReliefValve",
          "ReceiverRepairNotOtherwiseListed",
          "BallValveLiquidLine",
          "DifferentialValve",
          "Drier",
          "HeaderOrPipingLiquidLine",
          "Pump",
          "SchraderLiquidLine",
          "SightGlass",
          "SolenoidValve",
          "SubCooler",
          "PressureControlTransducerLiquidLine",
          "LiquidLineRepairNotOtherwiseListed",
          "BallValveEvaporator",
          "Coil",
          "Distributor",
          "PipingEvaporator",
          "SchraderEvaporator",
          "ExpansionDevice",
          "SecondaryHeatExchanger",
          "EvaporatorRepairNotOtherwiseListed",
          "Accumulator",
          "CPR",
          "EPR",
          "FilterShell",
          "SchraderSuctionLine",
          "BallValveSuctionLine",
          "PipingOrHeader",
          "PressureControlTransducerSuctionLine",
          "SuctionLineRepairNotOtherwiseListed",
          "Valve",
          "CapillaryTube",
          "JointFlare",
          "JointSoldered",
          "JointThreaded",
          "JointWelded",
          "Other",
          "PipeWear",
          "SolenoidValveForPurge",
          "CondensingUnit",
          "Filter",
          "IsolationValves",
          "RegenerationTank",
          "SystemPiping",
          "TankOrExchanger",
          "PurgeRepairNotOtherwiseListed",
          "ValveService",
          "None",
          "MustExplain",
          "NoLeakIdentified",
          "NothingAdded",
          "OtherLocationDetail",
          "StartUpOrNewSystem"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RcsLeakRateLog": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "circuit": {
                "$ref": "#/components/schemas/RcsCircuit"
              },
              "rcsAction": {
                "$ref": "#/components/schemas/RcsAction"
              },
              "rcsActionTypeId": {
                "$ref": "#/components/schemas/RcsActionType"
              },
              "utcWhen": {
                "type": "string",
                "format": "date-time"
              },
              "reasonId": {
                "$ref": "#/components/schemas/RcsLeakRateReason"
              },
              "leakRate": {
                "type": "number",
                "format": "double"
              },
              "leakRateMethodId": {
                "$ref": "#/components/schemas/RcsLeakRateMethod"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "RcsLeakRateMethod": {
        "enum": [
          "Annualized",
          "RollingAverage"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RcsLeakRateReason": {
        "enum": [
          "Unknown",
          "Capacity",
          "Added",
          "Included",
          "Deleted",
          "Excluded",
          "TwelveMonthsLeakRateReset"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RcsTestMethod": {
        "enum": [
          "Unknown",
          "NotTested",
          "Pressurizing",
          "Electronic",
          "DeepVacuum",
          "SoapBubbles",
          "Other",
          "CalibratedLeakDetectionDevice",
          "DyeInject",
          "HalideDetector",
          "OilResidue",
          "ApprovedAlternate"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RcsTypeOfRepair": {
        "enum": [
          "Unknown",
          "AuditOrInspect",
          "Weld",
          "Replace",
          "Bypass",
          "Repair",
          "Remove",
          "Tighten",
          "Newcap",
          "Relocate",
          "LeakInspection",
          "Calibrate",
          "Other"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RefrigerantHistoryType": {
        "enum": [
          "Unknown",
          "Virgin",
          "Recycled",
          "Reclaimed"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "RemovableCorrigoEntity": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "performDeletion": {
                "type": "boolean"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyTreeNode"
                },
                "nullable": true
              },
              "limitMultipleEntitiesNumberBehaviour": {
                "type": "boolean"
              },
              "isNew": {
                "type": "boolean",
                "readOnly": true
              },
              "concurrencyId": {
                "type": "integer",
                "format": "int32"
              },
              "isRemoved": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "RepairCode": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "parentId": {
                "type": "integer",
                "format": "int32"
              },
              "codes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/RepairCode"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ReplenishmentOrder": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "statusId": {
                "$ref": "#/components/schemas/MhOrderStatus"
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "poNumber": {
                "type": "string",
                "nullable": true
              },
              "dEstimatedtDelivery": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "supplier": {
                "$ref": "#/components/schemas/Employee"
              },
              "stockLocation": {
                "$ref": "#/components/schemas/StockLocation"
              },
              "supplierInstructions": {
                "type": "string",
                "nullable": true
              },
              "supplierOrderNumber": {
                "type": "string",
                "nullable": true
              },
              "isExported": {
                "type": "boolean"
              },
              "number": {
                "type": "string",
                "nullable": true
              },
              "timeZone": {
                "type": "integer",
                "format": "int32"
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ReplenishmentOrderItem"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ReplenishmentOrderItem": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "replenishmentOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "product": {
                "$ref": "#/components/schemas/Product"
              },
              "price": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "qtyOrdered": {
                "type": "number",
                "format": "double"
              },
              "qtyReceived": {
                "type": "number",
                "format": "double"
              },
              "amtTotal": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "RequiredDocCategory": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "RescheduledWorkOrders": {
        "type": "object",
        "properties": {
          "submitted": {
            "type": "integer",
            "format": "int32"
          },
          "scheduled": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Responsibility": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/PortfolioChildCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "userId": {
                "type": "integer",
                "format": "int32",
                "deprecated": true
              },
              "assigneeId": {
                "type": "integer",
                "format": "int32"
              },
              "assigneeTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "responsibilityType": {
                "$ref": "#/components/schemas/ResponsibilityType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ResponsibilityType": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "RestoreCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "entitySpecifier": {
                "$ref": "#/components/schemas/EntitySpecifier"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "RetrieveWithCurrencyTypeCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "targetCurrencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "parentEntitySpecifiers": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/EntitySpecifier"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "RetrieveWithCurrencyTypeResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "results": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CorrigoEntityMoneyValues"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Role": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "rank": {
                "type": "integer",
                "format": "int32"
              },
              "unlimitedNte": {
                "type": "boolean"
              },
              "ssoLoginOnly": {
                "type": "boolean"
              },
              "currencies": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/RoleMoneyValues"
                },
                "nullable": true
              },
              "isIsmRequired": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "RoleMoneyValues": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityMoneyValues"
          },
          {
            "type": "object",
            "properties": {
              "nteLimit": {
                "type": "number",
                "format": "double",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "RuntimeFieldHandle": {
        "type": "object",
        "properties": {
          "value": {
            "$ref": "#/components/schemas/IntPtr"
          }
        },
        "additionalProperties": false
      },
      "RuntimeMethodHandle": {
        "type": "object",
        "properties": {
          "value": {
            "$ref": "#/components/schemas/IntPtr"
          }
        },
        "additionalProperties": false
      },
      "RuntimeTypeHandle": {
        "type": "object",
        "properties": {
          "value": {
            "$ref": "#/components/schemas/IntPtr"
          }
        },
        "additionalProperties": false
      },
      "SchedInterval": {
        "enum": [
          "Unknown",
          "Day",
          "Week",
          "Month",
          "Quarter",
          "Year",
          "Custom",
          "Weather",
          "WoComplete",
          "RequiredDocumentEnd"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "ScheduleAgentRequestTileRow": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "integer",
            "format": "int32"
          },
          "requestName": {
            "type": "string",
            "nullable": true
          },
          "team": {
            "type": "string",
            "nullable": true
          },
          "constraintProfile": {
            "type": "string",
            "nullable": true
          },
          "workOrderTotal": {
            "type": "integer",
            "format": "int32"
          },
          "assigneeTotal": {
            "type": "integer",
            "format": "int32"
          },
          "scheduledPct": {
            "type": "number",
            "format": "double"
          },
          "travelTimePct": {
            "type": "number",
            "format": "double"
          },
          "overtimePct": {
            "type": "number",
            "format": "double"
          },
          "slasMetPct": {
            "type": "number",
            "format": "double"
          },
          "dispatcherMinutesSaved": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ScheduleAgentRequestsTileCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/ScheduleAgentTileCommandBase"
          },
          {
            "type": "object",
            "properties": {
              "skip": {
                "type": "integer",
                "format": "int32"
              },
              "take": {
                "type": "integer",
                "format": "int32"
              },
              "sortBy": {
                "type": "string",
                "nullable": true
              },
              "sortDirection": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ScheduleAgentRequestsTileResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ScheduleAgentRequestTileRow"
                },
                "nullable": true
              },
              "totalCount": {
                "type": "integer",
                "format": "int32"
              },
              "skip": {
                "type": "integer",
                "format": "int32"
              },
              "take": {
                "type": "integer",
                "format": "int32"
              },
              "utcDateTime": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ScheduleAgentSummaryTileCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/ScheduleAgentTileCommandBase"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "ScheduleAgentSummaryTileResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "requestsSubmitted": {
                "type": "integer",
                "format": "int32"
              },
              "requestsCommitted": {
                "type": "integer",
                "format": "int32"
              },
              "uniqueWorkOrders": {
                "type": "integer",
                "format": "int32"
              },
              "workOrderHours": {
                "type": "number",
                "format": "double"
              },
              "assignees": {
                "type": "integer",
                "format": "int32"
              },
              "teams": {
                "type": "integer",
                "format": "int32"
              },
              "additionalWoHours": {
                "type": "integer",
                "format": "int32"
              },
              "additionalWoHoursPct": {
                "type": "number",
                "format": "double"
              },
              "reducedTravelHours": {
                "type": "number",
                "format": "double"
              },
              "reducedTravelHoursPct": {
                "type": "number",
                "format": "double"
              },
              "dispatcherMinutesSaved": {
                "type": "integer",
                "format": "int32"
              },
              "slasMetPct": {
                "type": "number",
                "format": "double"
              },
              "readyForReviewRequests": {
                "type": "integer",
                "format": "int32"
              },
              "readyForReviewWoHours": {
                "type": "number",
                "format": "double"
              },
              "utcDateTime": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ScheduleAgentTileCommandBase": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "login": {
                "type": "string",
                "nullable": true
              },
              "instanceWide": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ScheduleMetrics": {
        "type": "object",
        "properties": {
          "totalWOs": {
            "type": "integer",
            "format": "int32"
          },
          "woChanged": {
            "type": "integer",
            "format": "int32"
          },
          "woAssignedOnly": {
            "type": "integer",
            "format": "int32"
          },
          "woScheduledOnly": {
            "type": "integer",
            "format": "int32"
          },
          "woAssignedAndScheduled": {
            "type": "integer",
            "format": "int32"
          },
          "woUnscheduled": {
            "type": "integer",
            "format": "int32"
          },
          "woUnchanged": {
            "type": "integer",
            "format": "int32"
          },
          "usersWithNewlyAssignedWOs": {
            "type": "integer",
            "format": "int32"
          },
          "usersWithNoNewlyAssignedWOs": {
            "type": "integer",
            "format": "int32"
          },
          "scheduledMinutes": {
            "$ref": "#/components/schemas/ScheduledMinutes"
          },
          "travelTimeMinutes": {
            "$ref": "#/components/schemas/TravelTimeMinutes"
          },
          "slaMetPercentage": {
            "$ref": "#/components/schemas/SlaMetPercentage"
          },
          "overtimeMinutes": {
            "$ref": "#/components/schemas/OvertimeMinutes"
          },
          "rescheduledWorkOrders": {
            "$ref": "#/components/schemas/RescheduledWorkOrders"
          }
        },
        "additionalProperties": false
      },
      "ScheduleRcsActionCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "actionTypeId": {
                "$ref": "#/components/schemas/RcsActionType"
              },
              "circuitId": {
                "type": "integer",
                "format": "int32"
              },
              "dueDate": {
                "type": "string",
                "format": "date-time"
              },
              "parentId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "workOrderId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "parasenseId": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ScheduleRcsActionResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "rcsAction": {
                "$ref": "#/components/schemas/RcsAction"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ScheduledMinutes": {
        "type": "object",
        "properties": {
          "request": {
            "type": "integer",
            "format": "int32"
          },
          "solution": {
            "type": "integer",
            "format": "int32"
          },
          "difference": {
            "type": "integer",
            "format": "int32"
          },
          "byUser": {
            "type": "object",
            "allOf": [
              {
                "$ref": "#/components/schemas/Object"
              },
              {
                "type": "object"
              }
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/Anonymous3"
            },
            "nullable": true
          },
          "byDate": {
            "type": "object",
            "allOf": [
              {
                "$ref": "#/components/schemas/Object"
              },
              {
                "type": "object"
              }
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/Anonymous4"
            },
            "nullable": true
          },
          "byChangeType": {
            "$ref": "#/components/schemas/ByChangeType"
          }
        },
        "additionalProperties": false
      },
      "ScheduledWorkOrders": {
        "type": "object",
        "properties": {
          "workOrderId": {
            "type": "integer",
            "format": "int32"
          },
          "primaryAssigneeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "secondaryAssigneeIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "segments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Segments2"
            },
            "nullable": true
          },
          "updateType": {
            "$ref": "#/components/schemas/ScheduledWorkOrdersUpdateType"
          }
        },
        "additionalProperties": false
      },
      "ScheduledWorkOrdersUpdateType": {
        "enum": [
          "Assigned",
          "Scheduled",
          "AssignedAndScheduled",
          "Unscheduled",
          "Unchanged"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "SchedulingSolution": {
        "type": "object",
        "properties": {
          "scheduledWorkOrders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScheduledWorkOrders"
            },
            "nullable": true
          },
          "travelRoutes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TravelRoute"
            },
            "nullable": true
          },
          "scheduleMetrics": {
            "$ref": "#/components/schemas/ScheduleMetrics"
          },
          "woMessages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WoMessages"
            },
            "nullable": true
          },
          "userMessages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserMessages"
            },
            "nullable": true
          },
          "baselineComparison": {
            "$ref": "#/components/schemas/BaselineComparison"
          }
        },
        "additionalProperties": false
      },
      "SecurityRuleSet": {
        "enum": [
          "None",
          "Level1",
          "Level2"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "Segments2": {
        "type": "object",
        "properties": {
          "segmentId": {
            "type": "integer",
            "format": "int32"
          },
          "startDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "durationInMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "travelTimeTo": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "travelTimeFrom": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SendWorkOrderCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "sendTo": {
                "type": "string",
                "nullable": true
              },
              "requestQuote": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "SendWorkOrderResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "SetWorkOrderDependencyCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "mainWorkOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "dependentWorkOrderId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "SettingType": {
        "enum": [
          "FreeText",
          "Integer",
          "Currency",
          "Numeric",
          "Boolean",
          "Email",
          "Url",
          "Xml",
          "Json"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "SimpleLookupCorrigoEntity": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "performDeletion": {
                "type": "boolean"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyTreeNode"
                },
                "nullable": true
              },
              "limitMultipleEntitiesNumberBehaviour": {
                "type": "boolean"
              },
              "isNew": {
                "type": "boolean",
                "readOnly": true
              },
              "displayAs": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "SimpleLookupWithOptimisticLockCorrigoEntity": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "performDeletion": {
                "type": "boolean"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyTreeNode"
                },
                "nullable": true
              },
              "limitMultipleEntitiesNumberBehaviour": {
                "type": "boolean"
              },
              "isNew": {
                "type": "boolean",
                "readOnly": true
              },
              "concurrencyId": {
                "type": "integer",
                "format": "int32"
              },
              "displayAs": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "SlaMetPercentage": {
        "type": "object",
        "properties": {
          "request": {
            "type": "number",
            "format": "float"
          },
          "solution": {
            "type": "number",
            "format": "float"
          },
          "difference": {
            "type": "number",
            "format": "float"
          }
        },
        "additionalProperties": false
      },
      "SlaValuesOverride": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/PortfolioChildCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "actorId": {
                "type": "integer",
                "format": "int32"
              },
              "priorityId": {
                "type": "integer",
                "format": "int32"
              },
              "dueInMinutes": {
                "type": "integer",
                "format": "int32"
              },
              "respondInMinutes": {
                "type": "integer",
                "format": "int32"
              },
              "ackInMinutes": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Space": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "customerId": {
                "type": "integer",
                "format": "int32"
              },
              "asset": {
                "$ref": "#/components/schemas/Location"
              },
              "startDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "endDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "moveOutDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "workZone": {
                "$ref": "#/components/schemas/WorkZone"
              },
              "statusId": {
                "$ref": "#/components/schemas/LeasingSpaceStatus"
              },
              "addresses": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Address2"
                },
                "nullable": true
              },
              "instructions": {
                "type": "string",
                "nullable": true
              },
              "moveInDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "SpaceCreateCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "customerId": {
                "type": "integer",
                "format": "int32"
              },
              "startDate": {
                "type": "string",
                "format": "date-time"
              },
              "endDate": {
                "type": "string",
                "format": "date-time"
              },
              "moveInDate": {
                "type": "string",
                "format": "date-time"
              },
              "moveOutDate": {
                "type": "string",
                "format": "date-time"
              },
              "instructions": {
                "type": "string",
                "nullable": true
              },
              "unitId": {
                "type": "integer",
                "format": "int32"
              },
              "ifUnitAlreadyExists": {
                "$ref": "#/components/schemas/DuplicateUnitMode"
              },
              "newUnitSpecifier": {
                "$ref": "#/components/schemas/NewUnitSpecifier"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "SpaceCreateCommandResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "newSpace": {
                "$ref": "#/components/schemas/Space"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "SpecDispatchRule": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/PortfolioChildCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "specialtyId": {
                "type": "integer",
                "format": "int32"
              },
              "index": {
                "type": "integer",
                "format": "int32"
              },
              "userId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Specialty": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "wonServiceId": {
                "type": "integer",
                "format": "int32"
              },
              "instructions": {
                "type": "string",
                "nullable": true
              },
              "taxCode": {
                "$ref": "#/components/schemas/TaxCode"
              },
              "currencies": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SpecialtyMoneyValues"
                },
                "nullable": true
              },
              "isNteAuto": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "SpecialtyMoneyValues": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityMoneyValues"
          },
          {
            "type": "object",
            "properties": {
              "nte": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "avgCostVendor": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "avgCostTech": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "avgCostAll": {
                "type": "number",
                "format": "double",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Status": {
        "enum": [
          "Submitted",
          "Queued",
          "Running",
          "Completed",
          "Failed",
          "Cancelled"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "StockLocation": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "number": {
                "type": "string",
                "nullable": true
              },
              "typeId": {
                "$ref": "#/components/schemas/MhLocationType"
              },
              "shipToName": {
                "type": "string",
                "nullable": true
              },
              "billToName": {
                "type": "string",
                "nullable": true
              },
              "deliveryInstructions": {
                "type": "string",
                "nullable": true
              },
              "comments": {
                "type": "string",
                "nullable": true
              },
              "allowNegativeQty": {
                "type": "boolean"
              },
              "moneyId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "timeZoneId": {
                "type": "integer",
                "format": "int32"
              },
              "streetAddresses": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Address2"
                },
                "nullable": true
              },
              "contactAddresses": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ContactInfo"
                },
                "nullable": true
              },
              "customFields": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomField2"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "StockLocationInventoryDetails": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "stockLocationId": {
                "type": "integer",
                "format": "int32"
              },
              "productId": {
                "type": "integer",
                "format": "int32"
              },
              "price": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "quantity": {
                "type": "number",
                "format": "double"
              },
              "createdOn": {
                "type": "string",
                "format": "date-time"
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "StreetAddrType": {
        "enum": [
          "Unknown",
          "Alt",
          "Primary",
          "Home"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "StructLayoutAttribute": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/Attribute"
          },
          {
            "type": "object",
            "properties": {
              "typeId": {
                "nullable": true,
                "readOnly": true
              },
              "value": {
                "$ref": "#/components/schemas/LayoutKind"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Task": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "modelId": {
                "type": "integer",
                "format": "int32"
              },
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "preventive": {
                "type": "boolean"
              },
              "routine": {
                "type": "boolean"
              },
              "corrective": {
                "type": "boolean"
              },
              "default": {
                "type": "boolean"
              },
              "symptom": {
                "type": "boolean"
              },
              "completionTime": {
                "type": "integer",
                "format": "int32"
              },
              "specialty": {
                "$ref": "#/components/schemas/Specialty"
              },
              "procedureTemplate": {
                "$ref": "#/components/schemas/ProcedureTemplate"
              },
              "procedureTemplateReferenceId": {
                "type": "integer",
                "format": "int32"
              },
              "priority": {
                "$ref": "#/components/schemas/WoPriority"
              },
              "selfHelpType": {
                "$ref": "#/components/schemas/TaskSelfHelpType"
              },
              "instructions": {
                "type": "string",
                "nullable": true
              },
              "selfHelpContent": {
                "type": "string",
                "nullable": true
              },
              "peopleRequired": {
                "type": "integer",
                "format": "int32"
              },
              "skillLevel": {
                "type": "integer",
                "format": "int32"
              },
              "glAccount": {
                "type": "string",
                "nullable": true
              },
              "number": {
                "type": "string",
                "nullable": true
              },
              "currencies": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/TaskMoneyValues"
                },
                "nullable": true
              },
              "chargeCode": {
                "$ref": "#/components/schemas/ChargeCodeLookup"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "TaskMoneyValues": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityMoneyValues"
          },
          {
            "type": "object",
            "properties": {
              "nte": {
                "type": "number",
                "format": "double",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "TaskSelfHelpType": {
        "enum": [
          "Html",
          "Hyperlink",
          "YouTube"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "TaxCode": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "extId": {
                "type": "string",
                "nullable": true
              },
              "descr": {
                "type": "string",
                "nullable": true
              },
              "country": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "TaxDetail": {
        "type": "object",
        "properties": {
          "jurisType": {
            "$ref": "#/components/schemas/JurisdictionType"
          },
          "jurisName": {
            "type": "string",
            "nullable": true
          },
          "rate": {
            "type": "number",
            "format": "double"
          },
          "taxCalculated": {
            "type": "number",
            "format": "double"
          },
          "moneyId": {
            "type": "integer",
            "format": "int32"
          },
          "taxDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TaxRegion": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/SimpleLookupWithOptimisticLockCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/TaxRegionItem"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "TaxRegionItem": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "taxRegionId": {
                "type": "integer",
                "format": "int32"
              },
              "taxCode": {
                "$ref": "#/components/schemas/TaxCode"
              },
              "taxRate": {
                "type": "number",
                "format": "double"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "TaxValidationStatus": {
        "enum": [
          "Unknown",
          "None",
          "Success",
          "Failure",
          "Provider"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "Team": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "workZones": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkTeamAndWorkZone"
                },
                "nullable": true
              },
              "employees": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkUserAndTeam"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "TimeCard": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "weekStartDate": {
                "type": "string",
                "format": "date-time"
              },
              "employee": {
                "$ref": "#/components/schemas/Employee"
              },
              "flagged": {
                "type": "integer",
                "format": "int32"
              },
              "statusId": {
                "$ref": "#/components/schemas/TimeCardStatus"
              },
              "week": {
                "$ref": "#/components/schemas/TimeCardWeek"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "TimeCardAction": {
        "enum": [
          "Uknown",
          "Flag",
          "Submit",
          "Approve",
          "Export",
          "ClearFlag",
          "UnSubmit",
          "UnApprove",
          "UnExport",
          "ReadyForExport",
          "NotReadyForExport"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "TimeCardActionCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "employeeId": {
                "type": "integer",
                "format": "int32"
              },
              "weekStartDate": {
                "type": "string",
                "format": "date-time"
              },
              "actionId": {
                "$ref": "#/components/schemas/TimeCardAction"
              },
              "comment": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "TimeCardActionResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "timeCard": {
                "$ref": "#/components/schemas/TimeCard"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "TimeCardItem": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "comment": {
                "type": "string",
                "nullable": true
              },
              "workZone": {
                "$ref": "#/components/schemas/WorkZone"
              },
              "endDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "systemEndDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "startDate": {
                "type": "string",
                "format": "date-time"
              },
              "systemStartDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "weekStartDate": {
                "type": "string",
                "format": "date-time"
              },
              "duration": {
                "type": "integer",
                "format": "int32"
              },
              "employee": {
                "$ref": "#/components/schemas/Employee"
              },
              "laborCode": {
                "$ref": "#/components/schemas/LaborCode"
              },
              "latitudeStart": {
                "type": "number",
                "format": "double"
              },
              "latitudeStop": {
                "type": "number",
                "format": "double"
              },
              "longitudeStart": {
                "type": "number",
                "format": "double"
              },
              "longitudeStop": {
                "type": "number",
                "format": "double"
              },
              "timeCard": {
                "$ref": "#/components/schemas/TimeCard"
              },
              "typeId": {
                "$ref": "#/components/schemas/TimeCardType"
              },
              "internalCostItem": {
                "$ref": "#/components/schemas/FinancialItem"
              },
              "workOrder": {
                "$ref": "#/components/schemas/WorkOrder"
              },
              "qty": {
                "type": "integer",
                "format": "int32"
              },
              "rate": {
                "type": "number",
                "format": "double"
              },
              "moneyId": {
                "$ref": "#/components/schemas/CurrencyType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "TimeCardStatus": {
        "enum": [
          "Unknown",
          "Pending",
          "Submitted",
          "Approved",
          "Exported",
          "ReadyForExport"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "TimeCardType": {
        "enum": [
          "Uknown",
          "Clock",
          "Manual",
          "WoLabor",
          "Allowance"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "TimeCardWeek": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "startDate": {
                "type": "string",
                "format": "date-time"
              },
              "endDate": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "TimeOff": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "employeeId": {
                "type": "integer",
                "format": "int32"
              },
              "startDate": {
                "type": "string",
                "format": "date-time"
              },
              "endDate": {
                "type": "string",
                "format": "date-time"
              },
              "replaceById": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "TimePeriod": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "startDate": {
                "type": "string",
                "format": "date-time"
              },
              "endDate": {
                "type": "string",
                "format": "date-time"
              },
              "dtStart": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "dtEnd": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "isFinancial": {
                "type": "boolean"
              },
              "isTime": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ToDoItem": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "actorId": {
                "type": "integer",
                "format": "int32"
              },
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "dtUtcDue": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "done": {
                "type": "boolean"
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "comments": {
                "type": "string",
                "nullable": true
              },
              "employeeId": {
                "type": "integer",
                "format": "int32"
              },
              "createdEmployeeId": {
                "type": "integer",
                "format": "int32"
              },
              "completedEmployeeId": {
                "type": "integer",
                "format": "int32"
              },
              "dtUtcCompleted": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "type": {
                "$ref": "#/components/schemas/ToDoType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "ToDoType": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "isDefault": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "TravelRoute": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "integer",
            "format": "int32"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "steps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TravelStep"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TravelStep": {
        "type": "object",
        "properties": {
          "departureAt": {
            "type": "string",
            "format": "date-time"
          },
          "arrivalAt": {
            "type": "string",
            "format": "date-time"
          },
          "distanceInMeters": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "durationInMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "routePath": {
            "type": "string",
            "nullable": true
          },
          "originWorkOrderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "originSegmentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "destinationWorkOrderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "destinationSegmentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TravelTimeMinutes": {
        "type": "object",
        "properties": {
          "request": {
            "type": "integer",
            "format": "int32"
          },
          "solution": {
            "type": "integer",
            "format": "int32"
          },
          "difference": {
            "type": "integer",
            "format": "int32"
          },
          "byUser": {
            "type": "object",
            "allOf": [
              {
                "$ref": "#/components/schemas/Object"
              },
              {
                "type": "object"
              }
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/Anonymous5"
            },
            "nullable": true
          },
          "byDate": {
            "type": "object",
            "allOf": [
              {
                "$ref": "#/components/schemas/Object"
              },
              {
                "type": "object"
              }
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/Anonymous6"
            },
            "nullable": true
          },
          "byChangeType": {
            "$ref": "#/components/schemas/ByChangeType2"
          }
        },
        "additionalProperties": false
      },
      "Turn": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "assetId": {
                "type": "integer",
                "format": "int32"
              },
              "wtTemplateId": {
                "type": "integer",
                "format": "int32"
              },
              "dtReadyByDue": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "dtParentScheduledStart": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "statusId": {
                "$ref": "#/components/schemas/TurnStatus"
              },
              "errorDetails": {
                "type": "string",
                "nullable": true
              },
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "TurnStatus": {
        "enum": [
          "Pending",
          "Failed",
          "Done"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "Type": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/MemberInfo"
          },
          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "nullable": true,
                "readOnly": true
              },
              "customAttributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomAttributeData"
                },
                "nullable": true,
                "readOnly": true
              },
              "isCollectible": {
                "type": "boolean",
                "readOnly": true
              },
              "metadataToken": {
                "type": "integer",
                "format": "int32",
                "readOnly": true
              },
              "memberType": {
                "$ref": "#/components/schemas/MemberTypes"
              },
              "namespace": {
                "type": "string",
                "nullable": true,
                "readOnly": true
              },
              "assemblyQualifiedName": {
                "type": "string",
                "nullable": true,
                "readOnly": true
              },
              "fullName": {
                "type": "string",
                "nullable": true,
                "readOnly": true
              },
              "assembly": {
                "$ref": "#/components/schemas/Assembly"
              },
              "module": {
                "$ref": "#/components/schemas/Module"
              },
              "isInterface": {
                "type": "boolean",
                "readOnly": true
              },
              "isNested": {
                "type": "boolean",
                "readOnly": true
              },
              "declaringType": {
                "$ref": "#/components/schemas/Type"
              },
              "declaringMethod": {
                "$ref": "#/components/schemas/MethodBase"
              },
              "reflectedType": {
                "$ref": "#/components/schemas/Type"
              },
              "underlyingSystemType": {
                "$ref": "#/components/schemas/Type"
              },
              "isTypeDefinition": {
                "type": "boolean",
                "readOnly": true
              },
              "isArray": {
                "type": "boolean",
                "readOnly": true
              },
              "isByRef": {
                "type": "boolean",
                "readOnly": true
              },
              "isPointer": {
                "type": "boolean",
                "readOnly": true
              },
              "isConstructedGenericType": {
                "type": "boolean",
                "readOnly": true
              },
              "isGenericParameter": {
                "type": "boolean",
                "readOnly": true
              },
              "isGenericTypeParameter": {
                "type": "boolean",
                "readOnly": true
              },
              "isGenericMethodParameter": {
                "type": "boolean",
                "readOnly": true
              },
              "isGenericType": {
                "type": "boolean",
                "readOnly": true
              },
              "isGenericTypeDefinition": {
                "type": "boolean",
                "readOnly": true
              },
              "isSZArray": {
                "type": "boolean",
                "readOnly": true
              },
              "isVariableBoundArray": {
                "type": "boolean",
                "readOnly": true
              },
              "isByRefLike": {
                "type": "boolean",
                "readOnly": true
              },
              "isFunctionPointer": {
                "type": "boolean",
                "readOnly": true
              },
              "isUnmanagedFunctionPointer": {
                "type": "boolean",
                "readOnly": true
              },
              "hasElementType": {
                "type": "boolean",
                "readOnly": true
              },
              "genericTypeArguments": {
                "type": "array",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Array"
                  },
                  {
                    "type": "array"
                  }
                ],
                "items": {
                  "$ref": "#/components/schemas/Type"
                },
                "nullable": true,
                "readOnly": true
              },
              "genericParameterPosition": {
                "type": "integer",
                "format": "int32",
                "readOnly": true
              },
              "genericParameterAttributes": {
                "$ref": "#/components/schemas/GenericParameterAttributes"
              },
              "attributes": {
                "$ref": "#/components/schemas/TypeAttributes"
              },
              "isAbstract": {
                "type": "boolean",
                "readOnly": true
              },
              "isImport": {
                "type": "boolean",
                "readOnly": true
              },
              "isSealed": {
                "type": "boolean",
                "readOnly": true
              },
              "isSpecialName": {
                "type": "boolean",
                "readOnly": true
              },
              "isClass": {
                "type": "boolean",
                "readOnly": true
              },
              "isNestedAssembly": {
                "type": "boolean",
                "readOnly": true
              },
              "isNestedFamANDAssem": {
                "type": "boolean",
                "readOnly": true
              },
              "isNestedFamily": {
                "type": "boolean",
                "readOnly": true
              },
              "isNestedFamORAssem": {
                "type": "boolean",
                "readOnly": true
              },
              "isNestedPrivate": {
                "type": "boolean",
                "readOnly": true
              },
              "isNestedPublic": {
                "type": "boolean",
                "readOnly": true
              },
              "isNotPublic": {
                "type": "boolean",
                "readOnly": true
              },
              "isPublic": {
                "type": "boolean",
                "readOnly": true
              },
              "isAutoLayout": {
                "type": "boolean",
                "readOnly": true
              },
              "isExplicitLayout": {
                "type": "boolean",
                "readOnly": true
              },
              "isLayoutSequential": {
                "type": "boolean",
                "readOnly": true
              },
              "isAnsiClass": {
                "type": "boolean",
                "readOnly": true
              },
              "isAutoClass": {
                "type": "boolean",
                "readOnly": true
              },
              "isUnicodeClass": {
                "type": "boolean",
                "readOnly": true
              },
              "isCOMObject": {
                "type": "boolean",
                "readOnly": true
              },
              "isContextful": {
                "type": "boolean",
                "readOnly": true
              },
              "isEnum": {
                "type": "boolean",
                "readOnly": true
              },
              "isMarshalByRef": {
                "type": "boolean",
                "readOnly": true
              },
              "isPrimitive": {
                "type": "boolean",
                "readOnly": true
              },
              "isValueType": {
                "type": "boolean",
                "readOnly": true
              },
              "isSignatureType": {
                "type": "boolean",
                "readOnly": true
              },
              "isSecurityCritical": {
                "type": "boolean",
                "readOnly": true
              },
              "isSecuritySafeCritical": {
                "type": "boolean",
                "readOnly": true
              },
              "isSecurityTransparent": {
                "type": "boolean",
                "readOnly": true
              },
              "structLayoutAttribute": {
                "$ref": "#/components/schemas/StructLayoutAttribute"
              },
              "typeInitializer": {
                "$ref": "#/components/schemas/ConstructorInfo"
              },
              "typeHandle": {
                "$ref": "#/components/schemas/RuntimeTypeHandle"
              },
              "guid": {
                "type": "string",
                "format": "uuid",
                "readOnly": true
              },
              "baseType": {
                "$ref": "#/components/schemas/Type"
              },
              "isSerializable": {
                "type": "boolean",
                "readOnly": true,
                "deprecated": true
              },
              "containsGenericParameters": {
                "type": "boolean",
                "readOnly": true
              },
              "isVisible": {
                "type": "boolean",
                "readOnly": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "TypeAttributes": {
        "enum": [
          "NotPublic",
          "AutoLayout",
          "AnsiClass",
          "Class",
          "Public",
          "NestedPublic",
          "NestedPrivate",
          "NestedFamily",
          "NestedAssembly",
          "NestedFamANDAssem",
          "VisibilityMask",
          "NestedFamORAssem",
          "SequentialLayout",
          "ExplicitLayout",
          "LayoutMask",
          "Interface",
          "ClassSemanticsMask",
          "Abstract",
          "Sealed",
          "SpecialName",
          "RTSpecialName",
          "Import",
          "Serializable",
          "WindowsRuntime",
          "UnicodeClass",
          "AutoClass",
          "StringFormatMask",
          "CustomFormatClass",
          "HasSecurity",
          "ReservedMask",
          "BeforeFieldInit",
          "CustomFormatMask"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "TypeInfo": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/Type"
          },
          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "nullable": true,
                "readOnly": true
              },
              "customAttributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomAttributeData"
                },
                "nullable": true,
                "readOnly": true
              },
              "isCollectible": {
                "type": "boolean",
                "readOnly": true
              },
              "metadataToken": {
                "type": "integer",
                "format": "int32",
                "readOnly": true
              },
              "memberType": {
                "$ref": "#/components/schemas/MemberTypes"
              },
              "namespace": {
                "type": "string",
                "nullable": true,
                "readOnly": true
              },
              "assemblyQualifiedName": {
                "type": "string",
                "nullable": true,
                "readOnly": true
              },
              "fullName": {
                "type": "string",
                "nullable": true,
                "readOnly": true
              },
              "assembly": {
                "$ref": "#/components/schemas/Assembly"
              },
              "module": {
                "$ref": "#/components/schemas/Module"
              },
              "isInterface": {
                "type": "boolean",
                "readOnly": true
              },
              "isNested": {
                "type": "boolean",
                "readOnly": true
              },
              "declaringType": {
                "$ref": "#/components/schemas/Type"
              },
              "declaringMethod": {
                "$ref": "#/components/schemas/MethodBase"
              },
              "reflectedType": {
                "$ref": "#/components/schemas/Type"
              },
              "underlyingSystemType": {
                "$ref": "#/components/schemas/Type"
              },
              "isTypeDefinition": {
                "type": "boolean",
                "readOnly": true
              },
              "isArray": {
                "type": "boolean",
                "readOnly": true
              },
              "isByRef": {
                "type": "boolean",
                "readOnly": true
              },
              "isPointer": {
                "type": "boolean",
                "readOnly": true
              },
              "isConstructedGenericType": {
                "type": "boolean",
                "readOnly": true
              },
              "isGenericParameter": {
                "type": "boolean",
                "readOnly": true
              },
              "isGenericTypeParameter": {
                "type": "boolean",
                "readOnly": true
              },
              "isGenericMethodParameter": {
                "type": "boolean",
                "readOnly": true
              },
              "isGenericType": {
                "type": "boolean",
                "readOnly": true
              },
              "isGenericTypeDefinition": {
                "type": "boolean",
                "readOnly": true
              },
              "isSZArray": {
                "type": "boolean",
                "readOnly": true
              },
              "isVariableBoundArray": {
                "type": "boolean",
                "readOnly": true
              },
              "isByRefLike": {
                "type": "boolean",
                "readOnly": true
              },
              "isFunctionPointer": {
                "type": "boolean",
                "readOnly": true
              },
              "isUnmanagedFunctionPointer": {
                "type": "boolean",
                "readOnly": true
              },
              "hasElementType": {
                "type": "boolean",
                "readOnly": true
              },
              "genericTypeArguments": {
                "type": "array",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Array"
                  },
                  {
                    "type": "array"
                  }
                ],
                "items": {
                  "$ref": "#/components/schemas/Type"
                },
                "nullable": true,
                "readOnly": true
              },
              "genericParameterPosition": {
                "type": "integer",
                "format": "int32",
                "readOnly": true
              },
              "genericParameterAttributes": {
                "$ref": "#/components/schemas/GenericParameterAttributes"
              },
              "attributes": {
                "$ref": "#/components/schemas/TypeAttributes"
              },
              "isAbstract": {
                "type": "boolean",
                "readOnly": true
              },
              "isImport": {
                "type": "boolean",
                "readOnly": true
              },
              "isSealed": {
                "type": "boolean",
                "readOnly": true
              },
              "isSpecialName": {
                "type": "boolean",
                "readOnly": true
              },
              "isClass": {
                "type": "boolean",
                "readOnly": true
              },
              "isNestedAssembly": {
                "type": "boolean",
                "readOnly": true
              },
              "isNestedFamANDAssem": {
                "type": "boolean",
                "readOnly": true
              },
              "isNestedFamily": {
                "type": "boolean",
                "readOnly": true
              },
              "isNestedFamORAssem": {
                "type": "boolean",
                "readOnly": true
              },
              "isNestedPrivate": {
                "type": "boolean",
                "readOnly": true
              },
              "isNestedPublic": {
                "type": "boolean",
                "readOnly": true
              },
              "isNotPublic": {
                "type": "boolean",
                "readOnly": true
              },
              "isPublic": {
                "type": "boolean",
                "readOnly": true
              },
              "isAutoLayout": {
                "type": "boolean",
                "readOnly": true
              },
              "isExplicitLayout": {
                "type": "boolean",
                "readOnly": true
              },
              "isLayoutSequential": {
                "type": "boolean",
                "readOnly": true
              },
              "isAnsiClass": {
                "type": "boolean",
                "readOnly": true
              },
              "isAutoClass": {
                "type": "boolean",
                "readOnly": true
              },
              "isUnicodeClass": {
                "type": "boolean",
                "readOnly": true
              },
              "isCOMObject": {
                "type": "boolean",
                "readOnly": true
              },
              "isContextful": {
                "type": "boolean",
                "readOnly": true
              },
              "isEnum": {
                "type": "boolean",
                "readOnly": true
              },
              "isMarshalByRef": {
                "type": "boolean",
                "readOnly": true
              },
              "isPrimitive": {
                "type": "boolean",
                "readOnly": true
              },
              "isValueType": {
                "type": "boolean",
                "readOnly": true
              },
              "isSignatureType": {
                "type": "boolean",
                "readOnly": true
              },
              "isSecurityCritical": {
                "type": "boolean",
                "readOnly": true
              },
              "isSecuritySafeCritical": {
                "type": "boolean",
                "readOnly": true
              },
              "isSecurityTransparent": {
                "type": "boolean",
                "readOnly": true
              },
              "structLayoutAttribute": {
                "$ref": "#/components/schemas/StructLayoutAttribute"
              },
              "typeInitializer": {
                "$ref": "#/components/schemas/ConstructorInfo"
              },
              "typeHandle": {
                "$ref": "#/components/schemas/RuntimeTypeHandle"
              },
              "guid": {
                "type": "string",
                "format": "uuid",
                "readOnly": true
              },
              "baseType": {
                "$ref": "#/components/schemas/Type"
              },
              "isSerializable": {
                "type": "boolean",
                "readOnly": true,
                "deprecated": true
              },
              "containsGenericParameters": {
                "type": "boolean",
                "readOnly": true
              },
              "isVisible": {
                "type": "boolean",
                "readOnly": true
              },
              "genericTypeParameters": {
                "type": "array",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Array"
                  },
                  {
                    "type": "array"
                  }
                ],
                "items": {
                  "$ref": "#/components/schemas/Type"
                },
                "nullable": true,
                "readOnly": true
              },
              "declaredConstructors": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ConstructorInfo"
                },
                "nullable": true,
                "readOnly": true
              },
              "declaredEvents": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/EventInfo"
                },
                "nullable": true,
                "readOnly": true
              },
              "declaredFields": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/FieldInfo"
                },
                "nullable": true,
                "readOnly": true
              },
              "declaredMembers": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/MemberInfo"
                },
                "nullable": true,
                "readOnly": true
              },
              "declaredMethods": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/MethodInfo"
                },
                "nullable": true,
                "readOnly": true
              },
              "declaredNestedTypes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/TypeInfo"
                },
                "nullable": true,
                "readOnly": true
              },
              "declaredProperties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PropertyInfo"
                },
                "nullable": true,
                "readOnly": true
              },
              "implementedInterfaces": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Type"
                },
                "nullable": true,
                "readOnly": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "UIType": {
        "enum": [
          "Unknown",
          "Corp",
          "CallCenter",
          "Wireless",
          "Resident",
          "Monitor",
          "System",
          "IVR",
          "Offline",
          "IntegrationWS",
          "WON",
          "WonRequestor",
          "CustomerPortalApp",
          "JetApp",
          "ResponseByEmail",
          "DigitalRoundsApp",
          "ScheduleOptimizationAgent",
          "OTHER"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "UpdateCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "entity": {
                "$ref": "#/components/schemas/CorrigoEntity"
              },
              "propertySet": {
                "$ref": "#/components/schemas/PropertySetBase"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "UpdateInvoiceStateCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "invoiceId": {
                "type": "integer",
                "format": "int32"
              },
              "state": {
                "$ref": "#/components/schemas/CiInvoiceState"
              },
              "timestamp": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "comment": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "UpdateInvoiceStateCommandResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "invoice": {
                "$ref": "#/components/schemas/Invoice"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "UpdateRefrigerantSyncSettingsCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "status": {
                "type": "boolean"
              },
              "lastSync": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "UpdateRefrigerantSyncSettingsCommandResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "status": {
                "type": "boolean"
              },
              "lastSync": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "UpdateWoInductionAndSafetyStatusCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object",
            "properties": {
              "inductionAndSafetyStatusID": {
                "$ref": "#/components/schemas/IsmStatus"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "Updated": {
        "type": "object",
        "properties": {
          "request": {
            "type": "integer",
            "format": "int32"
          },
          "solution": {
            "type": "integer",
            "format": "int32"
          },
          "difference": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Updated2": {
        "type": "object",
        "properties": {
          "request": {
            "type": "integer",
            "format": "int32"
          },
          "solution": {
            "type": "integer",
            "format": "int32"
          },
          "difference": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Updated3": {
        "type": "object",
        "properties": {
          "solution": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UserCertification": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "userId": {
                "type": "integer",
                "format": "int32"
              },
              "certificationNumber": {
                "type": "string",
                "nullable": true
              },
              "certificationClassId": {
                "$ref": "#/components/schemas/EmpCertificationClass"
              },
              "expiresDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "UserMessages": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "integer",
            "format": "int32"
          },
          "messageCode": {
            "$ref": "#/components/schemas/UserMessagesMessageCode"
          },
          "messagePayload": {
            "nullable": true
          },
          "defaultMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserMessagesMessageCode": {
        "enum": [
          "UNKNOWN",
          "USER_NO_SPECIALTY_MATCH",
          "USER_WITHOUT_SPECIALTIES",
          "USER_NO_SKILL_LEVEL_MATCH",
          "USER_NO_MINIMUM_SKILL_LEVEL_MATCH",
          "USER_NO_OVERLAP_WITH_BUSINESS_HOURS",
          "USER_DAILY_OVERTIME_LIMIT_SURPASSED_BY_LOCKED_WORK_ORDERS",
          "USER_WEEK_OVERTIME_LIMIT_SURPASSED_BY_LOCKED_WORK_ORDERS",
          "USER_CONSECUTIVE_HOURS_UNSCHEDULED",
          "USER_MISSING_LOCATION_DATA",
          "USER_EXCEEDS_MAX_DEPARTURE_TRAVEL_TIME",
          "USER_EXCEEDS_MAX_RETURN_TRAVEL_TIME",
          "USER_EXCEEDS_MAX_TRAVEL_TIME_FROM_STARTING_LOCATION",
          "USER_POTENTIAL_WEEKLY_OVERTIME_MIDWEEK",
          "USER_TRAVEL_TIME_SHORTFALL"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "UserOrProviderSuspendCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "reactivate": {
                "type": "boolean",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "UserPayRate": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "laborCodeId": {
                "type": "integer",
                "format": "int32"
              },
              "userId": {
                "type": "integer",
                "format": "int32"
              },
              "isDefault": {
                "type": "boolean"
              },
              "currencies": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UserPayRateMoneyValues"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "UserPayRateMoneyValues": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityMoneyValues"
          },
          {
            "type": "object",
            "properties": {
              "rate": {
                "type": "number",
                "format": "double",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "UserSignInInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastSignInDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "signInCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UserSignInInfoCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "userIds": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                },
                "nullable": true
              },
              "signInThresholdDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "UserSignInInfoResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "userSignInInfos": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UserSignInInfo"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "VendorType": {
        "enum": [
          "Editable",
          "NonEditable",
          "Hidden",
          "UseVendorPrLst"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "VerifyWorkCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "woRatingId": {
                "$ref": "#/components/schemas/WoRating"
              },
              "comment": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "VerifyWorkResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "VisitStatus": {
        "enum": [
          "None",
          "Bad",
          "Good"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "WOActionProperty": {
        "enum": [
          "Unknown",
          "FlagId",
          "SignedBy",
          "SignedEmail",
          "CostStatusId",
          "CostStatus",
          "Rating",
          "ItemAdded",
          "ItemRemoved",
          "AssignmentRemoved",
          "AssignmentAdded",
          "InvoiceId",
          "ApInvoiceId",
          "ApInvoiceName",
          "ByContactId",
          "ScanType",
          "CustomerAdded",
          "CustomerRemoved",
          "TriggerEventId",
          "PrevWoStatus",
          "MsgAddressedTo",
          "MsgAddress",
          "ApptWindowStart",
          "ApptWindowEnd",
          "UiSubType",
          "ProviderNotCompliant",
          "IntValues",
          "RequestorWorkZoneId",
          "RequestorCustomerId",
          "InitialReasonID",
          "RequestorWorkZoneNumber",
          "RequestorWorkZoneName",
          "WoItemChangedFrom",
          "WoItemChangedTo",
          "WoItemDescrChangedFrom",
          "WoItemDescrChangedTo",
          "WoRepositionNewNumber",
          "WoRepositionOldNumber",
          "MsgReceivedFrom",
          "MsgRecipients",
          "MsgResponseReceivedFrom",
          "MsgResponseAiLevel"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "WOActionType": {
        "enum": [
          "Unknown",
          "Create",
          "PickUp",
          "Start",
          "OnHold",
          "Complete",
          "Cancel",
          "Reopen",
          "Assign",
          "Attention",
          "APInvStatus",
          "Archived",
          "Restored",
          "Stop",
          "AccessChanged",
          "Billed",
          "DueDateChanged",
          "Note",
          "Message",
          "QuoteRequested",
          "CostStatus",
          "BillingRuleChanged",
          "OwnerChanged",
          "Signature",
          "ApprovalStart",
          "ApprovalEnd",
          "ApGlAccountChanged",
          "EstimateRejected",
          "EstimateApproved",
          "ItemAddRemove",
          "WarrantyFlagChanged",
          "AutoWarranty",
          "OnSiteByChanged",
          "AckByChanged",
          "CustomerChanged",
          "EstimateSubmitted",
          "WonWoSend",
          "WonWoRecall",
          "WonWoUpdate",
          "WonPaymentSend",
          "Verified",
          "CustomerNteChanged",
          "PriorityChanged",
          "SchedStartChanged",
          "VendorNteChanged",
          "WonDocAttach",
          "QuoteSubmitted",
          "FlagCleared",
          "QuoteRejected",
          "QuoteApproved",
          "VisitDeleted",
          "ApInvoiceCleared",
          "ProcedureAddRemove",
          "ApInvoiceTaxUpdate",
          "IsmStatusChanged",
          "Moved",
          "ReqDocUploaded",
          "ReqDocFileRemoved",
          "ReqDocStatusChanged",
          "ReqDocUrgentActionsPresent",
          "ReqDocUrgentActionsRemoved",
          "MessageReceived",
          "ProcedureUnderReview",
          "ProcedureReviewed",
          "LockForOffline",
          "UnlockAfterOffline",
          "QuoteRecalled",
          "EstimateRecalled",
          "IncidentReportCreated",
          "CriticalWoUnapproved",
          "ScheduleSegmentModified",
          "WoItemModified",
          "ChildWOReposition",
          "WoProcedureReposition",
          "RefrigerantTransaction",
          "TypeChanged",
          "AiRecommendationVendorInvoice",
          "ApprovalBypassed",
          "DurationChanged",
          "ScheduleSegmentDurationModified"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "WONoteType": {
        "enum": [
          "Unknown",
          "Completion",
          "Public",
          "Private"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "WOStatus": {
        "enum": [
          "Unknown",
          "Open",
          "Paused",
          "Cancelled",
          "New",
          "OnHold",
          "InProgress",
          "Completed"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "WOType": {
        "enum": [
          "Unknown",
          "Basic",
          "PMRM",
          "Turn",
          "Request"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "Warranty": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "additionalInfo": {
                "type": "string",
                "nullable": true
              },
              "isTemplate": {
                "type": "boolean"
              },
              "organization": {
                "$ref": "#/components/schemas/Organization"
              },
              "statusId": {
                "$ref": "#/components/schemas/WarrantyStatus"
              },
              "primaryContact": {
                "type": "string",
                "nullable": true
              },
              "templateId": {
                "type": "integer",
                "format": "int32"
              },
              "workOrder": {
                "$ref": "#/components/schemas/WorkOrder"
              },
              "startDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "endDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "autoCoverage": {
                "type": "integer",
                "format": "int32"
              },
              "laborCoverageTypeId": {
                "$ref": "#/components/schemas/SchedInterval"
              },
              "laborCoverageLength": {
                "type": "integer",
                "format": "int32"
              },
              "partsCoverageTypeId": {
                "$ref": "#/components/schemas/SchedInterval"
              },
              "partsCoverageLength": {
                "type": "integer",
                "format": "int32"
              },
              "otherCoverageTypeId": {
                "$ref": "#/components/schemas/SchedInterval"
              },
              "otherCoveragerLength": {
                "type": "integer",
                "format": "int32"
              },
              "warrantorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "warrantorId": {
                "type": "integer",
                "format": "int32"
              },
              "comment": {
                "type": "string",
                "nullable": true
              },
              "asset": {
                "$ref": "#/components/schemas/Location"
              },
              "timeZone": {
                "type": "integer",
                "format": "int32"
              },
              "workZone": {
                "$ref": "#/components/schemas/WorkZone"
              },
              "contactAddresses": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ContactInfo"
                },
                "nullable": true
              },
              "isManufacturer": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WarrantyStatus": {
        "enum": [
          "None",
          "Expired",
          "Active"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "WeekdayMask": {
        "enum": [
          "None",
          "Sunday",
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday",
          "Saturday"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "WoActionLog": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "typeId": {
                "$ref": "#/components/schemas/WOActionType"
              },
              "actor": {
                "$ref": "#/components/schemas/Actor"
              },
              "actionDate": {
                "type": "string",
                "format": "date-time"
              },
              "comment": {
                "type": "string",
                "nullable": true
              },
              "actionReasonId": {
                "type": "integer",
                "format": "int32"
              },
              "isBackDate": {
                "type": "boolean"
              },
              "uiTypeId": {
                "$ref": "#/components/schemas/UIType"
              },
              "timeZone": {
                "type": "integer",
                "format": "int32"
              },
              "systemDateUtc": {
                "type": "string",
                "format": "date-time"
              },
              "objectId": {
                "type": "integer",
                "format": "int32"
              },
              "properties": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoActionLogProp"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoActionLogProp": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "woActionLogId": {
                "type": "integer",
                "format": "int32"
              },
              "valueInt": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "valueStr": {
                "type": "string",
                "nullable": true
              },
              "typeId": {
                "$ref": "#/components/schemas/WOActionProperty"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoActionReasonLookup": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "actionId": {
                "$ref": "#/components/schemas/WOActionType"
              },
              "reasonId": {
                "type": "integer",
                "format": "int32"
              },
              "hide": {
                "type": "boolean"
              },
              "descr": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoActionResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "wo": {
                "$ref": "#/components/schemas/WorkOrder"
              },
              "updatedPropertySet": {
                "$ref": "#/components/schemas/PropertySet"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoAddProcedureCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object",
            "properties": {
              "assetId": {
                "type": "integer",
                "format": "int32"
              },
              "procedureTemplateId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoAssignCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object",
            "properties": {
              "assignees": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                },
                "nullable": true
              },
              "mode": {
                "$ref": "#/components/schemas/ChangeAssignmentMode"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoAssignment": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "isPrimary": {
                "type": "boolean"
              },
              "employeeId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoAutoAssignRoutine": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "workOrder": {
                "$ref": "#/components/schemas/WorkOrder"
              },
              "zip": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoBaseCheckInOutCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object",
            "properties": {
              "actionDate": {
                "type": "string",
                "format": "date-time"
              },
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "comment": {
                "type": "string",
                "nullable": true
              },
              "statusId": {
                "$ref": "#/components/schemas/WOStatus"
              },
              "concurrencyId": {
                "type": "integer",
                "format": "int32"
              },
              "actionReasonId": {
                "type": "integer",
                "format": "int32"
              },
              "employeeId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "latitude": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "longitude": {
                "type": "number",
                "format": "double",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoCancelCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "WoCheckInCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WoBaseCheckInOutCommand"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "WoCheckOutCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WoBaseCheckInOutCommand"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "WoClearFlagsCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object",
            "properties": {
              "flagsToClear": {
                "type": "array",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Array"
                  },
                  {
                    "type": "array"
                  }
                ],
                "items": {
                  "type": "integer",
                  "format": "int32"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoCompleteCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object",
            "properties": {
              "repairCodeId": {
                "type": "integer",
                "format": "int32"
              },
              "completionNoteOption": {
                "$ref": "#/components/schemas/CompletionNoteOptions"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoCopyCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "WoCostExclusion": {
        "enum": [
          "None",
          "Item",
          "Category",
          "Min"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "WoCostLineType": {
        "enum": [
          "Unknown",
          "Cost",
          "Vendor",
          "ServiceFee"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "WoCostPriceSource": {
        "enum": [
          "Unknown",
          "Manual",
          "Integration"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "WoCreateCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object",
            "properties": {
              "workOrder": {
                "$ref": "#/components/schemas/WorkOrder"
              },
              "wpTree": {
                "$ref": "#/components/schemas/WpTree"
              },
              "employeeId": {
                "type": "integer",
                "format": "int32"
              },
              "keepUnassigned": {
                "type": "boolean"
              },
              "computeSchedule": {
                "type": "boolean"
              },
              "computeAssignment": {
                "type": "boolean"
              },
              "emergencyDisabled": {
                "type": "boolean"
              },
              "skipBillToLogic": {
                "type": "boolean"
              },
              "skipProcedures": {
                "type": "boolean"
              },
              "skipPriority": {
                "type": "boolean"
              },
              "allowNewUnassignedEmergencies": {
                "type": "boolean"
              },
              "externalNumber": {
                "type": "string",
                "nullable": true
              },
              "scheduledTransactions": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoEquipment": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "woId": {
                "type": "integer",
                "format": "int32"
              },
              "asset": {
                "$ref": "#/components/schemas/Location"
              },
              "comment": {
                "type": "string",
                "nullable": true
              },
              "refrigerantUsed": {
                "type": "boolean"
              },
              "type": {
                "$ref": "#/components/schemas/WoEquipmentType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoEquipmentType": {
        "enum": [
          "Unknown",
          "New",
          "Known",
          "NotRelated"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "WoEstimate": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "amount": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "comment": {
                "type": "string",
                "nullable": true
              },
              "statusId": {
                "$ref": "#/components/schemas/QuoteStatus"
              },
              "reason": {
                "type": "string",
                "nullable": true
              },
              "contactId": {
                "type": "integer",
                "format": "int32"
              },
              "contactName": {
                "type": "string",
                "nullable": true
              },
              "isMultiline": {
                "type": "boolean"
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/QuoteOrEstimateItem"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoFlag": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "woId": {
                "type": "integer",
                "format": "int32"
              },
              "flagId": {
                "type": "integer",
                "format": "int32"
              },
              "utcStamp": {
                "type": "string",
                "format": "date-time"
              },
              "comment": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoFlagCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "WoItem": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "sortOrderIdx": {
                "type": "integer",
                "format": "int32"
              },
              "disposition": {
                "$ref": "#/components/schemas/Disposition"
              },
              "assetLocation": {
                "type": "string",
                "nullable": true
              },
              "asset": {
                "$ref": "#/components/schemas/Location"
              },
              "task": {
                "$ref": "#/components/schemas/Task"
              },
              "comment": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoLastAction": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "lastAction": {
                "$ref": "#/components/schemas/WoActionLog"
              },
              "emergencyReason": {
                "$ref": "#/components/schemas/WoActionReasonLookup"
              },
              "reason": {
                "$ref": "#/components/schemas/WoActionReasonLookup"
              },
              "billStatus": {
                "$ref": "#/components/schemas/BillStatus"
              },
              "invoice": {
                "$ref": "#/components/schemas/Invoice"
              },
              "billedTotal": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "xNumber": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoLastModificationCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoLastModificationResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "dtLastModified": {
                "type": "string",
                "format": "date-time"
              },
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoMessageCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object",
            "properties": {
              "senderId": {
                "type": "integer",
                "format": "int32"
              },
              "senderType": {
                "$ref": "#/components/schemas/ActorType"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoMessages": {
        "type": "object",
        "properties": {
          "workOrderId": {
            "type": "integer",
            "format": "int32"
          },
          "messageCode": {
            "$ref": "#/components/schemas/WoMessagesMessageCode"
          },
          "messagePayload": {
            "nullable": true
          },
          "defaultMessage": {
            "type": "string",
            "nullable": true
          },
          "missesDueBySLA": {
            "type": "boolean",
            "nullable": true
          },
          "missesOnSiteBySLA": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WoMessagesMessageCode": {
        "enum": [
          "UNKNOWN",
          "WO_NO_USER_SPECIALTY_MATCH",
          "WO_NO_USER_SKILL_LEVEL_MATCH",
          "WO_NO_USER_MINIMUM_SKILL_LEVEL_MATCH",
          "WO_NOT_ENOUGH_USERS_WITH_SPECIALTY",
          "WO_NOT_ENOUGH_USERS_WITH_SKILL_LEVEL",
          "WO_NOT_ENOUGH_USERS_WITH_MINIMUM_SKILL_LEVEL",
          "WO_NO_LOCAL_KNOWLEDGE_USER_WITH_SPECIALTY",
          "WO_NO_LOCAL_KNOWLEDGE_USER_WITH_SKILL_LEVEL",
          "WO_NO_LOCAL_KNOWLEDGE_USER_WITH_MINIMUM_SKILL_LEVEL",
          "WO_NOT_ENOUGH_LOCAL_KNOWLEDGE_USERS_WITH_SPECIALTY",
          "WO_NOT_ENOUGH_LOCAL_KNOWLEDGE_USERS_WITH_SKILL_LEVEL",
          "WO_NOT_ENOUGH_LOCAL_KNOWLEDGE_USERS_WITH_MINIMUM_SKILL_LEVEL",
          "WO_CURRENT_ASSIGNEE_NOT_INCLUDED",
          "WO_CURRENT_ASSIGNEE_NO_SPECIALTY_MATCH",
          "WO_CURRENT_ASSIGNEE_NO_SKILL_LEVEL_MATCH",
          "WO_CURRENT_ASSIGNEE_NO_LOCAL_KNOWLEDGE",
          "WO_SCHEDULED_ON_BLACKOUT_DAY",
          "CRITICAL_WO_NOT_MODIFIED_OFF_MODE",
          "CRITICAL_WO_NOT_MODIFIED_SOFT_MODE",
          "WO_LOCKED",
          "WO_NO_USER_AVAILABILITY_OVERLAP",
          "WO_SLA_NOT_MET",
          "WO_EXCEEDS_MAX_TRAVEL_TIME_FROM_ALL_USERS",
          "WO_MISSING_LOCATION_DATA",
          "WO_MISSING_SLA_VALUES",
          "WO_HP_SPECIALTY_NOT_COVERED",
          "WO_HP_SKILL_NOT_COVERED",
          "WO_HP_INSUFFICIENT_TECHS",
          "WO_HP_LOCAL_KNOWLEDGE_NOT_COVERED",
          "WO_HP_ASSIGNEE_UNAVAILABLE",
          "WO_HP_TRAVEL_NOT_FEASIBLE",
          "WO_HP_WORK_ZONE_UNAVAILABLE",
          "WO_HP_DURATION_EXCEEDS_SHIFT",
          "WO_HP_NO_FEASIBLE_SLOT",
          "WO_HP_ONSITE_DEADLINE_MISSED",
          "WO_HP_SOLVER_INFEASIBLE"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "WoNote": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "createdDate": {
                "type": "string",
                "format": "date-time"
              },
              "body": {
                "type": "string",
                "nullable": true
              },
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "noteTypeId": {
                "$ref": "#/components/schemas/WONoteType"
              },
              "createdBy": {
                "$ref": "#/components/schemas/Actor"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoOnHoldCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "WoOnSite": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "employeeId": {
                "type": "integer",
                "format": "int32"
              },
              "timeZone": {
                "type": "integer",
                "format": "int32"
              },
              "dtCheckIn": {
                "type": "string",
                "format": "date-time"
              },
              "inCheckTypeId": {
                "$ref": "#/components/schemas/OnSiteValidationType"
              },
              "inValidationValue": {
                "type": "string",
                "nullable": true
              },
              "inLatitude": {
                "type": "number",
                "format": "double"
              },
              "inLongitude": {
                "type": "number",
                "format": "double"
              },
              "inInvItemId": {
                "type": "integer",
                "format": "int32"
              },
              "inDistance": {
                "type": "number",
                "format": "double"
              },
              "inStatusId": {
                "$ref": "#/components/schemas/OnSiteValidationResult"
              },
              "dtCheckOut": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "outCheckTypeId": {
                "$ref": "#/components/schemas/OnSiteValidationType"
              },
              "outValidationValue": {
                "type": "string",
                "nullable": true
              },
              "outLatitude": {
                "type": "number",
                "format": "double"
              },
              "outLongitude": {
                "type": "number",
                "format": "double"
              },
              "outInvItemId": {
                "type": "integer",
                "format": "int32"
              },
              "outDistance": {
                "type": "number",
                "format": "double"
              },
              "outStatusId": {
                "$ref": "#/components/schemas/OnSiteValidationResult"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoPauseCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "WoPickUpCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "WoPriority": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "isEmergency": {
                "type": "boolean"
              },
              "acknowledgeInMinutes": {
                "type": "integer",
                "format": "int32"
              },
              "respondInMinutes": {
                "type": "integer",
                "format": "int32"
              },
              "dueInMinutes": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoProcedure": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "procedureTemplate": {
                "$ref": "#/components/schemas/ProcedureTemplate"
              },
              "asset": {
                "$ref": "#/components/schemas/Location"
              },
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "typeId": {
                "$ref": "#/components/schemas/ProcedureType"
              },
              "allowMarkAll": {
                "type": "boolean"
              },
              "allowNotApplicable": {
                "type": "boolean"
              },
              "isNotApplicable": {
                "type": "boolean"
              },
              "flag": {
                "$ref": "#/components/schemas/ProcedureFlagReason"
              },
              "statusId": {
                "$ref": "#/components/schemas/ProcedureStatus"
              },
              "index": {
                "type": "integer",
                "format": "int32"
              },
              "steps": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoProcedureStep"
                },
                "nullable": true
              },
              "summary": {
                "type": "string",
                "nullable": true
              },
              "operationalRisks": {
                "type": "string",
                "nullable": true
              },
              "backoutPlan": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoProcedureStep": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "index": {
                "type": "integer",
                "format": "int32"
              },
              "comment": {
                "type": "string",
                "nullable": true
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "statusId": {
                "$ref": "#/components/schemas/ProcedureStatus"
              },
              "woProcedureId": {
                "type": "integer",
                "format": "int32"
              },
              "procedureTemplateStep": {
                "$ref": "#/components/schemas/ProcedureTemplateStep"
              },
              "typeId": {
                "$ref": "#/components/schemas/ProcedureStepType"
              },
              "isWon": {
                "type": "boolean"
              },
              "isRequired": {
                "type": "boolean"
              },
              "fieldDescriptor": {
                "$ref": "#/components/schemas/CustomFieldDescriptor"
              },
              "attrDescriptor": {
                "$ref": "#/components/schemas/AttributeDescriptor"
              },
              "dataTypeId": {
                "$ref": "#/components/schemas/CfType"
              },
              "dataValue": {
                "type": "string",
                "nullable": true
              },
              "dataLabel": {
                "type": "string",
                "nullable": true
              },
              "flag": {
                "$ref": "#/components/schemas/ProcedureFlagReason"
              },
              "isNotApplicable": {
                "type": "boolean"
              },
              "moneyId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "actionsRequired": {
                "type": "integer",
                "format": "int32"
              },
              "actionsTaken": {
                "type": "integer",
                "format": "int32"
              },
              "completedActor": {
                "$ref": "#/components/schemas/Actor"
              },
              "dtCompleted": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "dataValueId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "isVisible": {
                "type": "boolean"
              },
              "conditionType": {
                "$ref": "#/components/schemas/ProcedureStepConditionType"
              },
              "parentStepId": {
                "type": "integer",
                "format": "int32"
              },
              "conditionValueId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "stepNumber": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoProcedureStepResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "procedureStep": {
                "$ref": "#/components/schemas/WoProcedureStep"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoQuote": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "woId": {
                "type": "integer",
                "format": "int32"
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "amount": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "reason": {
                "type": "string",
                "nullable": true
              },
              "statusId": {
                "$ref": "#/components/schemas/QuoteStatus"
              },
              "isMultiline": {
                "type": "boolean"
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/QuoteOrEstimateItem"
                },
                "nullable": true
              },
              "serviceDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoRating": {
        "enum": [
          "Unknown",
          "NotVerified",
          "Negative",
          "Neutral",
          "Positive",
          "NotCompleted"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "WoRecallCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "WoReopenCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "WoSchedule": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "workOrder": {
                "$ref": "#/components/schemas/WorkOrder"
              },
              "scheduledStart": {
                "type": "string",
                "format": "date-time"
              },
              "duration": {
                "type": "integer",
                "format": "int32"
              },
              "travelTimeTo": {
                "type": "integer",
                "format": "int32"
              },
              "travelTimeFrom": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoScheduleOptions": {
        "enum": [
          "None",
          "SkipWarranty",
          "SkipScheduling",
          "SkipFinancial",
          "SkipPTE",
          "SkipDueDate",
          "SkipOnSiteBy",
          "SkipAcknowledgeBy"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "WoScheduleRoutine": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "workOrder": {
                "$ref": "#/components/schemas/WorkOrder"
              },
              "options": {
                "$ref": "#/components/schemas/WoScheduleOptions"
              },
              "outputPropertySet": {
                "$ref": "#/components/schemas/PropertySet"
              },
              "inputPropertySet": {
                "$ref": "#/components/schemas/PropertySet"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoSetFlagsCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object",
            "properties": {
              "flagsToSet": {
                "type": "array",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Array"
                  },
                  {
                    "type": "array"
                  }
                ],
                "items": {
                  "type": "integer",
                  "format": "int32"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoStartCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseWoActionCommand"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "WoUpdateProcedureStepCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "procedureStepId": {
                "type": "integer",
                "format": "int32"
              },
              "value": {
                "type": "string",
                "nullable": true
              },
              "moneyId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "comment": {
                "type": "string",
                "nullable": true
              },
              "flagId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "updateMask": {
                "$ref": "#/components/schemas/ProcedureStepState"
              },
              "dataValueId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoVerification": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "idx": {
                "type": "integer",
                "format": "int32"
              },
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "woRatingId": {
                "$ref": "#/components/schemas/WoRating"
              },
              "comment": {
                "type": "string",
                "nullable": true
              },
              "editedDate": {
                "type": "string",
                "format": "date-time"
              },
              "actor": {
                "$ref": "#/components/schemas/Actor"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoVisit": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "workOrder": {
                "$ref": "#/components/schemas/WorkOrder"
              },
              "dtWhen": {
                "type": "string",
                "format": "date-time"
              },
              "verifyComments": {
                "type": "string",
                "nullable": true
              },
              "otherComments": {
                "type": "string",
                "nullable": true
              },
              "pmSequenceId": {
                "type": "integer",
                "format": "int64"
              },
              "isBad": {
                "type": "boolean"
              },
              "isManual": {
                "type": "boolean"
              },
              "verificationId": {
                "$ref": "#/components/schemas/VisitStatus"
              },
              "employeeId": {
                "type": "integer",
                "format": "int32"
              },
              "timeZone": {
                "type": "integer",
                "format": "int32"
              },
              "dtCheckin": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "iPhone": {
                "type": "string",
                "nullable": true
              },
              "iLatitude": {
                "type": "number",
                "format": "double"
              },
              "iLongitude": {
                "type": "number",
                "format": "double"
              },
              "iValidated": {
                "type": "boolean"
              },
              "iWeather": {
                "type": "string",
                "nullable": true
              },
              "dtCheckout": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "oPhone": {
                "type": "string",
                "nullable": true
              },
              "oLatitude": {
                "type": "number",
                "format": "double"
              },
              "oLongitude": {
                "type": "number",
                "format": "double"
              },
              "oValidated": {
                "type": "boolean"
              },
              "oWeather": {
                "type": "string",
                "nullable": true
              },
              "documents": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Document"
                },
                "nullable": true
              },
              "services": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoVisitSvc"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoVisitCfg": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "vsFrequency": {
                "type": "integer",
                "format": "int32"
              },
              "vsExpected": {
                "type": "integer",
                "format": "int32"
              },
              "vsMaxNumber": {
                "type": "integer",
                "format": "int32"
              },
              "vsDaySched": {
                "$ref": "#/components/schemas/WeekdayMask"
              },
              "dtStart": {
                "type": "string",
                "format": "date-time"
              },
              "dtEnd": {
                "type": "string",
                "format": "date-time"
              },
              "vsArrivalTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "vsArrivalWindowMn": {
                "type": "integer",
                "format": "int32"
              },
              "serviceCnt": {
                "type": "integer",
                "format": "int32"
              },
              "isVisitAlert": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoVisitCheckInCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WoVisitCheckInOutCommandBase"
          },
          {
            "type": "object",
            "properties": {
              "iValidated": {
                "type": "boolean"
              },
              "iPhone": {
                "type": "string",
                "nullable": true
              },
              "iLatitude": {
                "type": "number",
                "format": "double"
              },
              "iLongitude": {
                "type": "number",
                "format": "double"
              },
              "iWeather": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoVisitCheckInOutCommandBase": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "dtWhen": {
                "type": "string",
                "format": "date-time"
              },
              "otherComments": {
                "type": "string",
                "nullable": true
              },
              "services": {
                "type": "array",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Array"
                  },
                  {
                    "type": "array"
                  }
                ],
                "items": {
                  "type": "integer",
                  "format": "int32"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoVisitCheckOutCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/WoVisitCheckInOutCommandBase"
          },
          {
            "type": "object",
            "properties": {
              "oValidated": {
                "type": "boolean"
              },
              "oPhone": {
                "type": "string",
                "nullable": true
              },
              "oLatitude": {
                "type": "number",
                "format": "double"
              },
              "oLongitude": {
                "type": "number",
                "format": "double"
              },
              "oWeather": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoVisitCommandResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "WoVisitServiceCredit": {
        "type": "object",
        "properties": {
          "ciItemId": {
            "type": "integer",
            "format": "int32"
          },
          "credit": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "WoVisitSvc": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "actorId": {
                "type": "integer",
                "format": "int32"
              },
              "actorTypeId": {
                "$ref": "#/components/schemas/ActorType"
              },
              "ciItem": {
                "$ref": "#/components/schemas/InvoiceDictionaryItem"
              },
              "credit": {
                "type": "integer",
                "format": "int32"
              },
              "rate": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "moneyId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "wonIdx": {
                "type": "integer",
                "format": "int32"
              },
              "wonServiceId": {
                "type": "integer",
                "format": "int32"
              },
              "wonServiceDisplayAs": {
                "type": "string",
                "nullable": true
              },
              "isDefaultSvc": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WoVisitVerifyCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "visitId": {
                "type": "integer",
                "format": "int32"
              },
              "verificationId": {
                "$ref": "#/components/schemas/VisitStatus"
              },
              "verifyComments": {
                "type": "string",
                "nullable": true
              },
              "services": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoVisitServiceCredit"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WorkOrder": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "number": {
                "type": "string",
                "nullable": true
              },
              "typeCategory": {
                "$ref": "#/components/schemas/WOType"
              },
              "workOrderCost": {
                "$ref": "#/components/schemas/WorkOrderCost"
              },
              "priority": {
                "$ref": "#/components/schemas/WoPriority"
              },
              "statusId": {
                "$ref": "#/components/schemas/WorkOrderStatus"
              },
              "requestorContact": {
                "$ref": "#/components/schemas/Contact"
              },
              "access": {
                "$ref": "#/components/schemas/PTEType"
              },
              "mainAsset": {
                "$ref": "#/components/schemas/Location"
              },
              "shortLocation": {
                "type": "string",
                "nullable": true
              },
              "taskRefinement": {
                "type": "string",
                "nullable": true
              },
              "workZone": {
                "$ref": "#/components/schemas/WorkZone"
              },
              "employee": {
                "$ref": "#/components/schemas/Employee"
              },
              "duration": {
                "type": "integer",
                "format": "int32"
              },
              "vendorNte": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "specialty": {
                "$ref": "#/components/schemas/Specialty"
              },
              "poNumber": {
                "type": "string",
                "nullable": true
              },
              "subType": {
                "$ref": "#/components/schemas/WorkOrderType"
              },
              "repairCode": {
                "$ref": "#/components/schemas/RepairCode"
              },
              "customer": {
                "$ref": "#/components/schemas/Customer"
              },
              "contactName": {
                "type": "string",
                "nullable": true
              },
              "wonId": {
                "type": "integer",
                "format": "int32"
              },
              "isWarranty": {
                "type": "boolean"
              },
              "flag": {
                "$ref": "#/components/schemas/WoActionReasonLookup"
              },
              "flagId": {
                "type": "integer",
                "format": "int32"
              },
              "timeZone": {
                "type": "integer",
                "format": "int32"
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "lastActionDate": {
                "type": "string",
                "format": "date-time"
              },
              "dtCreated": {
                "type": "string",
                "format": "date-time"
              },
              "dtScheduledStart": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "dtDue": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "dtAcknowledgeBy": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "acknowledgeByUtc": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "lastActionDateUtc": {
                "type": "string",
                "format": "date-time"
              },
              "createdDateUtc": {
                "type": "string",
                "format": "date-time"
              },
              "scheduledStartUtc": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "dueDateUtc": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "dtOnSiteBy": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "dtUtcOnSiteBy": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "lastAction": {
                "$ref": "#/components/schemas/WoLastAction"
              },
              "address": {
                "$ref": "#/components/schemas/Address2"
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoItem"
                },
                "nullable": true
              },
              "equipmentWorkedOn": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoEquipment"
                },
                "nullable": true
              },
              "notes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoNote"
                },
                "nullable": true
              },
              "completionNote": {
                "$ref": "#/components/schemas/WoNote"
              },
              "contactAddress": {
                "$ref": "#/components/schemas/ContactInfo"
              },
              "assignments": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoAssignment"
                },
                "nullable": true
              },
              "procedures": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoProcedure"
                },
                "nullable": true
              },
              "documents": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Document"
                },
                "nullable": true
              },
              "customFields": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomField2"
                },
                "nullable": true
              },
              "verifications": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoVerification"
                },
                "nullable": true
              },
              "quote": {
                "$ref": "#/components/schemas/WoQuote"
              },
              "checkInOuts": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoOnSite"
                },
                "nullable": true
              },
              "actionLogRecords": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoActionLog"
                },
                "nullable": true
              },
              "estimate": {
                "$ref": "#/components/schemas/WoEstimate"
              },
              "owner": {
                "$ref": "#/components/schemas/Employee"
              },
              "inductionAndSafetyStatusID": {
                "$ref": "#/components/schemas/IsmStatus"
              },
              "flags": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoFlag"
                },
                "nullable": true
              },
              "woSecondarySchedules": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoSchedule"
                },
                "nullable": true
              },
              "score": {
                "type": "integer",
                "format": "int32"
              },
              "travelTimeFrom": {
                "type": "integer",
                "format": "int32"
              },
              "travelTimeTo": {
                "type": "integer",
                "format": "int32"
              },
              "visits": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoVisit"
                },
                "nullable": true
              },
              "visitServices": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoVisitSvc"
                },
                "nullable": true
              },
              "woVisitCfgList": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WoVisitCfg"
                },
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WorkOrderCost": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "workOrderId": {
                "type": "integer",
                "format": "int32"
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "billToType": {
                "$ref": "#/components/schemas/BillToType"
              },
              "billToOption": {
                "$ref": "#/components/schemas/BillToOption"
              },
              "costsTotal": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "apStateId": {
                "$ref": "#/components/schemas/ApState"
              },
              "apStatusId": {
                "type": "integer",
                "format": "int32"
              },
              "jobCode": {
                "type": "string",
                "nullable": true
              },
              "contract": {
                "$ref": "#/components/schemas/Contract"
              },
              "authorizationCode": {
                "type": "string",
                "nullable": true
              },
              "checkNumber": {
                "type": "string",
                "nullable": true
              },
              "paymentAmount": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "paymentNotes": {
                "type": "string",
                "nullable": true
              },
              "checkCutDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "checkClearDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "glAccount": {
                "type": "string",
                "nullable": true
              },
              "number": {
                "type": "string",
                "nullable": true
              },
              "vendorInvoiceDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "vendorInvoiceReceivedDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "vendorInvoiceTotal": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "isPreBilled": {
                "type": "boolean"
              },
              "expensesTotal": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "billingRule": {
                "$ref": "#/components/schemas/BillingRule"
              },
              "taxStatus": {
                "$ref": "#/components/schemas/TaxValidationStatus"
              },
              "customerNte": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/FinancialItem"
                },
                "nullable": true
              },
              "taxValidationNote": {
                "$ref": "#/components/schemas/Blob"
              },
              "taxDetails": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/TaxDetail"
                },
                "nullable": true
              },
              "serviceFeesTotal": {
                "$ref": "#/components/schemas/MoneyValue"
              },
              "costStatusId": {
                "type": "integer",
                "format": "int32"
              },
              "costState": {
                "$ref": "#/components/schemas/CostState"
              },
              "chargeCode": {
                "$ref": "#/components/schemas/ChargeCodeLookup"
              },
              "billingAccount": {
                "$ref": "#/components/schemas/BillingAccount"
              },
              "billingContact": {
                "$ref": "#/components/schemas/Contact"
              },
              "externalId": {
                "type": "string",
                "nullable": true
              },
              "serviceDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "taxIdPrimary": {
                "type": "string",
                "nullable": true
              },
              "taxIdSecondary": {
                "type": "string",
                "nullable": true
              },
              "canExpedite": {
                "type": "boolean"
              },
              "canEarlyPayment": {
                "type": "boolean"
              },
              "isAvailableExpeditedInvoiceFlags": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WorkOrderCostCategory": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/SimpleLookupCorrigoEntity"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "WorkOrderStatus": {
        "enum": [
          "Unknown",
          "Open",
          "Paused",
          "Cancelled",
          "New",
          "OnHold",
          "InProgress",
          "Completed"
        ],
        "type": "string",
        "allOf": [
          {
            "$ref": "#/components/schemas/Enum"
          },
          {
            "type": "string"
          }
        ],
        "format": "int32"
      },
      "WorkOrderType": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "typeId": {
                "$ref": "#/components/schemas/WOType"
              },
              "abbr": {
                "type": "string",
                "nullable": true
              },
              "isDefSR": {
                "type": "boolean"
              },
              "isDefBasic": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WorkTemplate": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "description": {
                "type": "string",
                "nullable": true
              },
              "assetTemplate": {
                "$ref": "#/components/schemas/AssetTemplate"
              },
              "model": {
                "$ref": "#/components/schemas/Model"
              },
              "woSubType": {
                "$ref": "#/components/schemas/WorkOrderType"
              },
              "priority": {
                "$ref": "#/components/schemas/WoPriority"
              },
              "specialty": {
                "$ref": "#/components/schemas/Specialty"
              },
              "isAutoAssign": {
                "type": "boolean"
              },
              "isAutoSend": {
                "type": "boolean"
              },
              "createdOn": {
                "type": "string",
                "format": "date-time"
              },
              "updatedBy": {
                "$ref": "#/components/schemas/Actor"
              },
              "isDefault": {
                "type": "boolean"
              },
              "mainAssetId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WorkZone": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/RemovableCorrigoEntity"
          },
          {
            "type": "object",
            "properties": {
              "displayAs": {
                "type": "string",
                "nullable": true
              },
              "asset": {
                "$ref": "#/components/schemas/Location"
              },
              "timeZone": {
                "type": "integer",
                "format": "int32"
              },
              "languageId": {
                "type": "integer",
                "format": "int32"
              },
              "woNumberPrefix": {
                "type": "string",
                "nullable": true
              },
              "entity": {
                "type": "string",
                "nullable": true
              },
              "schedulingWindow": {
                "type": "integer",
                "format": "int32"
              },
              "noIncompleteProcedure": {
                "type": "boolean"
              },
              "accessOptionsMask": {
                "type": "integer",
                "format": "int32"
              },
              "number": {
                "type": "string",
                "nullable": true
              },
              "advanceNotice": {
                "type": "integer",
                "format": "int32"
              },
              "taxRegion": {
                "$ref": "#/components/schemas/TaxRegion"
              },
              "woNumberDigits": {
                "type": "integer",
                "format": "int32"
              },
              "roundApptTimeTo": {
                "type": "integer",
                "format": "int32"
              },
              "workPlanAutoCancel": {
                "type": "boolean"
              },
              "workPlanChildResolution": {
                "type": "boolean"
              },
              "workPlanAutoDependency": {
                "type": "boolean"
              },
              "cpThemeId": {
                "type": "integer",
                "format": "int32"
              },
              "defaultAccess": {
                "$ref": "#/components/schemas/PTEType"
              },
              "autoAssignEnabled": {
                "type": "boolean"
              },
              "backupRoutingId": {
                "$ref": "#/components/schemas/BackupRouting"
              },
              "billingAccount": {
                "$ref": "#/components/schemas/BillingAccount"
              },
              "contract": {
                "$ref": "#/components/schemas/Contract"
              },
              "noIncompleteItem": {
                "type": "boolean"
              },
              "uiShowProvidersFirst": {
                "type": "boolean"
              },
              "currencyTypeId": {
                "$ref": "#/components/schemas/CurrencyType"
              },
              "isOffline": {
                "type": "boolean"
              },
              "contactAddresses": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ContactInfo"
                },
                "nullable": true
              },
              "customFields": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomField2"
                },
                "nullable": true
              },
              "portfolios": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkPortfolioAndWorkZone"
                },
                "nullable": true
              },
              "slaValues": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SlaValuesOverride"
                },
                "nullable": true
              },
              "teams": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LinkTeamAndWorkZone"
                },
                "nullable": true
              },
              "bizHours": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BusinessHours"
                },
                "nullable": true
              },
              "blackoutDays": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BlackoutDay"
                },
                "nullable": true
              },
              "holidays": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Holiday"
                },
                "nullable": true
              },
              "escalationRules": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/EscalationRule"
                },
                "nullable": true
              },
              "specDispatchRules": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SpecDispatchRule"
                },
                "nullable": true
              },
              "onCallRules": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OnCallRule"
                },
                "nullable": true
              },
              "responsibilities": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Responsibility"
                },
                "nullable": true
              },
              "useBizHours": {
                "type": "boolean"
              },
              "useHolidays": {
                "type": "boolean"
              },
              "useBlackoutDays": {
                "type": "boolean"
              },
              "useOnCall": {
                "type": "boolean"
              },
              "useEscalation": {
                "type": "boolean"
              },
              "defaultBillToLogic": {
                "type": "integer",
                "format": "int32"
              },
              "turnKickOffAuto": {
                "type": "boolean"
              },
              "turnKickOffLagDays": {
                "type": "integer",
                "format": "int32"
              },
              "turnKickOffOnDays": {
                "type": "integer",
                "format": "int32"
              },
              "earliestSlot": {
                "type": "integer",
                "format": "int32"
              },
              "latestSlot": {
                "type": "integer",
                "format": "int32"
              },
              "slotsCount": {
                "type": "integer",
                "format": "int32"
              },
              "isPrecalculatedSchedule": {
                "type": "boolean"
              },
              "allowTimePreference": {
                "type": "boolean"
              },
              "turnTemplateId": {
                "type": "integer",
                "format": "int32"
              },
              "ismSpecGroupId": {
                "type": "integer",
                "format": "int32"
              },
              "ismUrl": {
                "type": "string",
                "nullable": true
              },
              "excludeNonCompliantProviders": {
                "$ref": "#/components/schemas/ExcludeCoi"
              },
              "isNteAuto": {
                "type": "boolean",
                "nullable": true
              },
              "criticalFacilities": {
                "$ref": "#/components/schemas/CriticalFacilitiesSettingValues"
              },
              "unitTemplateID": {
                "type": "integer",
                "format": "int32"
              },
              "regulatoryFrameworkID": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WorkZoneCommandResponse": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandResponse"
          },
          {
            "type": "object",
            "properties": {
              "workZone": {
                "$ref": "#/components/schemas/WorkZone"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WorkZoneCreateCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "workZone": {
                "$ref": "#/components/schemas/WorkZone"
              },
              "assetTemplateId": {
                "type": "integer",
                "format": "int32"
              },
              "skipDefaultSettings": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WorkZoneDefaultCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object"
          }
        ],
        "additionalProperties": false
      },
      "WorkZoneDeleteCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "workZoneId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WorkZoneOfflineCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "workZoneId": {
                "type": "integer",
                "format": "int32"
              },
              "deactivateCustomers": {
                "type": "boolean"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WorkZoneOnlineCommand": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CommandRequest"
          },
          {
            "type": "object",
            "properties": {
              "workZoneId": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ],
        "additionalProperties": false
      },
      "WpTree": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/CorrigoEntityWithOptimisticLock"
          },
          {
            "type": "object",
            "properties": {
              "childWoId": {
                "type": "integer",
                "format": "int32"
              },
              "dependOnWorkOrder": {
                "$ref": "#/components/schemas/WorkOrder"
              },
              "level": {
                "type": "integer",
                "format": "int32"
              },
              "number": {
                "type": "integer",
                "format": "int32"
              },
              "parentWorkOrder": {
                "$ref": "#/components/schemas/WorkOrder"
              },
              "rootWorkOrder": {
                "$ref": "#/components/schemas/WorkOrder"
              }
            }
          }
        ],
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "Bearer Token",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": [ ]
    }
  ]
}