bcc5b10d2e
Correct LOC for autogenerated commits and project retirements Change-Id: Ic225d9789500634d895b0b279be41fa1181e08d0
46 lines
1.5 KiB
JSON
46 lines
1.5 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"type": "object",
|
|
"required": ["corrections"],
|
|
"properties": {
|
|
"corrections": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"primary_key": {
|
|
"type": "string",
|
|
"pattern": "^[\\S]+$"
|
|
},
|
|
"loc": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"correction_comment": {
|
|
"type": "string"
|
|
},
|
|
"module": {
|
|
"type": "string",
|
|
"pattern": "^[a-z0-9-\\.]+$"
|
|
},
|
|
"subject": {
|
|
"type": "string"
|
|
},
|
|
"change_id": {
|
|
"type": ["array", "null"],
|
|
"items": {
|
|
"type": "string",
|
|
"pattern": "^I[a-z0-f]{40}$"
|
|
},
|
|
"minItems": 0
|
|
},
|
|
"author_email": {
|
|
"type": "string",
|
|
"pattern": "^[a-z\\d_\\.\\+-]+@([a-z\\d\\.-]+\\.)+[a-z]+$"
|
|
}
|
|
},
|
|
"required": ["primary_key", "correction_comment"]
|
|
}
|
|
}
|
|
}
|
|
} |