diff options
Diffstat (limited to 'app/validators/json_schemas/ci_job_annotation_data.json')
-rw-r--r-- | app/validators/json_schemas/ci_job_annotation_data.json | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/validators/json_schemas/ci_job_annotation_data.json b/app/validators/json_schemas/ci_job_annotation_data.json new file mode 100644 index 00000000000..d623ed3c179 --- /dev/null +++ b/app/validators/json_schemas/ci_job_annotation_data.json @@ -0,0 +1,19 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "description": "Build annotation", + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "external_link": { + "$ref": "./ci_job_external_link_data.json" + } + }, + "additionalProperties": false + } + ] + }, + "maxItems": 1000 +} |