tech.manos.racecalls.call
Structured data for one race call posted by the unofficial racecalls bot. Stored at the same rkey as its post.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | racecalls.manos.tech |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.botVersionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.callKindNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.candidateIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.electionDateNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.idempotencyKeyNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.kindNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.observationNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.officeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.raceCallStatusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.raceClassNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.raceIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.scopeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.winnerNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Structured data for one race call posted by the unofficial racecalls bot. Stored at the same rkey as its post.",
"key": "tid",
"record": {
"properties": {
"apLastUpdated": {
"format": "datetime",
"type": "string"
},
"botVersion": {
"type": "string"
},
"callKind": {
"knownValues": [
"win",
"runoff_advancement",
"general_advancement"
],
"type": "string"
},
"calledAt": {
"format": "datetime",
"type": "string"
},
"candidateId": {
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"electionDate": {
"description": "YYYY-MM-DD. Lexicon has no date-only format.",
"type": "string"
},
"fetchedAt": {
"format": "datetime",
"type": "string"
},
"generation": {
"description": "The call's generation; absent means 0. Written on call records from generation 1 on, and on every retraction record.",
"minimum": 0,
"type": "integer"
},
"idempotencyKey": {
"type": "string"
},
"kind": {
"knownValues": [
"call",
"retraction"
],
"type": "string"
},
"metadataSha256": {
"description": "Lowercase hex SHA-256 digest.",
"maxLength": 64,
"minLength": 64,
"type": "string"
},
"observation": {
"description": "On a retraction record: the observation that qualified it.",
"knownValues": [
"no_winner"
],
"type": "string"
},
"office": {
"knownValues": [
"H",
"S",
"G"
],
"type": "string"
},
"post": {
"description": "The post this record describes.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"progressSha256": {
"description": "Lowercase hex SHA-256 digest.",
"maxLength": 64,
"minLength": 64,
"type": "string"
},
"raceCallStatus": {
"description": "On a retraction record: the observed AP raceCallStatus.",
"type": "string"
},
"raceClass": {
"knownValues": [
"general",
"general_runoff",
"special_general",
"party_primary",
"open_primary",
"rcv_general",
"nonpartisan",
"nonpartisan_runoff",
"all_party_primary"
],
"type": "string"
},
"raceId": {
"type": "string"
},
"retracts": {
"description": "On a retraction record: the original call post.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"scope": {
"type": "string"
},
"winner": {
"knownValues": [
"X",
"R"
],
"type": "string"
}
},
"required": [
"post",
"kind",
"idempotencyKey",
"raceId",
"candidateId",
"winner",
"callKind",
"raceClass",
"office",
"calledAt",
"apLastUpdated",
"fetchedAt",
"metadataSha256",
"progressSha256",
"electionDate",
"scope",
"botVersion",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "tech.manos.racecalls.call",
"lexicon": 1
}