Skip to content

Commit

Permalink
Support including some information about where a test behavior is spe…
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Nov 8, 2023
1 parent bb52b77 commit 0ba3ce7
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions test-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,38 @@
"type": "object",
"properties": {
"base_uri": { "type": "string", "format": "uri" },
"why": {
"description": "A human-readable explanation of the results of this test.",
"type": "object",
"unevaluatedProperties": false,
"properties": {
"summary": {
"description": "A summary of the behavior specified in the linked specifications",
"type": "string"
},
"specifications": {
"description": "One or more releavnt specifications for this test.",
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"oneOf": [{ "required": ["rfc"] }, { "required": ["name"] }],
"properties": {
"rfc": {
"description": "An IETF RFC",
"type": "number"
},
"name": {
"description": "Any other specification",
"type": "string"
},
"section": { "type": "string" },
"link": { "type": "string", "format": "uri" }
}
}
}
}
},
"ref": { "type": "string" },
"target": {},
"then": {
Expand Down

0 comments on commit 0ba3ce7

Please sign in to comment.