{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-tree-response-schema.json",
  "title": "The tree descriptor",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimble-connect-organizer-openapi.yml#/components/schemas/TreeResponse",
  "required": [
    "createdAt",
    "createdBy",
    "forestId",
    "id",
    "modifiedAt",
    "modifiedBy",
    "type",
    "v"
  ],
  "type": "object",
  "properties": {
    "forestId": {
      "type": "string",
      "description": "The forest identifier."
    },
    "id": {
      "type": "string",
      "description": "The tree identifier."
    },
    "createdAt": {
      "type": "string",
      "description": "The creation timestamp.",
      "format": "date-time"
    },
    "createdBy": {
      "type": "string",
      "description": "The identifier of the user created the tree."
    },
    "modifiedAt": {
      "type": "string",
      "description": "The last update timestamp.",
      "format": "date-time"
    },
    "modifiedBy": {
      "type": "string",
      "description": "The identifier of the user updated the tree last time."
    },
    "deleted": {
      "type": "boolean",
      "description": "The deletion flag."
    },
    "v": {
      "type": "integer",
      "description": "The version number."
    },
    "policy": {
      "type": "object",
      "properties": {},
      "description": "The access control policy document (see the Policy data model) attached to the tree. Returned only if user has rights to see the policy (org:GetTreePolicy action)."
    },
    "type": {
      "type": "string",
      "description": "The type (PBS, LBS, WPB, MBS, UBS, etc.) that affects the tree semantic and behavior."
    },
    "name": {
      "type": "string",
      "description": "The short name."
    },
    "description": {
      "type": "string",
      "description": "The description."
    },
    "metadata": {
      "type": "object",
      "properties": {},
      "description": "Application specific metadata for the tree."
    },
    "_actions": {
      "type": "array",
      "description": "Metadata. The list of context actions caller is allowed to perform on the resource. Please see explanation with warning about use of this information in the introduction section.",
      "items": {
        "type": "string",
        "description": "The action."
      }
    }
  }
}