@tradle/models
Version:
models for tradle apps
48 lines • 926 B
JSON
{
"type": "tradle.Model",
"id": "tradle.ProofOfAddress",
"title": "Proof of address",
"abstract": true,
"subClassOf": "tradle.Form",
"properties": {
"streetAddress": {
"type": "string",
"readOnly": true
},
"country": {
"type": "object",
"ref": "tradle.Country"
},
"region": {
"type": "string",
"sample": "address.state"
},
"city": {
"type": "string",
"title": "City or town",
"readOnly": true
},
"postalCode": {
"type": "string",
"sample": "address.zipCode"
},
"name": {
"type": "string",
"readOnly": true
},
"document": {
"type": "object",
"range": "document",
"allowPicturesFromLibrary": true,
"title": "Proof of address document",
"ref": "tradle.Photo"
}
},
"editCols": [
"country",
"document"
],
"required": [
"document"
]
}