User Journey Map
user journey map definition files
| Type | object |
|---|---|
| File match |
*.jm.yaml
*.jm.yml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/user-journey-map/latest.json |
| Source | https://raw.githubusercontent.com/arvinxx/components/master/packages/journey-map/schema/journey-map.schema.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
解析后的 YML 数据
Properties
步骤
config
object
图表配置
4 nested properties
color
string
旅程图主色风格
每个部分的高度
sections
string[]
待显示的区块 默认为: ['stage', 'action', 'emotion','thought']
title
boolean
显示旅程图标题
title
string
标题名
Definitions
Config
object
图表配置
color
string
旅程图主色风格
每个部分的高度
sections
string[]
待显示的区块 默认为: ['stage', 'action', 'emotion','thought']
title
boolean
显示旅程图标题
Partial<Record<SectionType,number>>
object
action
number
chance
number
emotion
number
painPoint
number
stage
number
thought
number
UserAction
object
用户行为类型
name
string
required
行为名称
color
string
展示颜色
description
string
说明
emotion
integer
情绪得分
min=-2max=2
painPoints
string[]
痛点
thoughts
string[]
想法
YMLStage
object
YML 的阶段类型
该阶段所有用户行为
name
string
required
阶段名称
color
string
展示颜色
painPoints
string[]
痛点
thoughts
string[]
想法