| [ |
| { |
| "dataElement": { |
| "description": "Help on the available elements.", |
| "name": "help", |
| "valueType": "octetstringType" |
| } |
| }, |
| { |
| "dataElement": { |
| "description": "List of rows.", |
| "name": "Rows", |
| "valueType": "integerlistType", |
| "typeDescriptor": { |
| "isListOf": true, |
| "typeName": "Row" |
| } |
| } |
| }, |
| { |
| "dataElement": { |
| "description": "List of columns.", |
| "name": "Columns", |
| "valueType": "integerlistType", |
| "typeDescriptor": { |
| "isListOf": true, |
| "typeName": "Column" |
| } |
| } |
| }, |
| { |
| "dataElement": { |
| "description": "The status of the game.", |
| "name": "Status", |
| "valueType": "statusLEDType" |
| } |
| }, |
| { |
| "dataElement": { |
| "description": "Create a new game.", |
| "name": "New", |
| "valueType": "intType" |
| } |
| }, |
| { |
| "dataElement": { |
| "description": "The horizontal size of the board. Min: 1, Max: 20.", |
| "name": "HorizontalSize", |
| "valueType": "intType" |
| } |
| }, |
| { |
| "dataElement": { |
| "description": "The vertical size of the board. Min: 1, Max: 20.", |
| "name": "VerticalSize", |
| "valueType": "intType" |
| } |
| }, |
| { |
| "dataElement": { |
| "description": "A comma separated list of ship sizes.", |
| "name": "Ships", |
| "valueType": "charstringType" |
| } |
| }, |
| { |
| "dataElement": { |
| "description": "Make a guess.", |
| "name": "Guess", |
| "valueType": "intType", |
| "parameters": [ |
| { |
| "description": "The row.", |
| "exampleValue": "2", |
| "name": "Row", |
| "typeDescriptor": { |
| "reference": { |
| "typeName": "Row" |
| } |
| } |
| }, |
| { |
| "description": "The column.", |
| "exampleValue": "3", |
| "name": "Column", |
| "typeDescriptor": { |
| "reference": { |
| "typeName": "Column" |
| } |
| } |
| } |
| ] |
| } |
| } |
| ] |