Baloo/Schema/0.1: Difference between revisions

From MozillaWiki
< Baloo‎ | Schema
Jump to navigation Jump to search
No edit summary
(adding Moztrap)
 
Line 47: Line 47:
<li><code>tree</code>: tree name (eg. mozilla-central) (string)</li>
<li><code>tree</code>: tree name (eg. mozilla-central) (string)</li>
<li><code>sha</code>: revision hash (string, doesn't exist yet)</li>
<li><code>sha</code>: revision hash (string, doesn't exist yet)</li>
</ul>}}
{{hidden1|extra - moztrap|
<ul>
<li><code>user</code>: user name (string)</li>
<li><code>case</code>: Case that the result was for (string)</li>
<li><code>case_to_run</code>: Case to run (string)</li>
<li><code>run_to_product_version</code>: Run to product version (string)</li>
<li><code>product_version_to_product</code>: Product version to product (string)</li>
</ul>}}
</ul>}}



Latest revision as of 15:12, 2 October 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
    • one_and_done-task-finished
  • source: source of contribution, one of the following: (string) *required
    • bugzilla
    • hg
    • sumo
    • reps
    • github
    • one_and_done
  • version:Version of the Schema used (0.1 in this case)(string) *required
  • extra: per-contribution data, following a source-dependent schema (dictionary)