{
  "lexicon": 1,
  "id": "sh.tangled.repo.defs",
  "defs": {
    "repoViewBasic": {
      "type": "object",
      "required": ["did", "owner", "slug", "createdAt"],
      "properties": {
        "did": { "type": "string", "format": "did" },
        "owner": { "type": "ref", "ref": "sh.tangled.actor.defs#profileViewBasic" },
        "slug": { "type": "string" },
        "description": { "type": "string" },
        "createdAt": { "type": "string", "format": "datetime" },
        "starCount": { "type": "integer" },
        "viewer": { "type": "ref", "ref": "#viewerState" },
        "isStarred": { "type": "boolean" }
      }
    },
    "viewerState": {
      "type": "object",
      "description": "Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests.",
      "properties": {
        "star": { "type": "string", "format": "at-uri" }
      }
    }
  }
}
