23 |
30 |
23 |
30 |
| asset | Required | The name of the token. Must match your token's name exactly. 24 characters max. |
| description | Optional | A longish description about this token. 2048 characters max. |
| image | Optional | A link a 48x48 PNG image to represent the token on the leaderboard and portfolio views. The text itself must be a valid URL that starts with "http://" or "https://" (100 characters max). The image the URL references must be in PNG format (the URL must end in .png). It must be 48x48, and it must use the RGB or RGBA color palette. If any of these are not correct, the system will reject it. |
| website | Optional | A link to the website for the token. 100 characters max. Must be a valid URL that starts with "http://" or "https://" |
| pgpsig | Optional | A link to a pgp signature text/file that will or can be used to sign messages by the issuer of this token. 100 characters max. Must be a valid URL that starts with "http://" or "https://" |
| address | Required | The Bitcoin address used to broadcast the json url and that will broadcast the result. |
| title | Required | The title of the feed. 64 characters max. |
| broadcast_date | Required | When the bet will be resolved. When type=binary broadcast_date must be a rfc3339 date. When type=cfd broadcast_date must be an iso8601 repeating interval. |
| deadline | Required if type='cfd'. | Must be an iso8601 repeating interval. |
| targets | Required if type='binary'. | A list/array of JSON objects. Each object contains details about a potential user choice for the bet. Normally, with binary bets, there is only one target object provided. However, it is possible to provide more than one, but in this case, the user would be able to bet yes or no for each option (meaning, if two targets were provided, there would be 4 separate user choices possible). |
| type | Optional | The type of the bet. Must be one of: 'binary', 'cfd' or 'all'. If type is not specified, targets OR deadline MUST be provided. |
| category | Optional | The nature of the feed. Must be one of: 'sports', 'politics', 'entertainment', 'economics', or 'other'. |
| description | Optional | A longish description about this feed. 255 characters max. |
| image | Optional | A link a 48x48 PNG image to represent the feed in the graphical user interface listing. The text itself must be a valid URL that starts with "http://" or "https://". The image the URL references must be in PNG format (the URL must end in .png). It must be 48x48, and it must use the RGB or RGBA color palette. If any of these are not correct, the system will reject it. |
| url | Optional | A link to the website for the feed. 100 characters max. Must be a valid URL that starts with "http://" or "https://" |
| operator | Optional | Object that contains informations about the feed operator. |
| customs | Optional | Object that contains additional custom informations about the feed. All values should be integer or string. |
| version | Optional | Version of the schema used for the json (current 1.0). |
| labels | Optional | Labels used for CFD bets. |
| labels.bull | Required | Label for bet type equal BullCFD. 32 characters max. |
| labels.bear | Required | Label for bet type equal BearCFD. 32 characters max. |
| odds | Optional | Object that contains default odds for Bull bets (the inverse is used for Bear bets). |
| odds.initial | Required (or odds.suggested) | Default odds used when there is not open bets. |
| odds.suggested | Required (or odds.initial) | Default odds used when there is open bets. |
| text | Required | Topic of the target_value. 64 characters max. |
| value | Required | The value used for this target_value. |
| deadline | Required | The exact or approximate time that the feed will be resolved. |
| image | Optional | A link a 48x48 PNG image to represent the target_value in the graphical user interface listing. |
| labels | Optional | Object that contains labels used for each bet type. |
| labels.equal | Required | Label for Equal. 32 characters max. |
| labels.not_equal | Required | Label for NotEqual. 32 characters max. |
| odds | Optional | Object that contains default odds for Equal bets (the inverse is used for NotEqual bets). |
| odds.initial | Required (or odds.suggested) | Default odds used when there is not open bets. |
| odds.suggested | Required (or odds.initial) | Default odds used when there is open bets. |
| name | Required | The operator name. |
| description | Optional | A longish description about the operator. 2048 characters max. |
| image | Optional | A link a 48x48 PNG image to represent the operator in the graphical user interface listing. |
| url | Optional | A link to the website for the operator. 100 characters max. Must be a valid URL that starts with "http://" or "https://" |