{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/profit-rhino/json-schema/profit-rhino-prresponse-business-information-view-model-v2-schema.json",
  "title": "PRResponse_BusinessInformationViewModelV2_",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/profit-rhino-profitrhino-api-openapi.yml#/components/schemas/PRResponse_BusinessInformationViewModelV2_",
  "type": "object",
  "properties": {
    "status": {
      "type": "boolean"
    },
    "message": {
      "type": "string"
    },
    "responseData": {
      "$ref": "#/$defs/BusinessInformationViewModelV2"
    }
  },
  "$defs": {
    "BusinessInformationViewModelV2": {
      "required": [
        "breakEvenBillOutLaborCost",
        "breakEvenBillOutAssistantLaborCost",
        "breakEvenBillOutMiscOrTosCost",
        "breakEvenBillOutLaborRate",
        "breakEvenBillOutAssistantLaborRate",
        "breakEvenBillOutMiscOrTosRate",
        "firstLabor",
        "secondLabor",
        "firstMaterial",
        "secondMaterial",
        "miscSettingMinimumTime",
        "miscSettingMinimumTimeForAddon",
        "miscSettingHideDecimals"
      ],
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "baseRate": {
          "type": "boolean"
        },
        "businessTypeID": {
          "format": "int64",
          "type": "integer"
        },
        "breakEvenBillOutLaborCost": {
          "format": "double",
          "maximum": 999999999,
          "minimum": 0,
          "type": "number"
        },
        "breakEvenBillOutAssistantLaborCost": {
          "format": "double",
          "maximum": 999999999,
          "minimum": 0,
          "type": "number"
        },
        "breakEvenBillOutMiscOrTosCost": {
          "format": "double",
          "maximum": 999999999,
          "minimum": 0,
          "type": "number"
        },
        "breakEvenBillOutLaborRate": {
          "format": "double",
          "maximum": 999999999,
          "minimum": 0,
          "type": "number"
        },
        "breakEvenBillOutAssistantLaborRate": {
          "format": "double",
          "maximum": 999999999,
          "minimum": 0,
          "type": "number"
        },
        "breakEvenBillOutMiscOrTosRate": {
          "format": "double",
          "maximum": 999999999,
          "minimum": 0,
          "type": "number"
        },
        "laborType": {
          "enum": [
            "Cost",
            "Price"
          ],
          "type": "string"
        },
        "laborPercentage": {
          "format": "double",
          "maximum": 999999999,
          "minimum": 0,
          "type": "number"
        },
        "partsType": {
          "enum": [
            "Cost",
            "Price"
          ],
          "type": "string"
        },
        "partsPercentage": {
          "format": "double",
          "maximum": 999999999,
          "minimum": 0,
          "type": "number"
        },
        "invoiceType": {
          "enum": [
            "Cost",
            "Price"
          ],
          "type": "string"
        },
        "invoicePercentage": {
          "format": "double",
          "maximum": 999999999,
          "minimum": 0,
          "type": "number"
        },
        "firstLabor": {
          "format": "double",
          "maximum": 999999999,
          "minimum": 0,
          "type": "number"
        },
        "secondLabor": {
          "format": "double",
          "maximum": 999999999,
          "minimum": 0,
          "type": "number"
        },
        "firstMaterial": {
          "format": "double",
          "maximum": 999999999,
          "minimum": 0,
          "type": "number"
        },
        "secondMaterial": {
          "format": "double",
          "maximum": 999999999,
          "minimum": 0,
          "type": "number"
        },
        "miscSettingRoundUpRates": {
          "type": "string"
        },
        "miscSettingMinimumTime": {
          "format": "double",
          "maximum": 9999.99,
          "minimum": 0,
          "type": "number"
        },
        "miscSettingMinimumTimeForAddon": {
          "type": "boolean"
        },
        "miscSettingHideDecimals": {
          "type": "boolean"
        }
      }
    }
  }
}