---
schema_version: "1"
id: f643b8456f97b3f07213270a2a33ad40f55260c8f9c135a85aa1e04dbbaa04d8
title: Types Types (dw::core::Types)
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.11/dw-types-types.md
canonical_url: https://docs.mulesoft.com/dataweave/2.11/dw-types-types
source_site: docs.mulesoft.com
content_type: documentation
content_hash: a5dfa3d1f459bb6f24095af56da4bb795dc81945d8a8e0fba57c36dd4d0c89e7
description: MuleSoft Documentation Site
release: "2.11"
latest: false
---
---
product: DataWeave
version: 2.11
---

# Types Types (dw::core::Types)

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

<table><colgroup><col> <col> <col></colgroup><thead><tr><th>Type</th><th>Definition</th><th>Description</th></tr></thead><tbody><tr><td><p>Attribute</p></td><td><div><div><p><code>type Attribute = { name: QName, required: Boolean, value: Type }</code></p></div></div></td><td><div><div><p>Represents an Attribute definition that is part of an Object field Key.</p></div><div><p><em>Introduced in DataWeave version 2.3.0.</em></p></div></div></td></tr><tr><td><p>Field</p></td><td><div><div><p><code>type Field = { key: { name: QName, attributes: Array&lt;Attribute&gt; }, required: Boolean, repeated: Boolean, value: Type }</code></p></div></div></td><td><div><div><p>Represents a Field description that is part of an Object.</p></div><div><p><em>Introduced in DataWeave version 2.3.0.</em></p></div></div></td></tr><tr><td><p>FunctionParam</p></td><td><div><div><p><code>type FunctionParam = { paramType: Type, optional: Boolean }</code></p></div></div></td><td><div><div><p>Represents a Function parameter that is part of a Function type.</p></div><div><p><em>Introduced in DataWeave version 2.3.0.</em></p></div></div></td></tr><tr><td><p>QName</p></td><td><div><div><p><code>type QName = { localName: String, namespace: Namespace | Null }</code></p></div></div></td><td><div><div><p>Represents a Qualified Name definition with a <code>localName</code> (a string) and a <code>namespace</code>. If the QName does not have a Namespace, its value is <code>null</code>.</p></div><div><p><em>Introduced in DataWeave version 2.3.0.</em></p></div></div></td></tr></tbody></table>
