comAtprotoIdentitySignPlcOperation top-level constant

Map<String, dynamic> const comAtprotoIdentitySignPlcOperation

com.atproto.identity.signPlcOperation

Implementation

const comAtprotoIdentitySignPlcOperation = <String, dynamic>{
  "lexicon": 1,
  "id": "com.atproto.identity.signPlcOperation",
  "defs": {
    "main": {
      "type": "procedure",
      "description":
          "Signs a PLC operation to update some value(s) in the requesting DID's document.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "properties": {
            "token": {
              "type": "string",
              "description":
                  "A token received through com.atproto.identity.requestPlcOperationSignature"
            },
            "rotationKeys": {
              "type": "array",
              "items": {"type": "string"}
            },
            "alsoKnownAs": {
              "type": "array",
              "items": {"type": "string"}
            },
            "verificationMethods": {"type": "unknown"},
            "services": {"type": "unknown"}
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["operation"],
          "properties": {
            "operation": {
              "type": "unknown",
              "description": "A signed DID PLC operation."
            }
          }
        }
      }
    }
  }
};