hdo-storting-importer 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/hdo/storting_importer/schema/category.json +3 -1
- data/lib/hdo/storting_importer/schema/committee.json +3 -1
- data/lib/hdo/storting_importer/schema/district.json +3 -1
- data/lib/hdo/storting_importer/schema/parliament_issue.json +2 -2
- data/lib/hdo/storting_importer/schema/party.json +3 -1
- data/lib/hdo/storting_importer/schema/party_membership.json +1 -1
- data/lib/hdo/storting_importer/schema/proposition.json +3 -1
- data/lib/hdo/storting_importer/schema/representative.json +3 -1
- data/lib/hdo/storting_importer/schema/vote.json +4 -2
- data/lib/hdo/storting_importer/version.rb +1 -1
- metadata +2 -2
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"externalId": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"description": "",
|
|
14
|
+
"description": "A unique identifier for the issue.",
|
|
15
15
|
"required": false
|
|
16
16
|
},
|
|
17
17
|
"summary": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"committee": {
|
|
53
53
|
"type": "string",
|
|
54
|
-
"description": "What committee this issue belongs to. Should match the '
|
|
54
|
+
"description": "What committee this issue belongs to. Should match the 'externalId' field in the committee type."
|
|
55
55
|
},
|
|
56
56
|
"categories": {
|
|
57
57
|
"type": "array",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"externalId": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"description": "An
|
|
14
|
+
"description": "An unique identifier for the party (matching externalId of hdo#party)",
|
|
15
15
|
"required": true
|
|
16
16
|
},
|
|
17
17
|
"startDate": {
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
"required": true
|
|
11
11
|
},
|
|
12
12
|
"externalId": {
|
|
13
|
-
"type": "string"
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "A unique identifier for the vote.",
|
|
15
|
+
"required": true
|
|
14
16
|
},
|
|
15
17
|
"externalIssueId": {
|
|
16
18
|
"type": "string",
|
|
@@ -57,7 +59,7 @@
|
|
|
57
59
|
},
|
|
58
60
|
"representatives": {
|
|
59
61
|
"type": "array",
|
|
60
|
-
"description": "An array of each representative's vote. The object should contain a set of <a href='#input-format-representative'
|
|
62
|
+
"description": "An array of each representative's vote. The object should contain a set of <a href='#input-format-representative'>hdo#representative</a> objects with the property 'voteResult' added, for which valid values are 'for', 'against', 'absent'.",
|
|
61
63
|
"items": { "$ref": "hdo#representative" }
|
|
62
64
|
},
|
|
63
65
|
"propositions": {
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hdo-storting-importer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.9
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-10-
|
|
12
|
+
date: 2012-10-06 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: builder
|