YAML Schema Reference

本頁說明 resume.yaml 中所有可用欄位。你的檔案會依據我們的 JSON Schema 進行驗證。

頂層結構

personalInfo:   # 必填 — 個人基本資料
sections:       # 有序區塊陣列(陣列順序 = 渲染順序)

personalInfo — 個人資料

欄位型別必填說明
namestring全名
titlestring職稱或頭銜
emailstring電子郵件
phonestring電話號碼
locationstring所在地,例如「台北, 台灣」
linksarray連結列表,每項包含 labelurl

Section Types — 區塊類型

sections 陣列中每個區塊都有 type 欄位決定結構與排版。區塊依陣列順序渲染 — 自由調整順序即可客製化版面。

type: summary — 自我介紹

欄位型別必填說明
type"summary"
titlestring覆寫標題(預設 "Summary")
taglinestring簡短副標題
contentstring自我介紹內容(支援 Markdown)

type: experience — 工作經歷

欄位型別必填說明
type"experience"
titlestring覆寫標題(預設 "Experience")
itemsarray經歷列表

每個 items 項目:

欄位型別必填說明
positionstring職位名稱
organizationstring公司、社群或專案名稱
locationstring工作地點
startDatedate到職日期
endDatedate | null離職日期(省略代表在職中)
descriptionstring工作內容與成就(支援 Markdown)

type: education — 學歷

欄位型別必填說明
type"education"
titlestring覆寫標題(預設 "Education")
itemsarray學歷列表

每個 items 項目:

欄位型別必填說明
institutionstring學校名稱
degreestring學位與主修
locationstring學校所在地
startDatedate入學日期
endDatedate | null畢業日期
descriptionstring相關課程、榮譽等

type: skills — 技能

欄位型別必填說明
type"skills"
titlestring覆寫標題(預設 "Skills")
itemsarray技能分組列表

每個 items 項目:

欄位型別必填說明
categorystring技能分類名稱(如「程式語言」、「框架」)
itemsstring[]技能列表

type: generic — 通用結構化區塊

適合專案、證照、獎項等結構化內容。

欄位型別必填說明
type"generic"
titlestring區塊標題
itemsarray項目列表

每個 items 項目:

欄位型別必填說明
titlestring項目標題
subtitlestring副標題或發行單位
urlstring連結
startDatedate開始日期
endDatedate | null結束日期
descriptionstring補充說明(支援 Markdown)

type: list — 純列表

適合著作、語言能力、社群角色等簡單列表。

欄位型別必填說明
type"list"
titlestring區塊標題
itemsstring[]項目列表(每項支援 Markdown)

日期格式

所有日期欄位支援三種格式:

  • YYYY — 僅年份(如 "2024"
  • YYYY-MM — 年月(如 "2024-03"
  • YYYY-MM-DD — 完整日期(如 "2024-03-15"

重要:在 YAML 中,日期務必加上引號,避免被當成數字。例如寫 "2024-03" 而不是 2024-03

Markdown 支援

以下欄位支援 Markdown 語法:

  • summary.content
  • experience[].description
  • generic[].description
  • list[].items

支援的語法:**粗體***斜體*`行內程式碼`[連結](URL)- 列表

YAML 撰寫提示

  • 使用 |(literal block)撰寫多行文字,保留換行符號
  • 使用 >-(folded block)將多行文字合併為一行,適合長段落
  • 包含冒號 : 或特殊字元的文字需使用引號括起來
  • 使用 # 加上註解

完整範例

參考我們的 resume-template 取得完整的 resume.yaml 範例檔案。