org.simocracy.event

lexicon.store View official

Documentation

Tracks user interactions — chat messages, senate hearings launched, and individual sim comments during hearings.

main record

Tracks user interactions — chat messages, senate hearings launched, and individual sim comments during hearings.

Record Key tid Timestamp-based ID

Properties

actorDid string Required

DID of the user who triggered the event

content string Optional

The actual content — sim response for chat, sim opinion for comment

maxGraphemes: 5000 graphemes
createdAt string datetime Required

An RFC 3339 formatted timestamp.

proposalTitle string Optional

Title of the proposal (for hearing/comment events)

maxGraphemes: 500 graphemes
round integer Optional

Hearing round: 1=evaluation, 2=response, 3=summary (for comment events)

simNames array of string Required

Names of sims involved

maxLength: 10 items
simUris array of string Optional

AT-URIs of sims involved

maxLength: 10 items
type string Required

Event type: chat, hearing, or comment

userMessage string Optional

User's message that prompted the response (for chat events)

maxGraphemes: 2000 graphemes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "type",
      "actorDid",
      "simNames",
      "createdAt"
    ],
    "properties": {
      "type": {
        "type": "string",
        "description": "Event type: chat, hearing, or comment"
      },
      "round": {
        "type": "integer",
        "description": "Hearing round: 1=evaluation, 2=response, 3=summary (for comment events)"
      },
      "content": {
        "type": "string",
        "description": "The actual content — sim response for chat, sim opinion for comment",
        "maxGraphemes": 5000
      },
      "simUris": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "maxLength": 10,
        "description": "AT-URIs of sims involved"
      },
      "actorDid": {
        "type": "string",
        "description": "DID of the user who triggered the event"
      },
      "simNames": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "maxLength": 10,
        "description": "Names of sims involved"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "userMessage": {
        "type": "string",
        "description": "User's message that prompted the response (for chat events)",
        "maxGraphemes": 2000
      },
      "proposalTitle": {
        "type": "string",
        "description": "Title of the proposal (for hearing/comment events)",
        "maxGraphemes": 500
      }
    }
  },
  "description": "Tracks user interactions — chat messages, senate hearings launched, and individual sim comments during hearings."
}

Lexicon Garden

@