at.margin.apikey

An API key hash for the Margin application.

Repository @margin.at did:plc:rjqn3agdb74cszhqcpii4sne namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritymargin.at
Indexed
cid bafyreibhaqquuktdaiijvlppadwefqhv3l7uv5pexzmz2kq6b6nyjraumi

Checks

Valid
  • unlimited-string defs.main.record.properties.keyHashNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An API key hash for the Margin application.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "keyHash": {
            "description": "SHA256 hash of the API key.",
            "type": "string"
          },
          "name": {
            "description": "Human-readable name for the API key.",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "name",
          "keyHash",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "at.margin.apikey",
  "lexicon": 1
}