{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A Pull of the Week nomination.",
      "key": "tid",
      "record": {
        "properties": {
          "cardImage": {
            "format": "uri",
            "type": "string"
          },
          "cardName": {
            "type": "string"
          },
          "cardRarity": {
            "type": "string"
          },
          "cardUri": {
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "nominatorAvatar": {
            "format": "uri",
            "type": "string"
          },
          "nominatorDid": {
            "format": "did",
            "type": "string"
          },
          "nominatorHandle": {
            "type": "string"
          },
          "nominatorName": {
            "type": "string"
          },
          "postUri": {
            "format": "at-uri",
            "type": "string"
          },
          "setName": {
            "type": "string"
          },
          "voteCount": {
            "type": "integer"
          },
          "weekKey": {
            "type": "string"
          }
        },
        "required": [
          "weekKey",
          "cardUri",
          "cardName",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A collector's nomination of their best card pull for a given week's 'Pull of the Week' community vote. Mirrored to AT Protocol so nominations are federated across instances.",
  "id": "org.swappulse.pullNomination",
  "lexicon": 1,
  "revision": 1
}
