README: Update simple JSON example
@@ -26,16 +26,19 @@ illustrate the structure of these with an example:
```json
{
- "description": "the description of the test case",
- "schema": {"the schema that should" : "be validated against"},
+ "description": "The description of the test case",
+ "schema": {
+ "description": "The schema against which the data in each test is validated",
+ "type": "string"
+ },
"tests": [
{
- "description": "a specific test of a valid instance",
- "data": "the instance",
+ "description": "Test for a valid instance",
+ "data": "the instance to validate",
"valid": true
},
{
- "description": "another specific test this time, invalid",
+ "description": "Test for an invalid instance",
"data": 15,
"valid": false
}
