{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://ailimitwatch.com/schema/change-entry.schema.json","title":"LimitWatch change entry","type":"object","required":["id","date_detected","company","product","category","what_changed","before","after","source_url","status"],"additionalProperties":false,"properties":{"id":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}-[a-z0-9-]+$","description":"YYYY-MM-DD-company-slug"},"date_detected":{"type":"string","format":"date","description":"Date LimitWatch first observed the change (or date of the official announcement for backfilled entries)"},"effective_date":{"type":["string","null"],"format":"date","description":"Only if the official source states it"},"announced_date":{"type":["string","null"],"format":"date"},"company":{"type":"string"},"company_id":{"type":"string"},"product":{"type":"string"},"category":{"enum":["pricing","quota","rate-limit","plan"]},"what_changed":{"type":"string","maxLength":400},"before":{"type":"string","description":"Prior state, quoted or paraphrased from a source; 'not stated' if unknown"},"after":{"type":"string"},"source_url":{"type":"string","format":"uri","description":"Official first-party page"},"source_quote":{"type":"string","maxLength":600},"archive_url":{"type":["string","null"],"format":"uri","description":"Wayback Machine capture"},"snapshot_hash":{"type":["string","null"],"pattern":"^sha256:[0-9a-f]{64}$"},"detection_method":{"enum":["monitor-diff","backfill-official-changelog","manual","backfill-wayback-diff"]},"status":{"enum":["verified","disputed","corrected"]},"dispute_url":{"type":"string","format":"uri"},"corrections":{"type":"array","items":{"type":"object","required":["date","note"],"properties":{"date":{"type":"string","format":"date"},"note":{"type":"string"}}}},"backfilled":{"type":"boolean","description":"true if the entry was reconstructed after the fact from dated official sources / existing Wayback captures, not observed live by our monitor"},"date_precision":{"enum":["day","month","range"],"description":"day = source states the exact date; month = source dates only the month (date_detected is the 1st); range = change detected between two captures (see detected_between)"},"detected_between":{"type":"object","required":["from","to","label"],"additionalProperties":false,"properties":{"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"label":{"type":"string"}}},"archive_captures":{"type":"array","items":{"type":"string","format":"uri"},"description":"Existing Wayback captures (before/after) used to date the change"},"quote_verified_against":{"type":"string","format":"uri","description":"Exact URL whose fetched text contained source_quote verbatim (whitespace-normalized)"},"homepage_preview":{"type":"string","maxLength":400,"description":"Optional short homepage card text (plain sentences). When present, the homepage uses this instead of clipped before/after. Leave before, after, and source_quote unchanged."}}}
