JSON Schema Component Mapping
Estimated Reading Time: 1 minute
Overview
When you upload JSON JSON (JavaScript Object Notation) is an open standard file and data interchange format. Unqork uses JSON for submission (record) data. Schemas to your workspace, it's important to understand the JSON Schema component mapping. After you upload your schemas, the Data Model creates a relationship between your schema and module(s). That way, the schemas map to components you can add to your modules. For example, the JSON Schema data type added to a Text Field component is a string. By uploading a JSON Schema with type: "string", your Unqork schema now maps to a Text Field component.
What You'll Learn
In this
Component Mapping
You can map your JSON Schemas to several components in Unqork. Then, you can add those components to your module. It's important to note that many settings become disabled after mapping JSON Schemas to component.
If your schema field has no value, the database saves the default value defined by the JSON Schema.
Here's each data type, sub type, and component you can map:
Data Type | Sub Type | Component |
---|---|---|
string |
default |
|
string |
enumerations |
|
string |
date |
|
string |
date-time |
|
string |
|
|
string |
idn-email |
|
string |
other |
|
number |
default |
|
number |
enumerations |
|
integer |
default |
|
Boolean |
default |
|
array |
default |
|
array |
string, enumerations |
|
array |
mixed |
|
object |
default |
Resources