{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-data-company-parameters-with-keys-schema.json",
  "title": "data_company_parameters_withKeys",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimble-vista-ap-openapi.yml#/components/schemas/data_company_parameters_withKeys",
  "allOf": [
    {
      "type": "object",
      "properties": {
        "__ryvitKeys": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Array of key paths that can be used to retrieve this object."
        },
        "__modifiedUTC": {
          "type": "string",
          "description": "UTC timestamp of when this object was last modified in the cache."
        }
      }
    },
    {
      "$ref": "#/$defs/data_company_parameters"
    }
  ],
  "$defs": {
    "data_company_parameters": {
      "required": [
        "APCo",
        "GLCo",
        "GLExpInterfaceLvl",
        "GLPayInterfaceLvl",
        "OverridePayType",
        "CMCo",
        "CMInterfaceLvl",
        "JCInterfaceLvl",
        "NetAmtOpt",
        "INInterfaceLvl",
        "EMInterfaceLvl",
        "InvTotYN",
        "SLTotYN",
        "SLCompChkYN",
        "SLAllowPayYN",
        "POTotYN",
        "POCompChkYN",
        "POAllowPayYN",
        "ChkLines",
        "AuditCoParams",
        "AuditPayTypes",
        "AuditVendors",
        "AuditHold",
        "AuditComp",
        "AuditRecur",
        "AuditTrans",
        "AuditPay",
        "APRefUnqYN",
        "JobLineDescDfltYN",
        "APRefUnq",
        "AllCompChkYN",
        "AllAllowPayYN",
        "UseTaxDiscountYN",
        "PMVendUpdYN",
        "PMVendAddYN",
        "ICRptYN",
        "ICPayAmt",
        "PayCategoryYN",
        "AuditUnappInv",
        "InvExceedRecvdYN",
        "POItemTotYN",
        "KeyID",
        "JobLineJobPhaseUMDfltYN",
        "EMLineDescDfltYN",
        "AttachBatchReportsYN",
        "AttachVendorPayInfoYN",
        "TaxBasisNetRetgYN",
        "AuditTransHoldCodeYN",
        "POItemLineTotYN",
        "InvExceedRecvdLineYN",
        "APCreditService",
        "APRefCaseInsensitiveYN",
        "APUIAutoReadyYN",
        "WarnExistsOnPOSL",
        "UseSecureFilePathYN",
        "PRVendorUpdateYN",
        "PRVendorAddYN"
      ],
      "type": "object",
      "properties": {
        "APCo": {
          "type": "integer",
          "description": ""
        },
        "GLCo": {
          "type": "integer",
          "description": ""
        },
        "ExpJrnl": {
          "maxLength": 2,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "GLExpInterfaceLvl": {
          "type": "integer",
          "description": ""
        },
        "GLExpSummaryDesc": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "GLExpTransDesc": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "GLJobDetailDesc": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "GLInvDetailDesc": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "GLEquipDetailDesc": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "GLExpDetailDesc": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "PayJrnl": {
          "maxLength": 2,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "GLPayInterfaceLvl": {
          "type": "integer",
          "description": ""
        },
        "GLPayDetailDesc": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "GLPaySummaryDesc": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "DiscOffGLAcct": {
          "maxLength": 20,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "DiscTakenGLAcct": {
          "maxLength": 20,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "ExpPayType": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "JobPayType": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "SubPayType": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "RetPayType": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "OverridePayType": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "RetHoldCode": {
          "maxLength": 10,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "CMCo": {
          "type": "integer",
          "description": ""
        },
        "CMAcct": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "CMInterfaceLvl": {
          "type": "integer",
          "description": ""
        },
        "JCCo": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "JCInterfaceLvl": {
          "type": "integer",
          "description": ""
        },
        "NetAmtOpt": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "INCo": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "INInterfaceLvl": {
          "type": "integer",
          "description": ""
        },
        "EMCo": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "EMInterfaceLvl": {
          "type": "integer",
          "description": ""
        },
        "InvTotYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "SLTotYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "SLCompChkYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "SLAllowPayYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "POTotYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "POCompChkYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "POAllowPayYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "ChkLines": {
          "type": "integer",
          "description": ""
        },
        "AuditCoParams": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "AuditPayTypes": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "AuditVendors": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "AuditHold": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "AuditComp": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "AuditRecur": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "AuditTrans": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "AuditPay": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "Notes": {
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "APRefUnqYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "CheckReportTitle": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "OverFlowReportTitle": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "JobLineDescDfltYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "UniqueAttchID": {
          "maxLength": 36,
          "minLength": 36,
          "pattern": "[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}",
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "APRefUnq": {
          "type": "integer",
          "description": ""
        },
        "AllCompChkYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "AllAllowPayYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "UseTaxDiscountYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "PMVendUpdYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "PMVendAddYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "ICRptYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "ICRptTitle": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "ICPayAmt": {
          "pattern": "^[-+]?[0-9]{1,10}(?:.[0-9]{0,2})?$",
          "type": "string",
          "description": ""
        },
        "PayCategoryYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "PayCategory": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "AuditUnappInv": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "InvExceedRecvdYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "POItemTotYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "KeyID": {
          "type": "integer",
          "description": ""
        },
        "JobLineJobPhaseUMDfltYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "EMLineDescDfltYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "AttachBatchReportsYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "AttachVendorPayInfoYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "VendorPayAttachTypeID": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "CheckReportTitleByVendor": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "EFTRemittanceReport": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "EFTRemittanceReportByVendor": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "TaxBasisNetRetgYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "AuditTransHoldCodeYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "SMPayType": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "POItemLineTotYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "InvExceedRecvdLineYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "CreditSvcRemittanceReport": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "CreditSvcRemittanceReportByVendor": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "APCreditService": {
          "type": "integer",
          "description": ""
        },
        "CSCMCo": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "CSCMAcct": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "CDAcctCode": {
          "maxLength": 5,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "CDCustID": {
          "maxLength": 10,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "CDCodeWord": {
          "maxLength": 20,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "TCCo": {
          "pattern": "^[-+]?[0-9]{1,6}(?:.[0-9]{0,0})?$",
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "TCAcct": {
          "pattern": "^[-+]?[0-9]{1,10}(?:.[0-9]{0,0})?$",
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "FtpUrl": {
          "maxLength": 50,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "FtpPort": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "FtpUserID": {
          "maxLength": 128,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "FtpPassword": {
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "CDLocationCode": {
          "maxLength": 30,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "CDInvoiceComments": {
          "maxLength": 30,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "CBNAPProgramAcct": {
          "maxLength": 6,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "APRefCaseInsensitiveYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "APUIAutoReadyYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "WarnExistsOnPOSL": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "UseSecureFilePathYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "SecureFilePath": {
          "maxLength": 300,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "NPAcct": {
          "maxLength": 36,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "NPPassword": {
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "PRVendorUpdateYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "PRVendorAddYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "NPAPIKEY": {
          "maxLength": 36,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "__custom_fields": {
          "type": "object",
          "description": "This property will be added if there are any custom fields defined for this object in Vista.  Each custom field will be a property of this object."
        }
      }
    }
  }
}