Initial commit
This commit is contained in:
70
application/Espo/Resources/metadata/fields/address.json
Normal file
70
application/Espo/Resources/metadata/fields/address.json
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
Reference in New Issue
Block a user