{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A seed, the permission to plant a story tree.",
      "key": "tid",
      "record": {
        "createdAt": {
          "description": "The timestamp of the grant.",
          "format": "datetime",
          "type": "string"
        },
        "expiresAt": {
          "description": "The timestamp of the grant expiration.",
          "format": "datetime",
          "type": "string"
        },
        "grantee": {
          "description": "The DID of the grantee.",
          "format": "did",
          "type": "string"
        },
        "grantor": {
          "description": "The seed that this was granted from",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "grantee",
        "createdAt"
      ],
      "type": "record"
    }
  },
  "id": "ink.branchline.seed",
  "lexicon": 1
}
