{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-data-employee-daily-times-with-keys-schema.json",
  "title": "data_employee_daily_times_withKeys",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimble-vista-pr-openapi.yml#/components/schemas/data_employee_daily_times_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_employee_daily_times"
    }
  ],
  "$defs": {
    "data_employee_daily_times": {
      "required": [
        "KeyID",
        "PRCo",
        "Seq",
        "Employee",
        "Date",
        "BreakHours"
      ],
      "type": "object",
      "properties": {
        "KeyID": {
          "type": "integer",
          "description": ""
        },
        "PRCo": {
          "type": "integer",
          "description": ""
        },
        "Seq": {
          "type": "integer",
          "description": ""
        },
        "Employee": {
          "type": "integer",
          "description": ""
        },
        "Date": {
          "type": "string",
          "description": "Format: YYYY-MM-DD",
          "format": "datetime"
        },
        "StartTime": {
          "type": [
            "string",
            "null"
          ],
          "description": "Format: YYYY-MM-DD",
          "format": "datetime"
        },
        "StopTime": {
          "type": [
            "string",
            "null"
          ],
          "description": "Format: YYYY-MM-DD",
          "format": "datetime"
        },
        "BreakHours": {
          "pattern": "^[-+]?[0-9]{1,8}(?:.[0-9]{0,2})?$",
          "type": "string",
          "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": ""
        },
        "JCJMKeyID": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "JCJPKeyID": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "SMWorkOrderScopeID": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "SMPayType": {
          "maxLength": 10,
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "SMTripID": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "StartGPSLong": {
          "pattern": "^[-+]?[0-9]{1,3}(?:.[0-9]{0,6})?$",
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "StartGPSLat": {
          "pattern": "^[-+]?[0-9]{1,3}(?:.[0-9]{0,6})?$",
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "StopGPSLong": {
          "pattern": "^[-+]?[0-9]{1,3}(?:.[0-9]{0,6})?$",
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "StopGPSLat": {
          "pattern": "^[-+]?[0-9]{1,3}(?:.[0-9]{0,6})?$",
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "AddedToHQBCKeyID": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "DateCreated": {
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "DateModified": {
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "CreatedByUserKeyID": {
          "type": [
            "integer",
            "null"
          ],
          "description": ""
        },
        "ModifiedByUserKeyID": {
          "type": [
            "integer",
            "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."
        }
      }
    }
  }
}