Difference between revisions of "Blockchain Messages Format and Schemae"

From OIP Wiki
Jump to: navigation, search
(Artifact Publish)
(Artifact Publish)
Line 29: Line 29:
  
 
<div class="toccolours mw-collapsible mw-collapsed">
 
<div class="toccolours mw-collapsible mw-collapsed">
You can view the schema information for Artifact Publishing below (Click Expand ->):
+
 
 +
To view the schema information for '''''Artifact Publishing''''', click Expand ->  
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
  {
 
  {

Revision as of 22:39, 2 January 2018

Multipart Messages

If any of the messages created below are larger than the 528 byte tx-comments currently supported by Florincoin, then the message will be split up into a Multipart message.

You can find information on how Multipart messages are formed here.

Registration Messages

Register Publisher

You can view information about the Register Publish Schema here

Edit Publisher

You can view information about the Edit Publish Schema here

Register Promoter

You can view information about the Register Promoter Schema here

Register Autominer

You can view information about the Register Autominer Schema here

Register Autominer Pool

You can view information about the Register Autominer Pool Schema here

Register Retailer

You can view information about the Register Retailer Schema here

Artifact Messages

Artifact Publish

To view the schema information for Artifact Publishing, click Expand ->

{
    "oip-041":{
        "artifact":{
            "publisher": "string",
            "timestamp": 10 digit int,
            "type": "string",
            "info":{
                "title": "string",
                "description": "string",
                "year": 4 digit int,
                "extraInfo":{
                    "artist": "string",
                    "company": "string",
                    "tags":[
                        "string",
                        "string"
                        ]
                    }
                },
            "payment":{
                "fiat": "string",
                "scale": int,
                "sugTip":[
                    int,
                    int,
                    int
                    ],
                "addresses": {
                    "three letter string":"string",
                    "three letter string":"string"
                },
                "tokens": {
                    "STRING": int,
                    "STRING": int
                }
                },
            "storage":{
                "network": "string",
                "location": "string,
                "files":[
                    {
                        "disBuy": boolean,
                        "disPlay": boolean,
                        "dName": "string",
                        "duration": int,
                        "fName": "string",
                        "fSize": int,
                        "sugPlay": "int",
                        "minPlay": "int",
                        "sugBuy": "int",
                        "minBuy": "int",
                        "disPer": "int",
                        "promo": "int",
                        "retail": "int",
                        "ptpFT": int,
                        "ptpDT": int,
                        "ptpDA": int,
                        "type": "string",
                        "tokenlyID": "string"
                    }
                },
            "signature": "string"
        }
}

Artifact Edit

You can view the schema information for Artifact Edits here: Artifact Edit Message Format

Artifact Transfer

You can view the Schema for Artifact Transfers here: Artifact Transfer Message Format

Artifact Deactivate

You can view the Schema for Artifact Deactivations here: Artifact Deactivation Message Format

Historian Messages

Historian Datapoint

Plaintext data, stored in the block reward (coinbase) transaction comment. Historian Datapoint Message Format

Historian Block Reward

Plaintext data, stored the transaction comments. Historian Block Reward Message Format

Historian Summary