Skip to content

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:

  1. Channel - Channel definitions
  2. ChannelNode - Category/navigation nodes
  3. Product - Product entities
  4. Item - Item/SKU entities (857 attributes)
  5. Resource - Media and document resources

Data Types

Common data types found in attributes:

  • String - Text values
  • Boolean - True/false flags
  • Integer - Numeric values
  • Double - Decimal values
  • LocaleString - 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