schemas/popolo/vote_event.json in pupa-0.2.3 vs schemas/popolo/vote_event.json in pupa-0.2.4
- old
+ new
@@ -1,8 +1,8 @@
{
"$schema": "http://json-schema.org/draft-03/schema#",
- "id": "http://www.popoloproject.com/schemas/vote_event.json#",
+ "id": "vote_event.json#",
"title": "Vote event",
"description": "An event at which people's votes are recorded",
"type": "object",
"properties": {
"id": {
@@ -17,19 +17,19 @@
"description": "The ID of the motion being decided",
"type": ["string", "null"]
},
"motion": {
"description": "The motion being decided",
- "$ref": "http://www.popoloproject.com/schemas/motion.json#"
+ "$ref": "motion.json#"
},
"organization_id": {
"description": "The ID of the organization whose members are voting",
"type": ["string", "null"]
},
"organization": {
"description": "The organization whose members are voting",
- "$ref": "http://www.popoloproject.com/schemas/organization.json#"
+ "$ref": "organization.json#"
},
"legislative_session_id": {
"description": "The ID of the legislative session in which the vote occurs",
"type": ["string", "null"]
},
@@ -53,25 +53,25 @@
},
"group_results": {
"description": "The result of the vote event within groups of voters",
"type": "array",
"items": {
- "$ref": "http://www.popoloproject.com/schemas/group_result.json#"
+ "$ref": "group_result.json#"
}
},
"counts": {
"description": "The number of votes for options",
"type": "array",
"items": {
- "$ref": "http://www.popoloproject.com/schemas/count.json#"
+ "$ref": "count.json#"
}
},
"votes": {
"description": "Voters' votes",
"type": "array",
"items": {
- "$ref": "http://www.popoloproject.com/schemas/vote.json#"
+ "$ref": "vote.json#"
}
},
"created_at": {
"description": "The time at which the resource was created",
"type": ["string", "null"],
@@ -84,10 +84,10 @@
},
"sources": {
"description": "URLs to documents from which the vote event is derived",
"type": "array",
"items": {
- "$ref": "http://www.popoloproject.com/schemas/link.json#"
+ "$ref": "link.json#"
}
}
}
}