-
Notifications
You must be signed in to change notification settings - Fork 2
[VC-1160] update vvp-dossier and a2p-campaign schema #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
6d561f8
[VC-1161] update tn-alloc Schema
Arsh-Sandhu 575fb6c
update org-identity and brand owner schemas
Arsh-Sandhu 6ce14a7
resolved review comments
Arsh-Sandhu 02b3bf9
Merge branch 'VC-1161' into VC-1162
Arsh-Sandhu 9608140
update org-identity, brand schema operator enum
Arsh-Sandhu 2b1e1d0
update vvp-dossier and a2p-campaign schema, update dossier-base attri…
Arsh-Sandhu 67f1b47
Apply suggestions from code review
Arsh-Sandhu a53b2af
Merge branch 'main' into VC-1160
Arsh-Sandhu 7c2f019
Merge branch 'VC-1162' into VC-1160
Arsh-Sandhu c0bc062
Schema cleanup based on PR #34 review
Arsh-Sandhu 6e3d9b2
updated A2P Campaign Credential
Arsh-Sandhu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,38 +1,54 @@ | ||
| { | ||
| "v": "ACDC10JSON0005c8_", | ||
| "d": "Ez6QKIKLzrGqpq4v9Bj908pQanoRKwOgBXjPW-w-P_8Q", | ||
| "i": "Ez6QKIKLzrGqpq4v9Bj908pQanoRKwOgBXjPW-w-P_8Q", | ||
| "u": "0AHcgNghkDaG7ts1Bv8wkv3b", | ||
| "i": "EDC0Sj0CPYd70zUSY2ehvm7Z4kwZigugiA84wuS7lK2H", | ||
| "ri": "EiySMSMLRrpt9AD_b34VEtUD6tDO0yaGoWCwB1iyJOgY", | ||
| "s": "ELtCd1s8TXGNYC2VUVzBtFcY73ec9pBMZg1LCfGP6LJQ", | ||
| "s": "EN-GIMlGnS188KLQS26IH11b3J7uw6TTK2p5Uuy0CCy0", | ||
| "a": { | ||
| "d": "EAS6jFIgA_WqWEIX6bQTi6Hvdox3GuyRbDKY8JCEfyZG", | ||
| "u": "0AHcgNghkDaG7ts1Bv8wkv3b", | ||
| "i": "EK2r6EnDXre2pecTBO8s99j4OtNaaDIhVyr7uGugDhmp", | ||
| "dt": "2024-11-13T20:20:39.000000+00:00", | ||
| "brandId": "5493001KJTIIGC8Y1R12", | ||
| "campaignId": "CVN1LXI", | ||
| "campaignType": "Fraud Alert", | ||
| "startDate": "2024-11-13T20:20:39+00:00", | ||
| "endDate": "2024-12-13T20:20:39+00:00", | ||
| "telephoneNumbers": [ | ||
| "usecase": "Fraud Alert", | ||
| "startDate": "2024-11-13T20:20:39.000000+00:00", | ||
| "endDate": "2025-11-13T20:20:39.000000+00:00", | ||
| "numbers": [ | ||
| "+18013612446" | ||
| ], | ||
| "authorizedServiceProvider": "Twilio", | ||
| "campaignAttributes": { | ||
| "subscriberOptIn": true, | ||
| "subscriberOptOut": false, | ||
| "subscriberOptOut": true, | ||
| "subscriberHelp": true, | ||
| "embeddedLink": false, | ||
| "affiliateMarketing": false | ||
| } | ||
| }, | ||
| "e": { | ||
| "d": "EOS9BUu6iHS6QaTADgHWcWG36tsKYY3g_z3nCkrnbBMr", | ||
| "le": { | ||
| "n": "EOy_g1RrcQW_uh63l9SH7TGflNefu3Pe2C3asw_H2CFv", | ||
| "s": "ENPXp1vQzRF6JwIuS-mp2U8Uf1MoADoP_GqQ62VsDZWY" | ||
| "issuer": { | ||
| "n": "EBwNam2e0mYdTx0i9xv78AIm16g1XCkQO8f8yJXaxmJC", | ||
| "s": "ENPE4hUQ8Peu84tEcCni3koOQFOnBrDB0rg_at2NRhV9", | ||
| "o": "I2I" | ||
| }, | ||
| "tnalloc": { | ||
| "n": "EBwNam2e0mYdTx0i9xv78AIm16g1XCkQO8f8yJXaxmJC", | ||
| "s": "EJ9YoTJ81TcQ_pS9GmU2UbVURRm3ylnx_Wr1GbKjg0QP", | ||
| "o": "NI2I" | ||
| }, | ||
| "brandid": { | ||
| "n": "EAZz0-cvLBLfqw3TRo-J0kBzM1TEwQ6a_v_892uH3Yjz", | ||
| "s": "EAoRVmgPyacjhUxaV0nPwiuUuHMjKDpNZrj7ClofZ-3Z", | ||
| "o": "NI2I" | ||
| } | ||
| }, | ||
| "r": { | ||
| "d": "EMS9_VeDinkCdVlMVJKwbeBrsjnVj8VO1OS0walgg05X", | ||
| "governance": "Issued under governance published at https://provenant.net/governance/a2p-campaign/", | ||
| "brandPrivacy": "Verifiers agree that, if they learn the identity of a brand as a sender of SMS messages by verifying this credential, they will not use this information to infer or model relationships between the brand and service providers.", | ||
| "nonrepudiableBySig": "Senders of SMS messages agree that their reputation as a sender may be non-repudiably associated with messages that cite this campaign, exactly and only to the extent that the messages are signed by an entity cryptographically authorized to represent the brand." | ||
| } | ||
| } | ||
| } | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,41 @@ | ||
| ## A2P Campaign Credentials | ||
| ## A2P Campaign Credential | ||
|
|
||
| ### Purpose | ||
|
|
||
| These credentials prove that a brand has been approved to run an A2P SMS campaign in US telecom contexts. | ||
| A credential issued to an organization that represents a registered A2P messaging campaign and the telephone numbers associated with that campaign. | ||
|
|
||
| ### Schema | ||
|
|
||
| See [a2p-campaign.schema.json](a2p-campaign.schema.json). | ||
|
|
||
| ### Attributes | ||
|
|
||
| The attributes block records the approved campaign and sender context: | ||
|
|
||
| | Field | Purpose | | ||
| |---|---| | ||
| | `brandId` | Legal or registry identifier for the approved organization. | | ||
| | `campaignId` | Campaign identifier assigned by the approval authority or registry. | | ||
| | `usecase` | Campaign use-case category, such as `Fraud Alert`, `2FA`, or `Public Service Announcement`. | | ||
| | `numbers` | E.164 numbers approved for use in the campaign. | | ||
| | `authorizedServiceProvider` | Service provider authorized to originate or manage traffic for this campaign. | | ||
| | `campaignAttributes` | Subscriber opt-in, opt-out, help, link, and affiliate-marketing attributes used by governance and verifiers. | | ||
|
|
||
| The `startDate` and `endDate` fields are optional and can be used when the campaign approval is time-bounded. | ||
|
|
||
| ### Edge structure | ||
|
|
||
| The `e` (edges) block may contain: | ||
|
|
||
| | Edge | Purpose | | ||
| |---|---| | ||
| | `issuer` | Links to an identity credential proving who issued the campaign credential. | | ||
| | `tnalloc` | Links to a Telephone Number Allocation credential proving right to use the campaign telephone numbers. | | ||
| | `brandid` | Links to a brand or organization identity credential associated with the campaign. | | ||
|
|
||
|
|
||
| ### Rules and governance | ||
|
|
||
| The `r` (rules) block must contain: | ||
|
|
||
| - `governance` - A statement identifying the governance framework under which this credential was issued. |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.