{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/file-commit",
"title": "File Commit",
"description": "File Commit",
"type": "object",
"required": [
"content",
"commit"
],
"properties": {
"content": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"sha": {
"type": "string"
},
"size": {
"type": "integer"
},
"url": {
"type": "string"
},
"html_url": {
"type": "string"
},
"git_url": {
"type": "string"
},
"download_url": {
"type": "string"
},
"type": {
"type": "string"
},
"_links": {
"type": "object",
"properties": {
"self": {
"type": "string"
},
"git": {
"type": "string"
},
"html": {
"type": "string"
}
}
}
},
"nullable": true
},
"commit": {
"type": "object",
"properties": {
"sha": {
"type": "string"
},
"node_id": {
"type": "string"
},
"url": {
"type": "string"
},
"html_url": {
"type": "string"
},
"author": {
"type": "object",
"properties": {
"date": {
"type": "string"
},
"name": {
"type": "string"
},
"email": {
"type": "string"
}
}
},
"committer": {
"type": "object",
"properties": {
"date": {
"type": "string"
},
"name": {
"type": "string"
},
"email": {
"type": "string"
}
}
},
"message": {
"type": "string"
},
"tree": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"sha": {
"type": "string"
}
}
},
"parents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"html_url": {
"type": "string"
},
"sha": {
"type": "string"
}
}
}
},
"verification": {
"type": "object",
"properties": {
"verified": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"signature": {
"type": "string",
"nullable": true
},
"payload": {
"type": "string",
"nullable": true
}
}
}
}
}
}
}