diff options
Diffstat (limited to 'spec/fixtures/api/schemas/entities/lint_result_entity.json')
-rw-r--r-- | spec/fixtures/api/schemas/entities/lint_result_entity.json | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/entities/lint_result_entity.json b/spec/fixtures/api/schemas/entities/lint_result_entity.json new file mode 100644 index 00000000000..502e1dac1ac --- /dev/null +++ b/spec/fixtures/api/schemas/entities/lint_result_entity.json @@ -0,0 +1,25 @@ +{ + "type": "object", + "required": ["valid", "errors", "jobs", "warnings"], + "properties": { + "errors": { + "type": "array", + "items": { "type": "string" } + }, + "warnings": { + "type": "array", + "items": { "type": "string" } + }, + "valid": { + "type": "boolean" + }, + "jobs": { + "type": ["array", null], + "items": { + "type": "object", + "$ref": "lint_job_entity.json" + } + } + }, + "additionalProperties": false +} |