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

JSON-encoded field for 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%.

Upload

A scalar representing a multipart form file upload.

Can be used as an argument to upload files using https://github.com/jaydenseric/graphql-multipart-request-spec

URL

A scalar for representing a URL.

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