> For the complete documentation index, see [llms.txt](https://docs-ru.testmace.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-ru.testmace.com/0.0.1-beta.14/node-types/api-description/apirootfolder.md).

# ApiRootFolder

**ApiRootFolder** - это корневой узел поддерева описания API. Он, по аналогии с [Project](/0.0.1-beta.14/node-types/project.md) узлом, является корневым элементом, и в пределах поддерева описания API может быть может быть только один элемент данного типа. В остальном повторяет функционал [ApiFolder](/0.0.1-beta.14/node-types/api-description/apifolder.md) узла.

Создать данный узел можно одним из следующих способов

* Из контекстного меню [Project](/0.0.1-beta.14/node-types/project.md) узла
* Воспользовавшись импортом из форматов описания API

### Файловое представление

**ApiRootFolder** узел представляет из себя папку с названием узла, внутри которой содержится файл index.yml, имеющий следующий формат:

```javascript
{
  "type": "object",
  "properties": {
    "type": {
      "description": "Type of ApiRootFolder node",
      "const": "ApiRootFolder",
      "type": "string"
    },
    "children": {
      "description": "List of children names",
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": []
    },
    "variables": {
      "$ref": "#/definitions/NodeVariables",
      "description": "Node variables dictionary"
    },
    "name": {
      "description": "Node name",
      "type": "string"
    }
  },
  "required": [
    "children",
    "name",
    "type",
    "variables"
  ],
  "definitions": {
    "NodeVariables": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```
