org.swappulse.challenge
A community challenge.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | swappulse.org |
| Indexed |
Checks
- Failed to parse schema: unknown variant `number`, expected one of `record`, `query`, `procedure`, `subscription`, `permission-set`, `space`, `boolean`, `integer`, `string`, `bytes`, `cid-link`, `array`, `object`, `blob`, `params`, `ref`, `union`, `unknown`, `token`
unlimited-stringdefs.main.record.properties.categoryNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.challengeTypeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.goal.properties.metricNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.modeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.publisherNameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.reward.properties.badgeIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.reward.properties.themeIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.reward.properties.typeNo 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.statusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.tags.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.targetSetCodeNo maxLength, maxGraphemes or format limits this string.
{
"$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
}