data management
slug: step-attributesDefines, manages, and enhances the Physical Data View (PDV) metadata for datasets, controlling how fields are interpreted, formatted, and displayed. Serves as the central metadata management system for the DAZL pipeline.
fields (object) - Field definitions to add or update:
type - Data type (text, number, date, etc.)label - Human-readable field labeloptions - Type-specific formatting optionsdetect (boolean) - Auto-detect fields from data (default: false)apply (boolean) - Apply formatting to data values (default: true)remove (array) - Fields to remove from PDVThe attributes step supports various field types with specialized formatting:
text - Standard text displaynumber - Numeric values with formatting options:
format: comma, dollar, percent, words, shortdecimal: Number of decimal placesdate - Date values with format optionstime - Time values with format optionscheckbox - Boolean values displayed as checkboxesprogress - Progress bar visualizationtrafficlight - Color-coded status indicatorsrating - Star or icon-based rating displayemail - Email addresses with mailto linksphone - Phone numbers with tel linksurl - URLs with hyperlinksmarkdown - Markdown-formatted textapply is trueattributes_applied - Timestamp when attributes were appliedfields_defined - Total count of fields in the PDVattributes:
fields:
customer_id:
type: text
label: Customer ID
revenue:
type: number
label: Total Revenue
options:
format: dollar
decimal: 2
last_purchase:
type: date
label: Last Purchase Date
options:
format: Y-m-d
attributes:
detect: true
fields:
satisfaction:
type: rating
label: Customer Satisfaction
options:
icon: star
max: 5
color: #FFD700
completion:
type: progress
label: Project Completion
options:
min: 0
max: 100
attributes:
fields:
status:
type: trafficlight
label: Account Status
options:
min: 0
max: 100
threshold1: 0.33
threshold2: 0.66
color1: #FF0000
color2: #FFFF00
color3: #00FF00
apply: true