link.latr.bookmarks.defs

Repository @samclemente.me did:plc:qy5pluw2bsuq2x6albsgkvx3 namespace authority
Details · defs
Kinddefs
Authoritybookmarks.latr.link
Indexed
cid bafyreieup6bwpagwbq7zanpwjohwvcuogmthzflfqjgxh5ycorwfuu3gky

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "bookmarkRecord": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        },
        "value": {
          "ref": "community.lexicon.bookmarks.bookmark",
          "type": "ref"
        }
      },
      "required": [
        "uri",
        "cid",
        "value"
      ],
      "type": "object"
    },
    "bookmarkView": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "metadataRecord": {
          "ref": "#metadataRecord",
          "type": "ref"
        },
        "preview": {
          "ref": "#preview",
          "type": "ref"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        },
        "value": {
          "ref": "community.lexicon.bookmarks.bookmark",
          "type": "ref"
        }
      },
      "required": [
        "uri",
        "cid",
        "value"
      ],
      "type": "object"
    },
    "communityBookmarkRecord": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "subject": {
          "format": "uri",
          "maxGraphemes": 2048,
          "maxLength": 8192,
          "type": "string"
        },
        "tags": {
          "items": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        }
      },
      "required": [
        "subject",
        "createdAt"
      ],
      "type": "object"
    },
    "metadataRecord": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        },
        "value": {
          "ref": "link.latr.bookmarks.metadata",
          "type": "ref"
        }
      },
      "required": [
        "uri",
        "cid",
        "value"
      ],
      "type": "object"
    },
    "metadataSyncResult": {
      "properties": {
        "created": {
          "minimum": 0,
          "type": "integer"
        },
        "cursor": {
          "maxGraphemes": 512,
          "maxLength": 2048,
          "type": "string"
        },
        "ok": {
          "type": "boolean"
        },
        "reused": {
          "minimum": 0,
          "type": "integer"
        },
        "scanned": {
          "minimum": 0,
          "type": "integer"
        },
        "skippedConflict": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "ok",
        "scanned",
        "created",
        "reused",
        "skippedConflict"
      ],
      "type": "object"
    },
    "migrationResult": {
      "properties": {
        "cached": {
          "minimum": 0,
          "type": "integer"
        },
        "created": {
          "minimum": 0,
          "type": "integer"
        },
        "cursor": {
          "maxGraphemes": 512,
          "maxLength": 2048,
          "type": "string"
        },
        "duplicates": {
          "minimum": 0,
          "type": "integer"
        },
        "ok": {
          "type": "boolean"
        },
        "retired": {
          "minimum": 0,
          "type": "integer"
        },
        "reused": {
          "minimum": 0,
          "type": "integer"
        },
        "scanned": {
          "minimum": 0,
          "type": "integer"
        },
        "skippedConflict": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "ok",
        "scanned",
        "created",
        "reused",
        "duplicates",
        "skippedConflict",
        "cached",
        "retired"
      ],
      "type": "object"
    },
    "preview": {
      "properties": {
        "author": {
          "maxGraphemes": 128,
          "maxLength": 512,
          "type": "string"
        },
        "description": {
          "maxGraphemes": 2048,
          "maxLength": 8192,
          "type": "string"
        },
        "image": {
          "format": "uri",
          "maxGraphemes": 2048,
          "maxLength": 8192,
          "type": "string"
        },
        "siteName": {
          "maxGraphemes": 128,
          "maxLength": 512,
          "type": "string"
        },
        "title": {
          "maxGraphemes": 512,
          "maxLength": 2048,
          "type": "string"
        }
      },
      "required": [],
      "type": "object"
    },
    "simpleOk": {
      "properties": {
        "ok": {
          "type": "boolean"
        }
      },
      "required": [
        "ok"
      ],
      "type": "object"
    },
    "tagCount": {
      "properties": {
        "count": {
          "minimum": 1,
          "type": "integer"
        },
        "tag": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        }
      },
      "required": [
        "tag",
        "count"
      ],
      "type": "object"
    },
    "tagMutationResult": {
      "properties": {
        "cursor": {
          "maxGraphemes": 512,
          "maxLength": 2048,
          "type": "string"
        },
        "matched": {
          "minimum": 0,
          "type": "integer"
        },
        "ok": {
          "type": "boolean"
        },
        "scanned": {
          "minimum": 0,
          "type": "integer"
        },
        "updated": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "ok",
        "scanned",
        "matched",
        "updated"
      ],
      "type": "object"
    }
  },
  "id": "link.latr.bookmarks.defs",
  "lexicon": 1
}