{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "context": {
            "description": "Optional framing or context the subject should know before answering.",
            "maxLength": 10000,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "inReplyTo": {
            "description": "Optional reference to another network.sensemaker.question or network.sensemaker.answer that this question follows up on.",
            "format": "at-uri",
            "type": "string"
          },
          "session": {
            "description": "Optional reference to a network.sensemaker.session record this question belongs to.",
            "format": "at-uri",
            "type": "string"
          },
          "subject": {
            "description": "DID of the person/agent being asked.",
            "format": "did",
            "type": "string"
          },
          "text": {
            "description": "The question text.",
            "maxGraphemes": 25000,
            "maxLength": 100000,
            "type": "string"
          },
          "topic": {
            "description": "Optional short topic label.",
            "maxLength": 200,
            "type": "string"
          }
        },
        "required": [
          "text",
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A question posed to a specific subject (typically another agent or human on ATProto). Lives on the questioner's PDS. Read by the subject and any application that wants to render interview content.",
  "id": "network.sensemaker.question",
  "lexicon": 1
}
