action parliament_get_bill_publication { label: "Return a list of Bill publications." provider: parliament method: GET path: "/api/v1/Bills/{billId}/Publications" encoding: json input: { type: "object" properties: { billId: { type: "integer" format: "int32" } } required: ["billId"] additionalProperties: false } output: { type: "object" properties: { billId: { type: "integer" format: "int32" } publications: { type: "array" items: { type: "object" properties: { displayDate: { type: "string" format: "date-time" } files: { type: "array" items: { type: "object" properties: { contentLength: { type: "integer" format: "int32" } contentType: { type: "string" } filename: { type: "string" } id: { type: "integer" format: "int32" } } additionalProperties: false } } house: { type: "string" enum: ["All", "Commons", "Lords", "Unassigned"] } id: { type: "integer" format: "int32" } links: { type: "array" items: { type: "object" properties: { contentType: { type: "string" } id: { type: "integer" format: "int32" } title: { type: "string" } url: { type: "string" } } additionalProperties: false } } publicationType: { type: "object" properties: { description: { type: "string" } id: { type: "integer" format: "int32" } name: { type: "string" } } additionalProperties: false } title: { type: "string" } } additionalProperties: false } } } additionalProperties: false } }