Template Builder User Guide

Version 3.1 | Published June 26, 2024 ©

Overview of Media Types

The following media types are available for single value fields in Template Builder (click the links for W3C definitions):

Type


Media Type (XSD type)

Content of field/value element

Multi-line text

images/download/attachments/125445860/image2017-4-10_12_25_0.png

text/plain (string)

text

Single-line text

images/download/attachments/125445860/image2017-4-10_12_26_41.png

text/plain (normalizedString)

text

Formatted text

images/download/attachments/125445860/image2017-4-10_12_26_41.png

application/vnd.vizrt.richtext+xml

XML (accepts plain text if unformatted)

Boolean

images/download/attachments/125445860/image2017-4-10_13_33_52.png

text/plain (boolean)

text (true or false)

Integer

images/download/attachments/125445860/image2017-4-10_14_24_13.png

text/plain (integer)

text (for example, -42)

Decimal

images/download/attachments/125445860/image2017-4-10_14_24_132.png

text/plain (decimal)

text using period as decimal point (for example, 123.456)

Date and time

images/download/attachments/125445860/image2017-4-11_10_42_59.png

text/plain (dateTime)

text (for example, 2021-04-06T13:35:00Z)

Date

images/download/thumbnails/125445860/image2017-4-11_10_42_59.png

text/plain (date)

text (for example, 2021-04-14)

Two numbers (duplet)

images/download/thumbnails/125445860/image2017-4-11_10_53_53.png

application/vnd.vizrt.duplet

text containing two decimal numbers separated by a space (for example, 0.6 0.8)

Three numbers (triplet)

images/download/thumbnails/125445860/image2017-4-11_11_1_40.png

application/vnd.vizrt.triplet

text containing three decimal numbers separated by spaces (for example, 3 4.5 5)

Image

images/download/attachments/125445860/image2017-4-11_11_9_21.png

application/atom+xml;
type=entry;media=image

The image path on GH (for example, IMAGE*images/flags/denmark)

Geometry

images/download/thumbnails/125445860/image2017-4-11_12_22_42.png

application/vnd.vizrt.viz.geom

The geometry path on GH (for example, GEOM*objects/my-geom)

Material

images/download/thumbnails/125445860/image2017-4-11_12_24_34.png

application/vnd.vizrt.viz.material

The material path on GH (for example, MATERIAL*objects/my-material)

Map

images/download/attachments/125445860/image2017-4-11_12_27_23.png

application/vnd.vizrt.curious.map

Proprietary format

Color

images/download/thumbnails/125445860/Color_Icon_-_previous_gray.jpg

text/vnd.vizrt.color

text (for example, #140E7E or rgba(255, 0, 0, 1)).