feat(third_party): Check in git-appraise
This commit is contained in:
parent
e03f063052
commit
fe642c30f0
38 changed files with 7300 additions and 0 deletions
75
third_party/go/git-appraise/schema/comment.json
vendored
Normal file
75
third_party/go/git-appraise/schema/comment.json
vendored
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
{
|
||||
"$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}"
|
||||
},
|
||||
|
||||
"author": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
"original": {
|
||||
"description": "the SHA1 hash of another comment on the same revision, and it means this comment is an updated version of that comment",
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
"parent": {
|
||||
"description": "the SHA1 hash of another comment on the same revision, and it means this comment is a reply to that comment",
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
"location": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"commit": {
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"range": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"startLine": {
|
||||
"type": "integer"
|
||||
},
|
||||
"startColumn": {
|
||||
"type": "integer"
|
||||
},
|
||||
"endLine": {
|
||||
"type": "integer"
|
||||
},
|
||||
"endColumn": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
"resolved": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
"v": {
|
||||
"type": "integer",
|
||||
"enum": [0]
|
||||
}
|
||||
},
|
||||
|
||||
"required": [
|
||||
"timestamp",
|
||||
"author"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue