diff --git a/fern/products/fern-def/pages/types.mdx b/fern/products/fern-def/pages/types.mdx index 894f06b53..3769526f6 100644 --- a/fern/products/fern-def/pages/types.mdx +++ b/fern/products/fern-def/pages/types.mdx @@ -7,22 +7,24 @@ Types describe the data model of your API. ## Built-in types -- `string` -- `integer` -- `long` -- `double` -- `boolean` -- `datetime` _An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/). For example, `2017-07-21T17:32:28Z`._ -- `date` _An RFC 3339, section 5.6 date (YYYY-MM-DD). For example, `2017-07-21`._ -- `uuid` -- `base64` -- `list` _e.g., list\_ -- `set` _e.g., set\_ -- `map` _e.g., map\_ -- `optional` _e.g., optional\_ -- `literal` _e.g., literal\<"Plants"\>_ -- `file` _e.g., [file uploads](/learn/api-definition/fern/endpoints/multipart)_ -- `unknown` _Represents arbitrary JSON._ +| Type | Description | +|------|-------------| +| `string` | Basic string type | +| `integer` | Integer number type | +| `long` | Long integer type | +| `double` | Double precision floating point | +| `boolean` | Boolean true/false | +| `datetime` | An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/). For example, `2017-07-21T17:32:28Z` | +| `date` | An RFC 3339, section 5.6 date (YYYY-MM-DD). For example, `2017-07-21` | +| `uuid` | UUID identifier | +| `base64` | Base64 encoded data | +| `list` | An ordered collection that allows duplicates, e.g., `list` | +| `set` | An unordered collection with unique elements, e.g., `set` | +| `map` | Key-value mapping, e.g., `map` | +| `optional` | Optional value, e.g., `optional` | +| `literal` | Literal value, e.g., `literal<"Plants">` | +| `file` | File upload type, e.g., [file uploads](/learn/api-definition/fern/endpoints/multipart) | +| `unknown` | Represents arbitrary JSON | ## Custom types @@ -276,4 +278,4 @@ interface Person { age: number; } ``` - + \ No newline at end of file