{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-data-ud-tables-with-keys-schema.json",
  "title": "data_ud_tables_withKeys",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimble-vista-ud-openapi.yml#/components/schemas/data_ud_tables_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_ud_tables"
    }
  ],
  "$defs": {
    "data_ud_tables": {
      "required": [
        "TableName",
        "CompanyBasedYN",
        "Created",
        "Dirty",
        "KeyID",
        "AuditTable",
        "UseNotesTab",
        "EnableFieldView"
      ],
      "type": "object",
      "properties": {
        "TableName": {
          "maxLength": 20,
          "type": "string",
          "description": ""
        },
        "Description": {
          "maxLength": 30,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "FormName": {
          "maxLength": 30,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "CompanyBasedYN": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "CreatedBy": {
          "maxLength": 128,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "DateCreated": {
          "type": [
            "string",
            "null"
          ],
          "description": "Format: YYYY-MM-DD"
        },
        "LastRunDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "Format: YYYY-MM-DD"
        },
        "Notes": {
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "Created": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "Dirty": {
          "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": ""
        },
        "KeyID": {
          "type": "integer",
          "description": ""
        },
        "AuditTable": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "UseNotesTab": {
          "type": "integer",
          "description": ""
        },
        "EnableFieldView": {
          "enum": [
            "Y",
            "N"
          ],
          "type": "string",
          "description": ""
        },
        "__columns": {
          "type": "array",
          "items": {
            "required": [
              "ColumnName",
              "ControlType",
              "KeyID"
            ],
            "type": "object",
            "properties": {
              "ColumnName": {
                "maxLength": 30,
                "type": "string",
                "description": ""
              },
              "Description": {
                "maxLength": 30,
                "type": [
                  "string",
                  "null"
                ],
                "description": ""
              },
              "KeySeq": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": ""
              },
              "DataType": {
                "maxLength": 20,
                "type": [
                  "string",
                  "null"
                ],
                "description": ""
              },
              "InputType": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": ""
              },
              "InputMask": {
                "maxLength": 20,
                "type": [
                  "string",
                  "null"
                ],
                "description": ""
              },
              "InputLength": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": ""
              },
              "Prec": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": ""
              },
              "FormSeq": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": ""
              },
              "ControlType": {
                "type": "integer",
                "description": ""
              },
              "OptionButtons": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": ""
              },
              "StatusText": {
                "maxLength": 60,
                "type": [
                  "string",
                  "null"
                ],
                "description": ""
              },
              "Tab": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": ""
              },
              "Notes": {
                "type": [
                  "string",
                  "null"
                ],
                "description": ""
              },
              "DDFISeq": {
                "type": [
                  "integer",
                  "null"
                ],
                "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": ""
              },
              "KeyID": {
                "type": "integer",
                "description": ""
              },
              "AutoSeqType": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": ""
              },
              "ComboType": {
                "maxLength": 20,
                "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."
              }
            }
          },
          "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."
        }
      }
    }
  }
}