Permalink
Browse files

More details about the data

  • Loading branch information...
Zack Maril
Zack Maril committed Jul 15, 2014
1 parent 97e051c commit a05947d98d4bf74f36dd9dbb098972809446b743
Showing with 35 additions and 9 deletions.
  1. +35 −9 src/echelon/schema.clj
View
@@ -99,17 +99,21 @@
(def activity-attributes
[(enum :lobbying.records/activity)
- (string-prop :lobbying.activity/issues-details
+ (string-prop :lobbying.activity/general-details
"Details about the lobbying generally done by the
registrant for the client on various issues.")
+ (string-prop :lobbying.activity/specific-details
+ "Details about the lobbying specifically done by the
+ registrant for the client.")
+ ;;foreign interest?
+ ;; (string-prop :lobbying.activity/houses-and-agencies
+ ;; "Details about the lobbying specifically done by the
+ ;; registrant for the client.")
(component-props :lobbying.activity/issue-codes
"The issue codes generally associated with the activity.")
(component-props :lobbying.activity/lobbyists
"The foreign entities for the activity.")])
-(def transaction-annotations-attributes
- )
-
;;(enum :lobbying.records/affiliated-organization)
;;(enum :lobbying.records/foreign-entity)
;;(enum :lobbying.records/individual)
@@ -139,15 +143,37 @@
(def registration-form-attributes
[(enum :lobbying.records/registration)
- (instant-prop :lobbying.engagement/effective-date
+ (instant-prop :lobbying.registration/effective-date
"No idea what this one actually means.")
- (component-props :lobbying.engagement/affiliated-organizations
+ (component-props :lobbying.registration/affiliated-organizations
"The affiliated organizations for the engagement.")
- (component-props :lobbying.engagement/foreign-entity
- "The foreign entities for the engagement.")])
+ (component-props :lobbying.registration/foreign-entities
+ "The foreign entities for the engagement.")
+ (component-prop :lobbying.registration/activity
+ "Initial description of lobbying activity")])
(def report-form-attributes
- [(enum :lobbying.records/report)])
+ [(enum :lobbying.records/report)
+ (component-props :lobbying.report/removed-foreign-entities
+ "Removed foreign entities.")
+ (component-props :lobbying.report/added-foreign-entities
+ "Added foreign entities.")
+ (component-props :lobbying.report/removed-affiliated-organizations
+ "Removed affiliated organizations.")
+ (component-props :lobbying.report/added-affiliated-organizations
+ "Added affiliated organizations.")
+ (component-props :lobbying.report/removed-lobbyists
+ "Removed lobbyists.")
+ (component-props :lobbying.report/added-lobbyists
+ "Added lobbyists.")
+ (component-props :lobbying.registration/activities
+ "Initial description of lobbying activity")
+ (ref-props :lobbying.report/removed-lobbying-issues
+ "Removed lobbying issues.")
+ (ref-props :lobbying.report/added-lobbying-issues
+ "Added lobbying issues.")
+
+ ])
(def schema
(concat alis-attributes

0 comments on commit a05947d

Please sign in to comment.