Skip to content

Commit c386ecf

Browse files
committed
Fix table
1 parent 9732915 commit c386ecf

File tree

1 file changed

+35
-34
lines changed
  • src/app/docs/document-ui-sdk-data-types

1 file changed

+35
-34
lines changed

src/app/docs/document-ui-sdk-data-types/page.md

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -25,63 +25,64 @@ Take a look at the [**Document UI SDK Playground**](https://documents-ui-playgro
2525

2626
The table below lists the basic data types supported and their specifications.
2727

28-
**Data type**
28+
{% table %}
2929

30-
**Declaration**
30+
- **Data type**
31+
- **Declaration**
32+
- **Example**
3133

32-
**Example**
33-
34-
Boolean
35-
36-
`"xsd:boolean"`
37-
38-
`"active": "xsd:boolean"`
39-
40-
Decimal
41-
42-
`"xsd:decimal"`
43-
44-
`"age": "xsd:decimal"`
45-
46-
Enum
34+
---
4735

48-
`"@type: "Enum"`
36+
- Boolean
37+
- `"xsd:boolean"`
38+
- `"active": "xsd:boolean"`
4939

50-
`"@values": ["red", "blue", "yellow", "green"]`
40+
---
5141

52-
Integer
42+
- Decimal
43+
- `"xsd:decimal"`
44+
- `"age": "xsd:decimal"`
5345

54-
`"xsd:integer"`
46+
---
5547

56-
`"age": "xsd:integer"`
48+
- Enum
49+
- `"@type: "Enum"`
50+
- `"@values": ["red", "blue", "yellow", "green"]`
5751

58-
Decimal
52+
---
5953

60-
`"xsd:decimal"`
54+
- Integer
55+
- `"xsd:integer"`
56+
- `"age": "xsd:integer"`
6157

62-
`"age": "xsd:decimal"`
58+
---
6359

64-
String
60+
- Decimal
61+
- `"xsd:decimal"`
62+
- `"age": "xsd:decimal"`
6563

66-
`"xsd:string"`
64+
---
6765

68-
`"name": "xsd:string"`
66+
- String
67+
- `"xsd:string"`
68+
- `"name": "xsd:string"`
6969

70-
Temporal
70+
---
7171

72-
`"xsd:dateTime"`
72+
- Temporal
73+
- `"xsd:dateTime"`
74+
- `"DOB": "xsd:dateTime"`
7375

74-
`"DOB": "xsd:dateTime"`
76+
{% /table %}
7577

7678
### Data value optionality
7779

7880
If a property in the Form is displayed with a (Required) tab, that means the property is mandatory & has to be filled in order to submit the form. To define a property as optional, use the `"@type": "Optional"` declaration meaning the property is optional.
7981

8082
A property can also be defined as an array in the following ways -
8183

82-
`"@type": "Set"` - property can hold multiple values in an unordered fashion & can be optional
83-
84-
`"@type": "List"` - property can hold multiple values in an ordered fashion & requires at least one entry
84+
* `"@type": "Set"` - property can hold multiple values in an unordered fashion & can be optional
85+
* `"@type": "List"` - property can hold multiple values in an ordered fashion & requires at least one entry
8586

8687
### An example of all basic types
8788

0 commit comments

Comments
 (0)