Sha256: 2a25ca7edba0952d78bed43b63c248e819e3928e62aa1f9e2cc87f651a354beb

Contents?: true

Size: 702 Bytes

Versions: 2

Compression:

Stored size: 702 Bytes

Contents

{
  "$schema": "http://json-schema.org/draft-03/schema#",
  "id": "http://popoloproject.com/schemas/count.json#",
  "title": "Count",
  "description": "The number of votes for an option in a vote event",
  "type": "object",
  "properties": {
    "option": {
      "description": "An option in a vote event",
      "type": "string",
      "required": true
    },
    "value": {
      "description": "The number of votes for an option",
      "type": "integer",
      "required": true
    },
    "group_id": {
      "description": "The ID of a group of voters",
      "type": ["string", "null"]
    },
    "group": {
      "description": "A group of voters",
      "type": ["object", "null"]
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pupa-0.1.9 schemas/popolo/count.json
pupa-0.1.8 schemas/popolo/count.json