---
title: "Declarations"
slug: "guide/web-service-interfaces/web-service-definition-syntax/declarations"
sidebar:
  order: 92
---

<a id="ref-72bd0acb532b"></a>
<a id="ref-e3e83dd736bd"></a>

## Synopsis

<table aria-label="Synopsis">
<thead><tr><th scope="col">Rule</th><th scope="col">Operator</th><th scope="col">Expression</th></tr></thead>
<tbody>
<tr><th scope="row" id="ref-1bbe5fee092b">Declaration</th><td>::=</td><td><a href="/pCon/configuratorOnline/specs/guide/web-service-interfaces/web-service-definition-syntax/types#ref-00a6112528b8">Type</a> <a href="/pCon/configuratorOnline/specs/guide/web-service-interfaces/web-service-definition-syntax/names#ref-4dea2748bab0">Name</a></td></tr>
</tbody>
</table>

**XSD:**

```xml
<xs:element name="<name>" type="<type>" ... />
```

If Type is a constructed type, the attributes minOccurs="0", maxOccurs="unlimited" and nillable="true" may be added as described in [Constructed Types](/pCon/configuratorOnline/specs/guide/web-service-interfaces/web-service-definition-syntax/types/constructed-types#ref-a6d94635d6aa). Otherwise, they keep their default values of 1, 1 and false.

See also: [Constructed Types](/pCon/configuratorOnline/specs/guide/web-service-interfaces/web-service-definition-syntax/types/constructed-types#ref-a6d94635d6aa)

A declaration declares a new entity (structure field, operation argument) with the given type and name.
