65 lines
1.3 KiB
JSON
65 lines
1.3 KiB
JSON
|
|
{
|
||
|
|
"domains": [
|
||
|
|
{
|
||
|
|
"name": "address",
|
||
|
|
"description": "collection of addresses",
|
||
|
|
"key_field": {
|
||
|
|
"name": "id"
|
||
|
|
},
|
||
|
|
"data_fields": [
|
||
|
|
{
|
||
|
|
"name": "city",
|
||
|
|
"description": "the name of the city",
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string_medium"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "zip",
|
||
|
|
"description": "the postal code",
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string_medium"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "street",
|
||
|
|
"description": "the name of the street and the house number",
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string_medium"
|
||
|
|
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "person",
|
||
|
|
"description": "collection of contacts",
|
||
|
|
"key_field": null,
|
||
|
|
"data_fields": [
|
||
|
|
{
|
||
|
|
"name": "prename",
|
||
|
|
"description": "first name of the person",
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string_medium"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "surname",
|
||
|
|
"description": "last name of the person",
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string_medium"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "address_id",
|
||
|
|
"description": "reference to the associated address dataset",
|
||
|
|
"nullable": false,
|
||
|
|
"type": "integer"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "email_address",
|
||
|
|
"description": "optional eMail address",
|
||
|
|
"nullable": true,
|
||
|
|
"type": "string_medium",
|
||
|
|
"default": null
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|