generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swapped to Permissions protocol records for permission grant authoriz…
…ation (#717) Swapped to Permissions protocol records for permission grant authorization
- Loading branch information
1 parent
98281e0
commit abedc50
Showing
89 changed files
with
1,420 additions
and
3,092 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"$id": "https://identity.foundation/dwn/json-schemas/authorization-delegated-grant.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"signature": { | ||
"$ref": "https://identity.foundation/dwn/json-schemas/general-jws.json" | ||
}, | ||
"authorDelegatedGrant": { | ||
"$ref": "https://identity.foundation/dwn/json-schemas/permissions-grant.json" | ||
"$ref": "https://identity.foundation/dwn/json-schemas/records-write-data-encoded.json" | ||
} | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://identity.foundation/dwn/json-schemas/events-subscribe.json", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ | ||
"descriptor", | ||
"authorization" | ||
], | ||
"properties": { | ||
"authorization": { | ||
"$ref": "https://identity.foundation/dwn/json-schemas/authorization.json" | ||
}, | ||
"descriptor": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ | ||
"interface", | ||
"method", | ||
"messageTimestamp", | ||
"filters" | ||
], | ||
"properties": { | ||
"interface": { | ||
"enum": [ | ||
"Events" | ||
], | ||
"type": "string" | ||
}, | ||
"method": { | ||
"enum": [ | ||
"Subscribe" | ||
], | ||
"type": "string" | ||
}, | ||
"messageTimestamp": { | ||
"type": "string" | ||
}, | ||
"filters": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "https://identity.foundation/dwn/json-schemas/events-filter.json" | ||
} | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://identity.foundation/dwn/json-schemas/events-subscribe.json", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ | ||
"descriptor", | ||
"authorization" | ||
], | ||
"properties": { | ||
"authorization": { | ||
"$ref": "https://identity.foundation/dwn/json-schemas/authorization.json" | ||
}, | ||
"descriptor": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ | ||
"interface", | ||
"method", | ||
"messageTimestamp", | ||
"filters" | ||
], | ||
"properties": { | ||
"interface": { | ||
"enum": [ | ||
"Events" | ||
], | ||
"type": "string" | ||
}, | ||
"method": { | ||
"enum": [ | ||
"Subscribe" | ||
], | ||
"type": "string" | ||
}, | ||
"messageTimestamp": { | ||
"type": "string" | ||
}, | ||
"filters": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "https://identity.foundation/dwn/json-schemas/events-filter.json" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.