INPUT_OBJECT
LocationPreferenceDataInput
The location preference data. This input type combines both the geojson and postal_code data.
link GraphQL Schema definition
- input LocationPreferenceDataInput {
- # When the location preference `type` is `geojson`, use coordinates to represent
- # the coordinates of a Polygon.
- : [[GeoInput!]!]
- # When the location preference `type` is `postal_codes`, country represents the
- # country where the postal codes exist.
- : CountryCode
- # When the location preference `type` is `postal_codes`, this is the list of the
- # postal codes.
- : [String!]
- # When the location preference `type` is `geojson`, use `type` to defined the
- # geometry of the Geojson object. Currently we support only `Polygon`. See
- # https://geojson.org/ for more information.
- : LocationPreferenceDataType
- }