{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "ALPHA. Actor-private Calendar source preference revisions and exact retry claims. Host validates identity, permissions and causal history before accepting records.",
      "key": "any",
      "record": {
        "properties": {
          "payload": {
            "ref": "#payload",
            "type": "ref"
          }
        },
        "required": [
          "payload"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "payload": {
      "properties": {
        "actorDid": {
          "format": "did",
          "type": "string"
        },
        "baseState": {
          "type": "string"
        },
        "committedAt": {
          "format": "datetime",
          "type": "string"
        },
        "enabled": {
          "type": "boolean"
        },
        "height": {
          "maximum": 4096,
          "minimum": 1,
          "type": "integer"
        },
        "id": {
          "maxLength": 256,
          "minLength": 1,
          "type": "string"
        },
        "kind": {
          "knownValues": [
            "revision",
            "operation"
          ],
          "type": "string"
        },
        "parent": {
          "type": "string"
        },
        "personalSpace": {
          "format": "at-uri",
          "type": "string"
        },
        "requestDigest": {
          "maxLength": 64,
          "minLength": 64,
          "type": "string"
        },
        "requestId": {
          "maxLength": 256,
          "minLength": 16,
          "type": "string"
        },
        "revision": {
          "maxLength": 256,
          "minLength": 1,
          "type": "string"
        },
        "sourceId": {
          "const": "atmo",
          "type": "string"
        },
        "sourceType": {
          "const": "atproto-community-calendar",
          "type": "string"
        }
      },
      "required": [
        "personalSpace",
        "actorDid",
        "sourceId",
        "sourceType",
        "kind",
        "id",
        "requestId"
      ],
      "type": "object"
    }
  },
  "id": "email.atmos.calendarPersonal.sources",
  "lexicon": 1
}
