Difference between revisions of "Blockchain Messages Format and Schemae"

From OIP Wiki
Jump to: navigation, search
(Artifact Deactivate)
(Undo revision 1012 by OstlerDev (talk))
Line 16: Line 16:
 
=== Artifact Publish ===
 
=== Artifact Publish ===
  
You can find the Artifact Publish Schema here: [[Artifact Publish Message Format]]
+
{
 +
:"oip-041":{
 +
::"artifact":{
 +
:::"[[Specification#Publisher_Address|publisher]]": "string",
 +
:::"timestamp": 10 digit int,
 +
:::"[[Variable Definitions#type|type]]": "string",
 +
:::"info":{
 +
::::"[[Variable Definitions#title|title]]": "string",
 +
::::"[[Variable Definitions#description|description]]": "string",
 +
::::"[[Variable Definitions#year|year]]": 4 digit int,
 +
::::"extraInfo":{
 +
:::::"[[Variable Definitions#artist|artist]]": "string",
 +
:::::"[[Variable Definitions#company|company]]": "string",
 +
:::::"[[Variable Definitions#tags|tags]]":[
 +
::::::"string",
 +
::::::"string"
 +
::::::]
 +
:::::}
 +
::::},
 +
:::"payment":{
 +
::::"[[Variable Definitions#fiat|fiat]]": "string",
 +
::::"[[Variable Definitions#scale|scale]]": int,
 +
::::"[[Variable Definitions#sugTip|sugTip]]":[
 +
:::::int,
 +
:::::int,
 +
:::::int
 +
:::::],
 +
::::"[[Variable Definitions#addresses|addresses]]": {
 +
:::::"three letter string":"string",
 +
:::::"three letter string":"string"
 +
::::},
 +
::::"[[Variable Definitions#tokens|tokens]]": {
 +
:::::"STRING": int,
 +
:::::"STRING": int
 +
::::}
 +
::::},
 +
:::"storage":{
 +
::::"[[Variable Definitions#network|network]]": "string",
 +
::::"[[Variable Definitions#location|location]]": "string,
 +
::::"files":[
 +
:::::{
 +
::::::"[[Variable Definitions#disBuy|disBuy]]": boolean,
 +
::::::"[[Variable Definitions#disPlay|disPlay]]": boolean,
 +
::::::"[[Variable Definitions#dName|dName]]": "string",
 +
::::::"[[Variable Definitions#duration|duration]]": int,
 +
::::::"[[Variable Definitions#fName|fName]]": "string",
 +
::::::"[[Variable Definitions#fSize|fSize]]": int,
 +
::::::"[[Variable Definitions#sugPlay|sugPlay]]": "int",
 +
::::::"[[Variable Definitions#minPlay|minPlay]]": "int",
 +
::::::"[[Variable Definitions#sugBuy|sugBuy]]": "int",
 +
::::::"[[Variable Definitions#minBuy|minBuy]]": "int",
 +
::::::"[[Variable Definitions#disPer|disPer]]": "int",
 +
::::::"[[Variable Definitions#promo|promo]]": "int",
 +
::::::"[[Variable Definitions#retail|retail]]": "int",
 +
::::::"[[Variable Definitions#ptpFT|ptpFT]]": int,
 +
::::::"[[Variable Definitions#ptpDT|ptpDT]]": int,
 +
::::::"[[Variable Definitions#ptpDA|ptpDA]]": int,
 +
::::::"type": "string",
 +
::::::"tokenlyID": "string"
 +
:::::}
 +
::::},
 +
:::"[[Variable Definitions#signature_2|signature]]": "string"
 +
::}
 +
}
  
 
=== Artifact Edit ===
 
=== Artifact Edit ===

Revision as of 02:45, 28 November 2017

Registration Messages

Register Publisher

You can view information about the Register Publish Schema here Publisher Registration Message Format

Register Promoter

Register Autominer

Register Autominer Pool

Register Retailer

Artifact Messages

Artifact Publish

{

"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

Historian Summary