Rename trust-verification family to trust and update schema references#28
Merged
Merged
Conversation
…, fix v1.0.0 absolute $ref - schemas/trust-verification/authenticate/authenticate.request.schema.json: change family const from "trust-verification" to "trust" to match all 9 other verb request schemas - schemas/trust-verification/authenticate/authenticate.receipt.schema.json: change family const from "trust-verification" to "trust" to match all 9 other verb receipt schemas - schemas/trust-verification/authenticate/examples/valid.receipt.json: update family field to "trust" to match corrected schema - schemas/trust-verification/authenticate/examples/tampered.receipt.json: update family field to "trust" - schemas/trust-verification/authenticate/examples/valid.request.json: update family field to "trust" - schemas/trust-verification/README.md section 5: correct proof field names to match actual proof.schema.json (canonical, hash, alg, signature, kid, signer_id) - schemas/v1.0.0/trust-verification/verify/v1/receipt.schema.json: replace absolute HTTP $ref for proof.schema.json with relative path to avoid offline resolution failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the trust verification schemas to use a simplified family identifier and improves schema reference paths for better maintainability.
Key Changes
Family identifier rename: Changed
trust-verificationtotrustacross all schema definitions and examples$idURIs to reflect new path structureSchema reference improvements:
../../../../trust-verification/_shared/proof.schema.json)./request.schema.json)Example file updates:
tampered.receipt.jsonto demonstrate tampering detection with updated status and confidence valuesvalid.receipt.jsonandvalid.request.jsonto use new family identifierDocumentation updates:
canonicalwith const value,hashwith pattern,algenum values)Notable Details
The schema reorganization maintains backward compatibility in structure while simplifying the namespace. Relative path references improve schema portability across different deployment environments.
https://claude.ai/code/session_016igMwkFir2FkLQCHL6a34z