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 |
| text/plain (string) | text |
Single-line text |
| text/plain (normalizedString) | text |
Formatted text |
| application/vnd.vizrt.richtext+xml | XML (accepts plain text if unformatted) |
Boolean |
| text/plain (boolean) | text ( |
Integer |
| text/plain (integer) | text (for example, |
Decimal |
| text/plain (decimal) | text using period as decimal point (for example, |
Date and time |
| text/plain (dateTime) | text (for example, |
Date |
| text/plain (date) | text (for example, |
Two numbers (duplet) |
| application/vnd.vizrt.duplet | text containing two decimal numbers separated by a space (for example, |
Three numbers (triplet) |
| application/vnd.vizrt.triplet | text containing three decimal numbers separated by spaces (for example, |
Image |
| application/atom+xml; | The image path on GH (for example, |
Geometry |
| application/vnd.vizrt.viz.geom | The geometry path on GH (for example, |
Material |
| application/vnd.vizrt.viz.material | The material path on GH (for example, |
Map |
| application/vnd.vizrt.curious.map | Proprietary format |
Color |
| text/vnd.vizrt.color | text (for example, #140E7E or rgba(255, 0, 0, 1)). |