{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "User profile for ATCR registry. Stores preferences like default hold for blob storage.",
      "key": "literal:self",
      "record": {
        "properties": {
          "autoRemoveUntagged": {
            "description": "Automatically delete manifest records that become untagged after a tag overwrite. Layers are cleaned up by hold garbage collection.",
            "type": "boolean"
          },
          "createdAt": {
            "description": "Profile creation timestamp",
            "format": "datetime",
            "type": "string"
          },
          "defaultHold": {
            "description": "Default hold DID for blob storage. If null, user has opted out of defaults.",
            "format": "did",
            "type": "string"
          },
          "ociClient": {
            "description": "Preferred client for pull commands (docker, podman, buildah, nerdctl, crane). 'none' shows the image reference only. Defaults to docker if empty.",
            "knownValues": [
              "docker",
              "podman",
              "buildah",
              "nerdctl",
              "crane",
              "none"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "registryDomain": {
            "description": "Preferred registry domain for UI display. Must be one of the appview's configured registry domains. Empty means the primary (first configured) domain.",
            "maxLength": 255,
            "type": "string"
          },
          "updatedAt": {
            "description": "Profile last updated timestamp",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "io.atcr.sailor.profile",
  "lexicon": 1
}
