diff options
Diffstat (limited to 'fixtures/schemas')
| -rw-r--r-- | fixtures/schemas/corpus-manifest.schema.json | 19 | ||||
| -rw-r--r-- | fixtures/schemas/report.schema.json | 10 |
2 files changed, 29 insertions, 0 deletions
diff --git a/fixtures/schemas/corpus-manifest.schema.json b/fixtures/schemas/corpus-manifest.schema.json new file mode 100644 index 0000000..4542ec0 --- /dev/null +++ b/fixtures/schemas/corpus-manifest.schema.json @@ -0,0 +1,19 @@ +{ + "schema": 1, + "required": ["schema", "corpus"], + "properties": { + "schema": { "const": 1 }, + "corpus": { + "type": "array", + "items": { + "required": ["id", "kind", "root", "expected_profile"], + "properties": { + "id": { "type": "string" }, + "kind": { "enum": ["demo", "part1", "part2"] }, + "root": { "type": "string" }, + "expected_profile": { "type": "string" } + } + } + } + } +} diff --git a/fixtures/schemas/report.schema.json b/fixtures/schemas/report.schema.json new file mode 100644 index 0000000..70ab4df --- /dev/null +++ b/fixtures/schemas/report.schema.json @@ -0,0 +1,10 @@ +{ + "schema": 1, + "required": ["schema", "kind", "files", "metrics"], + "properties": { + "schema": { "const": 1 }, + "kind": { "type": "string" }, + "files": { "type": "integer" }, + "metrics": { "type": "object" } + } +} |
