| { |
| "$schema": "http://json-schema.org/draft-07/schema#", |
| "title": "Testing Metadata Output", |
| "description": "Schema for the aggregated testing_metadata.json output file.", |
| "type": "object", |
| "required": [ |
| "metadata", |
| "version" |
| ], |
| "properties": { |
| "metadata": { |
| "type": "object", |
| "additionalProperties": { |
| "type": "object", |
| "properties": { |
| "coverage": { |
| "type": "object", |
| "description": "Coverage information for a directory, aggregated from parent directories.", |
| "properties": { |
| "category": { |
| "type": "string", |
| "description": "The high-level category of coverage." |
| }, |
| "subcategory": { |
| "type": "string", |
| "description": "The specific subcategory of coverage." |
| }, |
| "tags": { |
| "type": "array", |
| "items": { |
| "type": "string" |
| }, |
| "description": "Tags associated with the coverage." |
| } |
| }, |
| "additionalProperties": false |
| }, |
| "parent_directory": { |
| "type": "string", |
| "description": "The directory that provided the closest TESTING.json5 file for this directory." |
| } |
| }, |
| "additionalProperties": false |
| } |
| }, |
| "version": { |
| "type": "integer", |
| "minimum": 1 |
| } |
| }, |
| "additionalProperties": false |
| } |