---
title: "Well-known types"
description: "Discover the built-in custom types."
url: https://docs.icerpc.dev/slice/language-guide/well-known-types
docs_index: https://docs.icerpc.dev/llms.txt
---

> For an index of every page, see [llms.txt](https://docs.icerpc.dev/llms.txt).

# Well-known types

Discover the built-in custom types.

A well-known type is a [custom type](https://docs.icerpc.dev/slice/language-guide/custom-types.md) provided by Slice in all programming languages. All well-known types are defined in module `WellKnownTypes`:

- [Duration](https://github.com/icerpc/icerpc-slice/blob/main/WellKnownTypes/Duration.slice)  
  A length of time, encoded as a varint62 (precision = 100 nanoseconds).
- [TimeStamp](https://github.com/icerpc/icerpc-slice/blob/main/WellKnownTypes/TimeStamp.slice)  
  A specific point in time, encoded as an int64.
- [Uri](https://github.com/icerpc/icerpc-slice/blob/main/WellKnownTypes/Uri.slice)  
  A Uniform Resource Identifier ([URI](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier)), encoded as a string.
- [Uuid](https://github.com/icerpc/icerpc-slice/blob/main/WellKnownTypes/Uuid.slice)  
  A Universally Unique Identifier ([UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier)), encoded as 16 bytes in the network byte order specified by [RFC 9562](https://www.rfc-editor.org/rfc/rfc9562#section-4).
