Mirror of one account's role in one home; rkey <homeId>-<did>. The Service Node database is authoritative; this record exists so the registry can be rebuilt from the sphere.
Record Key
any
Any valid record key
Properties
createdAt
string
datetime
Required
An RFC 3339 formatted timestamp.
did
string
did
Required
A decentralized identifier (DID).
home
string
tid
Required
A timestamp-based identifier (TID).
parentSlot
integer
Optional
Present when role is parent.
minimum: 1maximum: 2role
string
Required
No description available.
Known values:
rootAdmin, mainAdmin, member, parentstatus
string
Required
No description available.
Known values:
active, removed, leftupdatedAt
string
datetime
Required
An RFC 3339 formatted timestamp.
View raw schema
{
"description": "Mirror of one account's role in one home; rkey <homeId>-<did>. The Service Node database is authoritative; this record exists so the registry can be rebuilt from the sphere.",
"key": "any",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"did": {
"format": "did",
"type": "string"
},
"home": {
"format": "tid",
"type": "string"
},
"parentSlot": {
"description": "Present when role is parent.",
"maximum": 2,
"minimum": 1,
"type": "integer"
},
"role": {
"knownValues": [
"rootAdmin",
"mainAdmin",
"member",
"parent"
],
"type": "string"
},
"status": {
"knownValues": [
"active",
"removed",
"left"
],
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"home",
"did",
"role",
"status",
"createdAt",
"updatedAt"
],
"type": "object"
},
"type": "record"
}