{
"fields": {
"productFamily": {
"type": "link",
"required": true
},
"attribute": {
"type": "link",
"required": true,
"view": "pim:views/product-family-attribute/fields/attribute"
},
"attributeType": {
"type": "varchar",
"readonly": true
},
"isRequired": {
"type": "bool",
"default": false
},
"locale": {
"type": "varchar",
"readOnly": true,
"layoutListDisabled": true,
"layoutListSmallDisabled": true,
"layoutDetailDisabled": true,
"layoutDetailSmallDisabled": true,
"layoutMassUpdateDisabled": true,
"layoutFiltersDisabled": true
},
"scope": {
"type": "enum",
"required": true,
"fontSize": 1,
"options": [
"Global",
"Channel"
],
"default": "Global"
},
"channels": {
"type": "linkMultiple",
"layoutDetailDisabled": true,
"layoutMassUpdateDisabled": true,
"importDisabled": true,
"noLoad": false,
"view": "pim:views/product-family-attribute/fields/channels"
},
"productAttributeValues": {
"type": "linkMultiple",
"layoutListDisabled": true,
"layoutDetailDisabled": true,
"layoutMassUpdateDisabled": true,
"layoutFiltersDisabled": true,
"noLoad": true,
"importDisabled": true
},
"localeParent": {
"type": "link",
"readOnly": true,
"layoutListDisabled": true,
"layoutListSmallDisabled": true,
"layoutDetailDisabled": true,
"layoutDetailSmallDisabled": true,
"layoutMassUpdateDisabled": true,
"layoutFiltersDisabled": true
},
"localeChildren": {
"type": "linkMultiple",
"layoutListDisabled": true,
"layoutListSmallDisabled": true,
"layoutDetailDisabled": true,
"layoutDetailSmallDisabled": true,
"layoutMassUpdateDisabled": true,
"layoutFiltersDisabled": true,
"noLoad": true,
"importDisabled": true
},
"createdAt": {
"type": "datetime",
"readOnly": true
},
"modifiedAt": {
"type": "datetime",
"readOnly": true
},
"createdBy": {
"type": "link",
"readOnly": true,
"view": "views/fields/user"
},
"modifiedBy": {
"type": "link",
"readOnly": true,
"view": "views/fields/user"
},
"assignedUser": {
"type": "link",
"required": true,
"view": "views/fields/assigned-user"
},
"teams": {
"type": "linkMultiple",
"view": "views/fields/teams"
}
},
"links": {
"productFamily": {
"type": "belongsTo",
"foreign": "productFamilyAttributes",
"entity": "ProductFamily"
},
"attribute": {
"type": "belongsTo",
"foreign": "productFamilyAttributes",
"entity": "Attribute"
},
"channels": {
"type": "hasMany",
"relationName": "productFamilyAttributeChannel",
"foreign": "productFamilyAttributes",
"entity": "Channel"
},
"productAttributeValues": {
"type": "hasMany",
"foreign": "productFamilyAttribute",
"entity": "ProductAttributeValue",
"layoutRelationshipsDisabled": true
},
"localeParent": {
"type": "belongsTo",
"foreign": "localeChildren",
"entity": "ProductFamilyAttribute",
"audited": false
},
"localeChildren": {
"type": "hasMany",
"foreign": "localeParent",
"entity": "ProductFamilyAttribute",
"audited": false
},
"createdBy": {
"type": "belongsTo",
"entity": "User"
},
"modifiedBy": {
"type": "belongsTo",
"entity": "User"
},
"assignedUser": {
"type": "belongsTo",
"entity": "User"
},
"teams": {
"type": "hasMany",
"entity": "Team",
"relationName": "EntityTeam",
"layoutRelationshipsDisabled": true
}
},
"collection": {
"sortBy": "createdAt",
"asc": false,
"textFilterFields": [
"name"
],
"fullTextSearch": false
},
"indexes": {
"attributeType": {
"columns": [
"attributeType",
"deleted"
]
},
"productFamily": {
"columns": [
"productFamilyId",
"deleted"
]
},
"attribute": {
"columns": [
"attributeId",
"deleted"
]
},
"isRequired": {
"columns": [
"isRequired",
"deleted"
]
},
"scope": {
"columns": [
"scope",
"deleted"
]
},
"locale": {
"columns": [
"locale",
"deleted"
]
},
"assignedUser": {
"columns": [
"assignedUserId",
"deleted"
]
}
}
}
|