{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-data-invoice-holds-with-keys-schema.json",
  "title": "data_invoice_holds_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_invoice_holds_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_invoice_holds"
    }
  ],
  "$defs": {
    "data_invoice_holds": {
      "required": [
        "APCo",
        "Mth",
        "APTrans",
        "APLine",
        "APSeq",
        "HoldCode"
      ],
      "type": "object",
      "properties": {
        "APCo": {
          "type": "integer",
          "description": "Key to this object(APCo, Mth, APTrans, APLine, APSeq, HoldCode)."
        },
        "Mth": {
          "type": "string",
          "description": "Key to this object(APCo, Mth, APTrans, APLine, APSeq, HoldCode)."
        },
        "APTrans": {
          "type": "integer",
          "description": "Key to this object(APCo, Mth, APTrans, APLine, APSeq, HoldCode)."
        },
        "APLine": {
          "type": "integer",
          "description": "Key to this object(APCo, Mth, APTrans, APLine, APSeq, HoldCode)."
        },
        "APSeq": {
          "type": "integer",
          "description": "Key to this object(APCo, Mth, APTrans, APLine, APSeq, HoldCode)."
        },
        "HoldCode": {
          "maxLength": 10,
          "type": "string",
          "description": "Key to this object(APCo, Mth, APTrans, APLine, APSeq, HoldCode). Key to hq/hold_codes(HoldCode)"
        }
      }
    }
  }
}