chg: [coin-address] XMR type address added in addition to the default Bitcoin address format

pull/107/head
Alexandre Dulaunoy 2018-07-04 11:10:50 +02:00
parent 3b21125acd
commit 6c36a1df69
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 9 additions and 3 deletions

View File

@ -1,13 +1,19 @@
{ {
"requiredOneOf": [ "requiredOneOf": [
"address" "address",
"address-xmr"
], ],
"attributes": { "attributes": {
"address": { "address": {
"description": "Address used as a payment destination in a cryptocurrency", "description": "Bitcoin address used as a payment destination in a cryptocurrency",
"ui-priority": 1, "ui-priority": 1,
"misp-attribute": "btc" "misp-attribute": "btc"
}, },
"address-xmr": {
"description": "Monero address used as a payment destination in a cryptocurrency",
"ui-priority": 1,
"misp-attribute": "xmr"
},
"symbol": { "symbol": {
"description": "The (uppercase) symbol of the cryptocurrency used. Symbol should be from https://coinmarketcap.com/all/views/all/", "description": "The (uppercase) symbol of the cryptocurrency used. Symbol should be from https://coinmarketcap.com/all/views/all/",
"misp-attribute": "text", "misp-attribute": "text",
@ -61,7 +67,7 @@
"recommended": false "recommended": false
} }
}, },
"version": 2, "version": 3,
"description": "An address used in a cryptocurrency", "description": "An address used in a cryptocurrency",
"meta-category": "financial", "meta-category": "financial",
"uuid": "d0e6997e-78da-4815-a6a1-cfc1c1cb8a46", "uuid": "d0e6997e-78da-4815-a6a1-cfc1c1cb8a46",