org.swappulse.challenge

bridge.swappulse.org

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A community challenge.",
      "key": "tid",
      "record": {
        "properties": {
          "budgetLimit": {
            "type": "number"
          },
          "category": {
            "knownValues": [
              "helpful-trader",
              "accuracy-champion",
              "community-builder",
              "set-completer",
              "shiny-hunter",
              "journal-writer",
              "meetup-organiser"
            ],
            "type": "string"
          },
          "challengeType": {
            "knownValues": [
              "set_sprint",
              "budget_deck",
              "pull_of_week",
              "community_goal"
            ],
            "type": "string"
          },
          "circleRef": {
            "format": "at-uri",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "creatorDid": {
            "format": "did",
            "type": "string"
          },
          "description": {
            "maxLength": 2000,
            "type": "string"
          },
          "endsAt": {
            "format": "datetime",
            "type": "string"
          },
          "goal": {
            "properties": {
              "filters": {
                "type": "object"
              },
              "metric": {
                "type": "string"
              },
              "target": {
                "type": "integer"
              }
            },
            "type": "object"
          },
          "guildApproved": {
            "type": "boolean"
          },
          "imageUrl": {
            "format": "uri",
            "type": "string"
          },
          "leaderboardConfig": {
            "type": "object"
          },
          "mode": {
            "knownValues": [
              "collective",
              "guild",
              "competitive"
            ],
            "type": "string"
          },
          "publisherName": {
            "type": "string"
          },
          "reward": {
            "properties": {
              "badgeId": {
                "type": "string"
              },
              "shared": {
                "type": "boolean"
              },
              "themeId": {
                "type": "string"
              },
              "type": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "rewardBadge": {
            "maxLength": 50,
            "type": "string"
          },
          "rules": {
            "maxLength": 2000,
            "type": "string"
          },
          "scope": {
            "knownValues": [
              "global",
              "circle"
            ],
            "type": "string"
          },
          "startsAt": {
            "format": "datetime",
            "type": "string"
          },
          "status": {
            "knownValues": [
              "upcoming",
              "active",
              "voting",
              "completed",
              "cancelled"
            ],
            "type": "string"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "targetSetCode": {
            "type": "string"
          },
          "title": {
            "maxLength": 100,
            "type": "string"
          },
          "votingEndsAt": {
            "format": "datetime",
            "type": "string"
          },
          "winnerDids": {
            "items": {
              "format": "did",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "challengeType",
          "title",
          "status",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A community challenge definition, mirrored to AT Protocol so challenges are discoverable across instances. Participation model is set by mode: collective, competitive, or guild.",
  "id": "org.swappulse.challenge",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against org.swappulse.challenge

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:jwoatauidzr4lollmro2gh35
CID
bafyreiclxkdi5ftwuzpp6s43kjo3yowjthbf3iwixzolbfqeafqgqq32pm
Indexed At
2026-08-16 00:57 UTC
AT-URI
at://did:plc:jwoatauidzr4lollmro2gh35/com.atproto.lexicon.schema/org.swappulse.challenge

Similar Lexicons

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

  • org.swappulse.challengeEntry recordnot from the namespace authority

    A user's contribution to a challenge, mirrored to AT Protocol as a real org.swappulse.challengeEntry record. References the challenge via strongRef so entries are portable and verifiable across instances.

  • A study challenge between friends. Participants link to it with a challengeEntry.

Lexicon Garden

@