{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A did-git ref stored in an AT Protocol repository. Each record maps a repository name and ref name (e.g. refs/heads/main) to the hex SHA-256 object ID it points to.",
      "key": "any",
      "record": {
        "properties": {
          "objectId": {
            "description": "The hex SHA-256 object ID this ref points to.",
            "maxLength": 64,
            "type": "string"
          },
          "refName": {
            "description": "The full ref name, e.g. refs/heads/main.",
            "maxLength": 512,
            "type": "string"
          },
          "repo": {
            "description": "The repository name (path) on this DID account.",
            "maxLength": 512,
            "type": "string"
          }
        },
        "required": [
          "repo",
          "refName",
          "objectId"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "tech.lenooby09.didgit.ref",
  "lexicon": 1
}
