Difference between revisions of "Edit Registration Message Format"

From OIP Wiki
Jump to: navigation, search
(Update schema)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Register Publisher ===
 
<pre>
 
 
{
 
{
"oip-041": {
+
:"[[Variable Definitions#oip-041|oip-041]]": {
"editPublisher": {
+
::"[[Variable Definitions#editPub|editPub]]": {
"alias": "$PublisherAlias",
+
:::"[[Variable Definitions#txid|txid]]": "string",
"address": "$PublisherAddress",
+
:::"[[Variable Definitions#timestamp|timestamp]]": int,
"timestamp": $UnixTime,
+
:::"[[Variable Definitions#patch|patch]]": {
"info": {
+
::::// [[Squash Edit|Squashed Edit]] of JSON Patch Schema https://tools.ietf.org/html/rfc6902
"emailmd5": "$md5HashOfEmail",
+
:::}
"avatarNetwork": "$IPFSorBittorrentorHTTP"
+
::}
"avatar": "$NetworkAddressOfAvatarImage
+
:},
"bitmessage": "$bitmessageAddress",
+
:"[[Variable Definitions#signature|signature]]": "string"
},
 
"verification": {
 
"IMDB": "$IMDBArtistUrl",
 
"MusicBrainz": "$MusicBrainzArtistURL",
 
"Twitter": "$TwitterVerificationURL",
 
"Facebook": $FacebookVerificationURL"
 
}
 
},
 
"signature": "$RegisterPublisherSignature"
 
},
 
 
}
 
}
</pre>
 

Latest revision as of 22:50, 11 December 2017

{

"oip-041": {
"editPub": {
"txid": "string",
"timestamp": int,
"patch": {
// Squashed Edit of JSON Patch Schema https://tools.ietf.org/html/rfc6902
}
}
},
"signature": "string"

}