# ApiRootFolder

**ApiRootFolder** - a root node of the API description subnode. Just like the [Project](https://docs.testmace.com/master/node-types/project) node, it is a root element, and in the subnode there can be only one element of this type. It is functionally identical to an [ApiFolder](https://docs.testmace.com/master/node-types/api-description/apifolder) node.

You can create this node by:

* Adding it from the [Project](https://docs.testmace.com/master/node-types/project) node context menu;
* Using import from API description format.

### File Representation

A **ApiRootFolder** node is a folder with the node name, containing the index.yml file with the following format:

```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#"
}
```
