Baloo/Schema/0.1: Difference between revisions

From MozillaWiki
< Baloo‎ | Schema
Jump to navigation Jump to search
(added one and done)
No edit summary
Line 133: Line 133:
<li><code>task-id</code>: Task ID (string)
<li><code>task-id</code>: Task ID (string)
<li><code>difficulty</code>: Task difficulty level (string)
<li><code>difficulty</code>: Task difficulty level (string)
<li><code>description</code>: description of the ad-contribution that was recorded (string)
</ul>
</ul>
}}
}}

Revision as of 16:43, 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
    • 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)