# =============================================================
# 4. DICTIONARY (数据字典)
# 定义协议的准入边界与产出物数据结构(Artifacts)
# =============================================================
dictionary:
# Ingress: 输入准入规则
inputs:
- name: "target_asin"
type: "string"
pattern: "^[A-Z0-9]{10}$"
required: true
- name: "priority"
type: "enum"
values: ["standard", "high"]
default: "standard"
# Artifacts: 交付资产声明(协议仅定义数据契约,不定义交付方式)
artifacts:
- id: "selection_report_data"
type: "DATA_OBJECT"
description: "选品最终评估核心数据集"
schema:
type: "object"
required: ["decision", "confidence"]
properties:
decision: { "type": "string", "enum": ["GO", "NO_GO"] }
confidence: { "type": "number", "minimum": 0, "maximum": 1 }
analysis_summary: { "type": "string" }
estimated_roi: { "type": "number" }