Data Type XML format
Overview
Stored in types/{type.Id}.xml within the .vdox archive.
This XML format describes an Article Type / Object Type used by the Databinding feature to define structured schemas for shapes on the canvas.
File Structure
The root element is:
ObjectType
The main sections are:
Properties— general type metadata (Id,Name)DataProperties— list of property definitions (Propertyelements)
Properties Reference
Type Properties (Properties)
| Property | Type | Description |
|---|---|---|
Id |
string |
Unique identifier (GUID) of the object type |
Name |
string |
Human-readable name of the object type |
Property Definition (DataProperties / Property)
Each Property element defines one field of the data type:
| Property | Type | Description |
|---|---|---|
Uid |
string |
Unique identifier of the property field |
Name |
string |
Field name |
PropertyType |
string |
Field type definition (base type with optional constraints) |
Supported Property Types
The PropertyType value can be one of the following base types, optionally followed by constraint parameters in parentheses:
| Base Type | Description | Constraint Syntax | Example |
|---|---|---|---|
TEXT |
Text string | TEXT(exact) or TEXT(min;max) |
TEXT(50), TEXT(2;100) |
NUM |
Integer number | NUM(max) or NUM(min;max) |
NUM(100), NUM(0;100) |
FLOAT |
Floating-point number | FLOAT(max) or FLOAT(min;max) |
FLOAT(0.0;100.0) |
DATE |
Date value | — | DATE |
BOOL |
Boolean value | — | BOOL |
URL |
Web link / URL | — | URL |
Example
<?xml version="1.0" encoding="utf-8"?>
<ObjectType>
<Properties>
<Prop name="Id" value="2cb9b21f-47b7-4e4c-b65c-e905168c9e8a" />
<Prop name="Name" value="AzureFunc" />
</Properties>
<DataProperties>
<Property>
<Prop name="Uid" value="f8c48973-24bc-4a46-8a74-f0ab7820e908" />
<Prop name="Name" value="Name" />
<Prop name="PropertyType" value="TEXT(50)" />
</Property>
<Property>
<Prop name="Uid" value="23bdbfc6-1a5e-463f-bffd-3e8dad53150f" />
<Prop name="Name" value="Method" />
<Prop name="PropertyType" value="TEXT" />
</Property>
<Property>
<Prop name="Uid" value="a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d" />
<Prop name="Name" value="TimeoutSeconds" />
<Prop name="PropertyType" value="NUM(1;300)" />
</Property>
</DataProperties>
</ObjectType>