magento · Schema

CustomAttribute

A key-value pair representing a custom EAV attribute on a catalog entity.

Properties

Name Type Description
attribute_code string The unique attribute code identifier.
value object The attribute value. Can be a string, integer, or array depending on the attribute type.
View JSON Schema on GitHub

JSON Schema

magento-customattribute-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CustomAttribute",
  "title": "CustomAttribute",
  "type": "object",
  "description": "A key-value pair representing a custom EAV attribute on a catalog entity.",
  "required": [
    "attribute_code",
    "value"
  ],
  "properties": {
    "attribute_code": {
      "type": "string",
      "description": "The unique attribute code identifier."
    },
    "value": {
      "description": "The attribute value. Can be a string, integer, or array depending on the attribute type."
    }
  }
}