diff options
Diffstat (limited to 'app/validators')
3 files changed, 25 insertions, 2 deletions
diff --git a/app/validators/json_schemas/build_metadata_secrets.json b/app/validators/json_schemas/build_metadata_secrets.json index 3c8035d0dcf..5dcd33a2cf0 100644 --- a/app/validators/json_schemas/build_metadata_secrets.json +++ b/app/validators/json_schemas/build_metadata_secrets.json @@ -24,7 +24,8 @@ }, "additionalProperties": false }, - "^file$": { "type": "boolean" } + "^file$": { "type": "boolean" }, + "^token$": { "type": "string" } }, "additionalProperties": false } diff --git a/app/validators/json_schemas/ci_secure_file_metadata.json b/app/validators/json_schemas/ci_secure_file_metadata.json new file mode 100644 index 00000000000..46a7ff60b8f --- /dev/null +++ b/app/validators/json_schemas/ci_secure_file_metadata.json @@ -0,0 +1,22 @@ +{ + "description": "CI Secure File Metadata", + "type": "object", + "properties": { + "id": { "type": "string" }, + "team_name": { "type": "string" }, + "team_id": { "type": "string" }, + "app_name": { "type": "string" }, + "app_id": { "type": "string" }, + "app_id_prefix": { "type": "string" }, + "xcode_managed": { "type": "boolean" }, + "entitlements": { "type": "object" }, + "devices": { "type": "array" }, + "certificate_ids": { "type": "array" }, + "issuer": { "type": "object" }, + "subject": { "type": "object" } + }, + "additionalProperties": true, + "required": [ + "id" + ] +} diff --git a/app/validators/json_schemas/merge_request_predictions_suggested_reviewers.json b/app/validators/json_schemas/merge_request_predictions_suggested_reviewers.json index 70112d7e414..8e80b52d9b8 100644 --- a/app/validators/json_schemas/merge_request_predictions_suggested_reviewers.json +++ b/app/validators/json_schemas/merge_request_predictions_suggested_reviewers.json @@ -4,7 +4,7 @@ "properties": { "top_n": { "type": "number" }, "version": { "type": "string" }, - "changes": { "type": "array" } + "reviewers": { "type": "array" } }, "additionalProperties": true } |