{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://texaswatersources.com/data/water-watch/v1/schema.json",
  "title": "Texas Water Watch public research record profiles (v1)",
  "description": "Use record_format to select the R3 or Batch 02 typed content profile. Shared identity, date, discovery and evidence links; original content shapes remain distinct. Definitions also describe entity_mentions and research_leads endpoints.",
  "oneOf": [
    {
      "$ref": "#/$defs/r3_record"
    },
    {
      "$ref": "#/$defs/batch02_record"
    }
  ],
  "$defs": {
    "evidence": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "source_document_id": {
              "type": "string",
              "pattern": "^sha256:[0-9a-f]{64}$"
            },
            "page": {
              "type": "integer",
              "minimum": 1
            },
            "agenda_item_id": {
              "type": "string",
              "minLength": 1
            },
            "episode_id": {
              "type": "string",
              "minLength": 1
            },
            "evidence_method": {
              "const": "NATIVE_TEXT"
            },
            "quote": {
              "type": "string",
              "minLength": 1
            },
            "redaction_note": {
              "type": "string"
            },
            "quote_excerpt": {
              "type": "string"
            },
            "source_url": {
              "type": "string"
            },
            "claim_url": {
              "type": "string"
            },
            "object_id": {
              "type": "string"
            },
            "json_pointer": {
              "type": "string"
            }
          },
          "required": [
            "source_document_id",
            "page",
            "evidence_method",
            "source_url",
            "claim_url",
            "object_id",
            "json_pointer"
          ],
          "additionalProperties": false,
          "oneOf": [
            {
              "required": [
                "quote"
              ]
            },
            {
              "required": [
                "quote_excerpt",
                "redaction_note"
              ]
            }
          ]
        },
        {
          "type": "object",
          "properties": {
            "source_document_id": {
              "type": "string",
              "pattern": "^sha256:[0-9a-f]{64}$"
            },
            "page": {
              "type": "integer",
              "minimum": 1
            },
            "agenda_item_id": {
              "type": "string",
              "minLength": 1
            },
            "episode_id": {
              "type": "string",
              "minLength": 1
            },
            "evidence_method": {
              "const": "OCR_TEXT"
            },
            "quote": {
              "type": "string",
              "minLength": 1
            },
            "ocr_provenance": {
              "type": "object",
              "properties": {
                "engine": {
                  "type": "string",
                  "minLength": 1
                },
                "version": {
                  "type": "string",
                  "minLength": 1
                },
                "configuration_sha256": {
                  "type": "string",
                  "pattern": "^[0-9a-f]{64}$"
                },
                "source_document_id": {
                  "type": "string",
                  "pattern": "^sha256:[0-9a-f]{64}$"
                },
                "page_image_sha256": {
                  "type": "string",
                  "pattern": "^[0-9a-f]{64}$"
                }
              },
              "required": [
                "engine",
                "version",
                "configuration_sha256",
                "source_document_id",
                "page_image_sha256"
              ],
              "additionalProperties": false
            },
            "redaction_note": {
              "type": "string"
            },
            "source_url": {
              "type": "string"
            },
            "claim_url": {
              "type": "string"
            },
            "object_id": {
              "type": "string"
            },
            "json_pointer": {
              "type": "string"
            }
          },
          "required": [
            "source_document_id",
            "page",
            "evidence_method",
            "quote",
            "ocr_provenance",
            "source_url",
            "claim_url",
            "object_id",
            "json_pointer"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "source_document_id": {
              "type": "string",
              "pattern": "^sha256:[0-9a-f]{64}$"
            },
            "page": {
              "type": "integer",
              "minimum": 1
            },
            "agenda_item_id": {
              "type": "string",
              "minLength": 1
            },
            "episode_id": {
              "type": "string",
              "minLength": 1
            },
            "evidence_method": {
              "const": "VISUAL_PAGE"
            },
            "page_image_sha256": {
              "type": "string",
              "pattern": "^[0-9a-f]{64}$"
            },
            "visible_source_description": {
              "type": "string",
              "minLength": 1
            },
            "redaction_note": {
              "type": "string"
            },
            "source_url": {
              "type": "string"
            },
            "claim_url": {
              "type": "string"
            },
            "object_id": {
              "type": "string"
            },
            "json_pointer": {
              "type": "string"
            }
          },
          "required": [
            "source_document_id",
            "page",
            "evidence_method",
            "page_image_sha256",
            "visible_source_description",
            "source_url",
            "claim_url",
            "object_id",
            "json_pointer"
          ],
          "additionalProperties": false
        }
      ]
    },
    "value": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string"
        },
        "text": {
          "type": "string"
        },
        "boolean": {
          "type": "boolean"
        },
        "number": {
          "type": "number"
        },
        "unit": {
          "type": "string"
        },
        "context": {
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "min": {
          "type": "number"
        },
        "max": {
          "type": "number"
        },
        "operator": {
          "type": "string"
        },
        "entity_local_id": {
          "type": "string",
          "minLength": 1
        },
        "latitude": {
          "type": "string",
          "minLength": 1
        },
        "longitude": {
          "type": "string",
          "minLength": 1
        },
        "amount": {
          "type": "number"
        },
        "currency": {
          "type": "string"
        },
        "EW_as_stated": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            }
          ]
        },
        "Karnes": {
          "type": "number"
        },
        "NRCS_program_as_stated": {
          "type": "string"
        },
        "NS_as_stated": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            }
          ]
        },
        "Rustler_request": {
          "type": "string"
        },
        "Salazar_well_depth_feet": {
          "type": "number"
        },
        "TAGD_meetings": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "TWC_tax_notice_as_stated": {
          "type": "string"
        },
        "Terrazas_well_depth_feet": {
          "type": "number"
        },
        "Wilson": {
          "type": "number"
        },
        "access": {
          "type": "string"
        },
        "acres": {
          "type": "number"
        },
        "acres_as_repeated": {
          "type": "number"
        },
        "address_as_stated": {
          "type": "string"
        },
        "adopted_motion_quantity": {
          "type": "number"
        },
        "adopted_motion_unit": {
          "type": "string"
        },
        "aggregation_authorized_as_reported": {
          "type": "string"
        },
        "aggregation_note": {
          "type": "string"
        },
        "agriLife_contribution_cost_usd": {
          "type": "number"
        },
        "allocation_unit_as_stated": {
          "type": "string"
        },
        "amount_transferred_USD": {
          "type": "number"
        },
        "analyzed_total_usd": {
          "type": "number"
        },
        "annual_Edwards_Trinity_authorization_acre_feet": {
          "type": "number"
        },
        "applicant": {
          "type": "string"
        },
        "apprentice_license": {
          "type": "string"
        },
        "approved_authorizations_year_to_date": {
          "type": "number"
        },
        "approximate": {
          "type": "boolean"
        },
        "approximately_sent": {
          "type": "number"
        },
        "aquifer": {
          "type": "string"
        },
        "aquifer_description": {
          "type": "string"
        },
        "as_of": {
          "type": "string"
        },
        "authorization_fee_income": {
          "type": "number"
        },
        "average_2022_drawdown_feet": {
          "type": "number"
        },
        "baseline_year": {
          "type": "number"
        },
        "basis": {
          "type": "string"
        },
        "basis_as_stated": {
          "type": "string"
        },
        "below_normal_inches": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "block": {
          "type": "string"
        },
        "both_pipe_diameter_inches": {
          "type": "number"
        },
        "buckets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "cap_usd_per_report": {
          "type": "number"
        },
        "capital_outlay_after_USD": {
          "type": "number"
        },
        "capital_outlay_before_USD": {
          "type": "number"
        },
        "cause_as_reported": {
          "type": "string"
        },
        "citizen_requests": {
          "type": "number"
        },
        "class": {
          "type": "string"
        },
        "columns": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "composition": {
          "type": "string"
        },
        "contractor": {
          "type": "string"
        },
        "coordinate_unit": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            }
          ]
        },
        "corn_report_date": {
          "type": "string"
        },
        "corn_reporter": {
          "type": "string"
        },
        "corn_stage": {
          "type": "string"
        },
        "cotton_expected_yield_as_stated": {
          "type": "string"
        },
        "cotton_report_date": {
          "type": "string"
        },
        "cotton_reporter": {
          "type": "string"
        },
        "cotton_yield_denominator": {
          "type": "null"
        },
        "county": {
          "type": "string"
        },
        "county_split": {
          "$ref": "#/$defs/publicValueObject"
        },
        "curtailment_percent": {
          "type": "number"
        },
        "date": {
          "type": "string"
        },
        "date_as_stated": {
          "type": "string"
        },
        "days": {
          "type": "string"
        },
        "deadline_as_reported": {
          "type": "string"
        },
        "december_precipitation_inches": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "denominator": {
          "type": "string"
        },
        "depth": {
          "type": "number"
        },
        "depth_unit": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "directors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "drawdown_annotation": {
          "type": "number"
        },
        "drawdown_feet": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "driller_license": {
          "type": "string"
        },
        "drilling_permit": {
          "type": "string"
        },
        "drought": {
          "type": "string"
        },
        "due_date": {
          "type": "string"
        },
        "duration_years": {
          "type": "number"
        },
        "east_pivot_irrigation": {
          "type": "string"
        },
        "east_pivot_soil_moisture": {
          "type": "string"
        },
        "east_pivot_stand_per_acre": {
          "type": "number"
        },
        "east_west_as_stated": {
          "type": "string"
        },
        "effect": {
          "type": "string"
        },
        "emergency_request": {
          "type": "string"
        },
        "entered": {
          "type": "number"
        },
        "estimated_withdrawal_gpm": {
          "type": "number"
        },
        "event": {
          "type": "string"
        },
        "excluded_noninterest_accounts": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "exempt_well_registrations": {
          "type": "number"
        },
        "exempt_wells_registered": {
          "type": "number"
        },
        "existing_permit_amendments": {
          "type": "number"
        },
        "expected_period": {
          "type": "string"
        },
        "expected_readiness": {
          "type": "string"
        },
        "field_count": {
          "type": "number"
        },
        "field_vehicle_usd": {
          "type": "number"
        },
        "fiscal_year": {
          "type": "string"
        },
        "fiscal_year_end": {
          "type": "string"
        },
        "fixed_annual_percent": {
          "type": "number"
        },
        "geographic_scope": {
          "type": "string"
        },
        "gma": {
          "type": "number"
        },
        "gma10_annual_acre_feet": {
          "type": "number"
        },
        "gma10_percent_mag_as_reported": {
          "type": "number"
        },
        "gma10_q4_acre_feet": {
          "type": "number"
        },
        "gma9_annual_acre_feet": {
          "type": "number"
        },
        "gma9_percent_mag_as_reported": {
          "type": "number"
        },
        "gma9_q4_acre_feet": {
          "type": "number"
        },
        "gma_10_mag_remaining_acre_feet": {
          "type": "number"
        },
        "gma_10_used_acre_feet": {
          "type": "number"
        },
        "gma_9_mag_remaining_acre_feet": {
          "type": "number"
        },
        "gma_9_used_acre_feet": {
          "type": "number"
        },
        "groundwater_model_remainder_to_Dr_Hutchison_usd": {
          "type": "number"
        },
        "guests": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "identifier": {
          "type": "string"
        },
        "identifier_as_stated": {
          "type": "string"
        },
        "increase": {
          "type": "number"
        },
        "increase_unit": {
          "type": "string"
        },
        "industrial_permit_acre_feet": {
          "type": "number"
        },
        "industrial_wells": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "inspection_issue_as_reported": {
          "type": "string"
        },
        "interest_due_2024_usd": {
          "type": "number"
        },
        "interpretation_limit": {
          "type": "string"
        },
        "invoice_date": {
          "type": "string"
        },
        "irrigation_historic_existing_use_acre_feet": {
          "type": "number"
        },
        "irrigation_well_system_count": {
          "type": "number"
        },
        "issue_as_reported": {
          "type": "string"
        },
        "issuing_agency": {
          "type": "string"
        },
        "item": {
          "type": "string"
        },
        "late_fee_usd_per_day_per_report": {
          "type": "number"
        },
        "latitude_as_stated": {
          "type": "number"
        },
        "learned": {
          "type": "string"
        },
        "legal_description": {
          "type": "string"
        },
        "lender": {
          "type": "string"
        },
        "level": {
          "type": "number"
        },
        "line": {
          "type": "string"
        },
        "line_inches": {
          "type": "number"
        },
        "location": {
          "type": "string"
        },
        "longitude_as_stated": {
          "type": "number"
        },
        "main_operating_balance_usd": {
          "type": "number"
        },
        "maximum_amount": {
          "type": "number"
        },
        "meaning": {
          "type": "string"
        },
        "monitored_well_count": {
          "type": "number"
        },
        "monitoring": {
          "type": "string"
        },
        "net_income": {
          "type": "number"
        },
        "new": {
          "type": "number"
        },
        "new_fee_usd": {
          "type": "number"
        },
        "new_well": {
          "type": "boolean"
        },
        "new_well_drilling_permits": {
          "type": "number"
        },
        "non_exempt_well_permits_board_approved": {
          "type": "number"
        },
        "non_exempt_well_permits_issued": {
          "type": "number"
        },
        "nonexempt": {
          "type": "number"
        },
        "north_drip_irrigation": {
          "type": "string"
        },
        "north_drip_soil_moisture": {
          "type": "string"
        },
        "north_drip_stand_per_acre": {
          "type": "number"
        },
        "north_south_as_stated": {
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "office_renovations_usd": {
          "type": "number"
        },
        "old": {
          "type": "number"
        },
        "online_approved": {
          "type": "number"
        },
        "original_october2014_usd": {
          "type": "number"
        },
        "overall_change_as_stated": {
          "type": "number"
        },
        "parcel_acres": {
          "type": "number"
        },
        "party": {
          "type": "string"
        },
        "percent_as_displayed": {
          "type": "number"
        },
        "period": {
          "type": "string"
        },
        "period_as_stated": {
          "type": "string"
        },
        "permit_number": {
          "type": "string"
        },
        "permits_on_existing_wells": {
          "type": "number"
        },
        "petty_cash_usd": {
          "type": "number"
        },
        "potential_payment_per_acre_usd": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "potentially_late_reports": {
          "type": "number"
        },
        "prior_acre_feet": {
          "type": "number"
        },
        "prior_fee_usd": {
          "type": "number"
        },
        "producers_sent_late_notices": {
          "type": "number"
        },
        "production_income": {
          "type": "number"
        },
        "production_permit": {
          "type": "string"
        },
        "production_permits": {
          "type": "number"
        },
        "programs": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "project": {
          "type": "string"
        },
        "projected_depth_feet": {
          "type": "number"
        },
        "proposal": {
          "type": "string"
        },
        "proposed_GM_raise_percent": {
          "type": "number"
        },
        "proposed_staff_raise_percent": {
          "type": "number"
        },
        "proposed_years": {
          "type": "number"
        },
        "pump_gpm_as_listed": {
          "type": "number"
        },
        "pump_gpm_as_stated": {
          "type": "number"
        },
        "pump_test_gpm": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "pump_test_hours": {
          "type": "number"
        },
        "pumping_days": {
          "type": "number"
        },
        "pumping_rate": {
          "type": "number"
        },
        "purpose": {
          "type": "string"
        },
        "q4_2022_applications_received": {
          "type": "number"
        },
        "q4_2022_approved": {
          "type": "number"
        },
        "quantity": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            }
          ]
        },
        "quantity_note": {
          "type": "string"
        },
        "quarter": {
          "type": "string"
        },
        "rain_inches_January1_October1": {
          "type": "number"
        },
        "rain_inches_September30_October1": {
          "type": "number"
        },
        "re_permits_of_expired_production_permits": {
          "type": "number"
        },
        "reason": {
          "type": "string"
        },
        "received_as_of_april2": {
          "type": "number"
        },
        "recipient": {
          "type": "string"
        },
        "recipients": {
          "type": "number"
        },
        "recompletion_drilling_approved_as_reported": {
          "type": "string"
        },
        "regular_days_per_year": {
          "type": "number"
        },
        "regular_hours_per_day": {
          "type": "number"
        },
        "regular_number_as_displayed": {
          "type": "number"
        },
        "regular_rate_gpm": {
          "type": "number"
        },
        "regular_result_unit_as_displayed": {
          "type": "string"
        },
        "remaining_as_of_2023_03_31_usd": {
          "type": "number"
        },
        "renewals": {
          "type": "number"
        },
        "report": {
          "type": "string"
        },
        "report_year": {
          "type": "number"
        },
        "reported_activity": {
          "type": "string"
        },
        "reported_availability": {
          "type": "string"
        },
        "reported_total_mag_percent": {
          "type": "number"
        },
        "reported_valuation_increase_percent": {
          "type": "number"
        },
        "requested_change": {
          "type": "string"
        },
        "requested_max_af_per_year": {
          "type": "number"
        },
        "requested_max_af_per_year_as_repeated": {
          "type": "number"
        },
        "requested_production_af_per_year_as_repeated": {
          "type": "number"
        },
        "response": {
          "type": "string"
        },
        "resulting_allocation": {
          "type": "number"
        },
        "revised_acre_feet": {
          "type": "number"
        },
        "role": {
          "type": "string"
        },
        "row": {
          "type": "string"
        },
        "rows": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "scheduled_date_as_stated": {
          "type": "string"
        },
        "scope": {
          "type": "string"
        },
        "section": {
          "type": "string"
        },
        "separate_Rustler_historic_use_acre_feet": {
          "type": "number"
        },
        "since": {
          "type": "string"
        },
        "source_role": {
          "type": "string"
        },
        "stage": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "stated_reason": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "stopped_drilling_as_reported": {
          "type": "string"
        },
        "subject": {
          "type": "string"
        },
        "suggested_data_collection_years": {
          "type": "string"
        },
        "survey": {
          "type": "string"
        },
        "technology_communications_utilities_after_USD": {
          "type": "number"
        },
        "technology_communications_utilities_before_USD": {
          "type": "number"
        },
        "temporary_fraction_of_year": {
          "type": "number"
        },
        "temporary_number_as_displayed": {
          "type": "number"
        },
        "temporary_rate_gpm": {
          "type": "number"
        },
        "temporary_result_unit_as_displayed": {
          "type": "string"
        },
        "term_years": {
          "type": "number"
        },
        "time": {
          "type": "string"
        },
        "time_base": {
          "type": "string"
        },
        "time_basis": {
          "type": "string"
        },
        "total_assets": {
          "type": "number"
        },
        "total_equity": {
          "type": "number"
        },
        "total_expense": {
          "type": "number"
        },
        "total_income": {
          "type": "number"
        },
        "total_liabilities": {
          "type": "number"
        },
        "total_registrations": {
          "type": "number"
        },
        "usd": {
          "type": "number"
        },
        "use": {
          "type": "string"
        },
        "values": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "weighted_average_maturity_days": {
          "type": "number"
        },
        "well": {
          "type": "string"
        },
        "well_as_labeled": {
          "type": "string"
        },
        "well_count": {
          "type": "number"
        },
        "well_status": {
          "type": "string"
        },
        "wells": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "wells_not_yet_drilled": {
          "type": "number"
        },
        "wells_plugged_in_2022": {
          "type": "number"
        },
        "year": {
          "type": "number"
        },
        "year_ended": {
          "type": "string"
        },
        "years": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        }
      },
      "required": [
        "kind"
      ],
      "additionalProperties": false,
      "allOf": [
        {
          "if": {
            "properties": {
              "kind": {
                "const": "text"
              }
            }
          },
          "then": {
            "required": [
              "text"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "boolean"
              }
            }
          },
          "then": {
            "required": [
              "boolean"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "quantity"
              }
            }
          },
          "then": {
            "required": [
              "number",
              "unit"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "entity_ref"
              }
            }
          },
          "then": {
            "required": [
              "entity_local_id"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "list"
              }
            }
          },
          "then": {
            "required": [
              "items"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "range_percent_below"
              }
            }
          },
          "then": {
            "required": [
              "min",
              "max"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "threshold"
              }
            }
          },
          "then": {
            "required": [
              "operator",
              "number",
              "unit"
            ]
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "money"
              }
            }
          },
          "then": {
            "required": [
              "amount",
              "currency"
            ]
          }
        }
      ],
      "minProperties": 2
    },
    "meeting": {
      "type": "object",
      "properties": {
        "meeting_id": {
          "type": "string",
          "minLength": 1
        },
        "district_id": {
          "type": "string",
          "minLength": 1
        },
        "district_name": {
          "type": "string",
          "minLength": 1
        },
        "meeting_date": {
          "type": "string",
          "format": "date"
        },
        "meeting_type": {
          "type": "string",
          "minLength": 1
        },
        "source_document_id": {
          "type": "string",
          "pattern": "^sha256:[0-9a-f]{64}$"
        },
        "source_url": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string",
              "format": "uri",
              "pattern": "^https?://"
            }
          ]
        },
        "page_count": {
          "type": "integer",
          "minimum": 1
        },
        "approved_date": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string",
              "format": "date"
            }
          ]
        },
        "source_completeness": {
          "type": "object",
          "properties": {
            "state": {
              "type": "string",
              "minLength": 1
            },
            "note": {
              "type": "string",
              "minLength": 1
            },
            "epistemic_state": {
              "enum": [
                "EXPLICIT_SOURCE",
                "NORMALIZED_FROM_EXPLICIT_SOURCE",
                "MODEL_INTERPRETATION",
                "CANDIDATE_RELATIONSHIP",
                "UNRESOLVED"
              ]
            },
            "evidence": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/evidence"
              },
              "minItems": 1
            }
          },
          "required": [
            "state",
            "note",
            "evidence",
            "epistemic_state"
          ],
          "additionalProperties": false
        },
        "epistemic_state": {
          "enum": [
            "EXPLICIT_SOURCE",
            "NORMALIZED_FROM_EXPLICIT_SOURCE",
            "MODEL_INTERPRETATION",
            "CANDIDATE_RELATIONSHIP",
            "UNRESOLVED"
          ]
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/evidence"
          },
          "minItems": 1
        },
        "original_id": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        }
      },
      "required": [
        "meeting_id",
        "district_id",
        "district_name",
        "meeting_date",
        "meeting_type",
        "source_document_id",
        "page_count",
        "source_completeness",
        "epistemic_state",
        "evidence",
        "original_id",
        "citation_url",
        "json_pointer"
      ],
      "additionalProperties": false
    },
    "entity": {
      "type": "object",
      "properties": {
        "entity_local_id": {
          "type": "string",
          "minLength": 1
        },
        "entity_type": {
          "type": "string",
          "minLength": 1
        },
        "name_as_stated": {
          "type": "string",
          "minLength": 1
        },
        "normalized_name": {
          "type": "string",
          "minLength": 1
        },
        "roles": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          },
          "minItems": 0,
          "uniqueItems": true
        },
        "epistemic_state": {
          "enum": [
            "EXPLICIT_SOURCE",
            "NORMALIZED_FROM_EXPLICIT_SOURCE",
            "MODEL_INTERPRETATION",
            "CANDIDATE_RELATIONSHIP",
            "UNRESOLVED"
          ]
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/evidence"
          },
          "minItems": 1
        },
        "original_id": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        }
      },
      "required": [
        "entity_local_id",
        "entity_type",
        "name_as_stated",
        "roles",
        "evidence",
        "epistemic_state",
        "original_id",
        "citation_url",
        "json_pointer"
      ],
      "additionalProperties": false
    },
    "agenda": {
      "type": "object",
      "properties": {
        "agenda_item_id": {
          "type": "string",
          "minLength": 1
        },
        "label": {
          "type": "string",
          "minLength": 1
        },
        "title": {
          "type": "string",
          "minLength": 1
        },
        "pages": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 1
          },
          "minItems": 1,
          "uniqueItems": true
        },
        "epistemic_state": {
          "enum": [
            "EXPLICIT_SOURCE",
            "NORMALIZED_FROM_EXPLICIT_SOURCE",
            "MODEL_INTERPRETATION",
            "CANDIDATE_RELATIONSHIP",
            "UNRESOLVED"
          ]
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/evidence"
          },
          "minItems": 1
        },
        "original_id": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        }
      },
      "required": [
        "agenda_item_id",
        "label",
        "title",
        "pages",
        "epistemic_state",
        "evidence",
        "original_id",
        "citation_url",
        "json_pointer"
      ],
      "additionalProperties": false
    },
    "episode": {
      "type": "object",
      "properties": {
        "episode_id": {
          "type": "string",
          "minLength": 1
        },
        "episode_type": {
          "type": "string",
          "minLength": 1
        },
        "episode_state": {
          "enum": [
            "COMPLETE",
            "PARTIAL",
            "AMBIGUOUS"
          ]
        },
        "agenda_item_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          },
          "minItems": 1,
          "uniqueItems": true
        },
        "entity_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          },
          "minItems": 0,
          "uniqueItems": true
        },
        "observation_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          },
          "minItems": 0,
          "uniqueItems": true
        },
        "procedural_action_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          },
          "minItems": 0,
          "uniqueItems": true
        },
        "epistemic_state": {
          "enum": [
            "EXPLICIT_SOURCE",
            "NORMALIZED_FROM_EXPLICIT_SOURCE",
            "MODEL_INTERPRETATION",
            "CANDIDATE_RELATIONSHIP",
            "UNRESOLVED"
          ]
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/evidence"
          },
          "minItems": 1
        },
        "original_id": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        }
      },
      "required": [
        "episode_id",
        "episode_type",
        "episode_state",
        "agenda_item_ids",
        "entity_ids",
        "observation_ids",
        "procedural_action_ids",
        "evidence",
        "epistemic_state",
        "original_id",
        "citation_url",
        "json_pointer"
      ],
      "additionalProperties": false
    },
    "observation": {
      "type": "object",
      "properties": {
        "observation_id": {
          "type": "string",
          "minLength": 1
        },
        "meeting_id": {
          "type": "string",
          "minLength": 1
        },
        "episode_id": {
          "type": [
            "string",
            "null"
          ],
          "minLength": 1
        },
        "agenda_item_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          },
          "minItems": 0,
          "uniqueItems": true
        },
        "entity_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          },
          "minItems": 0,
          "uniqueItems": true
        },
        "observation_type": {
          "type": "string",
          "minLength": 1
        },
        "value": {
          "$ref": "#/$defs/value"
        },
        "epistemic_state": {
          "enum": [
            "EXPLICIT_SOURCE",
            "NORMALIZED_FROM_EXPLICIT_SOURCE",
            "MODEL_INTERPRETATION",
            "CANDIDATE_RELATIONSHIP",
            "UNRESOLVED"
          ]
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/evidence"
          },
          "minItems": 1
        },
        "original_id": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        }
      },
      "required": [
        "observation_id",
        "observation_type",
        "value",
        "epistemic_state",
        "evidence",
        "original_id",
        "citation_url",
        "json_pointer"
      ],
      "additionalProperties": false
    },
    "action": {
      "type": "object",
      "properties": {
        "procedural_action_id": {
          "type": "string",
          "minLength": 1
        },
        "meeting_id": {
          "type": "string",
          "minLength": 1
        },
        "episode_id": {
          "type": [
            "string",
            "null"
          ],
          "minLength": 1
        },
        "agenda_item_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          },
          "minItems": 0,
          "uniqueItems": true
        },
        "entity_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          },
          "minItems": 0,
          "uniqueItems": true
        },
        "action_type": {
          "type": "string",
          "minLength": 1
        },
        "motion_summary": {
          "type": "string",
          "minLength": 1
        },
        "result": {
          "type": "string",
          "minLength": 1
        },
        "vote": {
          "type": "object",
          "properties": {
            "for": {
              "type": "integer",
              "minimum": 0
            },
            "against": {
              "type": "integer",
              "minimum": 0
            },
            "abstain": {
              "type": "integer",
              "minimum": 0
            }
          },
          "required": [],
          "additionalProperties": false
        },
        "dissent_as_stated": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          },
          "minItems": 1
        },
        "motion_by_as_stated": {
          "type": "string",
          "minLength": 1
        },
        "second_by_as_stated": {
          "type": "string",
          "minLength": 1
        },
        "legal_basis": {
          "type": "string",
          "minLength": 1
        },
        "start_time": {
          "type": "string",
          "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
        },
        "end_time": {
          "type": "string",
          "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
        },
        "epistemic_state": {
          "enum": [
            "EXPLICIT_SOURCE",
            "NORMALIZED_FROM_EXPLICIT_SOURCE",
            "MODEL_INTERPRETATION",
            "CANDIDATE_RELATIONSHIP",
            "UNRESOLVED"
          ]
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/evidence"
          },
          "minItems": 1
        },
        "original_id": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        }
      },
      "required": [
        "procedural_action_id",
        "action_type",
        "epistemic_state",
        "evidence",
        "original_id",
        "citation_url",
        "json_pointer"
      ],
      "additionalProperties": false
    },
    "relationship": {
      "type": "object",
      "properties": {
        "relationship_id": {
          "type": "string",
          "minLength": 1
        },
        "subject_entity_id": {
          "type": "string",
          "minLength": 1
        },
        "predicate": {
          "type": "string",
          "minLength": 1
        },
        "object_ref": {
          "type": "string",
          "minLength": 1
        },
        "object_entity_id": {
          "type": "string",
          "minLength": 1
        },
        "epistemic_state": {
          "enum": [
            "EXPLICIT_SOURCE",
            "NORMALIZED_FROM_EXPLICIT_SOURCE",
            "MODEL_INTERPRETATION",
            "CANDIDATE_RELATIONSHIP",
            "UNRESOLVED"
          ]
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/evidence"
          },
          "minItems": 1
        },
        "original_id": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        }
      },
      "required": [
        "relationship_id",
        "subject_entity_id",
        "predicate",
        "epistemic_state",
        "evidence",
        "original_id",
        "citation_url",
        "json_pointer"
      ],
      "additionalProperties": false,
      "oneOf": [
        {
          "required": [
            "object_ref"
          ],
          "not": {
            "required": [
              "object_entity_id"
            ]
          }
        },
        {
          "required": [
            "object_entity_id"
          ],
          "not": {
            "required": [
              "object_ref"
            ]
          }
        }
      ]
    },
    "unresolved": {
      "type": "object",
      "properties": {
        "unresolved_id": {
          "type": "string",
          "minLength": 1
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "meeting_id": {
          "type": "string",
          "minLength": 1
        },
        "episode_id": {
          "type": [
            "string",
            "null"
          ],
          "minLength": 1
        },
        "agenda_item_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          },
          "minItems": 0,
          "uniqueItems": true
        },
        "entity_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          },
          "minItems": 0,
          "uniqueItems": true
        },
        "epistemic_state": {
          "enum": [
            "EXPLICIT_SOURCE",
            "NORMALIZED_FROM_EXPLICIT_SOURCE",
            "MODEL_INTERPRETATION",
            "CANDIDATE_RELATIONSHIP",
            "UNRESOLVED"
          ]
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/evidence"
          },
          "minItems": 1
        },
        "original_id": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        }
      },
      "required": [
        "unresolved_id",
        "description",
        "epistemic_state",
        "evidence",
        "original_id",
        "citation_url",
        "json_pointer"
      ],
      "additionalProperties": false
    },
    "summary": {
      "type": "object",
      "properties": {
        "model_summary": {
          "type": "string",
          "minLength": 1
        },
        "key_signal_categories": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          },
          "minItems": 0,
          "uniqueItems": true
        },
        "epistemic_state": {
          "enum": [
            "EXPLICIT_SOURCE",
            "NORMALIZED_FROM_EXPLICIT_SOURCE",
            "MODEL_INTERPRETATION",
            "CANDIDATE_RELATIONSHIP",
            "UNRESOLVED"
          ]
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/evidence"
          },
          "minItems": 1
        },
        "original_id": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        }
      },
      "required": [
        "model_summary",
        "key_signal_categories",
        "epistemic_state",
        "evidence",
        "original_id",
        "citation_url",
        "json_pointer"
      ],
      "additionalProperties": false
    },
    "publicValueObject": {
      "type": "object",
      "properties": {
        "EW_as_stated": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            }
          ]
        },
        "Karnes": {
          "type": "number"
        },
        "NRCS_program_as_stated": {
          "type": "string"
        },
        "NS_as_stated": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            }
          ]
        },
        "Rustler_request": {
          "type": "string"
        },
        "Salazar_well_depth_feet": {
          "type": "number"
        },
        "TAGD_meetings": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "TWC_tax_notice_as_stated": {
          "type": "string"
        },
        "Terrazas_well_depth_feet": {
          "type": "number"
        },
        "Wilson": {
          "type": "number"
        },
        "access": {
          "type": "string"
        },
        "acres": {
          "type": "number"
        },
        "acres_as_repeated": {
          "type": "number"
        },
        "address_as_stated": {
          "type": "string"
        },
        "adopted_motion_quantity": {
          "type": "number"
        },
        "adopted_motion_unit": {
          "type": "string"
        },
        "aggregation_authorized_as_reported": {
          "type": "string"
        },
        "aggregation_note": {
          "type": "string"
        },
        "agriLife_contribution_cost_usd": {
          "type": "number"
        },
        "allocation_unit_as_stated": {
          "type": "string"
        },
        "amount": {
          "type": "number"
        },
        "amount_transferred_USD": {
          "type": "number"
        },
        "analyzed_total_usd": {
          "type": "number"
        },
        "annual_Edwards_Trinity_authorization_acre_feet": {
          "type": "number"
        },
        "applicant": {
          "type": "string"
        },
        "apprentice_license": {
          "type": "string"
        },
        "approved_authorizations_year_to_date": {
          "type": "number"
        },
        "approximate": {
          "type": "boolean"
        },
        "approximately_sent": {
          "type": "number"
        },
        "aquifer": {
          "type": "string"
        },
        "aquifer_description": {
          "type": "string"
        },
        "as_of": {
          "type": "string"
        },
        "authorization_fee_income": {
          "type": "number"
        },
        "average_2022_drawdown_feet": {
          "type": "number"
        },
        "baseline_year": {
          "type": "number"
        },
        "basis": {
          "type": "string"
        },
        "basis_as_stated": {
          "type": "string"
        },
        "below_normal_inches": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "block": {
          "type": "string"
        },
        "both_pipe_diameter_inches": {
          "type": "number"
        },
        "buckets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "cap_usd_per_report": {
          "type": "number"
        },
        "capital_outlay_after_USD": {
          "type": "number"
        },
        "capital_outlay_before_USD": {
          "type": "number"
        },
        "cause_as_reported": {
          "type": "string"
        },
        "citizen_requests": {
          "type": "number"
        },
        "class": {
          "type": "string"
        },
        "columns": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "composition": {
          "type": "string"
        },
        "context": {
          "type": "string"
        },
        "contractor": {
          "type": "string"
        },
        "coordinate_unit": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            }
          ]
        },
        "corn_report_date": {
          "type": "string"
        },
        "corn_reporter": {
          "type": "string"
        },
        "corn_stage": {
          "type": "string"
        },
        "cotton_expected_yield_as_stated": {
          "type": "string"
        },
        "cotton_report_date": {
          "type": "string"
        },
        "cotton_reporter": {
          "type": "string"
        },
        "cotton_yield_denominator": {
          "type": "null"
        },
        "county": {
          "type": "string"
        },
        "county_split": {
          "$ref": "#/$defs/publicValueObject"
        },
        "currency": {
          "type": "string"
        },
        "curtailment_percent": {
          "type": "number"
        },
        "date": {
          "type": "string"
        },
        "date_as_stated": {
          "type": "string"
        },
        "days": {
          "type": "string"
        },
        "deadline_as_reported": {
          "type": "string"
        },
        "december_precipitation_inches": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "denominator": {
          "type": "string"
        },
        "depth": {
          "type": "number"
        },
        "depth_unit": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "directors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "drawdown_annotation": {
          "type": "number"
        },
        "drawdown_feet": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "driller_license": {
          "type": "string"
        },
        "drilling_permit": {
          "type": "string"
        },
        "drought": {
          "type": "string"
        },
        "due_date": {
          "type": "string"
        },
        "duration_years": {
          "type": "number"
        },
        "east_pivot_irrigation": {
          "type": "string"
        },
        "east_pivot_soil_moisture": {
          "type": "string"
        },
        "east_pivot_stand_per_acre": {
          "type": "number"
        },
        "east_west_as_stated": {
          "type": "string"
        },
        "effect": {
          "type": "string"
        },
        "emergency_request": {
          "type": "string"
        },
        "entered": {
          "type": "number"
        },
        "estimated_withdrawal_gpm": {
          "type": "number"
        },
        "event": {
          "type": "string"
        },
        "excluded_noninterest_accounts": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "exempt_well_registrations": {
          "type": "number"
        },
        "exempt_wells_registered": {
          "type": "number"
        },
        "existing_permit_amendments": {
          "type": "number"
        },
        "expected_period": {
          "type": "string"
        },
        "expected_readiness": {
          "type": "string"
        },
        "field_count": {
          "type": "number"
        },
        "field_vehicle_usd": {
          "type": "number"
        },
        "fiscal_year": {
          "type": "string"
        },
        "fiscal_year_end": {
          "type": "string"
        },
        "fixed_annual_percent": {
          "type": "number"
        },
        "geographic_scope": {
          "type": "string"
        },
        "gma": {
          "type": "number"
        },
        "gma10_annual_acre_feet": {
          "type": "number"
        },
        "gma10_percent_mag_as_reported": {
          "type": "number"
        },
        "gma10_q4_acre_feet": {
          "type": "number"
        },
        "gma9_annual_acre_feet": {
          "type": "number"
        },
        "gma9_percent_mag_as_reported": {
          "type": "number"
        },
        "gma9_q4_acre_feet": {
          "type": "number"
        },
        "gma_10_mag_remaining_acre_feet": {
          "type": "number"
        },
        "gma_10_used_acre_feet": {
          "type": "number"
        },
        "gma_9_mag_remaining_acre_feet": {
          "type": "number"
        },
        "gma_9_used_acre_feet": {
          "type": "number"
        },
        "groundwater_model_remainder_to_Dr_Hutchison_usd": {
          "type": "number"
        },
        "guests": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "identifier": {
          "type": "string"
        },
        "identifier_as_stated": {
          "type": "string"
        },
        "increase": {
          "type": "number"
        },
        "increase_unit": {
          "type": "string"
        },
        "industrial_permit_acre_feet": {
          "type": "number"
        },
        "industrial_wells": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "inspection_issue_as_reported": {
          "type": "string"
        },
        "interest_due_2024_usd": {
          "type": "number"
        },
        "interpretation_limit": {
          "type": "string"
        },
        "invoice_date": {
          "type": "string"
        },
        "irrigation_historic_existing_use_acre_feet": {
          "type": "number"
        },
        "irrigation_well_system_count": {
          "type": "number"
        },
        "issue_as_reported": {
          "type": "string"
        },
        "issuing_agency": {
          "type": "string"
        },
        "item": {
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "kind": {
          "type": "string"
        },
        "late_fee_usd_per_day_per_report": {
          "type": "number"
        },
        "latitude_as_stated": {
          "type": "number"
        },
        "learned": {
          "type": "string"
        },
        "legal_description": {
          "type": "string"
        },
        "lender": {
          "type": "string"
        },
        "level": {
          "type": "number"
        },
        "line": {
          "type": "string"
        },
        "line_inches": {
          "type": "number"
        },
        "location": {
          "type": "string"
        },
        "longitude_as_stated": {
          "type": "number"
        },
        "main_operating_balance_usd": {
          "type": "number"
        },
        "max": {
          "type": "number"
        },
        "maximum_amount": {
          "type": "number"
        },
        "meaning": {
          "type": "string"
        },
        "min": {
          "type": "number"
        },
        "monitored_well_count": {
          "type": "number"
        },
        "monitoring": {
          "type": "string"
        },
        "net_income": {
          "type": "number"
        },
        "new": {
          "type": "number"
        },
        "new_fee_usd": {
          "type": "number"
        },
        "new_well": {
          "type": "boolean"
        },
        "new_well_drilling_permits": {
          "type": "number"
        },
        "non_exempt_well_permits_board_approved": {
          "type": "number"
        },
        "non_exempt_well_permits_issued": {
          "type": "number"
        },
        "nonexempt": {
          "type": "number"
        },
        "north_drip_irrigation": {
          "type": "string"
        },
        "north_drip_soil_moisture": {
          "type": "string"
        },
        "north_drip_stand_per_acre": {
          "type": "number"
        },
        "north_south_as_stated": {
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "number": {
          "type": "number"
        },
        "office_renovations_usd": {
          "type": "number"
        },
        "old": {
          "type": "number"
        },
        "online_approved": {
          "type": "number"
        },
        "operator": {
          "type": "string"
        },
        "original_october2014_usd": {
          "type": "number"
        },
        "overall_change_as_stated": {
          "type": "number"
        },
        "parcel_acres": {
          "type": "number"
        },
        "party": {
          "type": "string"
        },
        "percent_as_displayed": {
          "type": "number"
        },
        "period": {
          "type": "string"
        },
        "period_as_stated": {
          "type": "string"
        },
        "permit_number": {
          "type": "string"
        },
        "permits_on_existing_wells": {
          "type": "number"
        },
        "petty_cash_usd": {
          "type": "number"
        },
        "potential_payment_per_acre_usd": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "potentially_late_reports": {
          "type": "number"
        },
        "prior_acre_feet": {
          "type": "number"
        },
        "prior_fee_usd": {
          "type": "number"
        },
        "producers_sent_late_notices": {
          "type": "number"
        },
        "production_income": {
          "type": "number"
        },
        "production_permit": {
          "type": "string"
        },
        "production_permits": {
          "type": "number"
        },
        "programs": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "project": {
          "type": "string"
        },
        "projected_depth_feet": {
          "type": "number"
        },
        "proposal": {
          "type": "string"
        },
        "proposed_GM_raise_percent": {
          "type": "number"
        },
        "proposed_staff_raise_percent": {
          "type": "number"
        },
        "proposed_years": {
          "type": "number"
        },
        "pump_gpm_as_listed": {
          "type": "number"
        },
        "pump_gpm_as_stated": {
          "type": "number"
        },
        "pump_test_gpm": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "pump_test_hours": {
          "type": "number"
        },
        "pumping_days": {
          "type": "number"
        },
        "pumping_rate": {
          "type": "number"
        },
        "purpose": {
          "type": "string"
        },
        "q4_2022_applications_received": {
          "type": "number"
        },
        "q4_2022_approved": {
          "type": "number"
        },
        "quantity": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            }
          ]
        },
        "quantity_note": {
          "type": "string"
        },
        "quarter": {
          "type": "string"
        },
        "rain_inches_January1_October1": {
          "type": "number"
        },
        "rain_inches_September30_October1": {
          "type": "number"
        },
        "re_permits_of_expired_production_permits": {
          "type": "number"
        },
        "reason": {
          "type": "string"
        },
        "received_as_of_april2": {
          "type": "number"
        },
        "recipient": {
          "type": "string"
        },
        "recipients": {
          "type": "number"
        },
        "recompletion_drilling_approved_as_reported": {
          "type": "string"
        },
        "regular_days_per_year": {
          "type": "number"
        },
        "regular_hours_per_day": {
          "type": "number"
        },
        "regular_number_as_displayed": {
          "type": "number"
        },
        "regular_rate_gpm": {
          "type": "number"
        },
        "regular_result_unit_as_displayed": {
          "type": "string"
        },
        "remaining_as_of_2023_03_31_usd": {
          "type": "number"
        },
        "renewals": {
          "type": "number"
        },
        "report": {
          "type": "string"
        },
        "report_year": {
          "type": "number"
        },
        "reported_activity": {
          "type": "string"
        },
        "reported_availability": {
          "type": "string"
        },
        "reported_total_mag_percent": {
          "type": "number"
        },
        "reported_valuation_increase_percent": {
          "type": "number"
        },
        "requested_change": {
          "type": "string"
        },
        "requested_max_af_per_year": {
          "type": "number"
        },
        "requested_max_af_per_year_as_repeated": {
          "type": "number"
        },
        "requested_production_af_per_year_as_repeated": {
          "type": "number"
        },
        "response": {
          "type": "string"
        },
        "resulting_allocation": {
          "type": "number"
        },
        "revised_acre_feet": {
          "type": "number"
        },
        "role": {
          "type": "string"
        },
        "row": {
          "type": "string"
        },
        "rows": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "scheduled_date_as_stated": {
          "type": "string"
        },
        "scope": {
          "type": "string"
        },
        "section": {
          "type": "string"
        },
        "separate_Rustler_historic_use_acre_feet": {
          "type": "number"
        },
        "since": {
          "type": "string"
        },
        "source_role": {
          "type": "string"
        },
        "stage": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "stated_reason": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "stopped_drilling_as_reported": {
          "type": "string"
        },
        "subject": {
          "type": "string"
        },
        "suggested_data_collection_years": {
          "type": "string"
        },
        "survey": {
          "type": "string"
        },
        "technology_communications_utilities_after_USD": {
          "type": "number"
        },
        "technology_communications_utilities_before_USD": {
          "type": "number"
        },
        "temporary_fraction_of_year": {
          "type": "number"
        },
        "temporary_number_as_displayed": {
          "type": "number"
        },
        "temporary_rate_gpm": {
          "type": "number"
        },
        "temporary_result_unit_as_displayed": {
          "type": "string"
        },
        "term_years": {
          "type": "number"
        },
        "text": {
          "type": "string"
        },
        "time": {
          "type": "string"
        },
        "time_base": {
          "type": "string"
        },
        "time_basis": {
          "type": "string"
        },
        "total_assets": {
          "type": "number"
        },
        "total_equity": {
          "type": "number"
        },
        "total_expense": {
          "type": "number"
        },
        "total_income": {
          "type": "number"
        },
        "total_liabilities": {
          "type": "number"
        },
        "total_registrations": {
          "type": "number"
        },
        "unit": {
          "type": "string"
        },
        "usd": {
          "type": "number"
        },
        "use": {
          "type": "string"
        },
        "values": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "weighted_average_maturity_days": {
          "type": "number"
        },
        "well": {
          "type": "string"
        },
        "well_as_labeled": {
          "type": "string"
        },
        "well_count": {
          "type": "number"
        },
        "well_status": {
          "type": "string"
        },
        "wells": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        "wells_not_yet_drilled": {
          "type": "number"
        },
        "wells_plugged_in_2022": {
          "type": "number"
        },
        "year": {
          "type": "number"
        },
        "year_ended": {
          "type": "string"
        },
        "years": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        }
      },
      "additionalProperties": false
    },
    "publicValue": {
      "anyOf": [
        {
          "type": [
            "string",
            "number",
            "boolean",
            "null"
          ]
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/publicValue"
          }
        },
        {
          "$ref": "#/$defs/publicValueObject"
        }
      ]
    },
    "json_cell": {
      "anyOf": [
        {
          "type": [
            "string",
            "number",
            "boolean",
            "null"
          ]
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/json_cell"
          }
        },
        {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/json_cell"
          }
        }
      ]
    },
    "batch02_evidence": {
      "type": "object",
      "properties": {
        "source_document_id": {
          "type": "string"
        },
        "page": {
          "type": "integer",
          "minimum": 1
        },
        "page_basis": {
          "type": "string"
        },
        "source_url": {
          "type": "string"
        },
        "evidence_method": {
          "const": "PDF_PAGE_REFERENCE"
        },
        "claim_url": {
          "type": "string"
        },
        "object_id": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        }
      },
      "required": [
        "source_document_id",
        "page",
        "page_basis",
        "source_url",
        "evidence_method",
        "claim_url",
        "object_id",
        "json_pointer"
      ],
      "additionalProperties": false
    },
    "batch02_entity": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_evidence"
          }
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "roles": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "identity_scope": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "json_pointer",
        "citation_url",
        "evidence",
        "name",
        "type",
        "roles",
        "identity_scope"
      ],
      "additionalProperties": false
    },
    "batch02_water_object": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_evidence"
          }
        },
        "type": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "applicant": {
          "type": "string"
        },
        "application_type": {
          "type": "string"
        },
        "aquifer": {
          "type": "string"
        },
        "block": {
          "type": "string"
        },
        "caption": {
          "type": "string"
        },
        "ccn": {
          "type": "string"
        },
        "classification": {
          "type": "string"
        },
        "compliance_context": {
          "type": "string"
        },
        "context": {
          "type": "string"
        },
        "court": {
          "type": "string"
        },
        "date_reference": {
          "type": "string"
        },
        "decision": {
          "type": "string"
        },
        "filed_date": {
          "type": "string"
        },
        "grid": {
          "type": "string"
        },
        "holder_as_named": {
          "type": "string"
        },
        "latitude_dms": {
          "type": "string"
        },
        "longitude_dms": {
          "type": "string"
        },
        "organization_as_named": {
          "type": "string"
        },
        "owner": {
          "type": "string"
        },
        "parcel": {
          "type": "string"
        },
        "parties": {
          "type": "string"
        },
        "party": {
          "type": "string"
        },
        "permit_application": {
          "type": "string"
        },
        "property": {
          "type": "string"
        },
        "purpose": {
          "type": "string"
        },
        "relationship": {
          "type": "string"
        },
        "request": {
          "type": "string"
        },
        "request_type": {
          "type": "string"
        },
        "role": {
          "type": "string"
        },
        "section": {
          "type": "string"
        },
        "short_name": {
          "type": "string"
        },
        "status_at_meeting": {
          "type": "string"
        },
        "type_as_printed": {
          "type": "string"
        },
        "use": {
          "type": "string"
        },
        "well_class": {
          "type": "string"
        },
        "aquifers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "construction_dates": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "parcel_ids": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        },
        "wells": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "local_label": {
                "type": "string"
              },
              "latitude": {
                "type": "number"
              },
              "longitude": {
                "type": "number"
              }
            },
            "required": [
              "local_label",
              "latitude",
              "longitude"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "id",
        "json_pointer",
        "citation_url",
        "evidence",
        "type",
        "label"
      ],
      "additionalProperties": false
    },
    "batch02_episode": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_evidence"
          }
        },
        "topic": {
          "type": "string"
        },
        "stage": {
          "type": "string"
        },
        "statement": {
          "type": "string"
        },
        "status_at_meeting": {
          "type": "string"
        },
        "verbatim_decision": {
          "type": "string"
        },
        "actors": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "gpu_ids": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "well_ids": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "id",
        "json_pointer",
        "citation_url",
        "evidence",
        "topic",
        "stage",
        "statement"
      ],
      "additionalProperties": false
    },
    "batch02_quantity": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_evidence"
          }
        },
        "subject": {
          "type": "string"
        },
        "role": {
          "type": "string"
        },
        "time_basis_note": {
          "type": "string"
        },
        "interpretation": {
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "unit_note": {
          "type": "string"
        },
        "value_type": {
          "type": "string"
        },
        "equivalence_group": {
          "type": "string"
        },
        "comparator": {
          "type": "string"
        },
        "value": {
          "$ref": "#/$defs/json_cell"
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        },
        "time_basis": {
          "type": [
            "string",
            "null"
          ]
        },
        "approximate": {
          "type": "boolean"
        },
        "observed": {
          "type": "boolean"
        },
        "uncertainty_plus_minus": {
          "type": "number"
        }
      },
      "required": [
        "id",
        "json_pointer",
        "citation_url",
        "evidence",
        "subject",
        "role",
        "value",
        "unit",
        "time_basis"
      ],
      "additionalProperties": false
    },
    "batch02_table": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_evidence"
          }
        },
        "name": {
          "type": "string"
        },
        "columns": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "rows": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/json_cell"
            }
          }
        },
        "stage": {
          "type": "string"
        },
        "notes": {
          "type": [
            "string",
            "null"
          ]
        },
        "row_navigation": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "json_pointer": {
                "type": "string"
              },
              "citation_url": {
                "type": "string"
              },
              "evidence_scope": {
                "const": "table_level"
              },
              "table_id": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "json_pointer",
              "citation_url",
              "evidence_scope",
              "table_id"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "id",
        "json_pointer",
        "citation_url",
        "evidence",
        "name",
        "columns",
        "rows",
        "stage",
        "notes",
        "row_navigation"
      ],
      "additionalProperties": false
    },
    "batch02_relationship": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_evidence"
          }
        },
        "subject": {
          "type": "string"
        },
        "predicate": {
          "type": "string"
        },
        "object": {
          "type": "string"
        },
        "identity_scope": {
          "type": "string"
        },
        "caution": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "json_pointer",
        "citation_url",
        "evidence",
        "subject",
        "predicate",
        "object",
        "identity_scope"
      ],
      "additionalProperties": false
    },
    "batch02_unresolved": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_evidence"
          }
        },
        "statement": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "json_pointer",
        "citation_url",
        "evidence",
        "statement"
      ],
      "additionalProperties": false
    },
    "batch02_unavailable": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        },
        "citation_url": {
          "type": "string"
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_evidence"
          }
        },
        "description": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "json_pointer",
        "citation_url",
        "evidence",
        "description"
      ],
      "additionalProperties": false
    },
    "mention": {
      "type": "object",
      "required": [
        "id",
        "lookup_group_id",
        "record_id",
        "record_format",
        "local_item_id",
        "json_pointer",
        "as_stated",
        "type",
        "document_type",
        "issuing_district_id",
        "issuing_district_name",
        "identifier",
        "date",
        "date_role",
        "date_note",
        "stated_role",
        "stage",
        "record_url",
        "record_json_url",
        "object_url",
        "evidence_scope",
        "evidence",
        "values",
        "linkage_basis"
      ],
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string"
        },
        "lookup_group_id": {
          "type": "string"
        },
        "record_id": {
          "type": "string"
        },
        "record_format": {
          "type": "string"
        },
        "local_item_id": {
          "type": "string"
        },
        "json_pointer": {
          "type": "string"
        },
        "as_stated": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "document_type": {
          "type": "string"
        },
        "issuing_district_id": {
          "type": "string"
        },
        "issuing_district_name": {
          "type": "string"
        },
        "date_role": {
          "type": "string"
        },
        "date_note": {
          "type": "string"
        },
        "stated_role": {
          "type": "string"
        },
        "record_url": {
          "type": "string"
        },
        "record_json_url": {
          "type": "string"
        },
        "object_url": {
          "type": "string"
        },
        "linkage_basis": {
          "type": "string"
        },
        "date": {
          "type": [
            "string",
            "null"
          ]
        },
        "stage": {
          "type": [
            "string",
            "null"
          ]
        },
        "identifier": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "required": [
                "type",
                "issuer_district_id",
                "value_as_stated"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "issuer_district_id": {
                  "type": "string"
                },
                "value_as_stated": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          ]
        },
        "evidence_scope": {
          "enum": [
            "item",
            "table_level"
          ]
        },
        "evidence": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "source_document_id",
              "page",
              "source_url",
              "record_evidence_pointer"
            ],
            "properties": {
              "source_document_id": {
                "type": "string"
              },
              "page": {
                "type": "integer",
                "minimum": 1
              },
              "source_url": {
                "type": "string"
              },
              "record_evidence_pointer": {
                "type": "string"
              }
            },
            "additionalProperties": false
          }
        },
        "values": {
          "$ref": "#/$defs/json_cell"
        }
      }
    },
    "lookup_group": {
      "type": "object",
      "required": [
        "id",
        "label",
        "labels",
        "type",
        "normalized_lookup",
        "issuer_district_id",
        "identity_merged",
        "grouping_basis",
        "occurrence_ids",
        "record_count",
        "earliest_in_collection"
      ],
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "normalized_lookup": {
          "type": "string"
        },
        "grouping_basis": {
          "type": "string"
        },
        "labels": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "issuer_district_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "identity_merged": {
          "const": false
        },
        "occurrence_ids": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "record_count": {
          "type": "integer",
          "minimum": 1
        },
        "earliest_in_collection": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "entity_mentions": {
      "type": "object",
      "required": [
        "schema_version",
        "profile",
        "identity_policy",
        "group_count",
        "occurrence_count",
        "groups",
        "occurrences"
      ],
      "properties": {
        "schema_version": {
          "const": "1.0.0"
        },
        "profile": {
          "const": "source_linked_mentions"
        },
        "identity_policy": {
          "type": "string"
        },
        "group_count": {
          "type": "integer"
        },
        "occurrence_count": {
          "type": "integer"
        },
        "groups": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/lookup_group"
          }
        },
        "occurrences": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/mention"
          }
        }
      },
      "additionalProperties": false
    },
    "research_leads": {
      "type": "object",
      "required": [
        "schema_version",
        "batch",
        "profile",
        "source_schema",
        "identity_policy",
        "prior_corpus_discovery",
        "leads"
      ],
      "properties": {
        "schema_version": {
          "const": "1.0.0"
        },
        "batch": {
          "type": "string"
        },
        "profile": {
          "const": "candidate_research_leads"
        },
        "source_schema": {
          "const": "batch02-source-bounded-1.0"
        },
        "identity_policy": {
          "type": "string"
        },
        "prior_corpus_discovery": {
          "type": "object",
          "required": [
            "record_count_inspected",
            "mode"
          ],
          "properties": {
            "record_count_inspected": {
              "type": "integer",
              "minimum": 0
            },
            "mode": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "leads": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "id",
              "label",
              "kind",
              "status",
              "identity_merged",
              "reason_to_investigate",
              "next_verification",
              "caution",
              "occurrences",
              "prior_corpus_candidates"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "label": {
                "type": "string"
              },
              "kind": {
                "type": "string"
              },
              "status": {
                "const": "possible_linkage_only"
              },
              "identity_merged": {
                "const": false
              },
              "reason_to_investigate": {
                "type": "string"
              },
              "next_verification": {
                "type": "string"
              },
              "caution": {
                "type": "string"
              },
              "occurrences": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "record_id",
                    "district_id",
                    "meeting_date",
                    "names_or_identifiers",
                    "evidence",
                    "resolution"
                  ],
                  "properties": {
                    "record_id": {
                      "type": "string"
                    },
                    "district_id": {
                      "type": "string"
                    },
                    "meeting_date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "names_or_identifiers": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "evidence": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "source_document_id",
                          "page",
                          "source_url"
                        ],
                        "properties": {
                          "source_document_id": {
                            "type": "string"
                          },
                          "page": {
                            "type": "integer",
                            "minimum": 1
                          },
                          "source_url": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "resolution": {
                      "oneOf": [
                        {
                          "type": "object",
                          "required": [
                            "status",
                            "record_url",
                            "json_url"
                          ],
                          "properties": {
                            "status": {
                              "const": "resolved"
                            },
                            "record_url": {
                              "type": "string"
                            },
                            "json_url": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "status",
                            "reason"
                          ],
                          "properties": {
                            "status": {
                              "const": "unresolved"
                            },
                            "reason": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "prior_corpus_candidates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "record_id",
                    "district_id",
                    "meeting_date",
                    "status",
                    "resolution",
                    "candidate_entities"
                  ],
                  "properties": {
                    "record_id": {
                      "type": "string"
                    },
                    "district_id": {
                      "type": "string"
                    },
                    "meeting_date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "status": {
                      "type": "string"
                    },
                    "resolution": {
                      "oneOf": [
                        {
                          "type": "object",
                          "required": [
                            "status",
                            "record_url",
                            "json_url"
                          ],
                          "properties": {
                            "status": {
                              "const": "resolved"
                            },
                            "record_url": {
                              "type": "string"
                            },
                            "json_url": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "status",
                            "reason"
                          ],
                          "properties": {
                            "status": {
                              "const": "unresolved"
                            },
                            "reason": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    },
                    "candidate_entities": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "entity_local_id",
                          "name_as_stated",
                          "evidence_references_from_prior_record",
                          "resolution"
                        ],
                        "properties": {
                          "entity_local_id": {
                            "type": "string"
                          },
                          "name_as_stated": {
                            "type": "string"
                          },
                          "evidence_references_from_prior_record": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "source_document_id",
                                "page",
                                "source_url"
                              ],
                              "properties": {
                                "source_document_id": {
                                  "type": "string"
                                },
                                "page": {
                                  "type": "integer",
                                  "minimum": 1
                                },
                                "source_url": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": false
                            }
                          },
                          "resolution": {
                            "oneOf": [
                              {
                                "type": "object",
                                "required": [
                                  "status",
                                  "object_url",
                                  "json_pointer"
                                ],
                                "properties": {
                                  "status": {
                                    "const": "resolved"
                                  },
                                  "object_url": {
                                    "type": "string"
                                  },
                                  "json_pointer": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "required": [
                                  "status",
                                  "reason"
                                ],
                                "properties": {
                                  "status": {
                                    "const": "unresolved"
                                  },
                                  "reason": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              }
                            ]
                          }
                        },
                        "additionalProperties": false
                      }
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false
    },
    "r3_record": {
      "type": "object",
      "properties": {
        "schema_version": {
          "const": "1.0.0"
        },
        "record_state": {
          "const": "release_candidate"
        },
        "meeting": {
          "$ref": "#/$defs/meeting"
        },
        "entities": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/entity"
          },
          "minItems": 0
        },
        "agenda_items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/agenda"
          },
          "minItems": 0
        },
        "episodes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/episode"
          },
          "minItems": 0
        },
        "observations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/observation"
          },
          "minItems": 0
        },
        "procedural_actions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/action"
          },
          "minItems": 0
        },
        "relationships": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/relationship"
          },
          "minItems": 0
        },
        "unresolved": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/unresolved"
          },
          "minItems": 0
        },
        "meeting_summary": {
          "$ref": "#/$defs/summary"
        },
        "id": {
          "type": "string"
        },
        "canonical_url": {
          "type": "string"
        },
        "json_url": {
          "type": "string"
        },
        "content_version": {
          "type": "string"
        },
        "document_type": {
          "const": "meeting_record"
        },
        "record_format": {
          "const": "r3"
        },
        "publisher": {
          "const": "Texas Water Sources"
        },
        "collection_role": {
          "const": "source_linked_research_not_official_registry"
        },
        "dates": {
          "type": "object",
          "properties": {
            "source_date": {
              "type": "string"
            },
            "source_date_basis": {
              "type": "string"
            },
            "routing_date": {
              "type": [
                "string",
                "null"
              ]
            },
            "extraction_date": {
              "type": [
                "string",
                "null"
              ]
            },
            "last_source_check": {
              "type": [
                "string",
                "null"
              ]
            },
            "publication_date": {
              "type": [
                "string",
                "null"
              ]
            },
            "document_label": {
              "type": "string"
            },
            "date_role": {
              "enum": [
                "recorded_meeting_date",
                "scheduled_date",
                "document_date"
              ]
            },
            "date_note": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "source_date",
            "source_date_basis",
            "routing_date",
            "extraction_date",
            "last_source_check",
            "publication_date",
            "document_label",
            "date_role",
            "date_note"
          ],
          "additionalProperties": false
        },
        "provenance": {
          "type": "object",
          "properties": {
            "source_schema": {
              "type": "string"
            },
            "source_record_state": {
              "type": "string"
            },
            "human_reviewed": {
              "const": false
            },
            "original_public_release_authorized": {
              "const": false
            },
            "review_scope": {
              "type": "string"
            }
          },
          "required": [
            "source_schema",
            "source_record_state",
            "human_reviewed",
            "original_public_release_authorized",
            "review_scope"
          ],
          "additionalProperties": false
        },
        "partial_pages": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 1
          }
        },
        "correction_notes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "schema_version",
        "record_state",
        "meeting",
        "entities",
        "agenda_items",
        "episodes",
        "observations",
        "procedural_actions",
        "relationships",
        "unresolved",
        "meeting_summary",
        "id",
        "canonical_url",
        "json_url",
        "content_version",
        "document_type",
        "record_format",
        "publisher",
        "collection_role",
        "dates",
        "provenance",
        "partial_pages",
        "correction_notes"
      ],
      "additionalProperties": false
    },
    "batch02_record": {
      "type": "object",
      "properties": {
        "schema_version": {
          "const": "1.0.0"
        },
        "record_state": {
          "const": "release_candidate"
        },
        "id": {
          "type": "string"
        },
        "canonical_url": {
          "type": "string"
        },
        "json_url": {
          "type": "string"
        },
        "content_version": {
          "type": "string"
        },
        "publisher": {
          "const": "Texas Water Sources"
        },
        "collection_role": {
          "const": "source_linked_research_not_official_registry"
        },
        "dates": {
          "type": "object",
          "properties": {
            "source_date": {
              "type": "string"
            },
            "source_date_basis": {
              "type": "string"
            },
            "routing_date": {
              "type": [
                "string",
                "null"
              ]
            },
            "extraction_date": {
              "type": [
                "string",
                "null"
              ]
            },
            "last_source_check": {
              "type": [
                "string",
                "null"
              ]
            },
            "publication_date": {
              "type": [
                "string",
                "null"
              ]
            },
            "document_label": {
              "type": "string"
            },
            "date_role": {
              "enum": [
                "recorded_meeting_date",
                "scheduled_date",
                "document_date"
              ]
            },
            "date_note": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "source_date",
            "source_date_basis",
            "routing_date",
            "extraction_date",
            "last_source_check",
            "publication_date",
            "document_label",
            "date_role",
            "date_note"
          ],
          "additionalProperties": false
        },
        "partial_pages": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 1
          }
        },
        "correction_notes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "record_format": {
          "const": "batch02"
        },
        "document_type": {
          "type": "string"
        },
        "meeting": {
          "type": "object",
          "properties": {
            "meeting_id": {
              "type": "string"
            },
            "district_id": {
              "type": "string"
            },
            "district_name": {
              "type": "string"
            },
            "meeting_date": {
              "type": "string"
            },
            "approved_date": {
              "type": [
                "string",
                "null"
              ]
            },
            "date_note": {
              "type": [
                "string",
                "null"
              ]
            },
            "source_document_id": {
              "type": "string"
            },
            "source_url": {
              "type": "string"
            },
            "page_count": {
              "type": "integer",
              "minimum": 1
            },
            "evidence": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/batch02_evidence"
              }
            },
            "citation_url": {
              "type": "string"
            },
            "json_pointer": {
              "type": "string"
            }
          },
          "required": [
            "meeting_id",
            "district_id",
            "district_name",
            "meeting_date",
            "approved_date",
            "date_note",
            "source_document_id",
            "source_url",
            "page_count",
            "evidence",
            "citation_url",
            "json_pointer"
          ],
          "additionalProperties": false
        },
        "meeting_summary": {
          "type": "string"
        },
        "meeting_summary_evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_evidence"
          }
        },
        "entities": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_entity"
          }
        },
        "water_objects": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_water_object"
          }
        },
        "episodes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_episode"
          }
        },
        "quantities": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_quantity"
          }
        },
        "tables": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_table"
          }
        },
        "relationships": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_relationship"
          }
        },
        "unresolved": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_unresolved"
          }
        },
        "unavailable_references": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/batch02_unavailable"
          }
        },
        "provenance": {
          "type": "object",
          "properties": {
            "source_schema": {
              "const": "batch02-source-bounded-1.0"
            },
            "source_record_state": {
              "type": "string"
            },
            "human_reviewed": {
              "type": "null"
            },
            "original_public_release_authorized": {
              "type": "null"
            },
            "review_scope": {
              "type": "string"
            },
            "reported": {
              "type": "object",
              "properties": {
                "batch": {
                  "type": "string"
                },
                "priority": {
                  "type": "integer"
                },
                "sha256": {
                  "type": "string"
                },
                "scope": {
                  "type": "string"
                },
                "extraction_date": {
                  "type": "string"
                },
                "read_completeness": {
                  "type": "string"
                },
                "page_review": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "page": {
                        "type": "integer",
                        "minimum": 1
                      },
                      "reviewed": {
                        "type": "boolean"
                      },
                      "content": {
                        "type": "string"
                      },
                      "method": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "page",
                      "reviewed",
                      "content",
                      "method"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "batch",
                "priority",
                "sha256",
                "scope",
                "extraction_date",
                "read_completeness",
                "page_review"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "source_schema",
            "source_record_state",
            "human_reviewed",
            "original_public_release_authorized",
            "review_scope",
            "reported"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "schema_version",
        "record_state",
        "id",
        "canonical_url",
        "json_url",
        "content_version",
        "publisher",
        "collection_role",
        "dates",
        "partial_pages",
        "correction_notes",
        "record_format",
        "document_type",
        "meeting",
        "meeting_summary",
        "meeting_summary_evidence",
        "entities",
        "water_objects",
        "episodes",
        "quantities",
        "tables",
        "relationships",
        "unresolved",
        "unavailable_references",
        "provenance"
      ],
      "additionalProperties": false
    }
  }
}
