Language-Independent Types for YAML™ Version 1.1

Last Updated On 2005-01-18

This document may be freely copied provided it is not modified.

1. Introduction

The following is the list of language-independent YAML tags defined under the domain yaml.org. The use of these tags is not mandatory. However these tags represent types that are useful across a wide range of applications and it is strongly recommended they be used whenever appropriate to promote interoperability.

New language-independent tags may be proposed on the yaml-core mailing list. This mailing list is also the forum for raising any question regarding these types.

2. Collection Types

!!map html pdf ps

Unordered set of key: value pairs without duplicates.

!!omap html pdf ps

Ordered sequence of key: value pairs without duplicates.

!!pairs html pdf ps

Ordered sequence of key: value pairs allowing duplicates.

!!set html pdf ps

Unordered set of non-equal values.

!!seq html pdf ps

Sequence of arbitrary values.

3. Scalar Types

!!binary html pdf ps

A sequence of zero or more octets (8 bit values).

!!bool html pdf ps

Mathematical Booleans.

!!float html pdf ps

Floating-point approximation to real numbers.

!!int html pdf ps

Mathematical integers.

!!merge html pdf ps

Specify one or more mappings to be merged with the current one.

!!null html pdf ps

Devoid of value.

!!str html pdf ps

A sequence of zero or more Unicode characters.

!!timestamp html pdf ps

A point in time.

!!value html pdf ps

Specify the default value of a mapping.

!!yaml html pdf ps

Keys for encoding YAML in YAML.