{
"vendor_offer" : {
"listing" : {
"metadata" : {
"version" : "",
"expiry" : "",
"category" : "",
"category_sub" : "fixed price"
},
"id" : {
"guid" : "",
"pubkeys" : {
"guid" : "",
"bitcoin" : ""
},
"blockchain_id" : ""
},
"listing" : {
"title" : "",
"description" : "",
"condition" : "",
"price_per_unit" : {
"bitcoin" : "",
"fiat" : {
"price" : "",
"currency_code" : ""
}
},
"item_properties" : "",
"quantity" : {
"metric" : "",
"units" : 1
},
"category" : [ "" ],
"image_hashes" : [ "" ],
"keywords" : [ "" ],
"process_time" : {
"metric": "",
"units" : 1
},
"sku" : ""
},
"shipping" : {
"free" : false,
"flat_fee" : {
"bitcoin" : {
"domestic" : "",
"international" : ""
},
"fiat" : {
"price" : {
"domestic" : "",
"international" : ""
},
"currency_code" : ""
}
},
"shipping_region" : {
"domestic" : {
"country" : "",
"city_state" : [ "" ]
},
"international" : [ "" ]
},
"est_delivery" : {
"domestic" : "",
"international" : ""
},
"shipping_origin" : "",
"api" : {
"api_src" : "",
"carriers" : [ "", "" ],
"package" : {
"length" : "",
"width" : "",
"height" : "",
"distance_unit" : "",
"weight" : "",
"mass_unit" : ""
}
}
},
"policy": {
"terms_conditions": "",
"returns": "",
"custom": []
},
"moderators" : [
{
"guid" : "",
"pubkeys" : {
"guid" : {
"key" : "",
"signature" : ""
},
"escrow" : {
"key" : "",
"signature" : ""
}
},
"blockchain_id" : ""
}
]
},
"signatures" : {
"guid" : "sig(vendor_listing.listing)"
}
},
"buyer_order" : {
"order" : {
"ref" : {
"algorithm" : "base58(RIPEMD-160[vendor_listing])",
"ref_hash" : ""
},
"id" : {
"guid" : "",
"pubkeys" : {
"bitcoin" : "",
"guid" : ""
},
"passcard" : ""
},
"order" : {
"item_properties" : {},
"shipping_address" : {
"encrypted_address" : "guid(nonce XOR shipping address)",
"sha256_nonce" : "sha256(nonce)",
"nonce_enc" : "vendor_guid(nonce)",
"api_shipping_cost" : {
"bitcoin" : "",
"fiat" : {
"price" : "",
"currency_code" : ""
}
}
},
"service_address" : {
"encrypted_address" : "guid(nonce XOR service address)",
"sha256_nonce" : "sha256(nonce)",
"nonce_enc" : "vendor_guid(nonce)"
}
},
"multisignature" : {
"chaincode" : "",
"vendor_sig" : "",
"redemption_script" : "",
"txid" : ""
}
},
"signatures" : {
"guid" : "sig(buyer.order)"
}
},
"vendor_order_confirmation" : {
"invoice" : {
"ref" : {
"algorithm" : "base58(RIPEMD-160[buyer_order])",
"ref_hash" : ""
},
"shipping" : {
"tracking_id" : "",
"shipper" : "",
"payout" : {
"payout_address" : "",
"signed_tx" : ""
},
"rev_est_delivery" : ""
},
"pickup_address" : {
"encrypted_address" : "bitcoin_ecc(nonce XOR pickup address)",
"sha256_nonce" : "sha256(nonce)",
"enc_nonce" : "buyer_bitcoin_ecc(nonce)"
},
"content_source" : {
"enc_url" : "bitcoin_ecc(nonce XOR URL)",
"enc_password" : "bitcoin_ecc(nonce XOR password)",
"nonce_url_sha256" : "sha256(nonce_url)",
"nonce_password_sha256" : "sha256(nonce_password)",
"nonce_url_enc" : "buyer_bitcoin_ecc(nonce_url)",
"nonce_password_enc" : "buyer_bitcoin_ecc(nonce_password)"
},
"comments" : ""
},
"signatures" : {
"guid" : "sig(vendor_invoice.invoice)"
}
},
"buyer_receipt" : {
"receipt" : {
"ref" : {
"algorithm" : "base58(RIPEMD-160[vendor_invoice])",
"ref_hash" : ""
},
"listing" : {
"received" : true
},
"payout" : {
"signed_tx" : "",
"txid" : ""
},
"rating" : {
"feedback" : 0,
"quality" : 0,
"description" : 0,
"delivery_time" : 0,
"customer_service" : 0,
"review" : ""
},
"dispute" : {
"dispute" : false,
"claim" : ""
}
},
"signatures" : {
"guid" : "sig(buyer_receipt.receipt)"
}
}
}
Last active
September 4, 2015 06:10
-
-
Save drwasho/85aab54d58e0fcf13b36 to your computer and use it in GitHub Desktop.
Contract template for physical goods, digital content, and services.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment