ThingWorx WebSocket-based Edge MicroServer (WS EMS) and Lua Script Resource (LSR) > Additional Configuration of WS EMS > Viewing All Configuration Options > ThingWorx Base Types
  
ThingWorx Base Types
The following table lists and briefly describes the ThingWorx Base Types:
ThingWorx Base Types
Type Name
Description
BASETYPENAME
A valid name of a Base Type.
BOOLEAN
True or false values only
BLOB
A Binary Large Object.
DASHBOARDNAME
The name of a dashboard.
DATASHAPENAME
A reference to a data shape in a model, and therefore has special handling.
DATETIME
Date and time value
GROUPNAME
ThingWorx Group Name
GUID
Globally Unique IDentifier.
* 
If using GUID as the Base Type, it is recommended to set the GUID value. Do not leave blank (default).
HTML
HTML value
HYPERLINK
Hyperlink value
IMAGE
Image Value
IMAGELINK
Image link value
INFOTABLE
ThingWorx data structure used to define the results of a service or a set of properties for a thing
INTEGER
32–bit integer value
JSON
JSON structure
LOCATION
ThingWorx Location structure
LONG
The LONG type should be used when a range longer than the INTEGER base type provides is required.
MASHUPNAME
ThingWorx Mashup name
MENUNAME
ThingWorx Menu name
NOTHING
No type (used for services to define void result)
NUMBER
Double-precision value
PASSWORD
A masked password value.
QUERY
ThingWorx Query structure
SCHEDULE
A CRON-based schedule (in ThingWorx Composer, can b e configured using the Schedule Editor).
STRING
Any amount of alphanumeric characters.
TAGs
ThingWorx tag valaues.
TEXT
Any amount of alphanumeric characters. The difference with strings is that TEXT is indexed.
THINGCODE
A numerical representation of a thing containing a DomainID and InstanceID. For example: 2:1.
THINGNAME
A reference to a thing and therefore has special handling.
THINGSHAPENAME
A reference to a thing shape in the model, and therefore has special handling.
THINGTEMPLATENAME
The name of a thing template.
USERNAME
A reference to a ThingWorx user defined in the system. In general to avoid issues with REST APIs, do not use the colon (:) character in user names.
VEC2
A collection of two numbers. For example, 2D coordinates, x and y.
VEC3
A collection of three numbers. For example, 3D coordinates, x, y, and z.
VEC4
A collection of four numbers. For example, 4D coordinates, x, y, z, and w.
XML
An XML snippet or document.