From fe642c30f01c4f3f6637851595ad1b36032461aa Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 2 Jul 2019 14:19:12 +0100 Subject: feat(third_party): Check in git-appraise --- third_party/go/git-appraise/schema/request.json | 58 +++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 third_party/go/git-appraise/schema/request.json (limited to 'third_party/go/git-appraise/schema/request.json') diff --git a/third_party/go/git-appraise/schema/request.json b/third_party/go/git-appraise/schema/request.json new file mode 100644 index 000000000000..9ec022a16e9e --- /dev/null +++ b/third_party/go/git-appraise/schema/request.json @@ -0,0 +1,58 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + + "properties": { + "timestamp": { + "description": "the number of seconds since the Unix epoch", + "type": "string", + "minLength": 10, + "maxLength": 10, + "pattern": "[0-9]{10,10}" + }, + + "requester": { + "type": "string" + }, + + "baseCommit": { + "type": "string" + }, + + "reviewRef": { + "description": "used to specify a git ref that tracks the current revision under review", + "type": "string" + }, + + "targetRef": { + "description": "used to specify the git ref that should be updated once the review is approved", + "type": "string" + }, + + "reviewers": { + "type": "array", + "items": { + "type": "string" + } + }, + + "description": { + "type": "string" + }, + + "v": { + "type": "integer", + "enum": [0] + }, + + "alias": { + "description": "used to specify a post-rebase commit hash for the review", + "type": "string" + } + }, + + "required": [ + "timestamp", + "requester" + ] +} -- cgit 1.4.1