{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/orion-advisor-solutions/json-schema/orion-advisor-solutions-oas-web-api-dto-security-database-dto-schema.json",
  "title": "OAS.WebApi.DTO.Security.DatabaseDto",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/orion-advisor-solutions-authorization-user-api-openapi.yml#/components/schemas/OAS.WebApi.DTO.Security.DatabaseDto",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int32"
    },
    "clientName": {
      "type": "string"
    },
    "guid": {
      "type": "string",
      "format": "uuid"
    },
    "selected": {
      "type": "boolean"
    },
    "serviceTeamId": {
      "type": "integer",
      "format": "int32"
    },
    "masterGroup": {
      "type": "string"
    },
    "lockDown": {
      "type": "string",
      "enum": [
        "None",
        "Billing"
      ]
    },
    "advisorNumber": {
      "type": "integer",
      "format": "int32"
    },
    "firmType": {
      "type": "string",
      "enum": [
        "None",
        "Foundations",
        "Essentials",
        "Advantage",
        "OrionTradingOnly",
        "OrionRiskOnly",
        "OrionComplianceOnly",
        "OrionPlanningOnly",
        "OasLegacy"
      ]
    }
  },
  "type": "object"
}