{
  "openapi": "3.1.1",
  "info": {
    "title": "Lakefront Okeechobee Report Public Data API",
    "version": "1.0.0",
    "description": "Public, read-only JSON and CSV exports of the reporting on this website. No registration, API key, OAuth, or payment is required. These are complete static datasets, with no server-side filters or pagination. Preserve source dates, evidence status, and citation URLs.",
    "termsOfService": "https://lakefrontokeechobee.com/terms/",
    "license": {
      "name": "Public reporting reuse and attribution",
      "url": "https://lakefrontokeechobee.com/copyright/#reuse"
    }
  },
  "servers": [
    {
      "url": "https://lakefrontokeechobee.com"
    }
  ],
  "security": [],
  "externalDocs": {
    "description": "Usage, fields, and citation examples",
    "url": "https://lakefrontokeechobee.com/data/api/"
  },
  "paths": {
    "/exports/occupancy-certificates.json": {
      "get": {
        "operationId": "getOccupancyCertificatesJSON",
        "summary": "Occupancy-certificate register (JSON)",
        "description": "Distinct permits with reviewed occupancy certificates, printed certificate dates, addresses and original PDF variants. One row per permit; certificates do not count sales or residents. Returns the entire published dataset. Filter records locally.",
        "externalDocs": {
          "url": "https://lakefrontokeechobee.com/data/api/#occupancyCertificates-json"
        },
        "responses": {
          "200": {
            "description": "The complete public dataset.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OccupancyCertificatesExport"
                }
              }
            }
          },
          "304": {
            "description": "The representation has not changed when a conditional request is used; no response body."
          }
        }
      }
    },
    "/exports/occupancy-certificates.csv": {
      "get": {
        "operationId": "getOccupancyCertificatesCSV",
        "summary": "Occupancy-certificate register (CSV)",
        "description": "Distinct permits with reviewed occupancy certificates, printed certificate dates, addresses and original PDF variants. One row per permit; certificates do not count sales or residents. Returns the entire published dataset. Filter records locally.",
        "externalDocs": {
          "url": "https://lakefrontokeechobee.com/data/api/#occupancyCertificates-csv"
        },
        "responses": {
          "200": {
            "description": "The complete public dataset.",
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "The representation has not changed when a conditional request is used; no response body."
          }
        }
      }
    },
    "/exports/expanded-records.json": {
      "get": {
        "operationId": "getExpandedRecordsJSON",
        "summary": "Expanded source-file catalog (JSON)",
        "description": "County, utility, environmental and corporate documents, with original source links, availability notes and page-cited findings. Returns the entire published dataset. Filter records locally.",
        "externalDocs": {
          "url": "https://lakefrontokeechobee.com/data/api/#expandedRecords-json"
        },
        "responses": {
          "200": {
            "description": "The complete public dataset.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExpandedRecordsExport"
                }
              }
            }
          },
          "304": {
            "description": "The representation has not changed when a conditional request is used; no response body."
          }
        }
      }
    },
    "/exports/expanded-records.csv": {
      "get": {
        "operationId": "getExpandedRecordsCSV",
        "summary": "Expanded source-file catalog (CSV)",
        "description": "County, utility, environmental and corporate documents, with original source links, availability notes and page-cited findings. Returns the entire published dataset. Filter records locally.",
        "externalDocs": {
          "url": "https://lakefrontokeechobee.com/data/api/#expandedRecords-csv"
        },
        "responses": {
          "200": {
            "description": "The complete public dataset.",
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "The representation has not changed when a conditional request is used; no response body."
          }
        }
      }
    },
    "/exports/building-permits.json": {
      "get": {
        "operationId": "getBuildingPermitsJSON",
        "summary": "Building-permit register (JSON)",
        "description": "Permit dates, addresses, contractor and professional contact names, inspection entries and requests, fee fields, attachments and evidence qualifications. Permit counts are not home or occupancy counts. Returns the entire published dataset. Filter records locally.",
        "externalDocs": {
          "url": "https://lakefrontokeechobee.com/data/api/#buildingPermits-json"
        },
        "responses": {
          "200": {
            "description": "The complete public dataset.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuildingPermitsExport"
                }
              }
            }
          },
          "304": {
            "description": "The representation has not changed when a conditional request is used; no response body."
          }
        }
      }
    },
    "/exports/building-permits.csv": {
      "get": {
        "operationId": "getBuildingPermitsCSV",
        "summary": "Building-permit register (CSV)",
        "description": "Permit dates, addresses, contractor and professional contact names, inspection entries and requests, fee fields, attachments and evidence qualifications. Permit counts are not home or occupancy counts. Returns the entire published dataset. Filter records locally.",
        "externalDocs": {
          "url": "https://lakefrontokeechobee.com/data/api/#buildingPermits-csv"
        },
        "responses": {
          "200": {
            "description": "The complete public dataset.",
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "The representation has not changed when a conditional request is used; no response body."
          }
        }
      }
    },
    "/exports/cdd-records.json": {
      "get": {
        "operationId": "getCddRecordsJSON",
        "summary": "CDD document register (JSON)",
        "description": "40 CDD documents covering board meetings, budgets and audits, with page-cited findings, financial tables, date qualifications and available source links. Returns the entire published dataset. Filter records locally.",
        "externalDocs": {
          "url": "https://lakefrontokeechobee.com/data/api/#cddRecords-json"
        },
        "responses": {
          "200": {
            "description": "The complete public dataset.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CddRecordsExport"
                }
              }
            }
          },
          "304": {
            "description": "The representation has not changed when a conditional request is used; no response body."
          }
        }
      }
    },
    "/exports/cdd-records.csv": {
      "get": {
        "operationId": "getCddRecordsCSV",
        "summary": "CDD document register (CSV)",
        "description": "40 CDD documents covering board meetings, budgets and audits, with page-cited findings, financial tables, date qualifications and available source links. Returns the entire published dataset. Filter records locally.",
        "externalDocs": {
          "url": "https://lakefrontokeechobee.com/data/api/#cddRecords-csv"
        },
        "responses": {
          "200": {
            "description": "The complete public dataset.",
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "The representation has not changed when a conditional request is used; no response body."
          }
        }
      }
    },
    "/exports/county-records.json": {
      "get": {
        "operationId": "getCountyRecordsJSON",
        "summary": "Glades County instrument register (JSON)",
        "description": "347 county instruments with source-page summaries or explicit unavailable/index-only status, recording dates, qualifications and related filings. Null county-index metadata means unavailable. Zero page_count means no PDF obtained. Historical notices and current developer notices remain distinct; neither counts homes. Returns the entire published dataset. Filter records locally.",
        "externalDocs": {
          "url": "https://lakefrontokeechobee.com/data/api/#countyRecords-json"
        },
        "responses": {
          "200": {
            "description": "The complete public dataset.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CountyRecordsExport"
                }
              }
            }
          },
          "304": {
            "description": "The representation has not changed when a conditional request is used; no response body."
          }
        }
      }
    },
    "/exports/county-records.csv": {
      "get": {
        "operationId": "getCountyRecordsCSV",
        "summary": "Glades County instrument register (CSV)",
        "description": "347 county instruments with source-page summaries or explicit unavailable/index-only status, recording dates, qualifications and related filings. Null county-index metadata means unavailable. Zero page_count means no PDF obtained. Historical notices and current developer notices remain distinct; neither counts homes. Returns the entire published dataset. Filter records locally.",
        "externalDocs": {
          "url": "https://lakefrontokeechobee.com/data/api/#countyRecords-csv"
        },
        "responses": {
          "200": {
            "description": "The complete public dataset.",
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "The representation has not changed when a conditional request is used; no response body."
          }
        }
      }
    },
    "/exports/claims.json": {
      "get": {
        "operationId": "getClaimsJSON",
        "summary": "Dated claims and figures (JSON)",
        "description": "Claim text, values, units, dates, evidence status, interpretations, source IDs, and superseded records. Returns the entire published dataset. Filter records locally.",
        "externalDocs": {
          "url": "https://lakefrontokeechobee.com/data/api/#claims-json"
        },
        "responses": {
          "200": {
            "description": "The complete public dataset.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClaimsExport"
                }
              }
            }
          },
          "304": {
            "description": "The representation has not changed when a conditional request is used; no response body."
          }
        }
      }
    },
    "/exports/claims.csv": {
      "get": {
        "operationId": "getClaimsCSV",
        "summary": "Dated claims and figures (CSV)",
        "description": "Claim text, values, units, dates, evidence status, interpretations, source IDs, and superseded records. Returns the entire published dataset. Filter records locally.",
        "externalDocs": {
          "url": "https://lakefrontokeechobee.com/data/api/#claims-csv"
        },
        "responses": {
          "200": {
            "description": "The complete public dataset.",
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "The representation has not changed when a conditional request is used; no response body."
          }
        }
      }
    },
    "/exports/sources.json": {
      "get": {
        "operationId": "getSourcesJSON",
        "summary": "Source bibliography (JSON)",
        "description": "Document titles, record dates, source types, public URLs where available, and stable citation links. Source documents are not republished. Returns the entire published dataset. Filter records locally.",
        "externalDocs": {
          "url": "https://lakefrontokeechobee.com/data/api/#sources-json"
        },
        "responses": {
          "200": {
            "description": "The complete public dataset.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourcesExport"
                }
              }
            }
          },
          "304": {
            "description": "The representation has not changed when a conditional request is used; no response body."
          }
        }
      }
    },
    "/exports/timeline.csv": {
      "get": {
        "operationId": "getTimelineCSV",
        "summary": "Project timeline (CSV)",
        "description": "Dated events, topic categories, evidence status, and source IDs for the Lakefront project chronology. Returns the entire published dataset. Filter records locally.",
        "externalDocs": {
          "url": "https://lakefrontokeechobee.com/data/api/#timeline-csv"
        },
        "responses": {
          "200": {
            "description": "The complete public dataset.",
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "The representation has not changed when a conditional request is used; no response body."
          }
        }
      }
    },
    "/exports/relationships.csv": {
      "get": {
        "operationId": "getRelationshipsCSV",
        "summary": "Company and role relationships (CSV)",
        "description": "Sourced company interests, expressly documented personal interests in the OP companies, management and approval roles. Each interest retains its entity, source and date; no personal developer percentage is inferred. Returns the entire published dataset. Filter records locally.",
        "externalDocs": {
          "url": "https://lakefrontokeechobee.com/data/api/#relationships-csv"
        },
        "responses": {
          "200": {
            "description": "The complete public dataset.",
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "The representation has not changed when a conditional request is used; no response body."
          }
        }
      }
    },
    "/exports/closings.csv": {
      "get": {
        "operationId": "getClosingsCSV",
        "summary": "Recorded home closing ledger (CSV)",
        "description": "Confirmed deeds in the public ledger. Glades County records checked through 2026-11-24. Indexed consideration is distinguished from deed-stated or derived prices. Buyer identities and buyer-financing columns are excluded from this CSV. Returns the entire published dataset. Filter records locally.",
        "externalDocs": {
          "url": "https://lakefrontokeechobee.com/data/api/#closings-csv"
        },
        "responses": {
          "200": {
            "description": "The complete public dataset.",
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "The representation has not changed when a conditional request is used; no response body."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ExpandedRecord": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "sha256",
          "title",
          "published_titles",
          "source",
          "group",
          "category",
          "date",
          "date_basis",
          "format",
          "page_count",
          "bytes",
          "saved_copies",
          "present_in_earlier_collection",
          "source_ids",
          "original_urls",
          "related_pages",
          "permit_numbers",
          "summary",
          "facts",
          "qualifications",
          "review_status",
          "extraction_status",
          "extracted_pages",
          "ocr_pages",
          "low_confidence_pages",
          "project_match_pages",
          "archive_members",
          "citation_url"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "title": {
            "type": "string"
          },
          "published_titles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "source": {
            "type": "string"
          },
          "group": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "date": {
            "type": [
              "string",
              "null"
            ]
          },
          "date_basis": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "page_count": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 1
          },
          "bytes": {
            "type": "integer",
            "minimum": 0
          },
          "saved_copies": {
            "type": "integer",
            "minimum": 1
          },
          "present_in_earlier_collection": {
            "type": "boolean"
          },
          "source_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "original_urls": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "format": "uri"
            }
          },
          "related_pages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "permit_numbers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "summary": {
            "type": [
              "string",
              "null"
            ]
          },
          "facts": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "text",
                "pages",
                "basis"
              ],
              "properties": {
                "text": {
                  "type": "string"
                },
                "basis": {
                  "type": "string"
                },
                "pages": {
                  "type": "array",
                  "minItems": 1,
                  "items": {
                    "type": "integer",
                    "minimum": 1
                  }
                }
              }
            }
          },
          "qualifications": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "review_status": {
            "type": "string",
            "enum": [
              "page-cited-findings",
              "catalog-and-extraction"
            ]
          },
          "extraction_status": {
            "type": "string",
            "enum": [
              "text-extracted",
              "unreadable-source",
              "ocr-pending"
            ]
          },
          "extracted_pages": {
            "type": "integer",
            "minimum": 0
          },
          "ocr_pages": {
            "type": "integer",
            "minimum": 0
          },
          "low_confidence_pages": {
            "type": "integer",
            "minimum": 0
          },
          "project_match_pages": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 1
            }
          },
          "same_text_candidates": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "archive_members": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "title",
                "sha256",
                "format",
                "page_count",
                "extraction_status"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "sha256": {
                  "type": "string"
                },
                "format": {
                  "type": "string"
                },
                "page_count": {
                  "type": "integer",
                  "minimum": 0
                },
                "extraction_status": {
                  "type": "string"
                }
              }
            }
          },
          "citation_url": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "BuildingPermit": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "permit_number",
          "source_url",
          "source_ids",
          "observed_at",
          "evidence_status",
          "permit_date",
          "applied_date",
          "issued_date",
          "completed_date",
          "expiration_date",
          "permit_type",
          "project_description",
          "address",
          "parcel_number",
          "total_square_feet",
          "contractors",
          "contractor_contacts",
          "flags",
          "inspections",
          "inspection_requests",
          "fees",
          "attachments",
          "co_record_ids",
          "qualifications",
          "citation_url"
        ],
        "properties": {
          "permit_number": {
            "type": "string"
          },
          "source_url": {
            "type": "string",
            "format": "uri"
          },
          "source_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "observed_at": {
            "type": "string",
            "format": "date"
          },
          "evidence_status": {
            "type": "string",
            "enum": [
              "saved-county-record",
              "user-supplied-transcription"
            ]
          },
          "permit_date": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "applied_date": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "issued_date": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "completed_date": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "expiration_date": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "permit_type": {
            "type": "string"
          },
          "project_description": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "parcel_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "total_square_feet": {
            "type": [
              "number",
              "null"
            ]
          },
          "contractors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "contractor_contacts": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "name",
                "contractor"
              ],
              "properties": {
                "name": {
                  "type": "string"
                },
                "contractor": {
                  "type": "string"
                }
              }
            }
          },
          "flags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "developer_lot": {
            "type": "string"
          },
          "block": {
            "type": "string"
          },
          "lot": {
            "type": "string"
          },
          "inspections": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "result",
                "scheduled_date",
                "completed_date"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "result": {
                  "type": "string"
                },
                "scheduled_date": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                "completed_date": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                }
              }
            }
          },
          "inspection_requests": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "date",
                "type"
              ],
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date"
                },
                "type": {
                  "type": "string"
                }
              }
            }
          },
          "fees": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "total",
              "paid",
              "due"
            ],
            "properties": {
              "total": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "paid": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "due": {
                "type": [
                  "number",
                  "null"
                ]
              }
            }
          },
          "attachments": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "record_id",
                "title",
                "url"
              ],
              "properties": {
                "record_id": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              }
            }
          },
          "co_record_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "co_review": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "observed_at",
              "certificate_date",
              "address",
              "parcel_number",
              "permit_type",
              "unit_count"
            ],
            "properties": {
              "observed_at": {
                "type": "string",
                "format": "date"
              },
              "certificate_date": {
                "type": "string",
                "format": "date"
              },
              "address": {
                "type": "string"
              },
              "parcel_number": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "permit_type": {
                "type": "string"
              },
              "unit_count": {
                "type": "integer",
                "const": 1
              }
            }
          },
          "qualifications": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "citation_url": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "ExpandedRecordsExport": {
        "type": "object",
        "required": [
          "publisher",
          "website",
          "coverage_through",
          "records_verified_through",
          "methodology",
          "reuse",
          "qualification",
          "records",
          "sources"
        ],
        "properties": {
          "publisher": {
            "type": "string"
          },
          "website": {
            "type": "string",
            "format": "uri"
          },
          "coverage_through": {
            "type": "string",
            "description": "Coverage cutoff, not the modification date of each record."
          },
          "records_verified_through": {
            "type": "string",
            "description": "Current Glades County records coverage date; historical source snapshots retain their own dates."
          },
          "methodology": {
            "type": "string",
            "format": "uri"
          },
          "reuse": {
            "type": "string",
            "format": "uri"
          },
          "qualification": {
            "type": "string"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExpandedRecord"
            }
          },
          "sources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Source"
            }
          },
          "coverage": {
            "type": "object"
          }
        }
      },
      "BuildingPermitsExport": {
        "type": "object",
        "required": [
          "publisher",
          "website",
          "coverage_through",
          "records_verified_through",
          "methodology",
          "reuse",
          "qualification",
          "records",
          "sources"
        ],
        "properties": {
          "publisher": {
            "type": "string"
          },
          "website": {
            "type": "string",
            "format": "uri"
          },
          "coverage_through": {
            "type": "string",
            "description": "Coverage cutoff, not the modification date of each record."
          },
          "records_verified_through": {
            "type": "string",
            "description": "Current Glades County records coverage date; historical source snapshots retain their own dates."
          },
          "methodology": {
            "type": "string",
            "format": "uri"
          },
          "reuse": {
            "type": "string",
            "format": "uri"
          },
          "qualification": {
            "type": "string"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BuildingPermit"
            }
          },
          "sources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Source"
            }
          }
        }
      },
      "OccupancyCertificate": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "permit_number",
          "certificate_date",
          "address",
          "unit_count",
          "parcel_number",
          "parcel_basis",
          "observed_at",
          "permit_url",
          "source_ids",
          "documents",
          "citation_url"
        ],
        "properties": {
          "permit_number": {
            "type": "string"
          },
          "certificate_date": {
            "type": "string",
            "format": "date"
          },
          "address": {
            "type": "string"
          },
          "unit_count": {
            "type": "integer",
            "const": 1
          },
          "parcel_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "parcel_basis": {
            "type": "string"
          },
          "observed_at": {
            "type": "string",
            "format": "date"
          },
          "permit_url": {
            "type": "string",
            "format": "uri"
          },
          "source_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "citation_url": {
            "type": "string",
            "format": "uri"
          },
          "documents": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "record_id",
                "source_id",
                "url",
                "sha256"
              ],
              "properties": {
                "record_id": {
                  "type": "string"
                },
                "source_id": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "sha256": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              }
            }
          }
        }
      },
      "OccupancyCertificatesExport": {
        "type": "object",
        "required": [
          "publisher",
          "website",
          "coverage_through",
          "records_verified_through",
          "methodology",
          "reuse",
          "qualification",
          "records",
          "sources"
        ],
        "properties": {
          "publisher": {
            "type": "string"
          },
          "website": {
            "type": "string",
            "format": "uri"
          },
          "coverage_through": {
            "type": "string",
            "description": "Coverage cutoff, not the modification date of each record."
          },
          "records_verified_through": {
            "type": "string",
            "description": "Current Glades County records coverage date; historical source snapshots retain their own dates."
          },
          "methodology": {
            "type": "string",
            "format": "uri"
          },
          "reuse": {
            "type": "string",
            "format": "uri"
          },
          "qualification": {
            "type": "string"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OccupancyCertificate"
            }
          },
          "sources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Source"
            }
          },
          "coverage": {
            "type": "object"
          }
        }
      },
      "Claim": {
        "type": "object",
        "required": [
          "id",
          "claim",
          "status",
          "interpretation",
          "source_ids",
          "citation_url"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "claim": {
            "type": "string"
          },
          "value": {
            "type": [
              "number",
              "string"
            ],
            "description": "A numeric value or a textual range; not always present."
          },
          "unit": {
            "type": "string"
          },
          "display": {
            "type": "string"
          },
          "as_of": {
            "type": "string",
            "description": "The period the figure describes, not a promise of current availability."
          },
          "status": {
            "type": "string",
            "enum": [
              "public-record",
              "official-offering-document",
              "sec-filing",
              "company-statement",
              "developer-reported",
              "derived",
              "secondary-report",
              "unverified-lead",
              "conflicting-sources",
              "superseded",
              "needs-reconciliation"
            ]
          },
          "interpretation": {
            "type": "string",
            "enum": [
              "other",
              "size",
              "plan",
              "ownership",
              "maximum-principal",
              "outstanding-balance",
              "amount-sold",
              "offering-size",
              "authorization",
              "issued-debt",
              "reported-spend",
              "estimate",
              "future-advance-ceiling",
              "listing-price",
              "closing-price"
            ]
          },
          "source_ids": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string"
            },
            "description": "Join these IDs to the source bibliography."
          },
          "notes": {
            "type": "string"
          },
          "supersedes": {
            "type": "string",
            "description": "ID of the historical claim replaced by this record, when present."
          },
          "superseded_by": {
            "type": "string",
            "description": "ID of the claim that replaced this historical record, when present."
          },
          "citation_url": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Source": {
        "type": "object",
        "required": [
          "id",
          "title",
          "url",
          "source_type",
          "date",
          "primary",
          "citation_url"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri",
            "description": "Original public source URL, or null if no public URL is available."
          },
          "source_type": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "primary": {
            "type": "boolean"
          },
          "page_or_section": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "citation_url": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "CddRecord": {
        "type": "object",
        "required": [
          "id",
          "title",
          "published_title",
          "date",
          "date_basis",
          "document_type",
          "page_count",
          "summary",
          "source_ids",
          "pdf_url",
          "rtf_url",
          "source_page_url",
          "facts",
          "tables",
          "sections",
          "qualifications",
          "formats",
          "review_status",
          "citation_url"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "published_title": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "date_basis": {
            "type": "string"
          },
          "document_type": {
            "type": "string"
          },
          "page_count": {
            "type": "integer",
            "minimum": 1
          },
          "fiscal_year": {
            "type": "integer"
          },
          "summary": {
            "type": "string"
          },
          "source_ids": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string"
            },
            "description": "Join these IDs to the source bibliography."
          },
          "pdf_url": {
            "type": "string",
            "format": "uri"
          },
          "rtf_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri",
            "description": "Published RTF link when collected; null if no companion was supplied."
          },
          "source_page_url": {
            "type": "string",
            "format": "uri"
          },
          "citation_url": {
            "type": "string",
            "format": "uri"
          },
          "review_status": {
            "type": "string",
            "enum": [
              "page-cited-summary"
            ]
          },
          "facts": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "object",
              "required": [
                "text",
                "pages",
                "basis"
              ],
              "properties": {
                "text": {
                  "type": "string"
                },
                "basis": {
                  "type": "string"
                },
                "pages": {
                  "type": "array",
                  "minItems": 1,
                  "items": {
                    "type": "integer",
                    "minimum": 1
                  }
                }
              }
            }
          },
          "tables": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "title",
                "columns",
                "rows",
                "pages",
                "note"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "columns": {
                  "type": "array",
                  "minItems": 1,
                  "items": {
                    "type": "string"
                  }
                },
                "pages": {
                  "type": "array",
                  "minItems": 1,
                  "items": {
                    "type": "integer",
                    "minimum": 1
                  }
                },
                "note": {
                  "type": "string"
                },
                "rows": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "label",
                      "values"
                    ],
                    "properties": {
                      "label": {
                        "type": "string"
                      },
                      "values": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "sections": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "label",
                "printed_page",
                "agenda_pages"
              ],
              "properties": {
                "label": {
                  "type": "string"
                },
                "printed_page": {
                  "type": "integer",
                  "minimum": 1
                },
                "agenda_pages": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "minimum": 1
                  }
                }
              }
            }
          },
          "qualifications": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "formats": {
            "type": "array",
            "minItems": 1,
            "maxItems": 2,
            "items": {
              "type": "object",
              "required": [
                "format",
                "sha256",
                "bytes"
              ],
              "properties": {
                "format": {
                  "type": "string",
                  "enum": [
                    "PDF",
                    "RTF"
                  ]
                },
                "sha256": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                },
                "bytes": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            }
          }
        }
      },
      "CddRecordsExport": {
        "type": "object",
        "required": [
          "publisher",
          "website",
          "coverage_through",
          "records_verified_through",
          "methodology",
          "reuse",
          "qualification",
          "records",
          "sources"
        ],
        "properties": {
          "publisher": {
            "type": "string"
          },
          "website": {
            "type": "string",
            "format": "uri"
          },
          "coverage_through": {
            "type": "string",
            "description": "Coverage cutoff, not the modification date of each record."
          },
          "records_verified_through": {
            "type": "string",
            "description": "Current Glades County records coverage date; historical source snapshots retain their own dates."
          },
          "methodology": {
            "type": "string",
            "format": "uri"
          },
          "reuse": {
            "type": "string",
            "format": "uri"
          },
          "qualification": {
            "type": "string"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CddRecord"
            }
          },
          "sources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Source"
            }
          }
        }
      },
      "CountyRecord": {
        "type": "object",
        "anyOf": [
          {
            "not": {
              "required": [
                "availability"
              ]
            },
            "properties": {
              "page_count": {
                "type": "integer",
                "minimum": 1
              },
              "facts": {
                "type": "array",
                "minItems": 1
              },
              "review_status": {
                "enum": [
                  "reviewed-summary",
                  "index-and-notice-reviewed"
                ]
              }
            }
          },
          {
            "required": [
              "availability",
              "availability_note",
              "indexed_page_count"
            ],
            "not": {
              "anyOf": [
                {
                  "required": [
                    "parcel_id"
                  ]
                },
                {
                  "required": [
                    "parcel_ids"
                  ]
                }
              ]
            },
            "properties": {
              "availability": {
                "const": "unavailable-at-source"
              },
              "availability_note": {
                "type": "string",
                "minLength": 1
              },
              "page_count": {
                "const": 0
              },
              "facts": {
                "type": "array",
                "maxItems": 0
              },
              "review_status": {
                "const": "index-only-unavailable"
              }
            }
          },
          {
            "required": [
              "availability",
              "availability_note",
              "indexed_page_count"
            ],
            "properties": {
              "availability": {
                "const": "original-pdf-pending"
              },
              "availability_note": {
                "type": "string",
                "minLength": 1
              },
              "page_count": {
                "const": 0
              },
              "facts": {
                "type": "array",
                "maxItems": 0
              },
              "review_status": {
                "enum": [
                  "viewer-reviewed",
                  "index-only-pending"
                ]
              }
            }
          }
        ],
        "required": [
          "instrument_number",
          "recording_date",
          "document_type_code",
          "document_type",
          "title",
          "book_page",
          "page_count",
          "indexed_description",
          "indexed_party_role",
          "indexed_consideration",
          "summary",
          "topics",
          "source_ids",
          "facts",
          "qualifications",
          "related_instruments",
          "review_status",
          "citation_url"
        ],
        "properties": {
          "instrument_number": {
            "type": "string"
          },
          "recording_date": {
            "type": "string",
            "format": "date"
          },
          "document_date": {
            "type": "string",
            "format": "date"
          },
          "document_type_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "County index code, null when the search-result metadata was not supplied."
          },
          "document_type": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "book_page": {
            "type": "string"
          },
          "page_count": {
            "type": "integer",
            "minimum": 0,
            "description": "Pages in the obtained PDF; zero when the original has not been obtained."
          },
          "availability": {
            "type": "string",
            "enum": [
              "unavailable-at-source",
              "original-pdf-pending"
            ]
          },
          "availability_note": {
            "type": "string"
          },
          "collection_scope": {
            "type": "string",
            "enum": [
              "project-or-predecessor",
              "historical-financing-context"
            ],
            "description": "Separates the main inventory from ancillary historical financing retained for context."
          },
          "indexed_page_count": {
            "type": "integer",
            "minimum": 1,
            "description": "County index page count; not evidence of downloaded or reviewed pages."
          },
          "indexed_description": {
            "type": [
              "string",
              "null"
            ]
          },
          "indexed_party_role": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "F",
              "T",
              "F,T",
              null
            ]
          },
          "indexed_consideration": {
            "type": [
              "number",
              "null"
            ],
            "description": "County index field; not automatically sale price or cash advanced. Null means unavailable, not zero."
          },
          "summary": {
            "type": "string"
          },
          "topics": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "source_ids": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string"
            },
            "description": "Join these IDs to the source bibliography."
          },
          "facts": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "text",
                "pages"
              ],
              "properties": {
                "text": {
                  "type": "string"
                },
                "pages": {
                  "type": "array",
                  "minItems": 1,
                  "items": {
                    "type": "integer",
                    "minimum": 1
                  }
                }
              }
            }
          },
          "qualifications": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "related_instruments": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "contractor": {
            "type": "string"
          },
          "improvement": {
            "type": "string"
          },
          "permit_number": {
            "type": "string"
          },
          "block": {
            "type": "string"
          },
          "lot": {
            "type": "string"
          },
          "parcel_id": {
            "type": "string",
            "description": "Reviewed match to one recorded lot; not a finding of lien enforceability."
          },
          "parcel_ids": {
            "type": "array",
            "minItems": 2,
            "uniqueItems": true,
            "items": {
              "type": "string"
            },
            "description": "Reviewed matches for a multi-lot instrument. One instrument and its amount must not be counted once per parcel."
          },
          "review_status": {
            "type": "string",
            "enum": [
              "reviewed-summary",
              "index-and-notice-reviewed",
              "index-only-unavailable",
              "viewer-reviewed",
              "index-only-pending"
            ]
          },
          "citation_url": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "CountyRecordsExport": {
        "type": "object",
        "required": [
          "publisher",
          "website",
          "coverage_through",
          "records_verified_through",
          "methodology",
          "reuse",
          "qualification",
          "records",
          "sources"
        ],
        "properties": {
          "publisher": {
            "type": "string"
          },
          "website": {
            "type": "string",
            "format": "uri"
          },
          "coverage_through": {
            "type": "string",
            "description": "Coverage cutoff, not the modification date of each record."
          },
          "records_verified_through": {
            "type": "string",
            "description": "Current Glades County records coverage date; historical source snapshots retain their own dates."
          },
          "methodology": {
            "type": "string",
            "format": "uri"
          },
          "reuse": {
            "type": "string",
            "format": "uri"
          },
          "qualification": {
            "type": "string"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CountyRecord"
            }
          },
          "sources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Source"
            }
          }
        }
      },
      "ClaimsExport": {
        "type": "object",
        "required": [
          "publisher",
          "website",
          "coverage_through",
          "records_verified_through",
          "methodology",
          "reuse",
          "qualification",
          "records",
          "sources"
        ],
        "properties": {
          "publisher": {
            "type": "string"
          },
          "website": {
            "type": "string",
            "format": "uri"
          },
          "coverage_through": {
            "type": "string",
            "description": "Coverage cutoff, not the modification date of each record."
          },
          "records_verified_through": {
            "type": "string",
            "description": "Current Glades County records coverage date; historical source snapshots retain their own dates."
          },
          "methodology": {
            "type": "string",
            "format": "uri"
          },
          "reuse": {
            "type": "string",
            "format": "uri"
          },
          "qualification": {
            "type": "string"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Claim"
            }
          },
          "sources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Source"
            }
          }
        }
      },
      "SourcesExport": {
        "type": "object",
        "required": [
          "publisher",
          "website",
          "coverage_through",
          "records_verified_through",
          "methodology",
          "reuse",
          "qualification",
          "records"
        ],
        "properties": {
          "publisher": {
            "type": "string"
          },
          "website": {
            "type": "string",
            "format": "uri"
          },
          "coverage_through": {
            "type": "string",
            "description": "Coverage cutoff, not the modification date of each record."
          },
          "records_verified_through": {
            "type": "string",
            "description": "Current Glades County records coverage date; historical source snapshots retain their own dates."
          },
          "methodology": {
            "type": "string",
            "format": "uri"
          },
          "reuse": {
            "type": "string",
            "format": "uri"
          },
          "qualification": {
            "type": "string"
          },
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Source"
            }
          }
        }
      }
    }
  }
}
