---
schema_version: "1"
id: 6efdec990c8bebfaf49b46828776a65014c7a31230dbf4116cb21cbdba8d6333
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.3/dw-types-types.md
canonical_url: https://docs.mulesoft.com/dataweave/2.3/dw-types-types
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 89bbe1e2739e0072fa47e5cc29bfc1e5a0fe3c8009e2f9e58c79d75025e0f159
description: MuleSoft Documentation Site
release: "2.3"
latest: false
---
---
product: DataWeave
version: 2.3
---

# 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><p><code>type Attribute = { name: QName, required: Boolean, value: Type }</code></p></td><td><p>Represents an Attribute definition that is part of an Object field Key.</p></td></tr><tr><td><p>Field</p></td><td><p><code>type Field = { key: { name: QName, attributes: Array&lt;Attribute&gt; }, required: Boolean, repeated: Boolean, value: Type }</code></p></td><td><p>Represents a Field description that is part of an Object.</p></td></tr><tr><td><p>FunctionParam</p></td><td><p><code>type FunctionParam = { paramType: Type, optional: Boolean }</code></p></td><td><p>Represents a Function parameter that is part of a Function type.</p></td></tr><tr><td><p>QName</p></td><td><p><code>type QName = { localName: String, namespace: Namespace | Null }</code></p></td><td><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></td></tr></tbody></table>
