{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-data-projection-notes-with-keys-schema.json",
  "title": "data_projection_notes_withKeys",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimble-vista-jc-openapi.yml#/components/schemas/data_projection_notes_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_projection_notes"
    }
  ],
  "$defs": {
    "data_projection_notes": {
      "required": [
        "JCCo",
        "Job",
        "Phase",
        "KeyID"
      ],
      "type": "object",
      "properties": {
        "JCCo": {
          "type": "integer",
          "description": "Company Id.  Part of the natural key for this object (JCCo, Job, PhaseGroup, Phase).  Part of key identifying the Job (JCCo, Job)."
        },
        "Job": {
          "maxLength": 10,
          "type": "string",
          "description": "Job Id.  Part of the natural key for this object (JCCo, Job, PhaseGroup, Phase).  Part of key identifying the Job (JCCo, Job)."
        },
        "Phase": {
          "maxLength": 20,
          "type": "string",
          "description": "Phase Id.  Part of the natural key for this object (JCCo, Job, PhaseGroup, Phase).  Part of key identifying the Phase (PhaseGroup, Phase)."
        },
        "CostType": {
          "type": "integer",
          "description": "CostType Id. This property is a natural key for the CostTypes of this Job Phase"
        },
        "KeyID": {
          "type": "integer"
        },
        "__NoteKey": {
          "type": "string",
          "description": "Timestamp of message if it was appended. If no appended messages, defaults to 'full'"
        },
        "__Note": {
          "type": "string",
          "description": ""
        }
      }
    }
  }
}