{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-data-quote-prc-override-with-keys-schema.json",
  "title": "data_quote_prc_override_withKeys",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimble-vista-ms-openapi.yml#/components/schemas/data_quote_prc_override_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_quote_prc_override"
    }
  ],
  "$defs": {
    "data_quote_prc_override": {
      "required": [
        "MSCo",
        "Quote",
        "Seq",
        "LocGroup",
        "MatlGroup",
        "Category",
        "UM",
        "Rate",
        "UnitPrice",
        "MinAmt",
        "KeyID"
      ],
      "type": "object",
      "properties": {
        "MSCo": {
          "type": "integer",
          "description": ""
        },
        "Quote": {
          "maxLength": 10,
          "type": "string",
          "description": ""
        },
        "Seq": {
          "type": "integer",
          "description": ""
        },
        "LocGroup": {
          "type": "integer",
          "description": ""
        },
        "Loc": {
          "maxLength": 10,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "MatlGroup": {
          "type": "integer",
          "description": ""
        },
        "Category": {
          "maxLength": 10,
          "type": "string",
          "description": ""
        },
        "UM": {
          "maxLength": 3,
          "type": "string",
          "description": ""
        },
        "Rate": {
          "pattern": "^[-+]?[0-9]{1,2}(?:.[0-9]{0,6})?$",
          "type": "string",
          "description": ""
        },
        "UnitPrice": {
          "pattern": "^[-+]?[0-9]{1,11}(?:.[0-9]{0,5})?$",
          "type": "string",
          "description": ""
        },
        "ECM": {
          "maxLength": 1,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "MinAmt": {
          "pattern": "^[-+]?[0-9]{1,10}(?:.[0-9]{0,2})?$",
          "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": ""
        },
        "PhaseGroup": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "Phase": {
          "maxLength": 20,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "KeyID": {
          "type": "integer",
          "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."
        }
      }
    }
  }
}