action fec_get_schedules_schedule_b_by_purpose { label: "get_schedules_schedule_b_by_purpose" description: "\nSchedule B disbursements aggregated by disbursement purpose category. To avoid double counting,\nmemoed items are not included.\nPurpose is a combination of transaction codes, category codes and disbursement description.\nInspect the `disbursement_purpose` sql function within the migrations for more details.\n" provider: fec method: GET path: "/schedules/schedule_b/by_purpose/" encoding: json input: { type: "object" properties: { api_key: { type: "string" } committee_id: { type: "array" items: { type: "string" } } cycle: { type: "array" items: { type: "integer" format: "int32" } } page: { type: "integer" format: "int32" } per_page: { type: "integer" format: "int32" } purpose: { type: "array" items: { type: "string" } } sort: { type: "string" } sort_hide_null: { type: "boolean" } sort_null_only: { type: "boolean" } sort_nulls_last: { type: "boolean" } } required: ["api_key"] additionalProperties: false } output: { type: "object" additionalProperties: true } }