Skip to content

Commit

Permalink
fixed DID validation pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
kostysh committed Nov 6, 2021
1 parent a0c0940 commit 51d244c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@windingtree/org.json-schema",
"version": "1.0.0-beta.3",
"version": "1.0.0-beta.4",
"description": "ORG.ID JSON schema for WT protocol",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/org.json.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ definitions:
entity that the DID document (ORG.JSON) is about. That is, it is the
entity identified by the DID and described in the DID document.
type: string
pattern: "^did:orgid:([0-9])?(?::)?(0x[a-fA-F0-9]{64})+(?:[?])?([0-9a-zA-Z_=&%-]+)?(?:#)?([[0-9a-zA-Z-]+)?$"
pattern: "^did:orgid:([0-9])*(?::)?(0x[a-fA-F0-9]{64})+(?:[?])?([0-9a-zA-Z_=&%-]+)?(?:#)?([[0-9a-zA-Z-]+)?$"
example:
"did:orgid:4:0x94bf5a57b850a35b4d1d7b59f663ce3a8a76fd9928ef2067cc772fc97fb0ad75"
TrustAssertionsReference:
Expand Down

0 comments on commit 51d244c

Please sign in to comment.