State Change Records
State Change Records constitute the observable output of a DSNP system. Implementations MUST specify how applications can translate implementation-specific output into State Change Records.
Each Record is associated with a Transaction Identifier, which allows Operations to be asynchronously associated with their results.
Records consists of one or more fields.
| Record Type | Field | Field Data Type |
|---|---|---|
| Identifier Creation Record | Control Key | Implementation dependent |
| Control Key Ownership Proof | Implementation dependent | |
| Identifier Retirement Record | User's Identifier | DSNP User Id |
| Delegation Definition Record | User Id | DSNP User Id |
| Delegate Id | DSNP User Id | |
| Allowed Announcement Types | List of enum values | |
| Allowed User Data Types | List of enum values | |
| Delegation Revocation Record | User Id | DSNP User Id |
| Delegate Id | DSNP User Id | |
| Control Key Addition Record | User Id | DSNP User Id |
| Key | Implementation dependent | |
| Key Ownership Proof | Implementation dependent | |
| Control Key Removal Record | User Id | DSNP User Id |
| Key | Implementation dependent | |
| Announcement Published Record | Announcement | One of the types described in Announcements |
| Batch Published Record | From Id | DSNP User Id |
| Announcement Type | Enum value | |
| URL | String | |
| Content Hash | DSNP Content Hash | |
| Failure Record | Message | String |
| User Data Replaced Record | User Id | DSNP User Id |
| User Data Types | Set of User Data Types |