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.
@@ -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 category.",
15
+ "required": true
14
16
  },
15
17
  "name": {
16
18
  "description": "The name of the category",
@@ -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 committee.",
15
+ "required": true
14
16
  },
15
17
  "name": {
16
18
  "description": "The name of the committee",
@@ -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 district.",
15
+ "required": true
14
16
  },
15
17
  "name": {
16
18
  "description": "The name of the district",
@@ -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 'name' field in the committee type."
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",
@@ -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 party.",
15
+ "required": true
14
16
  },
15
17
  "name": {
16
18
  "description": "The name of the party",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "externalId": {
13
13
  "type": "string",
14
- "description": "An ID uniquely identifying the party (matching externalId of hdo#party)",
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 proposition.",
15
+ "required": true
14
16
  },
15
17
  "description": {
16
18
  "type": "string",
@@ -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 representative.",
15
+ "required": true
14
16
  },
15
17
  "firstName": {
16
18
  "type": "string",
@@ -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'>&lt;representative&gt;</a> objects with the property 'voteResult', for which valid values are 'for', 'against', 'absent'.",
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": {
@@ -1,5 +1,5 @@
1
1
  module Hdo
2
2
  module StortingImporter
3
- VERSION = "0.2.8"
3
+ VERSION = "0.2.9"
4
4
  end
5
5
  end
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.8
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-05 00:00:00.000000000 Z
12
+ date: 2012-10-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder