> ## Documentation Index
> Fetch the complete documentation index at: https://developers.askparable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Field types

> Parable scalars by namespaced name, and how each one looks on the wire.

Workspace API fields use **scalars**, not bare `string` or `number`. Each
scalar name has a namespace: `Identity.UUID`, `Contact.Email`,
`Temporal.DateTime`. If you send a value in the wrong shape, the request
fails with a `400` and changes nothing.

The [API reference](https://developers.askparable.com/api-reference/overview.md) shows the pattern, the length
limits, and the description that each field gets from its scalar. The
[SDKs](https://developers.askparable.com/platform/sdks.md) check the same rules before they send a request.
Catalog responses use the same names: `scalarRef` in the data catalog and
`parableScalar` in table shape statistics.

The examples below show the canonical form. Many scalars accept other
spellings and change them to the canonical form.

## Artifact and Asset

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `Artifact.File` | object | `{"mimeType":"text/csv","size":204800,"filename":"export.csv"}` | Also has a `gcsPath` storage URI. |
| `Asset.File` | object | `{"url":"https://cdn.example.com/file.pdf","mimeType":"application/pdf","size":204800,"filename":"document.pdf"}` | File metadata. `assetId` is optional. |
| `Asset.FilePath` | string | `exports/q1/report.csv` | A file system path. At least 1 character. |
| `Asset.Image` | object | `{"url":"https://cdn.example.com/img.jpg","mimeType":"image/jpeg","size":102400,"width":800,"height":600,"filename":"photo.jpg"}` | Image metadata, with the size in pixels. |
| `Asset.LogoImage` | object | Same as `Asset.Image`, plus `"hasTransparency":true` | A PNG logo with transparency. |

## Auth

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `Auth.JWT` | string | `eyJhbGc.cGF5bG9hZA.SflKxwRJ` | Three base64url segments, separated by `.`. |
| `Auth.Password` | string | `hunter2!` | 8 to 128 characters. |

## Connector and Tap

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `Connector.Slug` | string | `github` | The ID of a Provider Plugin. 1 to 32 characters. `^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$`. Reserved: `identity`, `artifacts`. |
| `Tap.Identifier` | string | `group_members` | The name of a Tap. 1 to 80 characters. `^[a-z][a-z0-9_]*$`. On the way in, hyphens become `_` and letters become lowercase. |

## Contact

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `Contact.Email` | string | `user@example.com` | Trimmed and lowercased. At most 255 characters. |
| `Contact.PhoneNumber` | string | `+14155552671` | E.164: `+`, then 2 to 15 digits. The first digit is not `0`. At most 16 characters. |

## Crypto

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `Crypto.RSAPublicKey` | string | PEM block | `-----BEGIN PUBLIC KEY-----` ... `-----END PUBLIC KEY-----`. |
| `Crypto.RSAPrivateKey` | string | PEM block | `-----BEGIN RSA PRIVATE KEY-----` or `-----BEGIN PRIVATE KEY-----`. Do not log it. |
| `Crypto.SHA256` | string | `0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef` | Lowercase hex. Exactly 64 characters. |

## Design

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `Design.Color` | string | `#FF5733FF` | 8-digit RGBA hex. `#F00`, `#FF5733`, and CSS color names such as `red` change to this form. |

## Embedding

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `Embedding.Vector` | array | `[0.1, 0.2, 0.3]` | A float32 vector with a fixed number of dimensions. |

## File

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `File.SizeBytes` | integer | `204800` | A byte count. 0 to 9007199254740991. |

## Finance

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `Finance.Money` | integer | `1000` | An amount in the smallest currency unit, such as cents for USD. Not an object. Not negative. |

## Generic

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `Generic.Int64` | integer | `1000` | A signed integer from -9007199254740991 to 9007199254740991, the JavaScript safe-integer range. |
| `Generic.JSON` | JSON | `{"k": 1}` | Any JSON value: an object, an array, a string, a number, a boolean, or `null`. |
| `Generic.Probability` | number | `0.75` | From `0.0` to `1.0`, both included. |
| `Generic.StringMap` | object | `{"a": "b"}` | String keys and string values. |

## Geo

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `Geo.Location` | object | `{"lat": 37.7749, "lon": -122.4194}` | Latitude and longitude. The string `"37.7749,-122.4194"` is also accepted and changes to the object. |

## Identity

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `Identity.UUID` | string | `YQJpYwUwvbaLOwTUr4thA` | Base62 form. A hyphenated UUID, such as `123e4567-e89b-12d3-a456-426614174000`, is also accepted and changes to base62. |
| `Identity.UserID` | string | `YQJpYwUwvbaLOwTUr4thA` | Base62 form only. |
| `Identity.Signer` | string | `YQJpYwUwvbaLOwTUr4thA` | The person who first saved a row, in the form of `Identity.UserID`. The server sets it. |
| `Identity.Recipient` | string | `YQJpYwUwvbaLOwTUr4thA` | A person a saved row is for, in the form of `Identity.UserID`. A row that lists people in this type shows only to the person who signed it and the people it names. |
| `Identity.Slug` | string | `acme-corp` | A URL-friendly name. 1 to 255 characters. `^[a-z0-9]+(?:[-_][a-z0-9]+)*$`. |
| `Identity.Name` | string | `Jordan Rivera` | A display name. 2 to 80 characters. |

All IDs use the same UUID family. When you send an ID back, send the base62
value that the API gave you.

## Localization

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `Localization.Locale` | string | `en-US` | A language tag in a narrow BCP 47 form: 2 or 3 lowercase letters, then an optional 4-letter script that starts with a capital, then an optional 2-letter uppercase region. `en`, `en-US`, and `zh-Hant-TW` pass. `en-us` and `es-419` fail. The case is not changed for you. At most 35 characters. |

## Network

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `Network.Url` | string | `https://api.github.com` | An `http` or `https` URL. At most 2048 characters. |
| `Network.Uri` | string | `postgres://user:pass@db.example.com:5432/dbname` | An RFC 3986 URI, for connection strings and other non-HTTP resources. At most 4096 characters. |
| `Network.DomainName` | string | `example.com` | An RFC 1035 domain name. At most 255 characters. |
| `Network.IpAddress` | string | `192.168.1.1` | An IPv4 or IPv6 address. At most 45 characters. |

## Parable

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `Parable.Slug` | string | `acme-corp` | A Workspace slug, as in the `X-Tenant` header. 1 to 17 characters: lowercase letters, digits, and single hyphens. Reserved: `parable`, `admin`, `trust`, `cdn`, `app`, `mcp`, `api`. |
| `Parable.CatalogSlug` | string | `q1_sales` | A fixed segment of a data catalog name, such as a Parable and a Plot in `parables.{parable}.{plot}`, or the namespace and name of a published table. Lowercase letters and digits in words joined by single `_`. Starts with a letter. 1 to 255 characters. |
| `Parable.Handle` | string | `revenueForecast` | The changeable name of a Parable or a Piece. camelCase that starts with a lowercase letter. 1 to 200 characters. Links use the stable ID, not the Handle. |
| `Parable.Permission` | string | `tenant.user.view` | A permission name: lowercase segments separated by `.`. At most 255 characters. |
| `Parable.ErrorCode` | string | `ERR_NOT_FOUND` | `^[A-Z_][A-Z0-9_]*$`. At most 50 characters. |
| `Parable.Scalar` | string | `Identity.UUID` | The canonical name of a scalar on this page. |
| `Parable.Primitive` | string | `Int` | The basic kind of a column or value: `String`, `Int`, `Float`, `Bool`, or `Type`. Plot data columns and Pool columns name it. |
| `Parable.Schema` | object | `{"a": 1}` | A Parable schema document. |
| `Parable.SchemaData` | object | `{"x": 1}` | Data that conforms to a Parable schema. |
| `Parable.LtreePath` | string | `reports.q1.draft` | Path labels separated by `.`. At most 2048 characters. |
| `Parable.Icon` | string | `fa:classic:regular-outline:circle-check` | `fa:pack:weight-fill:name`, `emoji:...`, or `image:...`. An `fa:` icon can end with a color, such as `@#1a73e8`. |
| `Parable.Subject` | string | `3Nf1G21twtFtdkF34X51Qv/patch/5RZDHZdmTPY6B7wHVdMv9j@3` | A Parable and one target in it. The forms follow this table. |

A `Parable.Subject` names a Parable and one target in it. Write each id in
base62 with no leading zero, as the API writes ids.

| Form | Names |
| - | - |
| `<Parable id>/patch/<Patch id>@<revision>` | A Patch at the revision that Propose sealed. |
| `<Parable id>/release/<Release id>` | A Release. |
| `<Parable id>/refresh/<Refresh id>` | A Refresh. |
| One of the forms above, then `/piece/<Piece id>` | One Piece at that target. |

The revision of a Patch stays the same when another Patch publishes and
moves this Patch onto the new Release. It changes each time the Patch is
proposed again, for example after the person who started the Patch edits
it. The revision is a
positive integer with no leading zero, so each subject has one spelling.

`Parable.Permission` values keep the `tenant.` prefix. In a permission name,
`tenant` means the Workspace.

## Temporal

A count scalar, such as `Temporal.Minutes`, is an amount of elapsed time,
never a point in time. A point in time is always a `Temporal.DateTime`.

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `Temporal.DateTime` | string | `2026-08-19T14:30:00Z` | An RFC 3339 or ISO 8601 timestamp. The API returns it in RFC 3339 form. |
| `Temporal.Date` | string | `2025-01-15` | A calendar date, `YYYY-MM-DD`. Slash dates, named months, and RFC 3339 timestamps change to this form. A timestamp loses its time. |
| `Temporal.Time` | string | `09:30:00` | A time of day, `HH:MM:SS` on a 24-hour clock. `HH:MM` and 12-hour times with AM or PM are also accepted: `1:05pm` changes to `13:05:00`. |
| `Temporal.TimeZone` | string | `America/New_York` | An IANA time zone name: `UTC`, `GMT`, or segments separated by `/`, such as `Etc/GMT+5`. The API checks the shape of the name only. At most 100 characters. |
| `Temporal.Duration` | string | `30s` | A Go duration, such as `1h30m0s` or `500ms`. Not ISO 8601 `PT30S`. At most 32 characters. |
| `Temporal.Milliseconds` | integer | `1000` | A signed count of milliseconds. |
| `Temporal.Seconds` | integer | `60` | A signed count of seconds. |
| `Temporal.Minutes` | integer | `5` | A signed count of minutes. |
| `Temporal.Hours` | integer | `2` | A signed count of hours. |
| `Temporal.Days` | integer | `7` | A signed count of days. Not a calendar date. |
| `Temporal.CronExpression` | string | `0 9 * * MON-FRI` | A standard 5-field cron expression. At most 100 characters. |
| `Temporal.Month` | string | `01` | `01` to `12`. `2`, `Feb`, and `February` change to this form. |
| `Temporal.Quarter` | string | `Q1` | `Q1` to `Q4`. |
| `Temporal.QuarterYear` | string | `2025-Q1` | `YYYY-Q#`. `Q1/2025`, `Q1-2025`, and `Q1-25` change to this form. |
| `Temporal.Year` | string | `2025` | A four-digit year. |

## Text

| Scalar | JSON | Example | Notes |
| - | - | - | - |
| `Text.Title` | string | `Q4 Roadmap.pdf` | A title or a name. Max length 1,024. Accepts the empty string. |
| `Text.Description` | string | `The renewal moves to March.` | A few paragraphs that describe something. Max length 4,096. Accepts the empty string. |
| `Text.Markdown` | string | `## Hello, World!` | Markdown. The empty string is accepted. |
| `Text.Sql` | string | `SELECT 1` | SQL text. At least 1 character. |

## Validation errors

An invalid value fails the whole request with a `400`. The response lists
each field that failed and the rule it broke. The request changes nothing.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.