Contact Us 1-800-596-4880

Types Types (dw::core::Types)

Type Definition Description

Attribute

type Attribute = { name: QName, required: Boolean, value: Type }

Represents an Attribute definition that is part of an Object field Key.

Introduced in DataWeave version 2.3.0.

Field

type Field = { key: { name: QName, attributes: Array<Attribute> }, required: Boolean, repeated: Boolean, value: Type }

Represents a Field description that is part of an Object.

Introduced in DataWeave version 2.3.0.

FunctionParam

type FunctionParam = { paramType: Type, optional: Boolean }

Represents a Function parameter that is part of a Function type.

Introduced in DataWeave version 2.3.0.

QName

type QName = { localName: String, namespace: Namespace | Null }

Represents a Qualified Name definition with a localName (a string) and a namespace. If the QName does not have a Namespace, its value is null.

Introduced in DataWeave version 2.3.0.