{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-extensions-get-connect-schema.json",
  "title": "extensions_GET_Connect",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimble-connect-topics-openapi.yml#/components/schemas/extensions_GET_Connect",
  "type": "object",
  "required": [
    "topic_type",
    "topic_status",
    "topic_label",
    "snippet_type",
    "priority",
    "users",
    "stage"
  ],
  "properties": {
    "topic_type": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "topic_status": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "topic_label": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "snippet_type": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "priority": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "users": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "stage": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "topic_type_full": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/extensionTypeFull"
      }
    },
    "topic_status_full": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/extensionTypeFull"
      }
    },
    "topic_label_full": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/extensionTypeFull"
      }
    },
    "priority_full": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/extensionTypeFull"
      }
    },
    "stage_full": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/extensionTypeFull"
      }
    },
    "topic_server_assigned_id_prefix": {
      "type": [
        "string",
        "null"
      ]
    },
    "project_actions": {
      "$ref": "#/$defs/project_actions"
    },
    "topic_actions": {
      "$ref": "#/$defs/topic_actions"
    },
    "comment_actions": {
      "$ref": "#/$defs/comment_actions"
    }
  },
  "$defs": {
    "comment_actions": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "update",
          "delete"
        ]
      }
    },
    "extensionTypeFull": {
      "type": "object",
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "color": {
          "type": [
            "string",
            "null"
          ]
        },
        "icon": {
          "type": [
            "string",
            "null"
          ]
        },
        "visible": {
          "type": "boolean"
        },
        "isdefault": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "project_actions": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "update",
          "createTopic",
          "createDocument"
        ]
      }
    },
    "topic_actions": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "update",
          "updateBimSnippet",
          "updateRelatedTopics",
          "updateDocumentReferences",
          "updateFiles",
          "createComment",
          "createViewpoint",
          "delete"
        ]
      }
    }
  }
}