* Added User property to certain schemas, updated acceptance-tests, bumped versions * Added changelog * moved users.json to the schemas/shared * add newline to user.json Co-authored-by: Oleksandr Bazarnov <oleksandr.bazarnov@globallogic.com>
234 lines
4.8 KiB
JSON
234 lines
4.8 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"_ab_github_repository": {
|
|
"type": ["string"]
|
|
},
|
|
"url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"id": {
|
|
"type": ["null", "integer"]
|
|
},
|
|
"node_id": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"html_url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"diff_url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"patch_url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"issue_url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"commits_url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"review_comments_url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"review_comment_url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"comments_url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"statuses_url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"number": {
|
|
"type": ["null", "integer"]
|
|
},
|
|
"state": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"locked": {
|
|
"type": ["null", "boolean"]
|
|
},
|
|
"title": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"user": {
|
|
"$ref": "user.json"
|
|
},
|
|
"body": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"labels": {
|
|
"type": ["null", "array"],
|
|
"items": {
|
|
"type": ["null", "integer"]
|
|
}
|
|
},
|
|
"milestone_id": {
|
|
"type": ["null", "integer"]
|
|
},
|
|
"active_lock_reason": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"created_at": {
|
|
"type": ["null", "string"],
|
|
"format": "date-time"
|
|
},
|
|
"updated_at": {
|
|
"type": ["null", "string"],
|
|
"format": "date-time"
|
|
},
|
|
"closed_at": {
|
|
"type": ["null", "string"],
|
|
"format": "date-time"
|
|
},
|
|
"merged_at": {
|
|
"type": ["null", "string"],
|
|
"format": "date-time"
|
|
},
|
|
"merge_commit_sha": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"assignee_id": {
|
|
"type": ["null", "integer"]
|
|
},
|
|
"assignees": {
|
|
"type": ["null", "array"],
|
|
"items": {
|
|
"type": ["null", "integer"]
|
|
}
|
|
},
|
|
"requested_reviewers": {
|
|
"type": ["null", "array"],
|
|
"items": {
|
|
"type": ["null", "integer"]
|
|
}
|
|
},
|
|
"requested_teams": {
|
|
"type": ["null", "array"],
|
|
"items": {
|
|
"type": ["null", "integer"]
|
|
}
|
|
},
|
|
"head": {
|
|
"type": ["null", "object"],
|
|
"properties": {
|
|
"label": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"ref": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"sha": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"user_id": {
|
|
"type": ["null", "integer"]
|
|
},
|
|
"repo_id": {
|
|
"type": ["null", "integer"]
|
|
}
|
|
}
|
|
},
|
|
"base": {
|
|
"type": ["null", "object"],
|
|
"properties": {
|
|
"label": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"ref": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"sha": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"user_id": {
|
|
"type": ["null", "integer"]
|
|
},
|
|
"repo_id": {
|
|
"type": ["null", "integer"]
|
|
}
|
|
}
|
|
},
|
|
"_links": {
|
|
"type": ["null", "object"],
|
|
"properties": {
|
|
"self": {
|
|
"type": ["null", "object"],
|
|
"properties": {
|
|
"href": {
|
|
"type": ["null", "string"]
|
|
}
|
|
}
|
|
},
|
|
"html": {
|
|
"type": ["null", "object"],
|
|
"properties": {
|
|
"href": {
|
|
"type": ["null", "string"]
|
|
}
|
|
}
|
|
},
|
|
"issue": {
|
|
"type": ["null", "object"],
|
|
"properties": {
|
|
"href": {
|
|
"type": ["null", "string"]
|
|
}
|
|
}
|
|
},
|
|
"comments": {
|
|
"type": ["null", "object"],
|
|
"properties": {
|
|
"href": {
|
|
"type": ["null", "string"]
|
|
}
|
|
}
|
|
},
|
|
"review_comments": {
|
|
"type": ["null", "object"],
|
|
"properties": {
|
|
"href": {
|
|
"type": ["null", "string"]
|
|
}
|
|
}
|
|
},
|
|
"review_comment": {
|
|
"type": ["null", "object"],
|
|
"properties": {
|
|
"href": {
|
|
"type": ["null", "string"]
|
|
}
|
|
}
|
|
},
|
|
"commits": {
|
|
"type": ["null", "object"],
|
|
"properties": {
|
|
"href": {
|
|
"type": ["null", "string"]
|
|
}
|
|
}
|
|
},
|
|
"statuses": {
|
|
"type": ["null", "object"],
|
|
"properties": {
|
|
"href": {
|
|
"type": ["null", "string"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"author_association": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"auto_merge": {
|
|
"type": ["null", "boolean"]
|
|
},
|
|
"draft": {
|
|
"type": ["null", "boolean"]
|
|
}
|
|
}
|
|
}
|