{
  "issuer": "Astera Technology",
  "resource": "ops-help-shared-block-impact",
  "locale": "zh-HK",
  "contract": "本例 A1 連 B-support，A2 貼了一份 B-support 原文字，A3 連 B-login。有關聯的文章取區塊現值，貼文文章則留自己的文字。更新區塊不改文章原有 published 或 draft 狀態；狀態不變並非新文字已覆核的依據。",
  "input": {
    "blocks": [
      {
        "id": "B-support",
        "text": "提供匯出工作編號。"
      },
      {
        "id": "B-login",
        "text": "使用登入支援途徑。"
      }
    ],
    "articles": [
      {
        "id": "A1",
        "kind": "linked",
        "value": "B-support",
        "status": "published"
      },
      {
        "id": "A2",
        "kind": "inline",
        "value": "提供匯出工作編號。",
        "status": "published"
      },
      {
        "id": "A3",
        "kind": "linked",
        "value": "B-login",
        "status": "draft"
      }
    ]
  },
  "output": {
    "ok": true,
    "state": "complete",
    "result": {
      "articles": [
        {
          "id": "A1",
          "text": "提供匯出工作編號。",
          "status": "published"
        },
        {
          "id": "A2",
          "text": "提供匯出工作編號。",
          "status": "published"
        },
        {
          "id": "A3",
          "text": "使用登入支援途徑。",
          "status": "draft"
        }
      ],
      "missing": []
    },
    "trace": [
      {
        "id": "A1",
        "kind": "linked",
        "source": "B-support",
        "text": "提供匯出工作編號。",
        "status": "published",
        "decision": "rendered"
      },
      {
        "id": "A2",
        "kind": "inline",
        "source": "提供匯出工作編號。",
        "text": "提供匯出工作編號。",
        "status": "published",
        "decision": "rendered"
      },
      {
        "id": "A3",
        "kind": "linked",
        "source": "B-login",
        "text": "使用登入支援途徑。",
        "status": "draft",
        "decision": "rendered"
      }
    ]
  },
  "verificationCases": [
    {
      "name": "baseline",
      "input": {
        "blocks": [
          {
            "id": "B-support",
            "text": "提供匯出工作編號。"
          },
          {
            "id": "B-login",
            "text": "使用登入支援途徑。"
          }
        ],
        "articles": [
          {
            "id": "A1",
            "kind": "linked",
            "value": "B-support",
            "status": "published"
          },
          {
            "id": "A2",
            "kind": "inline",
            "value": "提供匯出工作編號。",
            "status": "published"
          },
          {
            "id": "A3",
            "kind": "linked",
            "value": "B-login",
            "status": "draft"
          }
        ]
      },
      "expected": {
        "ok": true,
        "state": "complete",
        "result": {
          "articles": [
            {
              "id": "A1",
              "text": "提供匯出工作編號。",
              "status": "published"
            },
            {
              "id": "A2",
              "text": "提供匯出工作編號。",
              "status": "published"
            },
            {
              "id": "A3",
              "text": "使用登入支援途徑。",
              "status": "draft"
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "material-edit",
      "input": {
        "blocks": [
          {
            "id": "B-support",
            "text": "提供匯出工作編號及所選篩選條件。"
          },
          {
            "id": "B-login",
            "text": "使用登入支援途徑。"
          }
        ],
        "articles": [
          {
            "id": "A1",
            "kind": "linked",
            "value": "B-support",
            "status": "published"
          },
          {
            "id": "A2",
            "kind": "inline",
            "value": "提供匯出工作編號。",
            "status": "published"
          },
          {
            "id": "A3",
            "kind": "linked",
            "value": "B-login",
            "status": "draft"
          }
        ]
      },
      "expected": {
        "ok": true,
        "state": "complete",
        "result": {
          "articles": [
            {
              "id": "A1",
              "text": "提供匯出工作編號及所選篩選條件。",
              "status": "published"
            },
            {
              "id": "A2",
              "text": "提供匯出工作編號。",
              "status": "published"
            },
            {
              "id": "A3",
              "text": "使用登入支援途徑。",
              "status": "draft"
            }
          ],
          "missing": []
        }
      }
    },
    {
      "name": "fresh-boundary",
      "input": {
        "blocks": [
          {
            "id": "B-login",
            "text": "使用登入支援途徑。"
          }
        ],
        "articles": [
          {
            "id": "A1",
            "kind": "linked",
            "value": "B-support",
            "status": "published"
          },
          {
            "id": "A2",
            "kind": "inline",
            "value": "提供匯出工作編號。",
            "status": "published"
          },
          {
            "id": "A3",
            "kind": "linked",
            "value": "B-login",
            "status": "draft"
          }
        ]
      },
      "expected": {
        "ok": true,
        "state": "unknown",
        "result": {
          "articles": [
            {
              "id": "A1",
              "text": null,
              "status": "published"
            },
            {
              "id": "A2",
              "text": "提供匯出工作編號。",
              "status": "published"
            },
            {
              "id": "A3",
              "text": "使用登入支援途徑。",
              "status": "draft"
            }
          ],
          "missing": [
            "A1"
          ]
        }
      }
    }
  ],
  "meaningOfNull": "該欄位未知或沒有已建立的值；請按逐項結果判斷。",
  "businessSideEffects": false
}
