am.noz.at.spl.group
Optional group or trip metadata inside a ledger Space. Multiple groups may share one Space when they have the same members.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | spl.at.noz.am |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.kindNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.member.properties.roleNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Optional group or trip metadata inside a ledger Space. Multiple groups may share one Space when they have the same members.",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"defaultCurrency": {
"description": "Uppercase ISO 4217 currency code, such as EUR or USD.",
"maxLength": 3,
"minLength": 3,
"type": "string"
},
"groupId": {
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"kind": {
"enum": [
"group",
"trip",
"household",
"couple",
"other"
],
"type": "string"
},
"members": {
"items": {
"ref": "lex:am.noz.at.spl.group#member",
"type": "ref"
},
"maxLength": 250,
"minLength": 1,
"type": "array"
},
"name": {
"maxGraphemes": 80,
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"schemaVersion": {
"const": 1,
"type": "integer"
},
"simplifyDebts": {
"type": "boolean"
},
"timezone": {
"description": "IANA time-zone name used for recurring expenses.",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"schemaVersion",
"groupId",
"name",
"kind",
"defaultCurrency",
"timezone",
"simplifyDebts",
"members",
"createdAt",
"updatedAt"
],
"type": "object"
},
"type": "record"
},
"member": {
"properties": {
"active": {
"type": "boolean"
},
"did": {
"format": "did",
"type": "string"
},
"joinedAt": {
"format": "datetime",
"type": "string"
},
"role": {
"enum": [
"owner",
"admin",
"member"
],
"type": "string"
}
},
"required": [
"did",
"role",
"joinedAt",
"active"
],
"type": "object"
}
},
"id": "am.noz.at.spl.group",
"lexicon": 1
}