# Structure

### Шаблон Structure List <a href="#list" id="list"></a>

Массив элементов.

```markup
<Structure Type="List">
  <Item></Item>
  <Item></Item>
  <Item></Item>
</Structure>
```

### Шаблон Structure Table <a href="#table" id="table"></a>

Матрица элементов, выстроенная по принципу таблицы: состоит из строк, которые состоят из определенного количества значений, соответствующих столбцам.

Количество элементов в каждой строке должно быть одинаковым.

```markup
<Structure Type="Table">
  <Row>
    <Item></Item>
    <Item></Item>
  </Row>
  <Row>
    <Item></Item>
    <Item></Item>
  </Row>
</Structure>
```

### Шаблон Structure DataTable <a href="#data_table" id="data_table"></a>

Похожа на Table, только столбцы имеют имена и каждая строка может содержать значений только из определенных столбцов (каких именно - указывается в атрибуте `Name` тэга `<Column>`).

```markup
<Structure Type="DataTable">
  <Row>
    <Column Name=""></Column>
    <Column Name=""></Column>
  </Row>
  <Row>
    <Column Name=""></Column>
    <Column Name=""></Column>
  </Row>
</Structure>
```

### Шаблон Structure Dictionary <a href="#dictionary" id="dictionary"></a>

Словарь соответствий "Ключ" - "Значение".

```markup
<Structure Type="Dictionary">
  <Key Name=""></Key>
  <Key Name=""></Key>
</Structure>
```


---

# 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://wfsys.gitbook.io/workflow-forms-syntax/workflow_forms/values/structure.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.
