{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "language": {
      "properties": {
        "name": {
          "type": "string"
        },
        "size": {
          "description": "Total size of files in this language, in bytes.",
          "type": "integer"
        }
      },
      "required": [
        "name",
        "size"
      ],
      "type": "object"
    },
    "repoViewBasic": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "forkCount": {
          "type": "integer"
        },
        "isStarred": {
          "type": "boolean"
        },
        "openIssueCount": {
          "type": "integer"
        },
        "openPullCount": {
          "type": "integer"
        },
        "owner": {
          "ref": "org.tangled.actor.defs#profileViewBasic",
          "type": "ref"
        },
        "primaryLanguage": {
          "description": "Largest language on the default branch, by bytes.",
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "starCount": {
          "type": "integer"
        },
        "viewer": {
          "ref": "#viewerState",
          "type": "ref"
        }
      },
      "required": [
        "did",
        "owner",
        "slug",
        "createdAt"
      ],
      "type": "object"
    },
    "sourceExternal": {
      "properties": {
        "uri": {
          "description": "git-clone uri of the repo",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "uri"
      ],
      "type": "object"
    },
    "sourceTangled": {
      "properties": {
        "did": {
          "description": "DID of the repo identity",
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    },
    "viewerState": {
      "description": "Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests.",
      "properties": {
        "fork": {
          "format": "at-uri",
          "type": "string"
        },
        "star": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "org.tangled.repo.defs",
  "lexicon": 1
}
