{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-configuration-response-schema.json",
  "title": "ConfigurationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimble-connect-issues-openapi.yml#/components/schemas/ConfigurationResponse",
  "type": "object",
  "properties": {
    "contextId": {
      "type": "string"
    },
    "type": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ConfigurationDetails"
      }
    },
    "status": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ConfigurationDetails"
      }
    },
    "priority": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ConfigurationDetails"
      }
    },
    "stage": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ConfigurationDetails"
      }
    },
    "snippetType": {
      "type": "array",
      "description": "snippet types supported by this configuration, no effect added for bcf compatibility",
      "items": {
        "type": "string"
      }
    },
    "serverAssignedIdPrefix": {
      "type": "string"
    },
    "updatedBy": {
      "type": "string"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "shareNewIssuesWithAllProjectMembers": {
      "type": "boolean",
      "description": "When true, new issues created in this project context automatically grant view access to all project members via the ACL. Defaults to true for project contexts. Always false for file contexts."
    },
    "_actions": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "issue-config:read",
          "issue-config:update",
          "icon:create",
          "icon:read",
          "icon:delete",
          "issue:create"
        ]
      }
    }
  },
  "required": [
    "contextId"
  ],
  "$defs": {
    "ConfigurationDetails": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "color": {
          "type": "string"
        },
        "iconId": {
          "type": "string"
        },
        "visible": {
          "type": "boolean"
        },
        "default": {
          "type": "boolean"
        }
      }
    }
  }
}