{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "CreatedAt": {
            "description": "When record was created",
            "format": "datetime",
            "type": "string"
          },
          "KeyAlg": {
            "description": "The algorithm of signing key, currently only supported algorithm is ML-DSA-65(i.e. set ML-DSA-65 as the value of this feild) you can find more information about it in the FIPS 204 standard",
            "type": "string"
          },
          "PubKey": {
            "description": "The public key used by the user, PEM-encoded",
            "type": "string"
          },
          "ValidTill": {
            "description": "The expiry of the pub key",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "PubKey",
          "ValidTill",
          "CreatedAt",
          "KeyAlg"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "club.touchfluffytail.pubkey",
  "lexicon": 1
}
