at.mecenas.tier
A public description of a creator membership tier; it is not canonical billing state.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | mecenas.at |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"atmStrongRefs": {
"description": "Optional strong references to the ATM membership program, tier, and price records.",
"properties": {
"price": {
"ref": "lex:com.atproto.repo.strongRef",
"type": "ref"
},
"program": {
"ref": "lex:com.atproto.repo.strongRef",
"type": "ref"
},
"tier": {
"ref": "lex:com.atproto.repo.strongRef",
"type": "ref"
}
},
"type": "object"
},
"main": {
"description": "A public description of a creator membership tier; it is not canonical billing state.",
"key": "any",
"record": {
"properties": {
"accent": {
"knownValues": [
"pear",
"cyan",
"coral",
"mint",
"lavender"
],
"maxLength": 16,
"type": "string"
},
"benefits": {
"items": {
"maxGraphemes": 200,
"minGraphemes": 1,
"type": "string"
},
"maxLength": 30,
"type": "array"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"currency": {
"maxLength": 3,
"minLength": 3,
"type": "string"
},
"description": {
"maxGraphemes": 1000,
"type": "string"
},
"formatVersion": {
"const": 1,
"type": "integer"
},
"monthlyAmount": {
"description": "Displayed monthly amount in the currency minor unit; never an authorization signal.",
"minimum": 0,
"type": "integer"
},
"name": {
"maxGraphemes": 80,
"minGraphemes": 1,
"type": "string"
},
"rank": {
"minimum": 0,
"type": "integer"
},
"space": {
"description": "Permissioned Space governed by this tier entitlement boundary.",
"format": "at-uri",
"type": "string"
},
"status": {
"knownValues": [
"active",
"archived"
],
"maxLength": 16,
"type": "string"
},
"strongRefs": {
"ref": "lex:at.mecenas.tier#atmStrongRefs",
"type": "ref"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"formatVersion",
"name",
"description",
"monthlyAmount",
"currency",
"benefits",
"rank",
"space",
"status",
"createdAt",
"updatedAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "at.mecenas.tier",
"lexicon": 1
}