Table
Tables are a special type of data structure. A table defines its structure based on its expected type.
For example, the data field schema:contactPoints defines an expected type of schema:ContactPoint.
This means that the table will only store data in the format of schema:ContactPoint.
Structure
Based on the expected type
schema:ContactPoint, the table structure
would be as followed:
[
{
"schema:name": [
{
"lang": "de-DE",
"value": "Beispieltext"
}
],
"schema:contactType": [
"venus:organizer"
],
"schema:address": {
"street": "Example 10",
"postalCode": "12345",
"addressLocality": "Example",
"country": "de"
},
"schema:telephone": "+49 123 4567890"
},
...
]
Each data field with the Type Table can have multiple entries, allowing for multiple contact points or other structured data.
Example
{
"types": [
"schema:Organization"
],
"content": {
"schema:name": [
{
"lang": "de-DE",
"value": "Beispielorganisation"
}
],
"schema:contactPoints": [
{
"schema:name": [
{
"lang": "de-DE",
"value": "Beispieltext"
}
],
"schema:contactType": [
"venus:organizer"
],
"schema:address": {
"street": "Example 10",
"postalCode": "12345",
"addressLocality": "Example",
"country": "de"
},
"schema:telephone": "+49 123 4567890"
}
]
}
}