community.lexicon.preference.ai

Declares a user's preferences regarding AI usage of their public data. A record at key 'self' with globalScope establishes default preferences. Additional records keyed by TID establish scoped overrides for specific entities or content collections.

Details · record, key any
Kindrecord
Record keyany
Authoritypreference.lexicon.community
Indexed

Showing version bafyreihevdqkrhh4pioixa7d2hwi76raich5vuiz4rvhrdi2lw77ykveqe. Show the latest

cid bafyreihevdqkrhh4pioixa7d2hwi76raich5vuiz4rvhrdi2lw77ykveqe

Checks

Valid
  • unlimited-string defs.entityScope.properties.entityNo maxLength, maxGraphemes or format limits this string.
  • missing-primary-description defs.mainThe record has no description.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "collectionScope": {
      "description": "Scopes preferences to a specific record collection in the user's repository.",
      "properties": {
        "collection": {
          "description": "NSID of the collection this override applies to.",
          "format": "nsid",
          "type": "string"
        }
      },
      "required": [
        "collection"
      ],
      "type": "object"
    },
    "entityScope": {
      "description": "Scopes preferences to a specific AI consumer.",
      "properties": {
        "entity": {
          "description": "DID or domain of the entity this override applies to.",
          "type": "string"
        }
      },
      "required": [
        "entity"
      ],
      "type": "object"
    },
    "globalScope": {
      "description": "Account-wide default. The record at key 'self' should carry this scope.",
      "type": "object"
    },
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "preferences": {
            "ref": "#preferenceSet",
            "type": "ref"
          },
          "scope": {
            "description": "What this record's preferences apply to.",
            "refs": [
              "#globalScope",
              "#entityScope",
              "#collectionScope"
            ],
            "type": "union"
          },
          "updatedAt": {
            "description": "Timestamp of the most recent change to this record.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "updatedAt",
          "scope",
          "preferences"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "preference": {
      "properties": {
        "allow": {
          "description": "Whether this usage is permitted (true) or denied (false).",
          "type": "boolean"
        },
        "updatedAt": {
          "description": "When this specific preference was last changed.",
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "allow",
        "updatedAt"
      ],
      "type": "object"
    },
    "preferenceSet": {
      "description": "A set of AI usage preferences. Omitted fields mean undefined (no declared preference).",
      "properties": {
        "embedding": {
          "description": "Use for vector embeddings or semantic indexing.",
          "ref": "#preference",
          "type": "ref"
        },
        "inference": {
          "description": "Use at inference time for retrieval, RAG, or context injection.",
          "ref": "#preference",
          "type": "ref"
        },
        "syntheticContent": {
          "description": "Use to generate synthetic content or interactions derived from user data.",
          "ref": "#preference",
          "type": "ref"
        },
        "training": {
          "description": "Use as input for training, fine-tuning, distillation, or RLHF of ML models.",
          "ref": "#preference",
          "type": "ref"
        }
      },
      "type": "object"
    }
  },
  "description": "Declares a user's preferences regarding AI usage of their public data. A record at key 'self' with globalScope establishes default preferences. Additional records keyed by TID establish scoped overrides for specific entities or content collections.",
  "id": "community.lexicon.preference.ai",
  "lexicon": 1
}