{
  "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.Media"
    }
  },
  "editCols": [
    "country",
    "document"
  ],
  "required": [
    "document"
  ]
}