zone.stratos.repo.importRepo

lexicon.northsky.app

{
  "id": "zone.stratos.repo.importRepo",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "encoding": "application/vnd.ipld.car"
      },
      "errors": [
        {
          "name": "InvalidCar",
          "description": "The CAR file is malformed, has missing blocks, or contains records with mismatched CIDs."
        },
        {
          "name": "RepoAlreadyExists",
          "description": "The destination already has records for this DID. Import is only supported for empty repos."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "imported"
          ],
          "properties": {
            "imported": {
              "type": "integer",
              "description": "Number of records successfully imported."
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Import a repository from a CAR file. Verifies record CID integrity and re-signs with the destination service key. The caller must be enrolled as the DID in the CAR's commit block."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against zone.stratos.repo.importRepo

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:6uxgo3ypovauub7nblwylqyv
CID
bafyreiat4bawamo75jsazkb4jkjwl65q3sspuzvgpobmezx5iyompglpou
Indexed At
2026-03-03 21:29 UTC
AT-URI
at://did:plc:6uxgo3ypovauub7nblwylqyv/com.atproto.lexicon.schema/zone.stratos.repo.importRepo

Lexicon Garden

@