social.graze.midterms.putPreferences

lexicons.graze.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Replace the authenticated account's preferences for the Graze 2026 midterms feeds. Returns the preference as stored. Requires service auth: aud did:web:midterms.graze.social, lxm this NSID.",
      "errors": [
        {
          "description": "A value is not a known feed, or appears more than once.",
          "name": "InvalidContent"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "content": {
              "description": "The reader's chosen feeds, unique. States take turns in the order given; 'national', if included, takes its turn after them. ['national'] alone leaves the feed unchanged. Replaces any stored value.",
              "items": {
                "description": "'national' (races-natl) or a lowercase two-letter state code for a published race feed, e.g. 'ga' (races-ga).",
                "knownValues": [
                  "national",
                  "ak",
                  "al",
                  "ar",
                  "az",
                  "ca",
                  "co",
                  "ct",
                  "dc",
                  "de",
                  "fl",
                  "ga",
                  "hi",
                  "ia",
                  "id",
                  "il",
                  "in",
                  "ks",
                  "ky",
                  "la",
                  "ma",
                  "md",
                  "me",
                  "mi",
                  "mn",
                  "mo",
                  "ms",
                  "mt",
                  "nc",
                  "nd",
                  "ne",
                  "nh",
                  "nj",
                  "nm",
                  "nv",
                  "ny",
                  "oh",
                  "ok",
                  "or",
                  "pa",
                  "ri",
                  "sc",
                  "sd",
                  "tn",
                  "tx",
                  "ut",
                  "va",
                  "vt",
                  "wa",
                  "wi",
                  "wv",
                  "wy"
                ],
                "maxLength": 8,
                "type": "string"
              },
              "maxLength": 53,
              "minLength": 1,
              "type": "array"
            }
          },
          "required": [
            "content"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "content": {
              "description": "The reader's chosen feeds, unique: state codes in the order they take turns, then 'national' if it is included. Empty when nothing that changes the feed is stored.",
              "items": {
                "description": "'national' (races-natl) or a lowercase two-letter state code for a published race feed, e.g. 'ga' (races-ga).",
                "knownValues": [
                  "national",
                  "ak",
                  "al",
                  "ar",
                  "az",
                  "ca",
                  "co",
                  "ct",
                  "dc",
                  "de",
                  "fl",
                  "ga",
                  "hi",
                  "ia",
                  "id",
                  "il",
                  "in",
                  "ks",
                  "ky",
                  "la",
                  "ma",
                  "md",
                  "me",
                  "mi",
                  "mn",
                  "mo",
                  "ms",
                  "mt",
                  "nc",
                  "nd",
                  "ne",
                  "nh",
                  "nj",
                  "nm",
                  "nv",
                  "ny",
                  "oh",
                  "ok",
                  "or",
                  "pa",
                  "ri",
                  "sc",
                  "sd",
                  "tn",
                  "tx",
                  "ut",
                  "va",
                  "vt",
                  "wa",
                  "wi",
                  "wv",
                  "wy"
                ],
                "maxLength": 8,
                "type": "string"
              },
              "maxLength": 53,
              "type": "array"
            }
          },
          "required": [
            "content"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.graze.midterms.putPreferences",
  "lexicon": 1
}

Validate Record

Validate a record against social.graze.midterms.putPreferences

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:nxlxk7yrghbz4bqail664q3x
CID
bafyreibaitn26jfkib47ji4ujzurtoezjbv4hwctkw76mw2n5h74e5u76i
Indexed At
2026-10-12 20:48 UTC
AT-URI
at://did:plc:nxlxk7yrghbz4bqail664q3x/com.atproto.lexicon.schema/social.graze.midterms.putPreferences

Version History (2 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Get the authenticated account's preferences for the Graze 2026 midterms feeds. Requires service auth: aud did:web:midterms.graze.social, lxm this NSID.

  • Clear the authenticated account's preferences for the Graze 2026 midterms feeds, returning them to the default national feed. Afterwards getPreferences returns an empty content array. Succeeds when nothing is stored. Re…

Lexicon Garden

@