{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Record containing a lognship log entry.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "Client-declared timestamp when this log entry was originally created.",
            "format": "datetime",
            "type": "string"
          },
          "facets": {
            "description": "Annotations of byte ranges within the entry's text.",
            "items": {
              "ref": "com.lognship.richtext.facet",
              "type": "ref"
            },
            "type": "array"
          },
          "project": {
            "description": "AT URI of the lognship project this log entry belongs to.",
            "format": "at-uri",
            "type": "string"
          },
          "text": {
            "description": "The primary log entry content.",
            "maxGraphemes": 2048,
            "maxLength": 20480,
            "type": "string"
          }
        },
        "required": [
          "project",
          "text",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.lognship.log.entry",
  "lexicon": 1
}
