addedOutput schema / oneOf
Added value: +[
+ {
+ "properties": {
+ "bills": {
+ "items": {
+ "properties": {
+ "bill_type": {
+ "description": "Bill type code",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "bill_type_label": {
+ "description": "Bill type label",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "congress": {
+ "description": "Congress number",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Bill ID",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "introduced_date": {
+ "description": "Bill introduction date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "link": {
+ "description": "GovTrack bill URL",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "match": {
+ "description": "How well the bill's titles match the query: exact title, title containing the phrase, all query words present, some words present, or no title-word overlap",
+ "enum": [
+ "exact",
+ "phrase",
+ "all_words",
+ "partial",
+ "none"
+ ],
+ "type": "string"
+ },
+ "matched_title": {
+ "description": "The bill title (display, short or official) that produced the match tier, or null",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "number": {
+ "description": "Bill number",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "sponsor_name": {
+ "description": "Primary sponsor name",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "description": "Current status code",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status_date": {
+ "description": "Date of current status",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status_label": {
+ "description": "Current status label",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "title": {
+ "description": "Full bill title",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "title_without_number": {
+ "description": "Bill title without number prefix",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "match",
+ "matched_title"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "candidates_ranked": {
+ "description": "Number of distinct upstream candidate bills that were scored and ranked",
+ "type": "number"
+ },
+ "congresses_searched": {
+ "description": "Which Congresses were searched and how deeply: {in_depth, one_page, plus, hint} by default, or {exhaustive, coverage} when a congress argument was given",
+ "type": "object"
+ },
+ "found": {
+ "description": "Present and true on an answer; a miss is the found:false branch.",
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "query": {
+ "description": "Search query used",
+ "type": "string"
+ },
+ "ranking": {
+ "description": "How the bills are ordered: local title-match re-rank (exact > phrase > all_words > partial, newer Congress first on ties); GovTrack order is not by relevance",
+ "type": "string"
+ },
+ "returned": {
+ "description": "Number of bills returned",
+ "type": "number"
+ },
+ "source_note": {
+ "type": "string"
+ },
+ "total": {
+ "description": "GovTrack loose keyword-match count for the query (any query word may match any bill title); see total_note",
+ "type": "number"
+ },
+ "total_note": {
+ "description": "Explains that total is a loose keyword-match count, not the number of bills about the subject",
+ "type": "string"
+ }
+ },
+ "required": [
+ "query",
+ "total",
+ "returned",
+ "bills",
+ "ranking",
+ "candidates_ranked"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "A miss or an unavailable upstream: found:false with a reason and a hint (the shape check-found-false-schemas.mjs expects).",
+ "properties": {
+ "found": {
+ "enum": [
+ false
+ ],
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "found"
+ ],
+ "type": "object"
+ }
+]
removedOutput schema / properties
Removed value: -{
- "bills": {
- "items": {
- "properties": {
- "bill_type": {
- "description": "Bill type code",
- "type": [
- "string",
- "null"
- ]
- },
- "bill_type_label": {
- "description": "Bill type label",
- "type": [
- "string",
- "null"
- ]
- },
- "congress": {
- "description": "Congress number",
- "type": [
- "number",
- "null"
- ]
- },
- "id": {
- "description": "Bill ID",
- "type": [
- "number",
- "null"
- ]
- },
- "introduced_date": {
- "description": "Bill introduction date",
- "type": [
- "string",
- "null"
- ]
- },
- "link": {
- "description": "GovTrack bill URL",
- "type": [
- "string",
- "null"
- ]
- },
- "match": {
- "description": "How well the bill's titles match the query: exact title, title containing the phrase, all query words present, some words present, or no title-word overlap",
- "enum": [
- "exact",
- "phrase",
- "all_words",
- "partial",
- "none"
- ],
- "type": "string"
- },
- "matched_title": {
- "description": "The bill title (display, short or official) that produced the match tier, or null",
- "type": [
- "string",
- "null"
- ]
- },
- "number": {
- "description": "Bill number",
- "type": [
- "number",
- "null"
- ]
- },
- "sponsor_name": {
- "description": "Primary sponsor name",
- "type": [
- "string",
- "null"
- ]
- },
- "status": {
- "description": "Current status code",
- "type": [
- "string",
- "null"
- ]
- },
- "status_date": {
- "description": "Date of current status",
- "type": [
- "string",
- "null"
- ]
- },
- "status_label": {
- "description": "Current status label",
- "type": [
- "string",
- "null"
- ]
- },
- "title": {
- "description": "Full bill title",
- "type": [
- "string",
- "null"
- ]
- },
- "title_without_number": {
- "description": "Bill title without number prefix",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "match",
- "matched_title"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "candidates_ranked": {
- "description": "Number of distinct upstream candidate bills that were scored and ranked",
- "type": "number"
- },
- "congresses_searched": {
- "description": "Which Congresses were searched and how deeply: {in_depth, one_page, plus, hint} by default, or {exhaustive, coverage} when a congress argument was given",
- "type": "object"
- },
- "query": {
- "description": "Search query used",
- "type": "string"
- },
- "ranking": {
- "description": "How the bills are ordered: local title-match re-rank (exact > phrase > all_words > partial, newer Congress first on ties); GovTrack order is not by relevance",
- "type": "string"
- },
- "returned": {
- "description": "Number of bills returned",
- "type": "number"
- },
- "source_note": {
- "type": "string"
- },
- "total": {
- "description": "GovTrack loose keyword-match count for the query (any query word may match any bill title); see total_note",
- "type": "number"
- },
- "total_note": {
- "description": "Explains that total is a loose keyword-match count, not the number of bills about the subject",
- "type": "string"
- }
-}