{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-get-project-settings-response-schema.json",
  "title": "GetProjectSettingsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimble-connect-core-v2-openapi.yml#/components/schemas/GetProjectSettingsResponse",
  "type": "object",
  "properties": {
    "syncSettings": {
      "$ref": "#/$defs/SyncSettings"
    },
    "notificationSettings": {
      "$ref": "#/$defs/NotificationSettings"
    },
    "unitSettings": {
      "$ref": "#/$defs/UnitSettings"
    },
    "isTodosRestricted": {
      "type": "boolean"
    },
    "isProjectInviteRestricted": {
      "type": "boolean"
    }
  },
  "$defs": {
    "ClashsetNotificationSettings": {
      "title": "ClashsetNotificationSettings",
      "required": [
        "instantNotification",
        "dailyDigestNotification",
        "activityName",
        "activityId",
        "activityNotificationSettingId"
      ],
      "type": "object",
      "properties": {
        "instantNotification": {
          "type": "boolean",
          "description": "It enables/disables the instant notification of the specific activity"
        },
        "dailyDigestNotification": {
          "type": "boolean",
          "description": "It enables/disables the digest (daily status) notification of the specific activity"
        },
        "activityName": {
          "type": "string",
          "description": "It denotes particular activity of the object like CLASH_ADD, CLASH_DELETE etc."
        },
        "activityId": {
          "type": "string",
          "description": "Activity Identifier"
        },
        "activityNotificationSettingId": {
          "type": "string",
          "description": "Activity notification settings id for an activity"
        }
      }
    },
    "CommentNotificationSettings": {
      "title": "CommentNotificationSettings",
      "required": [
        "instantNotification",
        "dailyDigestNotification",
        "activityName",
        "activityId",
        "activityNotificationSettingId"
      ],
      "type": "object",
      "properties": {
        "instantNotification": {
          "type": "boolean",
          "description": "It enables/disables the instant notification of the specific activity"
        },
        "dailyDigestNotification": {
          "type": "boolean",
          "description": "It enables/disables the digest (daily status) notification of the specific activity"
        },
        "activityName": {
          "type": "string",
          "description": "It denotes particular activity of the object like COMMENT_ADD, COMMENT_DELETE etc."
        },
        "activityId": {
          "type": "string",
          "description": "Activity Identifier"
        },
        "activityNotificationSettingId": {
          "type": "string",
          "description": "Activity notification settings id for an activity"
        }
      }
    },
    "DailyDigestTimeZone": {
      "title": "DailyDigestTimeZone",
      "required": [
        "dailyDigestTime",
        "id",
        "label"
      ],
      "type": "object",
      "properties": {
        "dailyDigestTime": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "label": {
          "type": "string"
        }
      }
    },
    "FileNotificationSettings": {
      "title": "FileNotificationSettings",
      "required": [
        "instantNotification",
        "dailyDigestNotification",
        "activityName",
        "activityId",
        "activityNotificationSettingId"
      ],
      "type": "object",
      "properties": {
        "instantNotification": {
          "type": "boolean",
          "description": "It enables/disables the instant notification of the specific activity"
        },
        "dailyDigestNotification": {
          "type": "boolean",
          "description": "It enables/disables the digest (daily status) notification of the specific activity"
        },
        "activityName": {
          "type": "string",
          "description": "It denotes particular activity of the object like FILE_ADD, FILE_REMOVE etc."
        },
        "activityId": {
          "type": "string",
          "description": "Activity Identifier"
        },
        "activityNotificationSettingId": {
          "type": "string",
          "description": "Activity notification settings id for an activity"
        }
      }
    },
    "FolderNotificationSettings": {
      "title": "FolderNotificationSettings",
      "required": [
        "instantNotification",
        "dailyDigestNotification",
        "activityName",
        "activityId",
        "activityNotificationSettingId"
      ],
      "type": "object",
      "properties": {
        "instantNotification": {
          "type": "boolean",
          "description": "It enables/disables the instant notification of the specific activity"
        },
        "dailyDigestNotification": {
          "type": "boolean",
          "description": "It enables/disables the digest (daily status) notification of the specific activity"
        },
        "activityName": {
          "type": "string",
          "description": "It denotes particular activity of the object like FOLDER_ADD, FOLDER_RENAME etc."
        },
        "activityId": {
          "type": "string",
          "description": "Activity Identifier"
        },
        "activityNotificationSettingId": {
          "type": "string",
          "description": "Activity notification settings id for an activity"
        }
      }
    },
    "ListOfNotificationSettings": {
      "title": "ListOfNotificationSettings",
      "type": "object",
      "properties": {
        "files": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FileNotificationSettings"
          },
          "description": ""
        },
        "folders": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FolderNotificationSettings"
          },
          "description": ""
        },
        "users": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UserNotificationSettings"
          },
          "description": ""
        },
        "views": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ViewNotificationSettings"
          },
          "description": ""
        },
        "clashsets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ClashsetNotificationSettings"
          },
          "description": ""
        },
        "releases": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ReleaseNotificationSettings"
          },
          "description": ""
        },
        "todo": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TodoNotificationSettings"
          },
          "description": ""
        },
        "comments": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CommentNotificationSettings"
          },
          "description": ""
        },
        "other": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/OtherNotificationSettings"
          },
          "description": ""
        }
      }
    },
    "NotificationSettings": {
      "title": "NotificationSettings",
      "required": [
        "projectId",
        "notificationSettings",
        "allowUserSettings",
        "dailyDigestTimeZone"
      ],
      "type": "object",
      "properties": {
        "projectId": {
          "type": "string"
        },
        "notificationSettings": {
          "$ref": "#/$defs/ListOfNotificationSettings"
        },
        "allowUserSettings": {
          "type": "boolean"
        },
        "dailyDigestTimeZone": {
          "$ref": "#/$defs/DailyDigestTimeZone"
        }
      }
    },
    "OtherNotificationSettings": {
      "title": "OtherNotificationSettings",
      "required": [
        "instantNotification",
        "dailyDigestNotification",
        "activityName",
        "activityId",
        "activityNotificationSettingId"
      ],
      "type": "object",
      "properties": {
        "instantNotification": {
          "type": "boolean",
          "description": "It enables/disables the instant notification of the specific activity"
        },
        "dailyDigestNotification": {
          "type": "boolean",
          "description": "It enables/disables the digest (daily status) notification of the specific activity"
        },
        "activityName": {
          "type": "string",
          "description": "It denotes particular activity of the object like PROJECT_UPDATE, PROJECT_RENAME etc."
        },
        "activityId": {
          "type": "string",
          "description": "Activity Identifier"
        },
        "activityNotificationSettingId": {
          "type": "string",
          "description": "Activity notification settings id for an activity"
        }
      }
    },
    "ReleaseNotificationSettings": {
      "title": "ReleaseNotificationSettings",
      "required": [
        "instantNotification",
        "dailyDigestNotification",
        "activityName",
        "activityId",
        "activityNotificationSettingId"
      ],
      "type": "object",
      "properties": {
        "instantNotification": {
          "type": "boolean",
          "description": "It enables/disables the instant notification of the specific activity"
        },
        "dailyDigestNotification": {
          "type": "boolean",
          "description": "It enables/disables the digest (daily status) notification of the specific activity"
        },
        "activityName": {
          "type": "string",
          "description": "It denotes particular activity of the object like RELEASE_CREATE, RELEASE_ADD_FILES etc."
        },
        "activityId": {
          "type": "string",
          "description": "Activity Identifier"
        },
        "activityNotificationSettingId": {
          "type": "string",
          "description": "Activity notification settings id for an activity"
        }
      }
    },
    "SyncSettingFilter": {
      "title": "SyncSettingFilter",
      "required": [
        "id",
        "description",
        "checked"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "checked": {
          "type": "boolean"
        }
      }
    },
    "SyncSettings": {
      "title": "SyncSettings",
      "required": [
        "projectId",
        "syncMode",
        "filters"
      ],
      "type": "object",
      "properties": {
        "projectId": {
          "type": "string"
        },
        "syncMode": {
          "type": "string"
        },
        "filters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SyncSettingFilter"
          },
          "description": ""
        }
      }
    },
    "TodoNotificationSettings": {
      "title": "TodoNotificationSettings",
      "required": [
        "instantNotification",
        "dailyDigestNotification",
        "activityName",
        "activityId",
        "activityNotificationSettingId"
      ],
      "type": "object",
      "properties": {
        "instantNotification": {
          "type": "boolean",
          "description": "It enables/disables the instant notification of the specific activity"
        },
        "dailyDigestNotification": {
          "type": "boolean",
          "description": "It enables/disables the digest (daily status) notification of the specific activity"
        },
        "activityName": {
          "type": "string",
          "description": "It denotes particular activity of the object like TODO_ADD, TODO_ADD_FILES etc."
        },
        "activityId": {
          "type": "string",
          "description": "Activity Identifier"
        },
        "activityNotificationSettingId": {
          "type": "string",
          "description": "Activity notification settings id for an activity"
        }
      }
    },
    "UnitSettings": {
      "title": "UnitSettings",
      "required": [
        "unitsystem",
        "lengthunit",
        "lengthunitformat",
        "lengthmeasurementunit",
        "lengthmeasurementunitformat",
        "areaunit",
        "areaunitformat",
        "volumeunit",
        "volumeunitformat",
        "weightunit",
        "weightunitformat",
        "angularunit",
        "angularunitformat"
      ],
      "type": "object",
      "properties": {
        "unitsystem": {
          "type": "string"
        },
        "lengthunit": {
          "type": "string"
        },
        "lengthunitformat": {
          "type": "string"
        },
        "lengthmeasurementunit": {
          "type": "string"
        },
        "lengthmeasurementunitformat": {
          "type": "string"
        },
        "areaunit": {
          "type": "string"
        },
        "areaunitformat": {
          "type": "string"
        },
        "volumeunit": {
          "type": "string"
        },
        "volumeunitformat": {
          "type": "string"
        },
        "weightunit": {
          "type": "string"
        },
        "weightunitformat": {
          "type": "string"
        },
        "angularunit": {
          "type": "string"
        },
        "angularunitformat": {
          "type": "string"
        }
      }
    },
    "UserNotificationSettings": {
      "title": "UserNotificationSettings",
      "required": [
        "instantNotification",
        "dailyDigestNotification",
        "activityName",
        "activityId",
        "activityNotificationSettingId"
      ],
      "type": "object",
      "properties": {
        "instantNotification": {
          "type": "boolean",
          "description": "It enables/disables the instant notification of the specific activity"
        },
        "dailyDigestNotification": {
          "type": "boolean",
          "description": "It enables/disables the digest (daily status) notification of the specific activity"
        },
        "activityName": {
          "type": "string",
          "description": "It denotes particular activity of the object like USER_IN_PROJECT_ADD, USER_IN_PROJECT_LEAVE etc."
        },
        "activityId": {
          "type": "string",
          "description": "Activity Identifier"
        },
        "activityNotificationSettingId": {
          "type": "string",
          "description": "Activity notification settings id for an activity"
        }
      }
    },
    "ViewNotificationSettings": {
      "title": "ViewNotificationSettings",
      "required": [
        "instantNotification",
        "dailyDigestNotification",
        "activityName",
        "activityId",
        "activityNotificationSettingId"
      ],
      "type": "object",
      "properties": {
        "instantNotification": {
          "type": "boolean",
          "description": "It enables/disables the instant notification of the specific activity"
        },
        "dailyDigestNotification": {
          "type": "boolean",
          "description": "It enables/disables the digest (daily status) notification of the specific activity"
        },
        "activityName": {
          "type": "string",
          "description": "It denotes particular activity of the object like SNAPSHOT_ADD, SNAPSHOT_DELETE etc."
        },
        "activityId": {
          "type": "string",
          "description": "Activity Identifier"
        },
        "activityNotificationSettingId": {
          "type": "string",
          "description": "Activity notification settings id for an activity"
        }
      }
    }
  }
}