Scalars

Scalar types are types that represent a single piece of data, such as an email address or E.164 formatted phone number.

Date

Date formatted as Y-m-d (2019-12-31)

DateTime

Date formatted as YYYY-MM-DDTHH:mm:ss.SSSSSSZ (2022-10-30T23:00:00.000000Z)

Decimal

A scalar for representing a decimal value.

It is always limited to a maximum of 2 decimal points.

Dictionary

A JSON-encoded field for an associative array.

E164PhoneNumber

A scalar for representing an E.164 phone number.

Email

A scalar for representing an email address.

If a field has Email as it’s type, it will always be a valid email address.

Percentage

The Percentage scalar type represents a percentage.

StrictPercentage

The StrictPercentage scalar type represents a percentage that cannot be less than 0% or greater than 100%.

Time

A time formatted as H:i (12:34).

Time using this type is always in 24-hour format.

Upload

A scalar representing a multipart form file upload.

Can be used as an argument to upload files using the GraphQL multipart request specification.

URL

A scalar for representing a URL.

If a field has URL as it’s type, it will always be a valid URL.