Quick Start: credential-schema DID substitution leaves invalid JSON
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 85/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- json, markdown
調査の方向性
documentation/develop/quick-start.md の143~206行を読み、スキーマ作成の例にある author フィールドを、issue にリンクされた対応する CredentialSchemaInput モデルと照合してください。修正した置換を JSON パーサーで検証し、author が文字列であることを確認してください。完了の定義は受け入れ基準に従います。
索引モデルが issue の本文から書いたものです。
説明
User impact
New developers following the first credential-schema example can produce invalid JSON by performing the DID substitution exactly as described, blocking schema creation before credential issuance.
Affected documentation and ownership
- Quick Start Guide — Create a credential schema, observed 2026-10-28 18:49 UTC, HTTP 200. Deployed example text matches current source.
- Editable, portal-local Markdown: documentation/develop/quick-start.md, lines 143–206, revision
fa985dfa33caefa45bf1e9009e1f6f5a445344fb. Not generated/imported API output. - Intended version: the page explicitly selects Cloud Agent 2.0.0. Its matching input model declares
author: String. JSON string syntax is version-independent.
Observed versus expected
The guide says to replace [[publishedPrismDID]] with the previous step's did value, but the request contains:
"author": [[publishedPrismDID]],
Replacing only that placeholder with a DID value leaves a bare did:prism:… token, not a JSON string. The text does not tell readers to add JSON string delimiters.
Expected: the documented substitution yields valid JSON with a string-valued author. Readers who infer and add quotes themselves can work around the problem.
Evidence and reproduction
Python 3.13.15, static JSON parsing on 2026-10-28; no Agent request executed:
- Copy only the JSON body of the linked schema-creation example into
schema-example.json. - Run the following local syntax check (the synthetic DID is not a real identity):
import json
from pathlib import Path
body = Path("schema-example.json").read_text()
did = "did:prism:" + "a" * 64
json.loads(body.replace("[[publishedPrismDID]]", did))
Observed: JSONDecodeError: Expecting value: line 6 column 13 (char 186).
As a control, replacing with json.dumps(did) instead parses successfully and produces a string-valued author. This proves the quoting problem only; it does not claim the synthetic DID is accepted by an Agent or that the full tutorial was run. Deployment revision is not exposed; source/deployed text was compared directly.
Existing work checked
Searched open/closed issues and PRs, including discussion, across docs, cloud-agent and sdk-ts by publishedPrismDID, schema/author, invalid JSON and Quick Start/path; fully paginated inventories were also checked. docs PR #60, #145 and #223 do not correct this author field. cloud-agent PR #1817 repairs different comma/key errors in the imported credential-offer tutorial, not this portal-local schema example. No existing repair for this omission was found.
Acceptance criteria
- Replacing the placeholder as instructed yields syntactically valid JSON with a string-valued author.
- Verify the corrected example with a JSON parser and against the matching Agent version's schema-input contract.
- 主要言語
- TypeScript
- スター
- 15
- フォーク
- 8
- 平均マージ
- 3日 14時間
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hyperledger-identus/docs のほかの issue
-
bug documentation ready-for-agent
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
hyperledger-identus/docs#303 · コメント 1 件 ·
-
bug documentation ready-for-agent
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
hyperledger-identus/docs#302 · コメント 1 件 ·
-
bug documentation ready-for-agent
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
hyperledger-identus/docs#301 · コメント 1 件 ·
-
bug documentation ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
hyperledger-identus/docs#299 · コメント 1 件 ·
-
bug documentation ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
hyperledger-identus/docs#298 · コメント 1 件 ·
hyperledger-identus/docs の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Northeastern-Electric-Racing/FinishLine#4660 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
excaliburjs/Excalibur#3895 ·
メンテナーはふだん 3 日以内に返信
-
infer_audio_type only recognises one MPEG Layer III frame header, so most MP3 files are rejected対応中かも @Steve-20-ai が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Earn report crashes with "RangeError: Invalid time value" when a report row has an unparsable timestamp対応中かも @Gurkaran18 が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
joinmarket-webui/jam#1588 ·
メンテナーはふだん 3 日以内に返信
-
BeOS .json missingオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
mihaip/infinite-mac#475 ·