| 66 | |
| 67 | Here is an example of a bid in JSON format. issue 2 and issue 3 are number values, issue 1 is a discrete issue. All values in quotes are discrete values, while values without quotes are number values. |
| 68 | |
| 69 | {{{ |
| 70 | {"issuevalues":{ |
| 71 | "issue3":9012345678901234567.89, |
| 72 | "issue2":1, |
| 73 | "issue1":"b" |
| 74 | }} |
| 75 | }}} |
| 76 | |
| 77 | When describing the domain, the set of allowed values has to be given. To give an example: |
| 78 | |
| 79 | {{{ |
| 80 | {"name":"testdomain","issuesValues":{ |
| 81 | "issue1":{"range":["2","3","0.22"]}, |
| 82 | "issue2":{"values":["i1v1","i1v2"]} |
| 83 | }} |
| 84 | }}} |
| 85 | |
| 86 | the "range" indicates issue 1 is a number issue, with allowed values from 2 to 3 with steps 0.22. The "values" indicates issue2 is a discrete issue, with allowed values "i1v1" and "i1v2". |