{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A star (like) on a container image repository. Stored in the starrer's PDS, similar to Bluesky likes.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "description": "Star creation timestamp",
            "format": "datetime",
            "type": "string"
          },
          "subject": {
            "description": "The repository being starred",
            "ref": "#subject",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "subject": {
      "description": "Reference to a repository owned by a user",
      "properties": {
        "did": {
          "description": "DID of the repository owner",
          "format": "did",
          "type": "string"
        },
        "repository": {
          "description": "Repository name (e.g., 'myapp')",
          "maxLength": 255,
          "type": "string"
        }
      },
      "required": [
        "did",
        "repository"
      ],
      "type": "object"
    }
  },
  "id": "io.atcr.sailor.star",
  "lexicon": 1
}
