{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/engineering_mcp/tender_clause_citation.schema.json","title":"tender_clause_citation","type":"object","properties":{"citation_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"project_ref":{"type":"string","x-pg-type":"text"},"source_document_id":{"type":"string","x-pg-type":"text"},"source_document_revision":{"type":"string","x-pg-type":"text"},"clause_ref":{"type":"string","x-pg-type":"text"},"snippet_text":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"page_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"x-pg-type":"int4"},"extraction_artifact_uid":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"created_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"},"reviewed_by":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"reviewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"x-pg-type":"timestamptz"},"review_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"row_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"}},"x-table-schema":"public","required":["project_ref","source_document_id","source_document_revision","clause_ref"],"x-primary-key":["citation_id"]}