经验首页 前端设计 程序设计 Java相关 移动开发 数据库/运维 软件/图像 大数据/云计算 其他经验
当前位置:技术经验 » 其他 » 区块链 » 查看文章
dtcp格式定义
来源:cnblogs  作者:白云辉  时间:2018/9/30 10:43:43  对本文有异议

common

name type optional comment
id string y Content id
version string y DTCP version. "1.0".
type string y object|link
signature string y metadata的签名
tag string y 标签集, 以逗号分隔 "帅气, 英俊"
dna string y metadata dna,不参与签名过程
parent_dna string y 该metadata修改前的dna
created int y 创建的时间,时间戳,13位长度, 1506302092000
updated int y 创建的时间,时间戳,13位长度, 1506302092000
status string y 状态,created,updated,deleted
creator object y Creator of the content
extra object y 扩展内容, 自定义内容, 用户的额外数据
data object y 根据tag存放相关的article, image, link自己独有的内容
title string n 内容的标题
source string n 内容的原地址,比如文章,图片,vedio,audio url
abstract string n 内容描述,对内容的描述
content string n 原始内容,原始内容
language string n zh-cn
license object n 内容许可
additional object n 额外的附加内容,不参与签名计算,系统的额外数据
name type optional comment
src_id string y source id
dest_id string y destination id

creator

name type optional comment
account_id string y Account id. Root account id in the case of Sub account posting.
account_name string n Account name.
sub_account_id string n Sub account id.
sub_account_name string n Sub account name. For fast creation of new sub accounts.
 友情链接:直通硅谷  点职佳  北美留学生论坛

本站QQ群:前端 618073944 | Java 606181507 | Python 626812652 | C/C++ 612253063 | 微信 634508462 | 苹果 692586424 | C#/.net 182808419 | PHP 305140648 | 运维 608723728

W3xue 的所有内容仅供测试,对任何法律问题及风险不承担任何责任。通过使用本站内容随之而来的风险与本站无关。
关于我们  |  意见建议  |  捐助我们  |  报错有奖  |  广告合作、友情链接(目前9元/月)请联系QQ:27243702 沸活量
皖ICP备17017327号-2 皖公网安备34020702000426号