@windingtree/wt-write-api
Version:
API to write data to the Winding Tree platform
53 lines • 1.43 kB
JSON
{
"description": "Any way of contacting the entity",
"title": "Contact",
"type": "object",
"properties": {
"email": {
"description": "E-mail contact",
"type": "string",
"format": "email",
"maxLength": 150
},
"phone": {
"description": "Phone number (with country prefix and a leading + sign)",
"type": "string",
"maxLength": 18,
"format": "phone"
},
"url": {
"description": "Url to the contact web page",
"type": "string",
"format": "uri"
},
"ethereum": {
"description": "Address of wallet on Ethereum",
"title": "Ethereum address",
"type": "string",
"maxLength": 300
},
"additionalContacts": {
"description": "More contact options, such as Whatsapp, WeChat, Telegram, twitter handle, facebook address. Once we see high demand for a particular type of contact, we can promote them to regular contact types.",
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"value"
],
"properties": {
"title": {
"description": "Name of this contact options",
"type": "string",
"maxLength": 100
},
"value": {
"description": "The actual contact",
"type": "string",
"maxLength": 100
}
}
}
}
}
}