Appearance
AttributeFile Schema
File: AttributeFile.json
Purpose: Defines attribute metadata for all entity types in the inRiver export
Format: JSON array of entity type definitions
Structure
json
[
{
"EntityTypeId": "string",
"Attributes": [
{
"AttributeId": "string",
"SortOrder": number,
"DataType": "string",
"AvailableFieldsets": []
}
]
}
]Entity Types
The AttributeFile contains attribute definitions for 5 entity types:
- Channel - Channel definitions
- ChannelNode - Category/navigation nodes
- Product - Product entities
- Item - Item/SKU entities (857 attributes)
- Resource - Media and document resources
Data Types
Common data types found in attributes:
String- Text valuesBoolean- True/false flagsInteger- Numeric valuesDouble- Decimal valuesLocaleString- Multi-language text (e.g.,{"en": "...", "es": "...", "fr-CA": "..."})CVL- Controlled Value List (single or multi-select)
Key Attributes by Entity
Item (857 attributes)
High-volume entity with extensive attribute set including:
- Product identification (ItemManufacturerItemNo, ItemUPCCode, ItemEANCode)
- Dimensions and weight (Imperial measurements)
- Inventory data (ItemOnHandQtyInAllWatscoSubs)
- Business unit flags (per-BU e-commerce activation)
- Supplier information
- Rebate and pricing data
ChannelNode
Navigation and categorization attributes:
- ChannelNodeName (LocaleString)
- ChannelNodeActiveInEcommerce (Boolean)
- Per-business-unit activation flags (CECA, CECPD, CEFL, etc.)
- SEO metadata (MetaTitle, MetaDescription, MetaKeywords)
Product
Product-level attributes linking to items and resources.
Resource
Media asset attributes:
- ResourceTitle
- ResourceResourceType (e.g., "normal", "cl", "subs")
- ResourceFileId
- ResourceFilename
- ResourceMIMEType
Usage
This file serves as a schema reference for understanding:
- Available attributes per entity type
- Data types for validation
- Sort order for display
- Fieldset associations
Related Files
- See product.md for Product entity structure
- See channel-node.md for ChannelNode entity structure
- See ../technical-spec for CVL field specifications