Back to Simocracy

org.simocracy.companion

Singleton record per user (rkey 'self') choosing which sim plays the floating-companion role on simocracy.org. When `sim` is absent or the record itself doesn't exist, the UI falls back to the built-in Einstein. The referenced sim MUST be owned by the same DID as the record's repo — clients enforce this both on read and write.

record · key literal:self

Singleton record per user (rkey 'self') choosing which sim plays the floating-companion role on simocracy.org. When `sim` is absent or the record itself doesn't exist, the UI falls back to the built-in Einstein. The referenced sim MUST be owned by the same DID as the record's repo — clients enforce this both on read and write.

sim

Strong reference to an org.simocracy.sim record owned by this user. Absent = use the default Einstein companion.

strongRef
createdAt*

When this companion preference was first set.

datetime
updatedAt

When this companion preference was last updated (e.g. switched to a different sim or reset to Einstein).

datetime
Raw lexicon JSON
{
  "lexicon": 1,
  "id": "org.simocracy.companion",
  "defs": {
    "main": {
      "type": "record",
      "description": "Singleton record per user (rkey 'self') choosing which sim plays the floating-companion role on simocracy.org. When `sim` is absent or the record itself doesn't exist, the UI falls back to the built-in Einstein. The referenced sim MUST be owned by the same DID as the record's repo — clients enforce this both on read and write.",
      "key": "literal:self",
      "record": {
        "type": "object",
        "required": [
          "createdAt"
        ],
        "properties": {
          "sim": {
            "type": "ref",
            "ref": "com.atproto.repo.strongRef",
            "description": "Strong reference to an org.simocracy.sim record owned by this user. Absent = use the default Einstein companion."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When this companion preference was first set."
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime",
            "description": "When this companion preference was last updated (e.g. switched to a different sim or reset to Einstein)."
          }
        }
      }
    }
  }
}
org.simocracy.companion