codes.tcm.star

A star on a tcm library announced on the AT Protocol: its author's DID and package, across versions. Its key is <author>:<package> (with any other character as ~), so a person stars a library once.

Repository @tcm.codes did:plc:vh4czvu5aijkaqge5huayq53 namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritytcm.codes
Indexed
cid bafyreia5e42scbu3v2y27qxieqmqrktszzgk7pwx3bxjaofj364dvsdyi4

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A star on a tcm library announced on the AT Protocol: its author's DID and package, across versions. Its key is <author>:<package> (with any other character as ~), so a person stars a library once.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "description": "When it was starred.",
            "format": "datetime",
            "type": "string"
          },
          "subject": {
            "ref": "#subject",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "subject": {
      "description": "The library: who announced it, and its package's name.",
      "properties": {
        "author": {
          "description": "Who announced the library.",
          "format": "did",
          "type": "string"
        },
        "package": {
          "description": "The library's package name.",
          "maxLength": 214,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "author",
        "package"
      ],
      "type": "object"
    }
  },
  "description": "A star on a tcm library.",
  "id": "codes.tcm.star",
  "lexicon": 1
}