community.lexicon.preference.ai

lexicon.community

Documentation

main record

No description available.

Record Key any Any valid record key

Properties

updatedAt string datetime Required

Timestamp of the most recent change to this record.

View raw schema
{
  "key": "any",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "updatedAt",
      "scope",
      "preferences"
    ],
    "properties": {
      "scope": {
        "refs": [
          "#globalScope",
          "#entityScope",
          "#collectionScope"
        ],
        "type": "union",
        "description": "What this record's preferences apply to."
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp of the most recent change to this record."
      },
      "preferences": {
        "ref": "#preferenceSet",
        "type": "ref"
      }
    }
  }
}
collectionScope object

Scopes preferences to a specific record collection in the user's repository.

Properties

collection string nsid Required

NSID of the collection this override applies to.

View raw schema
{
  "type": "object",
  "required": [
    "collection"
  ],
  "properties": {
    "collection": {
      "type": "string",
      "format": "nsid",
      "description": "NSID of the collection this override applies to."
    }
  },
  "description": "Scopes preferences to a specific record collection in the user's repository."
}
entityScope object

Scopes preferences to a specific AI consumer.

Properties

entity string Required

DID or domain of the entity this override applies to.

View raw schema
{
  "type": "object",
  "required": [
    "entity"
  ],
  "properties": {
    "entity": {
      "type": "string",
      "description": "DID or domain of the entity this override applies to."
    }
  },
  "description": "Scopes preferences to a specific AI consumer."
}
globalScope object

Account-wide default. The record at key 'self' should carry this scope.

This object has no properties defined.

View raw schema
{
  "type": "object",
  "description": "Account-wide default. The record at key 'self' should carry this scope."
}
preference object

No description available.

Properties

allow boolean Required

Whether this usage is permitted (true) or denied (false).

updatedAt string datetime Required

When this specific preference was last changed.

View raw schema
{
  "type": "object",
  "required": [
    "allow",
    "updatedAt"
  ],
  "properties": {
    "allow": {
      "type": "boolean",
      "description": "Whether this usage is permitted (true) or denied (false)."
    },
    "updatedAt": {
      "type": "string",
      "format": "datetime",
      "description": "When this specific preference was last changed."
    }
  }
}
preferenceSet object

A set of AI usage preferences. Omitted fields mean undefined (no declared preference).

Properties

embedding ref #preference Optional

Use for vector embeddings or semantic indexing.

inference ref #preference Optional

Use at inference time for retrieval, RAG, or context injection.

syntheticContent ref #preference Optional

Use to generate synthetic content or interactions derived from user data.

training ref #preference Optional

Use as input for training, fine-tuning, distillation, or RLHF of ML models.

View raw schema
{
  "type": "object",
  "properties": {
    "training": {
      "ref": "#preference",
      "type": "ref",
      "description": "Use as input for training, fine-tuning, distillation, or RLHF of ML models."
    },
    "embedding": {
      "ref": "#preference",
      "type": "ref",
      "description": "Use for vector embeddings or semantic indexing."
    },
    "inference": {
      "ref": "#preference",
      "type": "ref",
      "description": "Use at inference time for retrieval, RAG, or context injection."
    },
    "syntheticContent": {
      "ref": "#preference",
      "type": "ref",
      "description": "Use to generate synthetic content or interactions derived from user data."
    }
  },
  "description": "A set of AI usage preferences. Omitted fields mean undefined (no declared preference)."
}

Lexicon Garden

@