addedOutput schema / properties / profile
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "age": {
+ "description": "Age today (US Eastern), for politicians in office only: the source has no date of death, so it is null for former members.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "birthday": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "committees": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "chamber": {
+ "description": "house, senate or joint.",
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "side": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "subcommittees": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "side": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "title": {
+ "anyOf": [
+ {
+ "enum": [
+ "chair",
+ "vice_chair",
+ "ranking_member",
+ "ex_officio",
+ "co_chair",
+ "other"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "chair, vice_chair, ranking_member, ex_officio, co_chair or other (the source's wording is in title_raw); null for a regular member."
+ },
+ "title_raw": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "side",
+ "title",
+ "title_raw"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "title": {
+ "anyOf": [
+ {
+ "enum": [
+ "chair",
+ "vice_chair",
+ "ranking_member",
+ "ex_officio",
+ "co_chair",
+ "other"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "chair, vice_chair, ranking_member, ex_officio, co_chair or other (the source's wording is in title_raw); null for a regular member."
+ },
+ "title_raw": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "side",
+ "title",
+ "title_raw",
+ "chamber",
+ "url",
+ "subcommittees"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "district": {
+ "description": "House seat code of the latest term, e.g. CA-11; AK-AL for an at-large seat, DC-AL for a delegate; null for senators.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "leadership": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "chamber": {
+ "type": "string"
+ },
+ "current": {
+ "type": "boolean"
+ },
+ "end": {
+ "description": "The end date, or null when the source gives none (the role is held).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "start": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "chamber",
+ "start",
+ "end",
+ "current"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "photo_url": {
+ "description": "Official portrait, 360x450 WebP, public domain; null when there is no photo.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "position": {
+ "description": "The seat in English, e.g. U.S. Representative for California's 11th district.",
+ "type": "string"
+ },
+ "social": {
+ "additionalProperties": false,
+ "properties": {
+ "facebook": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "instagram": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "mastodon": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "x": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "youtube": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "x",
+ "facebook",
+ "youtube",
+ "instagram",
+ "mastodon"
+ ],
+ "type": "object"
+ },
+ "website": {
+ "description": "Official website; politicians in office only.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "wikipedia_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "photo_url",
+ "position",
+ "district",
+ "birthday",
+ "age",
+ "website",
+ "social",
+ "wikipedia_url",
+ "leadership",
+ "committees"
+ ],
+ "type": "object"
+}