Baloo/Schema/0.1: Difference between revisions

From MozillaWiki
< Baloo‎ | Schema
Jump to navigation Jump to search
No edit summary
No edit summary
Line 104: Line 104:
<li><code>commit-msg</code>: Commit message (string)
<li><code>commit-msg</code>: Commit message (string)
<li><code>github-username</code>: Github username (string)
<li><code>github-username</code>: Github username (string)
<li><code>issue-id</code>: ID of issue (string)
<li><code>action-type</code>: a codified string that describes the contribution (string) eg:
<li><code>action-type</code>: a codified string that describes the contribution (string) eg:
<ul>
<ul>

Revision as of 13:08, 28 August 2014

This is the payload schema version 0.1


All contribution data follows this schema:

  • email: email address of contributor (string) *required
  • datetime: date and time of contribution using ISO 8601(datetime) *required
  • canonical: permanent URL to contribution (string)
  • type: a codified string that describes the contribution (string) *required eg:
    • bugzilla-comment
    • hg-commit
    • sumo-revision
    • reps-activity
    • github-commit
  • source: source of contribution, one of the following: (string) *required
    • bugzilla
    • hg
    • sumo
    • reps
    • github
  • version:Version of the Schema used (0.1 in this case)(string) *required
  • extra: per-contribution data, following a source-dependent schema (dictionary)