{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-data-location-transfers-with-keys-schema.json",
  "title": "data_location_transfers_withKeys",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimble-vista-em-openapi.yml#/components/schemas/data_location_transfers_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_location_transfers"
    }
  ],
  "$defs": {
    "data_location_transfers": {
      "required": [
        "LocationHistoryId",
        "EMCo",
        "Equipment",
        "Sequence",
        "DateIn",
        "CreatedBy",
        "CreatedDate"
      ],
      "type": "object",
      "properties": {
        "LocationHistoryId": {
          "type": "integer",
          "description": ""
        },
        "EMCo": {
          "type": "integer",
          "description": ""
        },
        "Equipment": {
          "maxLength": 10,
          "type": "string",
          "description": ""
        },
        "Sequence": {
          "type": "integer",
          "description": ""
        },
        "DateIn": {
          "type": "string",
          "description": ""
        },
        "TimeIn": {
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "ToJCCo": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "ToJob": {
          "maxLength": 10,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "ToLocation": {
          "maxLength": 10,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "Memo": {
          "maxLength": 60,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "EstDateOut": {
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "DateTimeIn": {
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "Notes": {
          "type": [
            "string",
            "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": ""
        },
        "CreatedBy": {
          "maxLength": 128,
          "type": "string",
          "description": ""
        },
        "CreatedDate": {
          "type": "string",
          "description": ""
        },
        "ModifiedBy": {
          "maxLength": 128,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "ModifiedDate": {
          "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."
        },
        "Attachments": {
          "type": "array",
          "items": {
            "required": [
              "AttachedKeyId",
              "EMCo",
              "Equipment",
              "Sequence",
              "AttachedEquipment",
              "AttachedSequence",
              "OverrideDateTime",
              "CreatedBy",
              "CreatedDate"
            ],
            "type": "object",
            "properties": {
              "AttachedKeyId": {
                "type": "integer",
                "description": ""
              },
              "EMCo": {
                "type": "integer",
                "description": ""
              },
              "Equipment": {
                "maxLength": 10,
                "type": "string",
                "description": ""
              },
              "Sequence": {
                "type": "integer",
                "description": ""
              },
              "AttachedEquipment": {
                "maxLength": 10,
                "type": "string",
                "description": ""
              },
              "AttachedSequence": {
                "type": "integer",
                "description": ""
              },
              "Memo": {
                "maxLength": 60,
                "type": [
                  "string",
                  "null"
                ],
                "description": ""
              },
              "OverrideDateTime": {
                "enum": [
                  "Y",
                  "N"
                ],
                "type": "string",
                "description": ""
              },
              "DateIn": {
                "type": [
                  "string",
                  "null"
                ],
                "description": ""
              },
              "TimeIn": {
                "type": [
                  "string",
                  "null"
                ],
                "description": ""
              },
              "CreatedBy": {
                "maxLength": 128,
                "type": "string",
                "description": ""
              },
              "CreatedDate": {
                "type": "string",
                "description": ""
              },
              "ModifiedBy": {
                "maxLength": 128,
                "type": [
                  "string",
                  "null"
                ],
                "description": ""
              },
              "ModifiedDate": {
                "type": [
                  "string",
                  "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": ""
              },
              "__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": ""
        }
      }
    }
  }
}