GET /api/schema/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/vnd.oai.openapi
Vary: Accept

openapi: 3.0.2
info:
  title: Declarator API
  version: null
paths:
  /api/search-persons/:
    get:
      operationId: listSearchs
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: n
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: query
        required: false
        in: query
        description: query
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        patronymic:
                          type: string
                          maxLength: 255
                        id:
                          type: integer
                          readOnly: true
                        name:
                          type: string
                          maxLength: 255
                        family_name:
                          type: string
                          maxLength: 255
                      required:
                      - patronymic
                      - name
                      - family_name
          description: ''
  /api/own-type/:
    get:
      operationId: listOwnTypes
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: name
        required: false
        in: query
        description: name
        schema:
          type: string
      - name: name_ru
        required: false
        in: query
        description: name_ru
        schema:
          type: string
      - name: name_en
        required: false
        in: query
        description: name_en
        schema:
          type: string
      - name: order
        required: false
        in: query
        description: order
        schema:
          type: string
      - name: parent
        required: false
        in: query
        description: parent
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        name:
                          type: string
                          maxLength: 200
                        name_ru:
                          type: string
                          nullable: true
                          maxLength: 200
                        name_en:
                          type: string
                          nullable: true
                          maxLength: 200
                        order:
                          type: integer
                          maximum: 2147483647
                          minimum: -2147483648
                        parent:
                          type: integer
                          nullable: true
                      required:
                      - name
          description: ''
  /api/income-type/:
    get:
      operationId: listIncomeTypes
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: name
        required: false
        in: query
        description: name
        schema:
          type: string
      - name: name_ru
        required: false
        in: query
        description: name_ru
        schema:
          type: string
      - name: name_en
        required: false
        in: query
        description: name_en
        schema:
          type: string
      - name: order
        required: false
        in: query
        description: order
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        name:
                          type: string
                          maxLength: 255
                        name_ru:
                          type: string
                          nullable: true
                          maxLength: 255
                        name_en:
                          type: string
                          nullable: true
                          maxLength: 255
                        order:
                          type: integer
                          maximum: 2147483647
                          minimum: -2147483648
                      required:
                      - name
          description: ''
  /api/realestate-type/:
    get:
      operationId: listRealEstateTypes
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: name
        required: false
        in: query
        description: name
        schema:
          type: string
      - name: name_ru
        required: false
        in: query
        description: name_ru
        schema:
          type: string
      - name: name_en
        required: false
        in: query
        description: name_en
        schema:
          type: string
      - name: name_plural
        required: false
        in: query
        description: name_plural
        schema:
          type: string
      - name: name_plural_ru
        required: false
        in: query
        description: name_plural_ru
        schema:
          type: string
      - name: name_plural_en
        required: false
        in: query
        description: name_plural_en
        schema:
          type: string
      - name: slug
        required: false
        in: query
        description: slug
        schema:
          type: string
      - name: unit
        required: false
        in: query
        description: unit
        schema:
          type: string
      - name: unit_ru
        required: false
        in: query
        description: unit_ru
        schema:
          type: string
      - name: unit_en
        required: false
        in: query
        description: unit_en
        schema:
          type: string
      - name: order
        required: false
        in: query
        description: order
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        name:
                          type: string
                          maxLength: 200
                        name_ru:
                          type: string
                          nullable: true
                          maxLength: 200
                        name_en:
                          type: string
                          nullable: true
                          maxLength: 200
                        name_plural:
                          type: string
                          maxLength: 200
                        name_plural_ru:
                          type: string
                          nullable: true
                          maxLength: 200
                        name_plural_en:
                          type: string
                          nullable: true
                          maxLength: 200
                        slug:
                          type: string
                          maxLength: 200
                          pattern: ^[-a-zA-Z0-9_]+$
                        unit:
                          type: string
                          maxLength: 50
                        unit_ru:
                          type: string
                          nullable: true
                          maxLength: 50
                        unit_en:
                          type: string
                          nullable: true
                          maxLength: 50
                        order:
                          type: integer
                          maximum: 2147483647
                          minimum: -2147483648
                      required:
                      - name
          description: ''
  /api/vehicle-type/:
    get:
      operationId: listVehicleTypes
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: name
        required: false
        in: query
        description: name
        schema:
          type: string
      - name: name_ru
        required: false
        in: query
        description: name_ru
        schema:
          type: string
      - name: name_en
        required: false
        in: query
        description: name_en
        schema:
          type: string
      - name: slug
        required: false
        in: query
        description: slug
        schema:
          type: string
      - name: order
        required: false
        in: query
        description: order
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        name:
                          type: string
                          maxLength: 200
                        name_ru:
                          type: string
                          nullable: true
                          maxLength: 200
                        name_en:
                          type: string
                          nullable: true
                          maxLength: 200
                        slug:
                          type: string
                          maxLength: 200
                          pattern: ^[-a-zA-Z0-9_]+$
                        order:
                          type: integer
                          maximum: 2147483647
                          minimum: -2147483648
                      required:
                      - name
          description: ''
  /api/carbrand/:
    get:
      operationId: listCarBrands
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: parent
        required: false
        in: query
        description: parent
        schema:
          type: string
      - name: name
        required: false
        in: query
        description: name
        schema:
          type: string
      - name: name_ru
        required: false
        in: query
        description: name_ru
        schema:
          type: string
      - name: name_en
        required: false
        in: query
        description: name_en
        schema:
          type: string
      - name: parent_name
        required: false
        in: query
        description: parent_name
        schema:
          type: string
      - name: fullname
        required: false
        in: query
        description: fullname
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        name:
                          type: string
                          maxLength: 100
                        name_ru:
                          type: string
                          nullable: true
                          maxLength: 100
                        name_en:
                          type: string
                          nullable: true
                          maxLength: 100
                        parent_name:
                          type: string
                          maxLength: 100
                        fullname:
                          type: string
                          maxLength: 255
                        parent:
                          type: integer
                          nullable: true
                      required:
                      - name
          description: ''
  /api/relative/:
    get:
      operationId: listRelatives
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: name
        required: false
        in: query
        description: name
        schema:
          type: string
      - name: slug
        required: false
        in: query
        description: slug
        schema:
          type: string
      - name: order
        required: false
        in: query
        description: order
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        name:
                          type: string
                          maxLength: 255
                        slug:
                          type: string
                          maxLength: 255
                          pattern: ^[-a-zA-Z0-9_]+$
                        order:
                          type: integer
                          maximum: 2147483647
                          minimum: -2147483648
                      required:
                      - name
                      - slug
          description: ''
  /api/country/:
    get:
      operationId: listCountrys
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: name
        required: false
        in: query
        description: name
        schema:
          type: string
      - name: name_ru
        required: false
        in: query
        description: name_ru
        schema:
          type: string
      - name: name_en
        required: false
        in: query
        description: name_en
        schema:
          type: string
      - name: default
        required: false
        in: query
        description: default
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        name:
                          type: string
                          maxLength: 200
                        name_ru:
                          type: string
                          nullable: true
                          maxLength: 200
                        name_en:
                          type: string
                          nullable: true
                          maxLength: 200
                        default:
                          type: boolean
                          readOnly: true
                      required:
                      - name
          description: ''
  /api/party/:
    get:
      operationId: listPartys
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: name
        required: false
        in: query
        description: name
        schema:
          type: string
      - name: name_ru
        required: false
        in: query
        description: name_ru
        schema:
          type: string
      - name: name_en
        required: false
        in: query
        description: name_en
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        created_when:
                          type: string
                          format: date-time
                          readOnly: true
                        modified_when:
                          type: string
                          format: date-time
                          readOnly: true
                        name:
                          type: string
                          maxLength: 100
                        name_ru:
                          type: string
                          nullable: true
                          maxLength: 100
                        name_en:
                          type: string
                          nullable: true
                          maxLength: 100
                        created_by:
                          type: integer
                          nullable: true
                        modified_by:
                          type: integer
                          nullable: true
                      required:
                      - name
          description: ''
  /api/v1/search/person-sections/:
    get:
      operationId: listPersons
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: limit
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        name:
                          type: string
                          readOnly: true
                        family_name:
                          type: string
                          maxLength: 255
                        given_name:
                          type: string
                          readOnly: true
                        patronymic_name:
                          type: string
                          readOnly: true
                        sections:
                          type: string
                          readOnly: true
                      required:
                      - family_name
          description: ''
  /api/v1/search/sections/:
    get:
      operationId: listSections
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: limit
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        main:
                          type: string
                          readOnly: true
                        incomes:
                          type: array
                          items:
                            properties:
                              size:
                                type: number
                              relative:
                                properties:
                                  id:
                                    type: integer
                                    readOnly: true
                                  name:
                                    type: string
                                    maxLength: 255
                                required:
                                - name
                                type: object
                                readOnly: true
                              comment:
                                type: string
                        real_estates:
                          type: array
                          items:
                            properties:
                              name:
                                type: string
                                maxLength: 255
                              square:
                                type: number
                                nullable: true
                              country:
                                type: string
                                readOnly: true
                              region:
                                properties:
                                  id:
                                    type: integer
                                    readOnly: true
                                  name:
                                    type: string
                                    maxLength: 255
                                required:
                                - name
                                type: object
                                readOnly: true
                              comment:
                                type: string
                              type:
                                properties:
                                  id:
                                    type: integer
                                    readOnly: true
                                  name:
                                    type: string
                                    maxLength: 200
                                required:
                                - name
                                type: object
                                readOnly: true
                              own_type:
                                properties:
                                  id:
                                    type: integer
                                    readOnly: true
                                  name:
                                    type: string
                                    maxLength: 200
                                required:
                                - name
                                type: object
                                readOnly: true
                              share:
                                type: number
                                nullable: true
                              relative:
                                properties:
                                  id:
                                    type: integer
                                    readOnly: true
                                  name:
                                    type: string
                                    maxLength: 255
                                required:
                                - name
                                type: object
                                readOnly: true
                        vehicles:
                          type: array
                          items:
                            properties:
                              name:
                                type: string
                                nullable: true
                                maxLength: 255
                              type:
                                properties:
                                  id:
                                    type: integer
                                    readOnly: true
                                  name:
                                    type: string
                                    maxLength: 200
                                required:
                                - name
                                type: object
                                readOnly: true
                              manufacture_year:
                                type: integer
                              brand:
                                properties:
                                  id:
                                    type: integer
                                    readOnly: true
                                  name:
                                    type: string
                                    maxLength: 100
                                required:
                                - name
                                type: object
                                readOnly: true
                              comment:
                                type: string
                              relative:
                                properties:
                                  id:
                                    type: integer
                                    readOnly: true
                                  name:
                                    type: string
                                    maxLength: 255
                                required:
                                - name
                                type: object
                                readOnly: true
                            required:
                            - manufacture_year
                        savings:
                          type: array
                          items:
                            type: string
                        stocks:
                          type: array
                          items:
                            type: string
                        bonds:
                          type: array
                          items:
                            type: string
                        spendings:
                          type: array
                          items:
                            type: string
                          readOnly: true
                      required:
                      - incomes
                      - real_estates
                      - vehicles
                      - savings
                      - stocks
                      - bonds
          description: ''
  /api/person/:
    get:
      operationId: listPersons
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: family_name
        required: false
        in: query
        description: family_name
        schema:
          type: string
      - name: name
        required: false
        in: query
        description: name
        schema:
          type: string
      - name: patronymic
        required: false
        in: query
        description: patronymic
        schema:
          type: string
      - name: comment
        required: false
        in: query
        description: comment
        schema:
          type: string
      - name: json_file
        required: false
        in: query
        description: json_file
        schema:
          type: string
      - name: wikipedia
        required: false
        in: query
        description: wikipedia
        schema:
          type: string
      - name: wikipedia_backlink
        required: false
        in: query
        description: wikipedia_backlink
        schema:
          type: string
      - name: twitter
        required: false
        in: query
        description: twitter
        schema:
          type: string
      - name: facebook
        required: false
        in: query
        description: facebook
        schema:
          type: string
      - name: vkontakte
        required: false
        in: query
        description: vkontakte
        schema:
          type: string
      - name: dissernet
        required: false
        in: query
        description: dissernet
        schema:
          type: string
      - name: photo_source
        required: false
        in: query
        description: photo_source
        schema:
          type: string
      - name: photo_url
        required: false
        in: query
        description: photo_url
        schema:
          type: string
      - name: gender
        required: false
        in: query
        description: gender
        schema:
          type: string
      - name: birth_date
        required: false
        in: query
        description: birth_date
        schema:
          type: string
      - name: death_date
        required: false
        in: query
        description: death_date
        schema:
          type: string
      - name: duma_id
        required: false
        in: query
        description: duma_id
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        last_role:
                          type: string
                          readOnly: true
                        family_name:
                          type: string
                          maxLength: 255
                        name:
                          type: string
                          maxLength: 255
                        patronymic:
                          type: string
                          maxLength: 255
                        comment:
                          type: string
                        wikipedia:
                          type: string
                          format: uri
                          nullable: true
                          maxLength: 255
                          pattern: "^(?:[a-z0-9\\.\\-\\+]*)://(?:\\S+(?::\\S*)?@)?(?:(?:25[0-5]|2[0-4]\\\
                            d|[0-1]?\\d?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|[0-1]?\\d?\\\
                            d)){3}|\\[[0-9a-f:\\.]+\\]|([a-z\xA1-\uFFFF0-9](?:[a-z\xA1\
                            -\uFFFF0-9-]{0,61}[a-z\xA1-\uFFFF0-9])?(?:\\.(?!-)[a-z\xA1\
                            -\uFFFF0-9-]{1,63}(?<!-))*\\.(?!-)(?:[a-z\xA1-\uFFFF-]{2,63}|xn--[a-z0-9]{1,59})(?<!-)\\\
                            .?|localhost))(?::\\d{2,5})?(?:[/?#][^\\s]*)?\\Z"
                        wikipedia_backlink:
                          type: string
                          nullable: true
                        twitter:
                          type: string
                          format: uri
                          nullable: true
                          maxLength: 255
                          pattern: "^(?:[a-z0-9\\.\\-\\+]*)://(?:\\S+(?::\\S*)?@)?(?:(?:25[0-5]|2[0-4]\\\
                            d|[0-1]?\\d?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|[0-1]?\\d?\\\
                            d)){3}|\\[[0-9a-f:\\.]+\\]|([a-z\xA1-\uFFFF0-9](?:[a-z\xA1\
                            -\uFFFF0-9-]{0,61}[a-z\xA1-\uFFFF0-9])?(?:\\.(?!-)[a-z\xA1\
                            -\uFFFF0-9-]{1,63}(?<!-))*\\.(?!-)(?:[a-z\xA1-\uFFFF-]{2,63}|xn--[a-z0-9]{1,59})(?<!-)\\\
                            .?|localhost))(?::\\d{2,5})?(?:[/?#][^\\s]*)?\\Z"
                        facebook:
                          type: string
                          format: uri
                          nullable: true
                          maxLength: 255
                          pattern: "^(?:[a-z0-9\\.\\-\\+]*)://(?:\\S+(?::\\S*)?@)?(?:(?:25[0-5]|2[0-4]\\\
                            d|[0-1]?\\d?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|[0-1]?\\d?\\\
                            d)){3}|\\[[0-9a-f:\\.]+\\]|([a-z\xA1-\uFFFF0-9](?:[a-z\xA1\
                            -\uFFFF0-9-]{0,61}[a-z\xA1-\uFFFF0-9])?(?:\\.(?!-)[a-z\xA1\
                            -\uFFFF0-9-]{1,63}(?<!-))*\\.(?!-)(?:[a-z\xA1-\uFFFF-]{2,63}|xn--[a-z0-9]{1,59})(?<!-)\\\
                            .?|localhost))(?::\\d{2,5})?(?:[/?#][^\\s]*)?\\Z"
                        vkontakte:
                          type: string
                          format: uri
                          nullable: true
                          maxLength: 255
                          pattern: "^(?:[a-z0-9\\.\\-\\+]*)://(?:\\S+(?::\\S*)?@)?(?:(?:25[0-5]|2[0-4]\\\
                            d|[0-1]?\\d?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|[0-1]?\\d?\\\
                            d)){3}|\\[[0-9a-f:\\.]+\\]|([a-z\xA1-\uFFFF0-9](?:[a-z\xA1\
                            -\uFFFF0-9-]{0,61}[a-z\xA1-\uFFFF0-9])?(?:\\.(?!-)[a-z\xA1\
                            -\uFFFF0-9-]{1,63}(?<!-))*\\.(?!-)(?:[a-z\xA1-\uFFFF-]{2,63}|xn--[a-z0-9]{1,59})(?<!-)\\\
                            .?|localhost))(?::\\d{2,5})?(?:[/?#][^\\s]*)?\\Z"
                        dissernet:
                          type: integer
                          maximum: 2147483647
                          minimum: -2147483648
                          nullable: true
                        photo:
                          type: string
                          nullable: true
                        photo_source:
                          type: string
                          nullable: true
                          maxLength: 255
                        photo_url:
                          type: string
                          format: uri
                          nullable: true
                          maxLength: 255
                          pattern: "^(?:[a-z0-9\\.\\-\\+]*)://(?:\\S+(?::\\S*)?@)?(?:(?:25[0-5]|2[0-4]\\\
                            d|[0-1]?\\d?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|[0-1]?\\d?\\\
                            d)){3}|\\[[0-9a-f:\\.]+\\]|([a-z\xA1-\uFFFF0-9](?:[a-z\xA1\
                            -\uFFFF0-9-]{0,61}[a-z\xA1-\uFFFF0-9])?(?:\\.(?!-)[a-z\xA1\
                            -\uFFFF0-9-]{1,63}(?<!-))*\\.(?!-)(?:[a-z\xA1-\uFFFF-]{2,63}|xn--[a-z0-9]{1,59})(?<!-)\\\
                            .?|localhost))(?::\\d{2,5})?(?:[/?#][^\\s]*)?\\Z"
                        gender:
                          enum:
                          - M
                          - F
                          nullable: true
                          description: "\u043C\u0443\u0436\u0441\u043A\u043E\u0439\
                            \ / \u0436\u0435\u043D\u0441\u043A\u0438\u0439"
                        birth_date:
                          type: string
                          format: date
                          nullable: true
                        death_date:
                          type: string
                          format: date
                          nullable: true
                        duma_id:
                          type: integer
                          maximum: 2147483647
                          minimum: -2147483648
                          nullable: true
                        json_file:
                          type: integer
                          nullable: true
                      required:
                      - family_name
                      - name
                      - patronymic
          description: ''
  /api/person/{id}/:
    get:
      operationId: retrievePerson
      parameters:
      - name: id
        in: path
        required: true
        description: "A unique integer value identifying this \u0434\u043E\u043B\u0436\
          \u043D\u043E\u0441\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E."
        schema:
          type: string
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: family_name
        required: false
        in: query
        description: family_name
        schema:
          type: string
      - name: name
        required: false
        in: query
        description: name
        schema:
          type: string
      - name: patronymic
        required: false
        in: query
        description: patronymic
        schema:
          type: string
      - name: comment
        required: false
        in: query
        description: comment
        schema:
          type: string
      - name: json_file
        required: false
        in: query
        description: json_file
        schema:
          type: string
      - name: wikipedia
        required: false
        in: query
        description: wikipedia
        schema:
          type: string
      - name: wikipedia_backlink
        required: false
        in: query
        description: wikipedia_backlink
        schema:
          type: string
      - name: twitter
        required: false
        in: query
        description: twitter
        schema:
          type: string
      - name: facebook
        required: false
        in: query
        description: facebook
        schema:
          type: string
      - name: vkontakte
        required: false
        in: query
        description: vkontakte
        schema:
          type: string
      - name: dissernet
        required: false
        in: query
        description: dissernet
        schema:
          type: string
      - name: photo_source
        required: false
        in: query
        description: photo_source
        schema:
          type: string
      - name: photo_url
        required: false
        in: query
        description: photo_url
        schema:
          type: string
      - name: gender
        required: false
        in: query
        description: gender
        schema:
          type: string
      - name: birth_date
        required: false
        in: query
        description: birth_date
        schema:
          type: string
      - name: death_date
        required: false
        in: query
        description: death_date
        schema:
          type: string
      - name: duma_id
        required: false
        in: query
        description: duma_id
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  id:
                    type: integer
                    readOnly: true
                  last_role:
                    type: string
                    readOnly: true
                  family_name:
                    type: string
                    maxLength: 255
                  name:
                    type: string
                    maxLength: 255
                  patronymic:
                    type: string
                    maxLength: 255
                  comment:
                    type: string
                  wikipedia:
                    type: string
                    format: uri
                    nullable: true
                    maxLength: 255
                    pattern: "^(?:[a-z0-9\\.\\-\\+]*)://(?:\\S+(?::\\S*)?@)?(?:(?:25[0-5]|2[0-4]\\\
                      d|[0-1]?\\d?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}|\\\
                      [[0-9a-f:\\.]+\\]|([a-z\xA1-\uFFFF0-9](?:[a-z\xA1-\uFFFF0-9-]{0,61}[a-z\xA1\
                      -\uFFFF0-9])?(?:\\.(?!-)[a-z\xA1-\uFFFF0-9-]{1,63}(?<!-))*\\\
                      .(?!-)(?:[a-z\xA1-\uFFFF-]{2,63}|xn--[a-z0-9]{1,59})(?<!-)\\\
                      .?|localhost))(?::\\d{2,5})?(?:[/?#][^\\s]*)?\\Z"
                  wikipedia_backlink:
                    type: string
                    nullable: true
                  twitter:
                    type: string
                    format: uri
                    nullable: true
                    maxLength: 255
                    pattern: "^(?:[a-z0-9\\.\\-\\+]*)://(?:\\S+(?::\\S*)?@)?(?:(?:25[0-5]|2[0-4]\\\
                      d|[0-1]?\\d?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}|\\\
                      [[0-9a-f:\\.]+\\]|([a-z\xA1-\uFFFF0-9](?:[a-z\xA1-\uFFFF0-9-]{0,61}[a-z\xA1\
                      -\uFFFF0-9])?(?:\\.(?!-)[a-z\xA1-\uFFFF0-9-]{1,63}(?<!-))*\\\
                      .(?!-)(?:[a-z\xA1-\uFFFF-]{2,63}|xn--[a-z0-9]{1,59})(?<!-)\\\
                      .?|localhost))(?::\\d{2,5})?(?:[/?#][^\\s]*)?\\Z"
                  facebook:
                    type: string
                    format: uri
                    nullable: true
                    maxLength: 255
                    pattern: "^(?:[a-z0-9\\.\\-\\+]*)://(?:\\S+(?::\\S*)?@)?(?:(?:25[0-5]|2[0-4]\\\
                      d|[0-1]?\\d?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}|\\\
                      [[0-9a-f:\\.]+\\]|([a-z\xA1-\uFFFF0-9](?:[a-z\xA1-\uFFFF0-9-]{0,61}[a-z\xA1\
                      -\uFFFF0-9])?(?:\\.(?!-)[a-z\xA1-\uFFFF0-9-]{1,63}(?<!-))*\\\
                      .(?!-)(?:[a-z\xA1-\uFFFF-]{2,63}|xn--[a-z0-9]{1,59})(?<!-)\\\
                      .?|localhost))(?::\\d{2,5})?(?:[/?#][^\\s]*)?\\Z"
                  vkontakte:
                    type: string
                    format: uri
                    nullable: true
                    maxLength: 255
                    pattern: "^(?:[a-z0-9\\.\\-\\+]*)://(?:\\S+(?::\\S*)?@)?(?:(?:25[0-5]|2[0-4]\\\
                      d|[0-1]?\\d?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}|\\\
                      [[0-9a-f:\\.]+\\]|([a-z\xA1-\uFFFF0-9](?:[a-z\xA1-\uFFFF0-9-]{0,61}[a-z\xA1\
                      -\uFFFF0-9])?(?:\\.(?!-)[a-z\xA1-\uFFFF0-9-]{1,63}(?<!-))*\\\
                      .(?!-)(?:[a-z\xA1-\uFFFF-]{2,63}|xn--[a-z0-9]{1,59})(?<!-)\\\
                      .?|localhost))(?::\\d{2,5})?(?:[/?#][^\\s]*)?\\Z"
                  dissernet:
                    type: integer
                    maximum: 2147483647
                    minimum: -2147483648
                    nullable: true
                  photo:
                    type: string
                    nullable: true
                  photo_source:
                    type: string
                    nullable: true
                    maxLength: 255
                  photo_url:
                    type: string
                    format: uri
                    nullable: true
                    maxLength: 255
                    pattern: "^(?:[a-z0-9\\.\\-\\+]*)://(?:\\S+(?::\\S*)?@)?(?:(?:25[0-5]|2[0-4]\\\
                      d|[0-1]?\\d?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}|\\\
                      [[0-9a-f:\\.]+\\]|([a-z\xA1-\uFFFF0-9](?:[a-z\xA1-\uFFFF0-9-]{0,61}[a-z\xA1\
                      -\uFFFF0-9])?(?:\\.(?!-)[a-z\xA1-\uFFFF0-9-]{1,63}(?<!-))*\\\
                      .(?!-)(?:[a-z\xA1-\uFFFF-]{2,63}|xn--[a-z0-9]{1,59})(?<!-)\\\
                      .?|localhost))(?::\\d{2,5})?(?:[/?#][^\\s]*)?\\Z"
                  gender:
                    enum:
                    - M
                    - F
                    nullable: true
                    description: "\u043C\u0443\u0436\u0441\u043A\u043E\u0439 / \u0436\
                      \u0435\u043D\u0441\u043A\u0438\u0439"
                  birth_date:
                    type: string
                    format: date
                    nullable: true
                  death_date:
                    type: string
                    format: date
                    nullable: true
                  duma_id:
                    type: integer
                    maximum: 2147483647
                    minimum: -2147483648
                    nullable: true
                  json_file:
                    type: integer
                    nullable: true
                required:
                - family_name
                - name
                - patronymic
          description: ''
  /api/section/:
    get:
      operationId: listSections
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: document
        required: false
        in: query
        description: document
        schema:
          type: string
      - name: person
        required: false
        in: query
        description: person
        schema:
          type: string
      - name: party
        required: false
        in: query
        description: party
        schema:
          type: string
      - name: position
        required: false
        in: query
        description: position
        schema:
          type: string
      - name: is_public_office
        required: false
        in: query
        description: is_public_office
        schema:
          type: string
      - name: original_fio
        required: false
        in: query
        description: original_fio
        schema:
          type: string
      - name: add_date
        required: false
        in: query
        description: add_date
        schema:
          type: string
      - name: comment
        required: false
        in: query
        description: comment
        schema:
          type: string
      - name: json_file
        required: false
        in: query
        description: json_file
        schema:
          type: string
      - name: is_suspicious
        required: false
        in: query
        description: is_suspicious
        schema:
          type: string
      - name: person_index
        required: false
        in: query
        description: person_index
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        position:
                          type: string
                        is_public_office:
                          type: boolean
                        original_fio:
                          type: string
                          nullable: true
                        add_date:
                          type: string
                          format: date-time
                          readOnly: true
                        comment:
                          type: string
                        is_suspicious:
                          type: boolean
                        person_index:
                          type: integer
                          maximum: 2147483647
                          minimum: -2147483648
                          nullable: true
                          description: "\u043E\u0431\u044B\u0447\u043D\u043E \u0443\
                            \u043A\u0430\u0437\u0430\u043D \u043F\u0435\u0440\u0432\
                            \u044B\u043C \u0441\u0442\u043E\u043B\u0431\u0446\u043E\
                            \u043C \u0432 \u0434\u0435\u043A\u043B\u0430\u0440\u0430\
                            \u0446\u0438\u0438"
                        document:
                          type: integer
                        person:
                          type: integer
                          nullable: true
                        party:
                          type: integer
                          nullable: true
                        json_file:
                          type: integer
                          nullable: true
                      required:
                      - document
                      - person
          description: ''
  /api/section/{id}/:
    get:
      operationId: retrieveSection
      parameters:
      - name: id
        in: path
        required: true
        description: "A unique integer value identifying this \u0440\u0430\u0437\u0434\
          \u0435\u043B \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430."
        schema:
          type: string
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: document
        required: false
        in: query
        description: document
        schema:
          type: string
      - name: person
        required: false
        in: query
        description: person
        schema:
          type: string
      - name: party
        required: false
        in: query
        description: party
        schema:
          type: string
      - name: position
        required: false
        in: query
        description: position
        schema:
          type: string
      - name: is_public_office
        required: false
        in: query
        description: is_public_office
        schema:
          type: string
      - name: original_fio
        required: false
        in: query
        description: original_fio
        schema:
          type: string
      - name: add_date
        required: false
        in: query
        description: add_date
        schema:
          type: string
      - name: comment
        required: false
        in: query
        description: comment
        schema:
          type: string
      - name: json_file
        required: false
        in: query
        description: json_file
        schema:
          type: string
      - name: is_suspicious
        required: false
        in: query
        description: is_suspicious
        schema:
          type: string
      - name: person_index
        required: false
        in: query
        description: person_index
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  id:
                    type: integer
                    readOnly: true
                  position:
                    type: string
                  is_public_office:
                    type: boolean
                  original_fio:
                    type: string
                    nullable: true
                  add_date:
                    type: string
                    format: date-time
                    readOnly: true
                  comment:
                    type: string
                  is_suspicious:
                    type: boolean
                  person_index:
                    type: integer
                    maximum: 2147483647
                    minimum: -2147483648
                    nullable: true
                    description: "\u043E\u0431\u044B\u0447\u043D\u043E \u0443\u043A\
                      \u0430\u0437\u0430\u043D \u043F\u0435\u0440\u0432\u044B\u043C\
                      \ \u0441\u0442\u043E\u043B\u0431\u0446\u043E\u043C \u0432 \u0434\
                      \u0435\u043A\u043B\u0430\u0440\u0430\u0446\u0438\u0438"
                  document:
                    type: integer
                  person:
                    type: integer
                    nullable: true
                  party:
                    type: integer
                    nullable: true
                  json_file:
                    type: integer
                    nullable: true
                required:
                - document
                - person
          description: ''
  /api/document/:
    get:
      operationId: listDocuments
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: type
        required: false
        in: query
        description: type
        schema:
          type: string
      - name: office
        required: false
        in: query
        description: office
        schema:
          type: string
      - name: name
        required: false
        in: query
        description: name
        schema:
          type: string
      - name: content
        required: false
        in: query
        description: content
        schema:
          type: string
      - name: persons_count
        required: false
        in: query
        description: persons_count
        schema:
          type: string
      - name: comment
        required: false
        in: query
        description: comment
        schema:
          type: string
      - name: date
        required: false
        in: query
        description: date
        schema:
          type: string
      - name: income_year
        required: false
        in: query
        description: income_year
        schema:
          type: string
      - name: actual_date
        required: false
        in: query
        description: actual_date
        schema:
          type: string
      - name: info_relative
        required: false
        in: query
        description: info_relative
        schema:
          type: string
      - name: info_region
        required: false
        in: query
        description: info_region
        schema:
          type: string
      - name: info_income
        required: false
        in: query
        description: info_income
        schema:
          type: string
      - name: info_real_estate
        required: false
        in: query
        description: info_real_estate
        schema:
          type: string
      - name: info_vehicles
        required: false
        in: query
        description: info_vehicles
        schema:
          type: string
      - name: info_savings
        required: false
        in: query
        description: info_savings
        schema:
          type: string
      - name: info_stocks
        required: false
        in: query
        description: info_stocks
        schema:
          type: string
      - name: info_bonds
        required: false
        in: query
        description: info_bonds
        schema:
          type: string
      - name: info_spendings
        required: false
        in: query
        description: info_spendings
        schema:
          type: string
      - name: link
        required: false
        in: query
        description: link
        schema:
          type: string
      - name: original_filename
        required: false
        in: query
        description: original_filename
        schema:
          type: string
      - name: remove_the_file
        required: false
        in: query
        description: remove_the_file
        schema:
          type: string
      - name: request_status
        required: false
        in: query
        description: request_status
        schema:
          type: string
      - name: request_status_comment
        required: false
        in: query
        description: request_status_comment
        schema:
          type: string
      - name: search_status
        required: false
        in: query
        description: search_status
        schema:
          type: string
      - name: is_complete
        required: false
        in: query
        description: is_complete
        schema:
          type: string
      - name: publish
        required: false
        in: query
        description: publish
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        documentfile_set:
                          type: array
                          items:
                            properties:
                              id:
                                type: integer
                                readOnly: true
                              created_when:
                                type: string
                                format: date-time
                                readOnly: true
                              modified_when:
                                type: string
                                format: date-time
                                readOnly: true
                              content:
                                type: string
                                maxLength: 255
                              original_name:
                                type: string
                                maxLength: 255
                              persons_count:
                                type: integer
                                maximum: 2147483647
                                minimum: -2147483648
                                nullable: true
                              comment:
                                type: string
                              link:
                                type: string
                              directlink:
                                type: string
                              file:
                                type: string
                                nullable: true
                              remove_the_file:
                                type: boolean
                              tip_off:
                                type: boolean
                              download_tries:
                                type: integer
                                maximum: 2147483647
                                minimum: -2147483648
                              download_error:
                                type: string
                              content_type:
                                type: string
                                maxLength: 64
                              is_decoded:
                                type: boolean
                              is_visible:
                                type: boolean
                              contain_peps:
                                type: boolean
                                description: "\u041E\u0431\u0440\u0430\u0431\u0430\
                                  \u0442\u044B\u0432\u0430\u0442\u044C \u043F\u0435\
                                  \u0440\u0432\u043E\u043E\u0447\u0435\u0440\u0435\
                                  \u0434\u043D\u043E \u0440\u0443\u043A\u0430\u043C\
                                  \u0438, SmartParser \u0431\u0443\u0434\u0435\u0442\
                                  \ \u043F\u0440\u043E\u043F\u0443\u0441\u043A\u0430\
                                  \u0442\u044C \u044D\u0442\u0438 \u0444\u0430\u0439\
                                  \u043B\u044B"
                              created_by:
                                type: integer
                                nullable: true
                              modified_by:
                                type: integer
                                nullable: true
                              parent:
                                type: string
                                readOnly: true
                                description: "\u0438\u0437 \u043A\u043E\u0442\u043E\
                                  \u0440\u043E\u0433\u043E \u0434\u043E\u0441\u0442\
                                  \u0430\u043B\u0438 \u0434\u0430\u043D\u043D\u044B\
                                  \u0439 \u0444\u0430\u0439\u043B"
                              document:
                                type: integer
                              clarification_origin:
                                type: integer
                                nullable: true
                                description: "\u0432 \u044D\u0442\u043E\u043C \u043F\
                                  \u043E\u043B\u0435 \u043D\u0443\u0436\u043D\u043E\
                                  \ \u0443\u043A\u0430\u0437\u0430\u0442\u044C \u0444\
                                  \u0430\u0439\u043B, \u043A \u043A\u043E\u0442\u043E\
                                  \u0440\u043E\u043C\u0443 \u0434\u0430\u043D\u043D\
                                  \u044B\u0439 \u044F\u0432\u043B\u044F\u0435\u0442\
                                  \u0441\u044F \u0443\u0442\u043E\u0447\u043D\u0435\
                                  \u043D\u0438\u0435\u043C"
                            required:
                            - content
                            - link
                            - document
                          readOnly: true
                        name:
                          type: string
                        content:
                          type: string
                          maxLength: 255
                        persons_count:
                          type: integer
                          readOnly: true
                        comment:
                          type: string
                        date:
                          type: string
                          format: date
                          nullable: true
                        income_year:
                          type: integer
                          maximum: 2147483647
                          minimum: -2147483648
                        actual_date:
                          type: string
                          format: date
                        link:
                          type: string
                        file:
                          type: string
                          readOnly: true
                        original_filename:
                          type: string
                          readOnly: true
                        remove_the_file:
                          type: boolean
                          readOnly: true
                        request_status_comment:
                          type: string
                          maxLength: 255
                        is_complete:
                          type: boolean
                        publish:
                          type: boolean
                        type:
                          type: integer
                        office:
                          type: integer
                        request_status:
                          type: integer
                        search_status:
                          type: integer
                          nullable: true
                      required:
                      - income_year
                      - actual_date
                      - office
          description: ''
  /api/document/{id}/:
    get:
      operationId: retrieveDocument
      parameters:
      - name: id
        in: path
        required: true
        description: "A unique integer value identifying this \u0434\u0435\u043A\u043B\
          \u0430\u0440\u0430\u0446\u0438\u044F."
        schema:
          type: string
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: type
        required: false
        in: query
        description: type
        schema:
          type: string
      - name: office
        required: false
        in: query
        description: office
        schema:
          type: string
      - name: name
        required: false
        in: query
        description: name
        schema:
          type: string
      - name: content
        required: false
        in: query
        description: content
        schema:
          type: string
      - name: persons_count
        required: false
        in: query
        description: persons_count
        schema:
          type: string
      - name: comment
        required: false
        in: query
        description: comment
        schema:
          type: string
      - name: date
        required: false
        in: query
        description: date
        schema:
          type: string
      - name: income_year
        required: false
        in: query
        description: income_year
        schema:
          type: string
      - name: actual_date
        required: false
        in: query
        description: actual_date
        schema:
          type: string
      - name: info_relative
        required: false
        in: query
        description: info_relative
        schema:
          type: string
      - name: info_region
        required: false
        in: query
        description: info_region
        schema:
          type: string
      - name: info_income
        required: false
        in: query
        description: info_income
        schema:
          type: string
      - name: info_real_estate
        required: false
        in: query
        description: info_real_estate
        schema:
          type: string
      - name: info_vehicles
        required: false
        in: query
        description: info_vehicles
        schema:
          type: string
      - name: info_savings
        required: false
        in: query
        description: info_savings
        schema:
          type: string
      - name: info_stocks
        required: false
        in: query
        description: info_stocks
        schema:
          type: string
      - name: info_bonds
        required: false
        in: query
        description: info_bonds
        schema:
          type: string
      - name: info_spendings
        required: false
        in: query
        description: info_spendings
        schema:
          type: string
      - name: link
        required: false
        in: query
        description: link
        schema:
          type: string
      - name: original_filename
        required: false
        in: query
        description: original_filename
        schema:
          type: string
      - name: remove_the_file
        required: false
        in: query
        description: remove_the_file
        schema:
          type: string
      - name: request_status
        required: false
        in: query
        description: request_status
        schema:
          type: string
      - name: request_status_comment
        required: false
        in: query
        description: request_status_comment
        schema:
          type: string
      - name: search_status
        required: false
        in: query
        description: search_status
        schema:
          type: string
      - name: is_complete
        required: false
        in: query
        description: is_complete
        schema:
          type: string
      - name: publish
        required: false
        in: query
        description: publish
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  id:
                    type: integer
                    readOnly: true
                  documentfile_set:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        created_when:
                          type: string
                          format: date-time
                          readOnly: true
                        modified_when:
                          type: string
                          format: date-time
                          readOnly: true
                        content:
                          type: string
                          maxLength: 255
                        original_name:
                          type: string
                          maxLength: 255
                        persons_count:
                          type: integer
                          maximum: 2147483647
                          minimum: -2147483648
                          nullable: true
                        comment:
                          type: string
                        link:
                          type: string
                        directlink:
                          type: string
                        file:
                          type: string
                          nullable: true
                        remove_the_file:
                          type: boolean
                        tip_off:
                          type: boolean
                        download_tries:
                          type: integer
                          maximum: 2147483647
                          minimum: -2147483648
                        download_error:
                          type: string
                        content_type:
                          type: string
                          maxLength: 64
                        is_decoded:
                          type: boolean
                        is_visible:
                          type: boolean
                        contain_peps:
                          type: boolean
                          description: "\u041E\u0431\u0440\u0430\u0431\u0430\u0442\
                            \u044B\u0432\u0430\u0442\u044C \u043F\u0435\u0440\u0432\
                            \u043E\u043E\u0447\u0435\u0440\u0435\u0434\u043D\u043E\
                            \ \u0440\u0443\u043A\u0430\u043C\u0438, SmartParser \u0431\
                            \u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u043F\u0443\
                            \u0441\u043A\u0430\u0442\u044C \u044D\u0442\u0438 \u0444\
                            \u0430\u0439\u043B\u044B"
                        created_by:
                          type: integer
                          nullable: true
                        modified_by:
                          type: integer
                          nullable: true
                        parent:
                          type: string
                          readOnly: true
                          description: "\u0438\u0437 \u043A\u043E\u0442\u043E\u0440\
                            \u043E\u0433\u043E \u0434\u043E\u0441\u0442\u0430\u043B\
                            \u0438 \u0434\u0430\u043D\u043D\u044B\u0439 \u0444\u0430\
                            \u0439\u043B"
                        document:
                          type: integer
                        clarification_origin:
                          type: integer
                          nullable: true
                          description: "\u0432 \u044D\u0442\u043E\u043C \u043F\u043E\
                            \u043B\u0435 \u043D\u0443\u0436\u043D\u043E \u0443\u043A\
                            \u0430\u0437\u0430\u0442\u044C \u0444\u0430\u0439\u043B\
                            , \u043A \u043A\u043E\u0442\u043E\u0440\u043E\u043C\u0443\
                            \ \u0434\u0430\u043D\u043D\u044B\u0439 \u044F\u0432\u043B\
                            \u044F\u0435\u0442\u0441\u044F \u0443\u0442\u043E\u0447\
                            \u043D\u0435\u043D\u0438\u0435\u043C"
                      required:
                      - content
                      - link
                      - document
                    readOnly: true
                  name:
                    type: string
                  content:
                    type: string
                    maxLength: 255
                  persons_count:
                    type: integer
                    readOnly: true
                  comment:
                    type: string
                  date:
                    type: string
                    format: date
                    nullable: true
                  income_year:
                    type: integer
                    maximum: 2147483647
                    minimum: -2147483648
                  actual_date:
                    type: string
                    format: date
                  link:
                    type: string
                  file:
                    type: string
                    readOnly: true
                  original_filename:
                    type: string
                    readOnly: true
                  remove_the_file:
                    type: boolean
                    readOnly: true
                  request_status_comment:
                    type: string
                    maxLength: 255
                  is_complete:
                    type: boolean
                  publish:
                    type: boolean
                  type:
                    type: integer
                  office:
                    type: integer
                  request_status:
                    type: integer
                  search_status:
                    type: integer
                    nullable: true
                required:
                - income_year
                - actual_date
                - office
          description: ''
  /api/income/:
    get:
      operationId: listIncomes
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: section
        required: false
        in: query
        description: section
        schema:
          type: string
      - name: relative
        required: false
        in: query
        description: relative
        schema:
          type: string
      - name: relative_text
        required: false
        in: query
        description: relative_text
        schema:
          type: string
      - name: comment
        required: false
        in: query
        description: comment
        schema:
          type: string
      - name: relative_counter
        required: false
        in: query
        description: relative_counter
        schema:
          type: string
      - name: type
        required: false
        in: query
        description: type
        schema:
          type: string
      - name: size
        required: false
        in: query
        description: size
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        relative:
                          type: string
                          nullable: true
                        size:
                          type: number
                        relative_text:
                          type: string
                          maxLength: 100
                        comment:
                          type: string
                        relative_counter:
                          type: integer
                          maximum: 32767
                          minimum: -32768
                        section:
                          type: integer
                        type:
                          type: integer
                      required:
                      - section
          description: ''
  /api/income/{id}/:
    get:
      operationId: retrieveIncome
      parameters:
      - name: id
        in: path
        required: true
        description: "A unique integer value identifying this \u0434\u043E\u0445\u043E\
          \u0434."
        schema:
          type: string
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: section
        required: false
        in: query
        description: section
        schema:
          type: string
      - name: relative
        required: false
        in: query
        description: relative
        schema:
          type: string
      - name: relative_text
        required: false
        in: query
        description: relative_text
        schema:
          type: string
      - name: comment
        required: false
        in: query
        description: comment
        schema:
          type: string
      - name: relative_counter
        required: false
        in: query
        description: relative_counter
        schema:
          type: string
      - name: type
        required: false
        in: query
        description: type
        schema:
          type: string
      - name: size
        required: false
        in: query
        description: size
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  id:
                    type: integer
                    readOnly: true
                  relative:
                    type: string
                    nullable: true
                  size:
                    type: number
                  relative_text:
                    type: string
                    maxLength: 100
                  comment:
                    type: string
                  relative_counter:
                    type: integer
                    maximum: 32767
                    minimum: -32768
                  section:
                    type: integer
                  type:
                    type: integer
                required:
                - section
          description: ''
  /api/realestate/:
    get:
      operationId: listRealEstates
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: section
        required: false
        in: query
        description: section
        schema:
          type: string
      - name: relative
        required: false
        in: query
        description: relative
        schema:
          type: string
      - name: relative_text
        required: false
        in: query
        description: relative_text
        schema:
          type: string
      - name: comment
        required: false
        in: query
        description: comment
        schema:
          type: string
      - name: relative_counter
        required: false
        in: query
        description: relative_counter
        schema:
          type: string
      - name: owntype
        required: false
        in: query
        description: owntype
        schema:
          type: string
      - name: sharetype
        required: false
        in: query
        description: sharetype
        schema:
          type: string
      - name: share
        required: false
        in: query
        description: share
        schema:
          type: string
      - name: share_string
        required: false
        in: query
        description: share_string
        schema:
          type: string
      - name: type
        required: false
        in: query
        description: type
        schema:
          type: string
      - name: name
        required: false
        in: query
        description: name
        schema:
          type: string
      - name: square
        required: false
        in: query
        description: square
        schema:
          type: string
      - name: country
        required: false
        in: query
        description: country
        schema:
          type: string
      - name: region
        required: false
        in: query
        description: region
        schema:
          type: string
      - name: city
        required: false
        in: query
        description: city
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        relative:
                          type: string
                          nullable: true
                        share:
                          type: number
                          nullable: true
                        square:
                          type: number
                          minimum: 0.01
                        relative_text:
                          type: string
                          maxLength: 100
                        comment:
                          type: string
                        relative_counter:
                          type: integer
                          maximum: 32767
                          minimum: -32768
                        share_string:
                          type: string
                          nullable: true
                          maxLength: 100
                        name:
                          type: string
                          maxLength: 255
                        city:
                          type: string
                          maxLength: 255
                        section:
                          type: integer
                        owntype:
                          type: integer
                        sharetype:
                          type: integer
                        type:
                          type: integer
                        country:
                          type: integer
                        region:
                          type: integer
                          nullable: true
                      required:
                      - section
                      - type
          description: ''
  /api/realestate/{id}/:
    get:
      operationId: retrieveRealEstate
      parameters:
      - name: id
        in: path
        required: true
        description: "A unique integer value identifying this \u043D\u0435\u0434\u0432\
          \u0438\u0436\u0438\u043C\u043E\u0441\u0442\u044C."
        schema:
          type: string
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: section
        required: false
        in: query
        description: section
        schema:
          type: string
      - name: relative
        required: false
        in: query
        description: relative
        schema:
          type: string
      - name: relative_text
        required: false
        in: query
        description: relative_text
        schema:
          type: string
      - name: comment
        required: false
        in: query
        description: comment
        schema:
          type: string
      - name: relative_counter
        required: false
        in: query
        description: relative_counter
        schema:
          type: string
      - name: owntype
        required: false
        in: query
        description: owntype
        schema:
          type: string
      - name: sharetype
        required: false
        in: query
        description: sharetype
        schema:
          type: string
      - name: share
        required: false
        in: query
        description: share
        schema:
          type: string
      - name: share_string
        required: false
        in: query
        description: share_string
        schema:
          type: string
      - name: type
        required: false
        in: query
        description: type
        schema:
          type: string
      - name: name
        required: false
        in: query
        description: name
        schema:
          type: string
      - name: square
        required: false
        in: query
        description: square
        schema:
          type: string
      - name: country
        required: false
        in: query
        description: country
        schema:
          type: string
      - name: region
        required: false
        in: query
        description: region
        schema:
          type: string
      - name: city
        required: false
        in: query
        description: city
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  id:
                    type: integer
                    readOnly: true
                  relative:
                    type: string
                    nullable: true
                  share:
                    type: number
                    nullable: true
                  square:
                    type: number
                    minimum: 0.01
                  relative_text:
                    type: string
                    maxLength: 100
                  comment:
                    type: string
                  relative_counter:
                    type: integer
                    maximum: 32767
                    minimum: -32768
                  share_string:
                    type: string
                    nullable: true
                    maxLength: 100
                  name:
                    type: string
                    maxLength: 255
                  city:
                    type: string
                    maxLength: 255
                  section:
                    type: integer
                  owntype:
                    type: integer
                  sharetype:
                    type: integer
                  type:
                    type: integer
                  country:
                    type: integer
                  region:
                    type: integer
                    nullable: true
                required:
                - section
                - type
          description: ''
  /api/savings/:
    get:
      operationId: listSavings
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: section
        required: false
        in: query
        description: section
        schema:
          type: string
      - name: relative
        required: false
        in: query
        description: relative
        schema:
          type: string
      - name: relative_text
        required: false
        in: query
        description: relative_text
        schema:
          type: string
      - name: comment
        required: false
        in: query
        description: comment
        schema:
          type: string
      - name: relative_counter
        required: false
        in: query
        description: relative_counter
        schema:
          type: string
      - name: bank
        required: false
        in: query
        description: bank
        schema:
          type: string
      - name: ammount
        required: false
        in: query
        description: ammount
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        relative:
                          type: string
                          nullable: true
                        ammount:
                          type: number
                        relative_text:
                          type: string
                          maxLength: 100
                        comment:
                          type: string
                        relative_counter:
                          type: integer
                          maximum: 32767
                          minimum: -32768
                        bank:
                          type: string
                          maxLength: 255
                        section:
                          type: integer
                      required:
                      - bank
                      - section
          description: ''
  /api/savings/{id}/:
    get:
      operationId: retrieveSavings
      parameters:
      - name: id
        in: path
        required: true
        description: "A unique integer value identifying this \u0441\u0447\u0435\u0442\
          ."
        schema:
          type: string
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: section
        required: false
        in: query
        description: section
        schema:
          type: string
      - name: relative
        required: false
        in: query
        description: relative
        schema:
          type: string
      - name: relative_text
        required: false
        in: query
        description: relative_text
        schema:
          type: string
      - name: comment
        required: false
        in: query
        description: comment
        schema:
          type: string
      - name: relative_counter
        required: false
        in: query
        description: relative_counter
        schema:
          type: string
      - name: bank
        required: false
        in: query
        description: bank
        schema:
          type: string
      - name: ammount
        required: false
        in: query
        description: ammount
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  id:
                    type: integer
                    readOnly: true
                  relative:
                    type: string
                    nullable: true
                  ammount:
                    type: number
                  relative_text:
                    type: string
                    maxLength: 100
                  comment:
                    type: string
                  relative_counter:
                    type: integer
                    maximum: 32767
                    minimum: -32768
                  bank:
                    type: string
                    maxLength: 255
                  section:
                    type: integer
                required:
                - bank
                - section
          description: ''
  /api/stock/:
    get:
      operationId: listStocks
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: section
        required: false
        in: query
        description: section
        schema:
          type: string
      - name: relative
        required: false
        in: query
        description: relative
        schema:
          type: string
      - name: relative_text
        required: false
        in: query
        description: relative_text
        schema:
          type: string
      - name: comment
        required: false
        in: query
        description: comment
        schema:
          type: string
      - name: relative_counter
        required: false
        in: query
        description: relative_counter
        schema:
          type: string
      - name: owntype
        required: false
        in: query
        description: owntype
        schema:
          type: string
      - name: sharetype
        required: false
        in: query
        description: sharetype
        schema:
          type: string
      - name: share
        required: false
        in: query
        description: share
        schema:
          type: string
      - name: share_string
        required: false
        in: query
        description: share_string
        schema:
          type: string
      - name: ammount
        required: false
        in: query
        description: ammount
        schema:
          type: string
      - name: comp_share
        required: false
        in: query
        description: comp_share
        schema:
          type: string
      - name: count
        required: false
        in: query
        description: count
        schema:
          type: string
      - name: company
        required: false
        in: query
        description: company
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        relative:
                          type: string
                          nullable: true
                        share:
                          type: number
                          nullable: true
                        count:
                          type: integer
                          nullable: true
                        relative_text:
                          type: string
                          maxLength: 100
                        comment:
                          type: string
                        relative_counter:
                          type: integer
                          maximum: 32767
                          minimum: -32768
                        share_string:
                          type: string
                          nullable: true
                          maxLength: 100
                        ammount:
                          type: number
                          nullable: true
                        comp_share:
                          type: number
                          nullable: true
                        company:
                          type: string
                          maxLength: 255
                        section:
                          type: integer
                        owntype:
                          type: integer
                        sharetype:
                          type: integer
                      required:
                      - count
                      - company
                      - section
          description: ''
  /api/stock/{id}/:
    get:
      operationId: retrieveStock
      parameters:
      - name: id
        in: path
        required: true
        description: "A unique integer value identifying this \u0430\u043A\u0446\u0438\
          \u0438."
        schema:
          type: string
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: section
        required: false
        in: query
        description: section
        schema:
          type: string
      - name: relative
        required: false
        in: query
        description: relative
        schema:
          type: string
      - name: relative_text
        required: false
        in: query
        description: relative_text
        schema:
          type: string
      - name: comment
        required: false
        in: query
        description: comment
        schema:
          type: string
      - name: relative_counter
        required: false
        in: query
        description: relative_counter
        schema:
          type: string
      - name: owntype
        required: false
        in: query
        description: owntype
        schema:
          type: string
      - name: sharetype
        required: false
        in: query
        description: sharetype
        schema:
          type: string
      - name: share
        required: false
        in: query
        description: share
        schema:
          type: string
      - name: share_string
        required: false
        in: query
        description: share_string
        schema:
          type: string
      - name: ammount
        required: false
        in: query
        description: ammount
        schema:
          type: string
      - name: comp_share
        required: false
        in: query
        description: comp_share
        schema:
          type: string
      - name: count
        required: false
        in: query
        description: count
        schema:
          type: string
      - name: company
        required: false
        in: query
        description: company
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  id:
                    type: integer
                    readOnly: true
                  relative:
                    type: string
                    nullable: true
                  share:
                    type: number
                    nullable: true
                  count:
                    type: integer
                    nullable: true
                  relative_text:
                    type: string
                    maxLength: 100
                  comment:
                    type: string
                  relative_counter:
                    type: integer
                    maximum: 32767
                    minimum: -32768
                  share_string:
                    type: string
                    nullable: true
                    maxLength: 100
                  ammount:
                    type: number
                    nullable: true
                  comp_share:
                    type: number
                    nullable: true
                  company:
                    type: string
                    maxLength: 255
                  section:
                    type: integer
                  owntype:
                    type: integer
                  sharetype:
                    type: integer
                required:
                - count
                - company
                - section
          description: ''
  /api/bonds/:
    get:
      operationId: listBonds
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: section
        required: false
        in: query
        description: section
        schema:
          type: string
      - name: relative
        required: false
        in: query
        description: relative
        schema:
          type: string
      - name: company
        required: false
        in: query
        description: company
        schema:
          type: string
      - name: ammount
        required: false
        in: query
        description: ammount
        schema:
          type: string
      - name: count
        required: false
        in: query
        description: count
        schema:
          type: string
      - name: sharetype
        required: false
        in: query
        description: sharetype
        schema:
          type: string
      - name: share
        required: false
        in: query
        description: share
        schema:
          type: string
      - name: comment
        required: false
        in: query
        description: comment
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        relative:
                          type: string
                        company:
                          type: string
                          maxLength: 255
                        ammount:
                          type: number
                        count:
                          type: integer
                          maximum: 2147483647
                          minimum: -2147483648
                        share:
                          type: number
                          nullable: true
                        comment:
                          type: string
                        section:
                          type: integer
                        sharetype:
                          type: integer
                      required:
                      - company
                      - section
          description: ''
  /api/bonds/{id}/:
    get:
      operationId: retrieveBonds
      parameters:
      - name: id
        in: path
        required: true
        description: "A unique integer value identifying this \u0446\u0435\u043D\u043D\
          \u044B\u0435 \u0431\u0443\u043C\u0430\u0433\u0438."
        schema:
          type: string
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: section
        required: false
        in: query
        description: section
        schema:
          type: string
      - name: relative
        required: false
        in: query
        description: relative
        schema:
          type: string
      - name: company
        required: false
        in: query
        description: company
        schema:
          type: string
      - name: ammount
        required: false
        in: query
        description: ammount
        schema:
          type: string
      - name: count
        required: false
        in: query
        description: count
        schema:
          type: string
      - name: sharetype
        required: false
        in: query
        description: sharetype
        schema:
          type: string
      - name: share
        required: false
        in: query
        description: share
        schema:
          type: string
      - name: comment
        required: false
        in: query
        description: comment
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  id:
                    type: integer
                    readOnly: true
                  relative:
                    type: string
                  company:
                    type: string
                    maxLength: 255
                  ammount:
                    type: number
                  count:
                    type: integer
                    maximum: 2147483647
                    minimum: -2147483648
                  share:
                    type: number
                    nullable: true
                  comment:
                    type: string
                  section:
                    type: integer
                  sharetype:
                    type: integer
                required:
                - company
                - section
          description: ''
  /api/spendings/:
    get:
      operationId: listSpendings
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: section
        required: false
        in: query
        description: section
        schema:
          type: string
      - name: spendings_text
        required: false
        in: query
        description: spendings_text
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          readOnly: true
                        spendings_text:
                          type: string
                        section:
                          type: integer
                      required:
                      - spendings_text
                      - section
          description: ''
  /api/spendings/{id}/:
    get:
      operationId: retrieveSpendings
      parameters:
      - name: id
        in: path
        required: true
        description: "A unique integer value identifying this \u0420\u0430\u0441\u0445\
          \u043E\u0434\u044B."
        schema:
          type: string
      - name: id
        required: false
        in: query
        description: id
        schema:
          type: string
      - name: section
        required: false
        in: query
        description: section
        schema:
          type: string
      - name: spendings_text
        required: false
        in: query
        description: spendings_text
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  id:
                    type: integer
                    readOnly: true
                  spendings_text:
                    type: string
                  section:
                    type: integer
                required:
                - spendings_text
                - section
          description: ''
  /search/vehicle_model/:
    get:
      operationId: listNewSimpleModels
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: page_size
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        name:
                          type: string
                          maxLength: 250
                        id:
                          type: integer
                          readOnly: true
                      required:
                      - name
          description: ''
  /search/vehicle_brand/:
    get:
      operationId: listNewSimpleBrands
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: page_size
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        name:
                          type: string
                          maxLength: 250
                        id:
                          type: integer
                          readOnly: true
                      required:
                      - name
          description: ''
  /search/offices/:
    get:
      operationId: listSimpleOffices
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: page
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 123
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      properties:
                        name:
                          type: string
                        id:
                          type: integer
                          readOnly: true
                      required:
                      - name
          description: ''
  /api/api-token-auth/:
    post:
      operationId: CreateObtainAuthToken
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: ''