{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Adds a new life event to the authenticated user's profile.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "description": {
              "type": "string"
            },
            "endDate": {
              "format": "datetime",
              "type": "string"
            },
            "startDate": {
              "format": "datetime",
              "type": "string"
            },
            "title": {
              "type": "string"
            }
          },
          "required": [
            "title",
            "startDate"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "uri": {
              "description": "AT URI of the created event record.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "st.lifepo.event",
  "lexicon": 1
}
