{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://api-evangelist.github.io/aptos/json-schema/AccountSignature.json", "title": "AccountSignature", "type": "object", "description": "Account signature scheme\n\nThe account signature scheme allows you to have two types of accounts:\n\n1. A single Ed25519 key account, one private key\n2. A k-of-n multi-Ed25519 key account, multiple private keys, such that k-of-n must sign a transaction.\n3. A single Secp256k1Ecdsa key account, one private key", "oneOf": [ { "$ref": "#/components/schemas/AccountSignature_Ed25519Signature" }, { "$ref": "#/components/schemas/AccountSignature_MultiEd25519Signature" }, { "$ref": "#/components/schemas/AccountSignature_SingleKeySignature" }, { "$ref": "#/components/schemas/AccountSignature_MultiKeySignature" }, { "$ref": "#/components/schemas/AccountSignature_NoAccountSignature" }, { "$ref": "#/components/schemas/AccountSignature_AbstractSignature" } ], "discriminator": { "propertyName": "type", "mapping": { "ed25519_signature": "#/components/schemas/AccountSignature_Ed25519Signature", "multi_ed25519_signature": "#/components/schemas/AccountSignature_MultiEd25519Signature", "single_key_signature": "#/components/schemas/AccountSignature_SingleKeySignature", "multi_key_signature": "#/components/schemas/AccountSignature_MultiKeySignature", "no_account_signature": "#/components/schemas/AccountSignature_NoAccountSignature", "abstract_signature": "#/components/schemas/AccountSignature_AbstractSignature" } } }