st.lifepo.event

Adds a new life event to the authenticated user's profile.

Details · procedure
Kindprocedure
Authoritylifepo.st
Indexed
cid bafyreiclyr2a7kfwu2wsqdbc47cyqc46yvwhgkybsjpehgrxawddd6eezm

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.descriptionNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.titleNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$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
}