{
"$type": "com.atproto.lexicon.schema",
"defs": {
"document": {
"description": "An archived source document. The blob's CID is a SHA-256 content hash of the exact bytes retrieved at retrievedAt, providing tamper-evident provenance even if the original is later altered or removed. sourceUrl is optional because documents obtained by FOIA production have no public URL; in that case obtainedVia should say so.",
"properties": {
"file": {
"accept": [
"application/pdf"
],
"description": "The document itself.",
"maxSize": 20000000,
"type": "blob"
},
"obtainedVia": {
"description": "How this copy was obtained. Defaults to public-url when sourceUrl is present.",
"knownValues": [
"public-url",
"foia",
"litigation",
"publisher"
],
"type": "string"
},
"retrievedAt": {
"description": "When the document was retrieved and archived.",
"format": "datetime",
"type": "string"
},
"sourceUrl": {
"description": "Where the document was retrieved from (e.g. ICE's doclib URL). Absent for documents not published at a public URL.",
"format": "uri",
"type": "string"
},
"title": {
"description": "Human-readable document title.",
"maxLength": 300,
"type": "string"
}
},
"required": [
"file",
"retrievedAt"
],
"type": "object"
},
"main": {
"description": "A single 287(g) agreement between ICE and a state or local law enforcement agency, as documented in the Titus Legal Design 287(g) Program Report. One record per agency + program-model combination. The record key (rkey) is a permanent human-readable slug assigned by the publisher (e.g. 'ga-tift-county-so-tfm') and never changes, even if ICE's published agency name is later corrected.",
"key": "any",
"record": {
"properties": {
"addendumDocument": {
"description": "An addendum to the MOA, where ICE has published one.",
"ref": "#document",
"type": "ref"
},
"agencyName": {
"description": "Law enforcement agency name, as corrected/verified by the publisher (may differ from ICE's published spelling).",
"maxLength": 300,
"type": "string"
},
"canceledDate": {
"description": "Date the agreement was canceled, if status is 'canceled'. Same timezone caveat as signedDate.",
"format": "datetime",
"type": "string"
},
"canceledDateText": {
"description": "Canceled date as a plain calendar date, YYYY-MM-DD, with no timezone.",
"maxLength": 10,
"type": "string"
},
"county": {
"description": "County the agency sits in (for municipal agencies, the county containing the municipality).",
"maxLength": 200,
"type": "string"
},
"createdAt": {
"description": "When this record was first published.",
"format": "datetime",
"type": "string"
},
"jurisdictionType": {
"description": "Level of government the agency belongs to.",
"knownValues": [
"county",
"municipality",
"state"
],
"type": "string"
},
"moaDocument": {
"description": "The signed Memorandum of Agreement PDF, archived as a content-addressed blob. The blob CID cryptographically pins the exact document bytes as retrieved.",
"ref": "#document",
"type": "ref"
},
"model": {
"description": "287(g) program model: jem = Jail Enforcement Model, wso = Warrant Service Officer, tfm = Task Force Model.",
"knownValues": [
"jem",
"wso",
"tfm"
],
"type": "string"
},
"muniName": {
"description": "Municipality name, for municipal agencies.",
"maxLength": 200,
"type": "string"
},
"notes": {
"description": "Publisher's notes on this agreement.",
"maxLength": 3000,
"type": "string"
},
"population": {
"description": "Estimated jurisdiction population (U.S. Census Bureau ACS 2024).",
"minimum": 0,
"type": "integer"
},
"signedDate": {
"description": "Date the agreement was signed, as midnight UTC. WARNING for consumers: rendering this in a US local timezone displays the PREVIOUS calendar day. Prefer signedDateText for display.",
"format": "datetime",
"type": "string"
},
"signedDateText": {
"description": "Signed date as a plain calendar date, YYYY-MM-DD, with no timezone. Authoritative for display where this and signedDate appear to disagree.",
"maxLength": 10,
"type": "string"
},
"sourceUrl": {
"description": "URL of the publisher's report or dataset this record is derived from.",
"format": "uri",
"type": "string"
},
"state": {
"description": "U.S. state or territory name, e.g. 'Georgia'.",
"maxLength": 100,
"type": "string"
},
"stateAbbr": {
"description": "Two-letter USPS state abbreviation, e.g. 'GA'.",
"maxLength": 2,
"type": "string"
},
"status": {
"description": "Current status of the agreement.",
"knownValues": [
"active",
"pending",
"canceled"
],
"type": "string"
},
"tfmReimbursements": {
"description": "Confirmed Task Force Model reimbursements and invoices, where documented.",
"maxLength": 1000,
"type": "string"
},
"updatedAt": {
"description": "When this record was last updated.",
"format": "datetime",
"type": "string"
}
},
"required": [
"agencyName",
"state",
"jurisdictionType",
"model",
"status",
"createdAt",
"updatedAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "com.tituslegaldesign.immigration.agreement",
"lexicon": 1
}