{
  "$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-authorization-alclient-dto-schema.json",
  "title": "OAS.WebApi.DTO.Authorization.ALClientDto",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/orion-advisor-solutions-authorization-databases-api-openapi.yml#/components/schemas/OAS.WebApi.DTO.Authorization.ALClientDto",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int32"
    },
    "clientName": {
      "type": "string"
    },
    "selected": {
      "type": "boolean"
    },
    "lockDown": {
      "type": "string",
      "enum": [
        "None",
        "Billing"
      ]
    },
    "ops": {
      "$ref": "#/$defs/OAS.WebApi.DTO.Security.AlClientOpsDto"
    },
    "guid": {
      "type": "string",
      "format": "uuid"
    }
  },
  "type": "object",
  "$defs": {
    "OAS.WebApi.DTO.Security.AlClientOpsDto": {
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "clientName": {
          "type": "string"
        },
        "isFullOps": {
          "type": "boolean"
        },
        "isBilling": {
          "type": "boolean"
        },
        "isComposites": {
          "type": "boolean"
        },
        "isStatements": {
          "type": "boolean"
        },
        "isTrading": {
          "type": "boolean"
        },
        "auditedDate": {
          "type": "string",
          "format": "date-time"
        },
        "auditedByDisplay": {
          "type": "string"
        },
        "databaseName": {
          "type": "string"
        },
        "serverName": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}