Files
espocrm/application/Espo/Resources/metadata/fields/address.json
2026-01-19 17:46:06 +01:00

71 lines
2.1 KiB
JSON

{
"actualFields": [
"street",
"city",
"state",
"country",
"postalCode"
],
"fields": {
"street": {
"type": "text",
"maxLength": 255,
"dbType": "varchar"
},
"city": {
"type": "varchar",
"maxLength": 100,
"view": "views/fields/address-city",
"customizationOptionsDisabled": true,
"customizationOptionsReferenceDisabled": true,
"pattern": "$noBadCharacters"
},
"state": {
"type": "varchar",
"maxLength": 100,
"view": "views/fields/address-state",
"customizationOptionsDisabled": true,
"customizationOptionsReferenceDisabled": true,
"pattern": "$noBadCharacters"
},
"country": {
"type": "varchar",
"maxLength": 100,
"view": "views/fields/address-country",
"customizationOptionsDisabled": true,
"customizationOptionsReferenceDisabled": true,
"pattern": "$noBadCharacters"
},
"postalCode": {
"type": "varchar",
"maxLength": 40,
"pattern": "$noBadCharacters"
},
"map": {
"type": "map",
"notStorable": true,
"orderDisabled": true,
"readOnly": true,
"layoutListDisabled": true,
"provider": "Google",
"height": 300,
"exportDisabled": true,
"importDisabled": true,
"detailLayoutIncompatibleFieldList": []
}
},
"params": [
{
"name": "viewMap",
"type": "bool"
}
],
"notMergeable": true,
"notCreatable": false,
"filter": true,
"skipOrmDefs": true,
"personalData": true,
"valueFactoryClassName": "Espo\\Core\\Field\\Address\\AddressFactory",
"attributeExtractorClassName": "Espo\\Core\\Field\\Address\\AddressAttributeExtractor"
}