jpmckinney/pupa-ruby

View on GitHub
schemas/popolo/group_result.json

Summary

Maintainability
Test Coverage
{
  "$schema": "http://json-schema.org/draft-03/schema#",
  "id": "group_result.json#",
  "title": "Group result",
  "description": "A result of a vote event within a group of voters",
  "type": "object",
  "properties": {
    "group_id": {
      "description": "The ID of a group of voters",
      "type": ["string", "null"]
    },
    "group": {
      "description": "A group of voters",
      "type": ["object", "null"]
    },
    "result": {
      "description": "The result of the vote event within a group of voters",
      "type": "string",
      "required": true
    }
  }
}