Domain Data

All records and reverse records allow for storing arbitrary information in the "data" map:

CameLIGO
Michelson
CameLIGO
type data_map = (string, bytes) map
Michelson
map %data string bytes

All entries have:

  • A key that should have a unique meaning. There is a set of reserved keys for typical use, but users are free to create new keys.

  • A value which must be represented in JSON (RFC 8259) and encoded in UTF-8.

Reserved Keys

Tezos Domains

All keys with the prefix td: are reserved for Tezos Domains-related metadata. We currently recognize:

Key

Meaning

Type

Example

td:ttl

The time-to-live of the record (in seconds). If defined, it specifies the maximum time the record should be stored in caches and other secondary-storage mechanisms.

number

600

OpenID

The prefix openid: is reserved for OpenID claims. The values have their respective meanings according to the OpenID spec. The value types specified in the OpenID spec must be adhered to.

Key

Meaning

Type

Example

openid:<claim>

(e.g. openid:name)

Any OpenID claim‚Äč

see OpenID spec

"Alice Smith"