API NSD

A web service that offers access via an interface for reference data and data about corporate actions with three versions of interrelations

GetDictionaries

Dictionaries that descripting organizations and securities

name type description req.
Select the fields you need (expand all)
name string Наименование справочника
items
Download

{
  "type": "array",
  "items": {
    "$ref": "#/definitions/Dictionary"
  },
  "definitions": {
    "AgendaTheme": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 3,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 255,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование на английском языке",
          "description": "Наименование на английском языке",
          "maxLength": 255,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "_at",
        "_at2"
      ]
    },
    "Block": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Идентификатор",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 256,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование на английском языке",
          "description": "Наименование на английском языке",
          "maxLength": 50,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "BPUTTech": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Идентификатор",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 256,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование на английском языке",
          "description": "Наименование на английском языке",
          "maxLength": 256,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "_at",
        "_at2"
      ]
    },
    "BuyBackPeriodType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name": {
          "title": "Наименование периода",
          "description": "Наименование периода",
          "maxLength": 300,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование периода на английском языке",
          "description": "Наименование периода на английском языке",
          "maxLength": 300,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "BuyBackReason": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 256,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование на английском языке",
          "description": "Наименование на английском языке",
          "maxLength": 50,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "CirculationType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 256,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "CodeMode": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 256,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "CompanyState": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод состояния организации",
          "description": "Мнемокод состояния организации",
          "maxLength": 1,
          "type": "string"
        },
        "name": {
          "title": "Наименование состояния организации",
          "description": "Наименование состояния организации",
          "maxLength": 50,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование состояния организации на английском языке",
          "description": "Наименование состояния организации на английском языке",
          "maxLength": 50,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "CompanyType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id организационно-правовой формы",
          "description": "Идентификатор организационно-правовой формы",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name_short": {
          "title": "Краткое наименование организационно-правовой формы",
          "description": "Краткое наименование организационно-правовой формы",
          "maxLength": 6,
          "type": "string"
        },
        "name_full": {
          "title": "Полное наименование организационно-правовой формы",
          "description": "Полное наименование организационно-правовой формы",
          "maxLength": 250,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name_short",
        "name_full",
        "_at",
        "_at2"
      ]
    },
    "Condition": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 2000,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование на английском языке",
          "description": "Наименование на английском языке",
          "maxLength": 2000,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "CorpActionInfoAttribute": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 256,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "CorpActionState": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод состояния КД",
          "description": "Мнемокод состояния КД",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование состояния КД",
          "description": "Наименование состояния КД",
          "maxLength": 256,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "CorpActionType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id типа КД",
          "description": "Идентификатор типа КД",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Код типа КД",
          "description": "Код типа КД",
          "maxLength": 7,
          "type": "string"
        },
        "name": {
          "title": "Наименование КД",
          "description": "Наименование КД",
          "maxLength": 255,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование КД на английском языке",
          "description": "Наименование КД на английском языке",
          "maxLength": 50,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "Country": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id страны",
          "description": "Идентификатор страны",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Код страны (Двухбуквенный)",
          "description": "Код страны (Двухбуквенный)",
          "minLength": 2,
          "maxLength": 2,
          "type": "string"
        },
        "code3": {
          "title": "Код страны (Трехбуквенный)",
          "description": "Код страны (Трехбуквенный)",
          "minLength": 3,
          "maxLength": 3,
          "type": "string"
        },
        "code_digital": {
          "title": "Код страны (Цифровой)",
          "description": "Код страны (Цифровой)",
          "maxLength": 8000,
          "type": "string"
        },
        "name": {
          "title": "Наименование страны",
          "description": "Наименование страны",
          "maxLength": 255,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование страны на английском языке",
          "description": "Наименование страны на английском языке",
          "maxLength": 512,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "CouponPeriodBase": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id базы расчета",
          "description": "Идентификатор базы расчета",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name": {
          "title": "Наименование базы расчета",
          "description": "Наименование базы расчета",
          "maxLength": 20,
          "type": "string"
        },
        "base_month": {
          "title": "Базовый месяц",
          "description": "Базовый месяц",
          "maxLength": 10,
          "type": "string"
        },
        "base_year": {
          "title": "Базовый год",
          "description": "Базовый год",
          "maxLength": 10,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "base_month",
        "base_year",
        "_at",
        "_at2"
      ]
    },
    "CouponPeriodType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id типа купонного периода",
          "description": "Идентификатор типа купонного периода",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Код",
          "description": "Код",
          "maxLength": 1,
          "type": "string"
        },
        "name": {
          "title": "Наименование типа купонного периода",
          "description": "Наименование типа купонного периода",
          "maxLength": 100,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование типа купонного периода на английском языке",
          "description": "Наименование типа купонного периода на английском языке",
          "maxLength": 100,
          "type": "string"
        },
        "per_year": {
          "title": "Количество в год",
          "description": "Количество в год",
          "type": "number"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "CreditNoteType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Код",
          "description": "Код",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 255,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование на английском языке",
          "description": "Наименование на английском языке",
          "maxLength": 255,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "Currency": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id валюты",
          "description": "Идентификатор валюты",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Код",
          "description": "Код",
          "maxLength": 3,
          "type": "string"
        },
        "name_short": {
          "title": "Наименование краткое",
          "description": "Наименование краткое",
          "maxLength": 50,
          "type": "string"
        },
        "name_full": {
          "title": "Наименование полное",
          "description": "Наименование полное",
          "maxLength": 50,
          "type": "string"
        },
        "digital_code": {
          "title": "Цифровой код",
          "description": "Цифровой код",
          "maxLength": 3,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name_full",
        "_at",
        "_at2"
      ]
    },
    "CustodyType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Код",
          "description": "Код",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 256,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "Decision": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 256,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование на английском языке",
          "description": "Наименование на английском языке",
          "maxLength": 50,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "DividendPeriodNote": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "note": {
          "title": "Пояснение",
          "description": "Пояснение",
          "maxLength": 256,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "note",
        "_at",
        "_at2"
      ]
    },
    "DividendPeriodType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 50,
          "type": "string"
        },
        "length": {
          "title": "Период (в месяцах)",
          "description": "Период (в месяцах)",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "description": {
          "title": "Описание",
          "description": "Описание",
          "maxLength": 50,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "length",
        "description",
        "_at",
        "_at2"
      ]
    },
    "DrCategory": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id категории ДР",
          "description": "Идентификатор категории ДР",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Код",
          "description": "Код",
          "maxLength": 4,
          "type": "string"
        },
        "name": {
          "title": "Наименование категории ДР",
          "description": "Наименование категории ДР",
          "maxLength": 60,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование категории ДР на английском языке",
          "description": "Наименование категории ДР на английском языке",
          "maxLength": 60,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "DrProgram": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id программы ДР",
          "description": "Идентификатор программы ДР",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name": {
          "title": "Наименование программы ДР",
          "description": "Наименование программы ДР",
          "maxLength": 50,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование программы ДР на английском языке",
          "description": "Наименование программы ДР на английском языке",
          "maxLength": 50,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "EarlyRedemptionType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 512,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "Extension": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 30,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 255,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование на английском языке",
          "description": "Наименование на английском языке",
          "maxLength": 255,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "ForeignEconomySectorCode": {
      "type": "object",
      "properties": {
        "code": {
          "title": "Код сектора экономики",
          "description": "Цифровой код сектора экономики",
          "maxLength": 3,
          "type": "string"
        },
        "name": {
          "title": "Наименование сектора экономики (полное)",
          "description": "Наименование сектора экономики (полное)",
          "maxLength": 250,
          "type": "string"
        },
        "short_name": {
          "title": "Наименование сектора экономики (краткое)",
          "description": "Наименование сектора экономики (краткое)",
          "maxLength": 35,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "Frctndspstn": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Идентификатор",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 256,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование на английском языке",
          "description": "Наименование на английском языке",
          "maxLength": 50,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "InstrType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id типа ФИ",
          "description": "Идентификатор типа финансового инструмента",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name": {
          "title": "Наименование типа финансового инструмента",
          "description": "Наименование типа финансового инструмента",
          "maxLength": 35,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование типа финансового инструмента на английском языке",
          "description": "Наименование типа финансового инструмента на английском языке",
          "maxLength": 35,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "InvestObject": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name": {
          "title": "Наименование объекта инвестиций",
          "description": "Наименование объекта инвестиций",
          "maxLength": 50,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование объекта инвестиций на английском языке",
          "description": "Наименование объекта инвестиций на английском языке",
          "maxLength": 50,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "LoanType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 256,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "Market": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id сектора рынка",
          "description": "Идентификатор сектора рынка",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name": {
          "title": "Наименование сектора рынка",
          "description": "Наименование",
          "maxLength": 60,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование сектора рынка на английском языке",
          "description": "Наименование сектора рынка на английском языке",
          "maxLength": 60,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "MeetingCancelReason": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 256,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "MeetingForm": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 256,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование на английском языке",
          "description": "Наименование на английском языке",
          "maxLength": 50,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "Paymenttype": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 512,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "PifType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод типа ПИФ",
          "description": "Мнемокод типа ПИФ",
          "maxLength": 4,
          "type": "string"
        },
        "name": {
          "title": "Тип ПИФ",
          "description": "Наименование типа Инвестиционного фонда",
          "maxLength": 50,
          "type": "string"
        },
        "name_en": {
          "title": "Тип ПИФ на английском языке",
          "description": "Наименование типа Инвестиционного фонда на английском языке",
          "maxLength": 50,
          "type": "string"
        },
        "name_full_en": {
          "title": "Тип ПИФ на английском языке (полное имя)",
          "description": "Наименование типа Инвестиционного фонда на английском языке",
          "maxLength": 50,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "name_en",
        "name_full_en",
        "_at",
        "_at2"
      ]
    },
    "PlacementType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id способа размещения ценных бумаг",
          "description": "Идентификатор способа размещения ценных бумаг",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name": {
          "title": "Наименование способа размещения ценных бумаг",
          "description": "Наименование способа размещения ценных бумаг",
          "maxLength": 1000,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование способа размещения ценных бумаг на английском языке",
          "description": "Наименование способа размещения ценных бумаг на английском языке",
          "maxLength": 1000,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "RateType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id типа купона",
          "description": "Идентификатор типа купона",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Код",
          "description": "Код",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование типа купона",
          "description": "Наименование типа купона",
          "maxLength": 80,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование типа купона на английском языке",
          "description": "Наименование типа купона на английском языке",
          "maxLength": 80,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "RecordMethod": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Код",
          "description": "Код",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 256,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "RedemptionOption": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Идентификатор записи",
          "description": "Идентификатор записи",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name": {
          "title": "Наименование варианта погашения полное",
          "description": "Наименование варианта погашения полное",
          "maxLength": 254,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование варианта погашения полное на английском",
          "description": "Наименование варианта погашения полное на английском",
          "maxLength": 254,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "_at",
        "_at2"
      ]
    },
    "RpState": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Id состояния отчета/уведомления об итогах выпуска",
          "description": "Идентификатор состояния отчета/уведомления об итогах выпуска",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование состояния отчета/уведомления об итогах выпуска",
          "description": "Наименование состояния отчета/уведомления об итогах выпуска",
          "maxLength": 256,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "SecuringType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 100,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "_at",
        "_at2"
      ]
    },
    "SecurityForm": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id формы выпуска",
          "description": "Идентификатор формы выпуска",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name": {
          "title": "Наименование формы выпуска",
          "description": "Наименование формы выпуска",
          "maxLength": 50,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование формы выпуска на английском языке",
          "description": "Наименование формы выпуска на английском языке",
          "maxLength": 50,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "SecurityState": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id состояния состояния ценной бумаги",
          "description": "Идентификатор состояния ценной бумаги",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name": {
          "title": "Наименование состояния",
          "description": "Наименование состояния",
          "maxLength": 200,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование состояния на английском языке",
          "description": "Наименование состояния на английском языке",
          "maxLength": 200,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "_at",
        "_at2"
      ]
    },
    "SecurityStateEx": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id состояния доп. состояния ценной бумаги",
          "description": "Идентификатор дополнительного состояния ценной бумаги",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name": {
          "title": "Наименование доп. состояния",
          "description": "Наименование дополнительного состояния ценной бумаги",
          "maxLength": 100,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "_at",
        "_at2"
      ]
    },
    "SecurityType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id типа ценной бумаги",
          "description": "Идентификатор типа ценной бумаги",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name": {
          "title": "Наименование типа ценной бумаги",
          "description": "Наименование типа ценной бумаги",
          "maxLength": 120,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование типа ценной бумаги на английском языке",
          "description": "Наименование типа ценной бумаги на английском языке",
          "maxLength": 80,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "SecurityTypeBr": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id классификации Банка России",
          "description": "Идентификатор классификации Банка России",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Код типа ц.б. по классификации Банка России",
          "description": "Код типа ценной бумаги по классификации Банка России",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование типа ц.б. по классификации Банка России",
          "description": "Наименование типа ценной бумаги по классификации Банка России",
          "maxLength": 255,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "ShareCategory": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id категории ценной бумаги",
          "description": "Идентификатор категории ценной бумаги",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name_full": {
          "title": "Полное наименование категории",
          "description": "Полное наименование категории",
          "maxLength": 80,
          "type": "string"
        },
        "name_full_en": {
          "title": "Полное наименование категории на английском языке",
          "description": "Полное наименование категории на английском языке",
          "maxLength": 80,
          "type": "string"
        },
        "name_short": {
          "title": "Краткое наименование категории",
          "description": "Краткое наименование категории",
          "maxLength": 10,
          "type": "string"
        },
        "name_short_en": {
          "title": "Краткое наименование категории на английском языке",
          "description": "Краткое наименование категории на английском языке",
          "maxLength": 20,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name_full",
        "name_full_en",
        "name_short",
        "name_short_en",
        "_at",
        "_at2"
      ]
    },
    "Sign_of_obligation": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 267,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "Subinstruction": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 512,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "TaxGroup": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Код",
          "description": "Код",
          "maxLength": 2,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 255,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "TaxPayer": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 50,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "_at",
        "_at2"
      ]
    },
    "TaxType": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Код",
          "description": "Код",
          "maxLength": 2,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 255,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование на английском языке",
          "description": "Наименование на английском языке",
          "maxLength": 255,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "name_en",
        "_at",
        "_at2"
      ]
    },
    "Tks": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Id",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Код",
          "description": "Код",
          "maxLength": 100,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 255,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "Unblock": {
      "type": "object",
      "properties": {
        "id": {
          "title": "Идентификатор",
          "description": "Идентификатор",
          "minimum": -2147483648,
          "maximum": 2147483647,
          "type": "integer"
        },
        "code": {
          "title": "Мнемокод",
          "description": "Мнемокод",
          "maxLength": 10,
          "type": "string"
        },
        "name": {
          "title": "Наименование",
          "description": "Наименование",
          "maxLength": 256,
          "type": "string"
        },
        "name_en": {
          "title": "Наименование на английском языке",
          "description": "Наименование на английском языке",
          "maxLength": 50,
          "type": "string"
        },
        "_at": {
          "title": "Дата обновления",
          "description": "Дата обновления",
          "type": "string"
        },
        "_at2": {
          "title": "Дата обновления (с учетом вложенных объектов)",
          "description": "Дата обновления (с учетом вложенных объектов)",
          "type": "string"
        }
      },
      "required": [
        "id",
        "code",
        "name",
        "_at",
        "_at2"
      ]
    },
    "Dictionary": {
      "type": "object",
      "properties": {
        "name": {
          "title": "Наименование справочника",
          "description": "Наименование справочника",
          "type": "string"
        },
        "items": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/AgendaTheme"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Block"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/BPUTTech"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/BuyBackPeriodType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/BuyBackReason"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CirculationType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CodeMode"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CompanyState"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CompanyType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Condition"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CorpActionInfoAttribute"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CorpActionState"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CorpActionType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Country"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CouponPeriodBase"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CouponPeriodType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CreditNoteType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Currency"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CustodyType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Decision"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DividendPeriodNote"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DividendPeriodType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DrCategory"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DrProgram"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EarlyRedemptionType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Extension"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ForeignEconomySectorCode"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Frctndspstn"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/InstrType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/InvestObject"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/LoanType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Market"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/MeetingCancelReason"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/MeetingForm"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Paymenttype"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/PifType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/PlacementType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/RateType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/RecordMethod"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/RedemptionOption"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/RpState"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SecuringType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SecurityForm"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SecurityState"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SecurityStateEx"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SecurityType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SecurityTypeBr"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ShareCategory"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Sign_of_obligation"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Subinstruction"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/TaxGroup"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/TaxPayer"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/TaxType"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Tks"
              }
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Unblock"
              }
            }
          ]
        }
      }
    }
  }
}

URL


            
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using Newtonsoft.Json.Linq;
using ClosedXML.Excel;

namespace ApiSample
{
    class Program
    {
        public const string ApiUrl = "http://172.23.24.198:5000/securities?limit=100";
        public static HashSet<string> SetOfIsins = new HashSet<string>(new[] { "RU0007202057", "RU0007202545", "RU0007201018", "RU0007202032" });
        public const string FileName = "coupons.xlsx";

        static void Main(string[] args)
        {
            Console.WriteLine("Загрузка данных...");
            var wc = new WebClient() { Encoding = Encoding.UTF8, };
            var json = wc.DownloadString(ApiUrl);

            var bonds = JArray.Parse(json);
            var filteredBonds = bonds.Where(b => SetOfIsins.Contains((string)b["isin"])).ToList();

            Console.WriteLine("Формирование Excel...");
            GenerateExcel(filteredBonds);
            Console.WriteLine("Готово!");
        }

        private static void GenerateExcel(List<JToken> input)
        {
            var workbook = new XLWorkbook();
            workbook.Use1904DateSystem = true;
            var ws = workbook.Worksheets.Add("Coupons info");

            ws.Column(1).Width = 16;
            ws.Column(2).Width = 70;
            ws.Column(3).Width = 50;
            ws.Column(4).Width = 35;
            ws.Column(5).Width = 16;

            var columns = new[] { "ISIN", "Название", "Эмитент", "Корпоративное действие", "Дата" };
            foreach (var j in Enumerable.Range(0, columns.Length))
            {
                ws.Cell(1, j + 1).Value = columns[j];
                ws.Cell(1, j + 1).Style.Fill.BackgroundColor = XLColor.FromTheme(XLThemeColor.Accent6);
            }

            var data = new List<List<JToken>>();
            foreach (var bond in input) {
                var corpActions = bond["corp_actions"]?.ToArray();
                if (corpActions == null || corpActions.Length == 0)
                continue;

            foreach (var c in corpActions)
                try
                {
                    data.Add(new List<JToken>() { bond["isin"], bond["name_full"], bond["issuer"]["name_full"],
                        c["corp_action_type"]["name"], c["action_date_plan"] });
                } catch (Exception ex)
                {
                    Console.WriteLine(ex);
                    continue;
                }
            }

            for (int i = 0; i < data.Count; i++)
                for (int j = 0; j < columns.Length; j++)
                {
                    ws.Cell(i + 2, j + 1).SetValue<string>(Convert.ToString(data[i][j]));
                    ws.Cell(i + 2, j + 1).Style.Fill.BackgroundColor = i % 2 == 0 ? XLColor.FromTheme(XLThemeColor.Accent6, 0.5) : XLColor.FromTheme(XLThemeColor.Accent6, 0.8);
                }

            ws.RangeUsed().SetAutoFilter();

            workbook.SaveAs(FileName);
            System.Diagnostics.Process.Start(FileName);
        }
    }
}
            
        
            
package ru.nsd.example;

import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.WebResource;
import com.sun.jersey.api.client.config.DefaultClientConfig;
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.json.JSONArray;
import org.json.JSONObject;

import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.UriBuilder;
import java.io.FileOutputStream;
import java.io.IOException;

public class RestClientExample {

    private static final String NSD_DATA_HOST = "http://172.23.24.198:5000";
    private static final String METHOD_NAME = "securities";
    private static final String RESULT_EXCEL_PATH = "C:/Temp/securities100.xls";

    public static void main(String[] args) {
        saveExcel(getFirstHundredSecurities());
    }

    private static JSONArray getFirstHundredSecurities() {
        Client client = Client.create(new DefaultClientConfig());
        WebResource webResource = client.resource(UriBuilder.fromUri(NSD_DATA_HOST).build());
        String jsonData = webResource.path(METHOD_NAME).queryParam("limit", "100")
        .accept(MediaType.APPLICATION_JSON_TYPE).get(String.class);
        return new JSONArray(jsonData);
    }

    private static void saveExcel(JSONArray securities) {
        try {
            FileOutputStream stream = new FileOutputStream(RESULT_EXCEL_PATH);
            HSSFWorkbook workbook = generateExcel(securities);
            workbook.write(stream);
            stream.close();
        } catch (IOException ex) {
            System.out.println(ex);
        }
    }

    private static HSSFWorkbook generateExcel(JSONArray securities) {
        HSSFWorkbook workbook = new HSSFWorkbook();
        HSSFSheet sheet = workbook.createSheet();
        int rownum = 1;

        HSSFRow headRow = sheet.createRow(rownum++);
        headRow.createCell(0).setCellValue("ISIN");
        headRow.createCell(1).setCellValue("Полное наименование");

        for (Object obj : securities) {
            JSONObject json = (JSONObject) obj;
            HSSFRow row = sheet.createRow(rownum++);
            row.createCell(0).setCellValue(json.optString("isin"));
            row.createCell(1).setCellValue(json.optString("name_full"));
        }

        return workbook;
    }
}