{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/moment/main/json-schema/moment-organization-info-schema.json",
  "title": "OrganizationInfo",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/moment-organizations-api-openapi.yml#/components/schemas/OrganizationInfo",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The organization's ID."
    },
    "name": {
      "type": "string",
      "description": "The organization's name."
    },
    "client_id": {
      "type": "string",
      "description": "The organization's client ID."
    },
    "introducing_brokers": {
      "type": "array",
      "description": "The organization's introducing brokers.",
      "items": {
        "$ref": "#/$defs/IntroducingBrokerInfo"
      }
    },
    "custodians": {
      "type": "array",
      "description": "The organization's enabled custodians.",
      "items": {
        "$ref": "#/$defs/CustodianInfo"
      }
    },
    "logo_url": {
      "type": "string",
      "description": "The URL of the organization's logo."
    }
  },
  "$defs": {
    "CustodianInfo": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The custodian's ID."
        },
        "name": {
          "type": "string",
          "description": "The custodian's name."
        }
      }
    },
    "IntroducingBrokerInfo": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The introducing broker's ID."
        },
        "name": {
          "type": "string",
          "description": "The introducing broker's name."
        },
        "client_id": {
          "type": "string",
          "description": "The introducing broker's client ID."
        }
      }
    }
  }
}