{
"fields": {
"product": {
"type": "link",
"required": true
},
"attribute": {
"type": "link",
"required": true,
"view": "pim:views/product-attribute-value/fields/attribute"
},
"attributeType": {
"type": "varchar",
"readonly": true
},
"isRequired": {
"type": "bool",
"default": false
},
"locale": {
"type": "varchar",
"layoutListDisabled": true,
"layoutListSmallDisabled": true,
"layoutDetailDisabled": true,
"layoutDetailSmallDisabled": true,
"layoutMassUpdateDisabled": true,
"layoutFiltersDisabled": true
},
"productFamilyAttribute": {
"type": "link"
},
"value": {
"type": "text",
"rows": 4,
"lengthOfCut": 400,
"view": "pim:views/product-attribute-value/fields/value-container",
"hasCompleteValidation": true
},
"data": {
"type": "jsonObject"
},
"scope": {
"type": "enum",
"required": true,
"options": [
"Global",
"Channel"
],
"default": "Global"
},
"channels": {
"type": "linkMultiple",
"importDisabled": true,
"noLoad": false,
"view": "pim:views/product-attribute-value/fields/channels"
},
"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"
},
"ownerUser": {
"type": "link",
"required": true,
"view": "views/fields/owner-user"
},
"assignedUser": {
"type": "link",
"required": true,
"view": "views/fields/assigned-user"
},
"teams": {
"type": "linkMultiple",
"view": "views/fields/teams"
},
"image": {
"type": "image",
"notStorable": true
},
"isCustom": {
"type": "bool",
"default": true,
"notStorable": true
},
"typeValue": {
"type": "array",
"notStorable": true,
"layoutListDisabled": true,
"layoutListSmallDisabled": true,
"layoutDetailDisabled": true,
"layoutDetailSmallDisabled": true,
"layoutMassUpdateDisabled": true,
"layoutFiltersDisabled": true
},
"attributeGroup": {
"type": "link",
"notStorable": true,
"layoutListDisabled": true,
"layoutListSmallDisabled": true,
"layoutDetailDisabled": true,
"layoutDetailSmallDisabled": true,
"layoutMassUpdateDisabled": true,
"layoutFiltersDisabled": true
}
},
"links": {
"product": {
"type": "belongsTo",
"entity": "Product"
},
"productFamilyAttribute": {
"type": "belongsTo",
"foreign": "productAttributeValues",
"entity": "ProductFamilyAttribute"
},
"attribute": {
"type": "belongsTo",
"entity": "Attribute"
},
"channels": {
"type": "hasMany",
"relationName": "productAttributeValueChannel",
"foreign": "productAttributeValues",
"entity": "Channel"
},
"localeParent": {
"type": "belongsTo",
"foreign": "localeChildren",
"entity": "ProductAttributeValue",
"audited": false
},
"localeChildren": {
"type": "hasMany",
"foreign": "localeParent",
"entity": "ProductAttributeValue",
"audited": false
},
"createdBy": {
"type": "belongsTo",
"entity": "User"
},
"modifiedBy": {
"type": "belongsTo",
"entity": "User"
},
"ownerUser": {
"type": "belongsTo",
"entity": "User"
},
"assignedUser": {
"type": "belongsTo",
"entity": "User"
},
"teams": {
"type": "hasMany",
"entity": "Team",
"relationName": "EntityTeam",
"layoutRelationshipsDisabled": true
}
},
"indexes": {
"attributeType": {
"columns": [
"attributeType",
"deleted"
]
},
"ownerUser": {
"columns": [
"ownerUserId",
"deleted"
]
},
"assignedUser": {
"columns": [
"assignedUserId",
"deleted"
]
},
"product": {
"columns": [
"productId",
"deleted"
]
},
"attribute": {
"columns": [
"attributeId",
"deleted"
]
},
"scope": {
"columns": [
"scope",
"deleted"
]
},
"locale": {
"columns": [
"locale",
"deleted"
]
}
},
"collection": {
"sortBy": "attribute.sortOrder",
"asc": true
}
}
|