> ## Documentation Index
> Fetch the complete documentation index at: https://slovakapi.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# List ownership types

> Returns all ownership type codes and labels.

You can use this endpoint to resolve the `druhVlastnictva` field from the response on an [Accounting unit](/ruz/api-reference/entity-details/get-accounting-unit) into a human-readable label.

<Info>The source code for this endpoint is the ŠÚSR codelist `0036/DRVLST`.</Info>

***

## Common patterns

<AccordionGroup>
  <Accordion title="Resolve an ownership type code">
    Fetch all ownership types and find the matching label for a `druhVlastnictva` code on an accounting unit.

    ```js Resolve an ownership type code theme={null}
    // 1. Fetch all ownership types
    const { klasifikacie } = await fetch(`${BASE}/api/druhy-vlastnictva`).then(r => r.json());

    // 2. Resolve the ownership label for an accounting unit
    const ownership = klasifikacie.find(o => o.kod === unit.druhVlastnictva);

    // 3. Log the ownership type label
    console.log(ownership?.nazov?.sk);
    ```
  </Accordion>
</AccordionGroup>


## OpenAPI

````yaml ruz/openapi.json GET /api/druhy-vlastnictva
openapi: 3.1.0
info:
  title: RÚZ API
  description: >-
    Public REST API for Slovakia's Register of Financial Statements (Register
    účtovných závierok). Exposes accounting units, financial statements,
    financial reports, and annual reports in JSON. Data is updated throughout
    the day as records are published.
  version: 2.5.0
  license:
    name: Creative Commons Zero (CC0)
    url: https://creativecommons.org/publicdomain/zero/1.0/
servers:
  - url: https://www.registeruz.sk/cruz-public
    description: Production
security: []
paths:
  /api/druhy-vlastnictva:
    get:
      summary: List ownership types
      description: >-
        Returns all ownership type codes and labels from ŠÚSR codelist
        `0036/DRVLST`. No parameters required.


        Use codes to resolve the `druhVlastnictva` field on accounting units.
      operationId: listOwnershipTypes
      responses:
        '200':
          description: Ownership types returned successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClassificationList'
components:
  schemas:
    ClassificationList:
      type: object
      properties:
        klasifikacie:
          type: array
          items:
            $ref: '#/components/schemas/ClassificationItem'
    ClassificationItem:
      type: object
      properties:
        kod:
          type: string
          description: Classification code.
        nazov:
          $ref: '#/components/schemas/LocalizedText'
    LocalizedText:
      type: object
      description: A text value with localized variants.
      properties:
        sk:
          type: string
          description: Slovak label.
        en:
          type: string
          description: English label.

````