EDI Template Data Types
This is a list of the data types available as of EDI version 1.0.
Data Type | Description | Default rendering |
---|---|---|
string | Short string type. | <input type="text" /> |
text | Long string type | <textarea /> |
int | Integer | <input type="number" /> |
real | Real number | <input type="number" /> |
date | Date | <input type="text" /> embedded in Bootstrap datepicker |
dateRange | Date Range: start and end date controls are generated automatically as date pickers | Pair of <input type="text" /> embedded in Bootstrap datepicker |
autoCompletion | Text box with auto completion based on a SPARQL query. Parameter is represented by a $search_param token in the query. | <input type="text" class="autocomplete" /> |
URN | A string representing a URN | <input type="text" /> |
URI | A string representing a URI | <input type="text" /> |
boundingBox | Four text boxes representing a bounding box. | 4x<input type="text" /> |
ref | An item referring to the value stored at a different path (referring path must be declared AFTER the path it refers to, but it can refer to paths outside current element's scope). This type implies isFixed="true". | <input type="hidden" /> |
dependent | An item running a SPARQL query depending from the current value of an autoCompletion item (inside the same element). | <input type="text" /> |