GraphQL - Scalars

ActivityStreamsPayload

Represents ActivityPayload objects

Any

Could be any of String Number Object Date and so on. Anytype

Boolean

Represents `true` or `false` values.

CssColor

Color can be represented by: hex - "#000000", name - "red", rgba - "rgba(0,0,0,0.5)", hsla - "hsla(0%, 0%, 0%, 50%)"

Float

Represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point).

GeometryJSON

GeometryJSON is a JSON format for encoding a variety of geographic data structures. It supports the following geometry types: Point [long, lan], LineString [[long, lan], [long, lan]], Polygon [[[long, lan], [long, lan]]] and MultiPoint [[long, lan], [long, lan]]. Point example: {"type": "Point", "coordinates": [100.0, 0.0]}, Polygon exaple: {"type": "Polygon", "coordinates": [[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]]]}. More information: https://tools.ietf.org/html/rfc7946

HashObject

Represents data as a collection of unique keys and their values. Also known as associative arrays, maps or dictionaries. You can create it in liquid by converting JSON object with parse_json filter or tag. It can be any level deep.

HeadersObject

Represents data defined by platformOS stored in context.headers variable.

ID

Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"VXNlci0xMA=="`) or integer (such as `4`) input value will be accepted as an ID.

ISO8601DateTime

An ISO 8601-encoded datetime

ImageBlur

ImageQuality

Defines the quality of the image, 0 - lowest quality, 100 - highest quality

Int

Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

JSONDate

Represents Date and time data expressed according to ISO 8601 format to which values are automatically converted.

JSONPayload

Represents data structures formatted as JSON standard.

LatDegree

Must be within range -90.0..90.0

LngDegree

Must be within range -180.0..180.0

ParamsObject

Represents data defined by platformOS stored in context.params variable.

PropertyName

Model Property Name

String

Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.

Questions?

We are always happy to help with any questions you may have.