dev.tsunagite.defs

tsunagite.dev

Documentation

associatedScore object

A combined view of a score and the profile of the user who performed it.

Properties

did string did Optional

A decentralized identifier (DID).

handle string handle Optional

An AT Protocol handle (e.g., alice.bsky.social).

View raw schema
{
  "type": "object",
  "required": [
    "score"
  ],
  "properties": {
    "did": {
      "type": "string",
      "format": "did"
    },
    "score": {
      "ref": "dev.tsunagite.score",
      "type": "ref"
    },
    "handle": {
      "type": "string",
      "format": "handle"
    },
    "profile": {
      "ref": "dev.tsunagite.profile",
      "type": "ref"
    }
  },
  "description": "A combined view of a score and the profile of the user who performed it."
}
indexable object

A named value with a numeric index for sorting.

Properties

id string record-key Required

The internal ID for the value, limited to the RecordKey character set.

maxLength: 32 bytesminLength: 1 bytes
index integer Required

The numeric index used for sorting.

View raw schema
{
  "type": "object",
  "required": [
    "id",
    "name",
    "index"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "record-key",
      "maxLength": 32,
      "minLength": 1,
      "description": "The internal ID for the value, limited to the RecordKey character set."
    },
    "name": {
      "ref": "dev.tsunagite.translatable",
      "type": "ref",
      "description": "The human-readable name of the value for displaying in UIs."
    },
    "index": {
      "type": "integer",
      "description": "The numeric index used for sorting."
    }
  },
  "description": "A named value with a numeric index for sorting."
}
typedRef object

A typed record reference that does not require a CID hash.

Properties

ref string at-uri Optional

The AT URI of the record this object references.

type string nsid Optional

The type of the record this object references.

View raw schema
{
  "type": "object",
  "properties": {
    "ref": {
      "type": "string",
      "format": "at-uri",
      "description": "The AT URI of the record this object references."
    },
    "type": {
      "type": "string",
      "format": "nsid",
      "description": "The type of the record this object references."
    }
  },
  "description": "A typed record reference that does not require a CID hash."
}

Lexicon Garden

@