# System Objects

### Objects Hierarchy <a href="#h.ggouwc3sh8vi" id="h.ggouwc3sh8vi"></a>

System objects on Oz Forensics products are hierarchically structured as shown in the picture below.

<figure><img src="/files/S5i9qvluN6oOaxZhA57S" alt=""><figcaption></figcaption></figure>

On the top level, there is a **Company**. You can use one copy of Oz API to work with several companies.

The next level is a **User**. A company can contain any amount of users. There are several roles of users with different permissions. For more information, refer to [User Roles](/oz-knowledge/guides/developer-guide/api/oz-api/user-roles.md).

When a user requests an analysis (or analyses), a new **folder** is created. This folder contains **media**. One user can create any number of folders. Each folder can contain any amount of media. A user applies **analyses** to one or more media within a folder. The rules of assigning analyses are described [here](/oz-knowledge/guides/developer-guide/api/oz-api/rules-of-assigning-analyses.md). The media quality requirements are listed on [this page](/oz-knowledge/other/media-quality-requirements.md).

### Object parameters <a href="#h.8qbhvc9qlj0s" id="h.8qbhvc9qlj0s"></a>

#### Common parameters <a href="#h.t7l2z4e3z113" id="h.t7l2z4e3z113"></a>

| Parameter             | Type      | Description                                             |
| --------------------- | --------- | ------------------------------------------------------- |
| time\_created         | Timestamp | Object (except user and company) creation time          |
| time\_updated         | Timestamp | Object (except user and company) update time            |
| meta\_data            | Json      | Any user parameters                                     |
| technical\_meta\_data | Json      | Module-required parameters; reserved for internal needs |

Besides these parameters, each object type has specific ones.

#### Company <a href="#h.n8d1ba6kh8gn" id="h.n8d1ba6kh8gn"></a>

| Parameter   | Type   | Description                    |
| ----------- | ------ | ------------------------------ |
| company\_id | UUID   | Company ID within the system   |
| name        | String | Company name within the system |

#### User <a href="#h.s4vjermbphm2" id="h.s4vjermbphm2"></a>

| Parameter               | Type    | Description                                                                                                    |
| ----------------------- | ------- | -------------------------------------------------------------------------------------------------------------- |
| user\_id                | UUID    | User ID within the system                                                                                      |
| user\_type              | String  | [User roles](/oz-knowledge/guides/developer-guide/api/oz-api/user-roles.md)                                    |
| ​​first\_name           | String  | Name                                                                                                           |
| last\_name              | String  | Surname                                                                                                        |
| middle\_name            | String  | Middle name                                                                                                    |
| email                   | String  | User email = login                                                                                             |
| password                | String  | User password (only required for new users or to change)                                                       |
| can\_start\_analyze\_\* | String  | Depends on [user roles](/oz-knowledge/guides/developer-guide/api/oz-api/user-roles.md)                         |
| company\_id             | UUID    | Current user company’s ID within the system                                                                    |
| is\_admin               | Boolean | ​​Whether this user is an [admin](/oz-knowledge/guides/developer-guide/api/oz-api/user-roles.md) or not        |
| is\_service             | Boolean | ​​Whether this user account is [service](/oz-knowledge/guides/developer-guide/api/oz-api/user-roles.md) or not |

#### Folder <a href="#h.cs9qx3iyult" id="h.cs9qx3iyult"></a>

| Parameter          | Type             | Description                 |
| ------------------ | ---------------- | --------------------------- |
| folder\_id         | UUID             | Folder ID within the system |
| resolution\_status | ResolutionStatus | The latter analysis status  |

#### Media <a href="#h.85wv26msdlji" id="h.85wv26msdlji"></a>

| Parameter      | Type          | Description                                                                                 |
| -------------- | ------------- | ------------------------------------------------------------------------------------------- |
| media\_id      | UUID          | Media ID                                                                                    |
| original\_name | String        | Original filename (how the file was called on the client machine)                           |
| original\_url  | Url           | HTTP link to this file on the API server                                                    |
| tags           | Array(String) | List of [tags](/oz-knowledge/guides/developer-guide/api/oz-api/media-tags.md) for this file |

#### Analysis <a href="#h.pbaoihdesmt6" id="h.pbaoihdesmt6"></a>

| Parameter     | Type   | Description                                |
| ------------- | ------ | ------------------------------------------ |
| analyse\_id   | UUID   | ID of the analysis                         |
| folder\_id    | UUID   | ID of the folder                           |
| type          | String | Analysis type (BIOMETRY\QUALITY\DOCUMENTS) |
| results\_data | JSON   | Results of the analysis                    |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.ozforensics.com/oz-knowledge/guides/developer-guide/api/oz-api/system-objects.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
