Skip to main content

Namespace: schema

utils.schema

Variables

addControllersCommandSchema

Const addControllersCommandSchema: Object

Type declaration

NameType
$idstring
properties{ controllers: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } ; signature: { dataType: string = 'bytes'; fieldNumber: number = 4 } ; signer: { dataType: string = 'string'; fieldNumber: number = 3 } ; target: { dataType: string = 'string'; fieldNumber: number = 1 } }
properties.controllers{ fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' }
properties.controllers.fieldNumbernumber
properties.controllers.items{ dataType: string = 'string' }
properties.controllers.items.dataTypestring
properties.controllers.typestring
properties.signature{ dataType: string = 'bytes'; fieldNumber: number = 4 }
properties.signature.dataTypestring
properties.signature.fieldNumbernumber
properties.signer{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.signer.dataTypestring
properties.signer.fieldNumbernumber
properties.target{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.target.dataTypestring
properties.target.fieldNumbernumber
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/commands/add_controllers_command.ts:1


addControllersEventSchema

Const addControllersEventSchema: Object

Type declaration

NameType
$idstring
properties{ controllers: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } ; signature: { dataType: string = 'bytes'; fieldNumber: number = 4 } ; signer: { dataType: string = 'string'; fieldNumber: number = 3 } ; target: { dataType: string = 'string'; fieldNumber: number = 1 } }
properties.controllers{ fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' }
properties.controllers.fieldNumbernumber
properties.controllers.items{ dataType: string = 'string' }
properties.controllers.items.dataTypestring
properties.controllers.typestring
properties.signature{ dataType: string = 'bytes'; fieldNumber: number = 4 }
properties.signature.dataTypestring
properties.signature.fieldNumbernumber
properties.signer{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.signer.dataTypestring
properties.signer.fieldNumbernumber
properties.target{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.target.dataTypestring
properties.target.fieldNumbernumber
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/events/add_controllers_event.ts:1


addKeysCommandSchema

Const addKeysCommandSchema: Object

Type declaration

NameType
$idstring
properties{ keys: { fieldNumber: number = 2; items: { properties: { publicKey: { dataType: string = 'bytes'; fieldNumber: number = 1 } ; relationship: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } } ; required: string[] ; type: string = 'object' } ; type: string = 'array' } ; signature: { dataType: string = 'bytes'; fieldNumber: number = 4 } ; signer: { dataType: string = 'string'; fieldNumber: number = 3 } ; target: { dataType: string = 'string'; fieldNumber: number = 1 } }
properties.keys{ fieldNumber: number = 2; items: { properties: { publicKey: { dataType: string = 'bytes'; fieldNumber: number = 1 } ; relationship: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } } ; required: string[] ; type: string = 'object' } ; type: string = 'array' }
properties.keys.fieldNumbernumber
properties.keys.items{ properties: { publicKey: { dataType: string = 'bytes'; fieldNumber: number = 1 } ; relationship: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } } ; required: string[] ; type: string = 'object' }
properties.keys.items.properties{ publicKey: { dataType: string = 'bytes'; fieldNumber: number = 1 } ; relationship: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } }
properties.keys.items.properties.publicKey{ dataType: string = 'bytes'; fieldNumber: number = 1 }
properties.keys.items.properties.publicKey.dataTypestring
properties.keys.items.properties.publicKey.fieldNumbernumber
properties.keys.items.properties.relationship{ fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' }
properties.keys.items.properties.relationship.fieldNumbernumber
properties.keys.items.properties.relationship.items{ dataType: string = 'string' }
properties.keys.items.properties.relationship.items.dataTypestring
properties.keys.items.properties.relationship.typestring
properties.keys.items.requiredstring[]
properties.keys.items.typestring
properties.keys.typestring
properties.signature{ dataType: string = 'bytes'; fieldNumber: number = 4 }
properties.signature.dataTypestring
properties.signature.fieldNumbernumber
properties.signer{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.signer.dataTypestring
properties.signer.fieldNumbernumber
properties.target{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.target.dataTypestring
properties.target.fieldNumbernumber
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/commands/add_keys_command.ts:1


addKeysEventSchema

Const addKeysEventSchema: Object

Type declaration

NameType
$idstring
properties{ keys: { fieldNumber: number = 2; items: { properties: { publicKey: { dataType: string = 'bytes'; fieldNumber: number = 1 } ; relationship: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } } ; required: string[] ; type: string = 'object' } ; type: string = 'array' } ; signature: { dataType: string = 'bytes'; fieldNumber: number = 4 } ; signer: { dataType: string = 'string'; fieldNumber: number = 3 } ; target: { dataType: string = 'string'; fieldNumber: number = 1 } }
properties.keys{ fieldNumber: number = 2; items: { properties: { publicKey: { dataType: string = 'bytes'; fieldNumber: number = 1 } ; relationship: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } } ; required: string[] ; type: string = 'object' } ; type: string = 'array' }
properties.keys.fieldNumbernumber
properties.keys.items{ properties: { publicKey: { dataType: string = 'bytes'; fieldNumber: number = 1 } ; relationship: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } } ; required: string[] ; type: string = 'object' }
properties.keys.items.properties{ publicKey: { dataType: string = 'bytes'; fieldNumber: number = 1 } ; relationship: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } }
properties.keys.items.properties.publicKey{ dataType: string = 'bytes'; fieldNumber: number = 1 }
properties.keys.items.properties.publicKey.dataTypestring
properties.keys.items.properties.publicKey.fieldNumbernumber
properties.keys.items.properties.relationship{ fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' }
properties.keys.items.properties.relationship.fieldNumbernumber
properties.keys.items.properties.relationship.items{ dataType: string = 'string' }
properties.keys.items.properties.relationship.items.dataTypestring
properties.keys.items.properties.relationship.typestring
properties.keys.items.requiredstring[]
properties.keys.items.typestring
properties.keys.typestring
properties.signature{ dataType: string = 'bytes'; fieldNumber: number = 4 }
properties.signature.dataTypestring
properties.signature.fieldNumbernumber
properties.signer{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.signer.dataTypestring
properties.signer.fieldNumbernumber
properties.target{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.target.dataTypestring
properties.target.fieldNumbernumber
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/events/add_keys_event.ts:1


addServiceEndpointCommandSchema

Const addServiceEndpointCommandSchema: Object

Type declaration

NameType
$idstring
properties{ endpoint: { fieldNumber: number = 2; properties: { id: { dataType: string = 'string'; fieldNumber: number = 1 } ; serviceEndpoint: { dataType: string = 'string'; fieldNumber: number = 3 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } } ; required: string[] ; type: string = 'object' } ; signature: { dataType: string = 'bytes'; fieldNumber: number = 4 } ; signer: { dataType: string = 'string'; fieldNumber: number = 3 } ; target: { dataType: string = 'string'; fieldNumber: number = 1 } }
properties.endpoint{ fieldNumber: number = 2; properties: { id: { dataType: string = 'string'; fieldNumber: number = 1 } ; serviceEndpoint: { dataType: string = 'string'; fieldNumber: number = 3 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } } ; required: string[] ; type: string = 'object' }
properties.endpoint.fieldNumbernumber
properties.endpoint.properties{ id: { dataType: string = 'string'; fieldNumber: number = 1 } ; serviceEndpoint: { dataType: string = 'string'; fieldNumber: number = 3 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } }
properties.endpoint.properties.id{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.endpoint.properties.id.dataTypestring
properties.endpoint.properties.id.fieldNumbernumber
properties.endpoint.properties.serviceEndpoint{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.endpoint.properties.serviceEndpoint.dataTypestring
properties.endpoint.properties.serviceEndpoint.fieldNumbernumber
properties.endpoint.properties.type{ dataType: string = 'string'; fieldNumber: number = 2 }
properties.endpoint.properties.type.dataTypestring
properties.endpoint.properties.type.fieldNumbernumber
properties.endpoint.requiredstring[]
properties.endpoint.typestring
properties.signature{ dataType: string = 'bytes'; fieldNumber: number = 4 }
properties.signature.dataTypestring
properties.signature.fieldNumbernumber
properties.signer{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.signer.dataTypestring
properties.signer.fieldNumbernumber
properties.target{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.target.dataTypestring
properties.target.fieldNumbernumber
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/commands/add_service_endpoint_command.ts:1


addServiceEndpointEventSchema

Const addServiceEndpointEventSchema: Object

Type declaration

NameType
$idstring
properties{ endpoint: { fieldNumber: number = 2; properties: { id: { dataType: string = 'string'; fieldNumber: number = 1 } ; serviceEndpoint: { dataType: string = 'string'; fieldNumber: number = 3 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } } ; required: string[] ; type: string = 'object' } ; signature: { dataType: string = 'bytes'; fieldNumber: number = 4 } ; signer: { dataType: string = 'string'; fieldNumber: number = 3 } ; target: { dataType: string = 'string'; fieldNumber: number = 1 } }
properties.endpoint{ fieldNumber: number = 2; properties: { id: { dataType: string = 'string'; fieldNumber: number = 1 } ; serviceEndpoint: { dataType: string = 'string'; fieldNumber: number = 3 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } } ; required: string[] ; type: string = 'object' }
properties.endpoint.fieldNumbernumber
properties.endpoint.properties{ id: { dataType: string = 'string'; fieldNumber: number = 1 } ; serviceEndpoint: { dataType: string = 'string'; fieldNumber: number = 3 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } }
properties.endpoint.properties.id{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.endpoint.properties.id.dataTypestring
properties.endpoint.properties.id.fieldNumbernumber
properties.endpoint.properties.serviceEndpoint{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.endpoint.properties.serviceEndpoint.dataTypestring
properties.endpoint.properties.serviceEndpoint.fieldNumbernumber
properties.endpoint.properties.type{ dataType: string = 'string'; fieldNumber: number = 2 }
properties.endpoint.properties.type.dataTypestring
properties.endpoint.properties.type.fieldNumbernumber
properties.endpoint.requiredstring[]
properties.endpoint.typestring
properties.signature{ dataType: string = 'bytes'; fieldNumber: number = 4 }
properties.signature.dataTypestring
properties.signature.fieldNumbernumber
properties.signer{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.signer.dataTypestring
properties.signer.fieldNumbernumber
properties.target{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.target.dataTypestring
properties.target.fieldNumbernumber
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/events/add_service_endpoint_event.ts:1


createCommandSchema

Const createCommandSchema: Object

Type declaration

NameType
$idstring
properties{ controllers: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } ; did: { dataType: string = 'string'; fieldNumber: number = 1 } ; keys: { fieldNumber: number = 3; items: { properties: { publicKey: { dataType: string = 'bytes'; fieldNumber: number = 1 } ; relationship: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } } ; required: string[] ; type: string = 'object' } ; type: string = 'array' } }
properties.controllers{ fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' }
properties.controllers.fieldNumbernumber
properties.controllers.items{ dataType: string = 'string' }
properties.controllers.items.dataTypestring
properties.controllers.typestring
properties.did{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.did.dataTypestring
properties.did.fieldNumbernumber
properties.keys{ fieldNumber: number = 3; items: { properties: { publicKey: { dataType: string = 'bytes'; fieldNumber: number = 1 } ; relationship: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } } ; required: string[] ; type: string = 'object' } ; type: string = 'array' }
properties.keys.fieldNumbernumber
properties.keys.items{ properties: { publicKey: { dataType: string = 'bytes'; fieldNumber: number = 1 } ; relationship: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } } ; required: string[] ; type: string = 'object' }
properties.keys.items.properties{ publicKey: { dataType: string = 'bytes'; fieldNumber: number = 1 } ; relationship: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } }
properties.keys.items.properties.publicKey{ dataType: string = 'bytes'; fieldNumber: number = 1 }
properties.keys.items.properties.publicKey.dataTypestring
properties.keys.items.properties.publicKey.fieldNumbernumber
properties.keys.items.properties.relationship{ fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' }
properties.keys.items.properties.relationship.fieldNumbernumber
properties.keys.items.properties.relationship.items{ dataType: string = 'string' }
properties.keys.items.properties.relationship.items.dataTypestring
properties.keys.items.properties.relationship.typestring
properties.keys.items.requiredstring[]
properties.keys.items.typestring
properties.keys.typestring
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/commands/create_command.ts:1


createEventSchema

Const createEventSchema: Object

Type declaration

NameType
$idstring
properties{ controllers: { fieldNumber: number = 3; items: { dataType: string = 'string' } ; type: string = 'array' } ; did: { dataType: string = 'string'; fieldNumber: number = 1 } ; keys: { fieldNumber: number = 2; items: { properties: { publicKey: { dataType: string = 'bytes'; fieldNumber: number = 1 } ; relationship: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } } ; required: string[] ; type: string = 'object' } ; type: string = 'array' } }
properties.controllers{ fieldNumber: number = 3; items: { dataType: string = 'string' } ; type: string = 'array' }
properties.controllers.fieldNumbernumber
properties.controllers.items{ dataType: string = 'string' }
properties.controllers.items.dataTypestring
properties.controllers.typestring
properties.did{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.did.dataTypestring
properties.did.fieldNumbernumber
properties.keys{ fieldNumber: number = 2; items: { properties: { publicKey: { dataType: string = 'bytes'; fieldNumber: number = 1 } ; relationship: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } } ; required: string[] ; type: string = 'object' } ; type: string = 'array' }
properties.keys.fieldNumbernumber
properties.keys.items{ properties: { publicKey: { dataType: string = 'bytes'; fieldNumber: number = 1 } ; relationship: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } } ; required: string[] ; type: string = 'object' }
properties.keys.items.properties{ publicKey: { dataType: string = 'bytes'; fieldNumber: number = 1 } ; relationship: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } }
properties.keys.items.properties.publicKey{ dataType: string = 'bytes'; fieldNumber: number = 1 }
properties.keys.items.properties.publicKey.dataTypestring
properties.keys.items.properties.publicKey.fieldNumbernumber
properties.keys.items.properties.relationship{ fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' }
properties.keys.items.properties.relationship.fieldNumbernumber
properties.keys.items.properties.relationship.items{ dataType: string = 'string' }
properties.keys.items.properties.relationship.items.dataTypestring
properties.keys.items.properties.relationship.typestring
properties.keys.items.requiredstring[]
properties.keys.items.typestring
properties.keys.typestring
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/events/create_event.ts:1


deactivateCommandSchema

Const deactivateCommandSchema: Object

Type declaration

NameType
$idstring
properties{ signature: { dataType: string = 'bytes'; fieldNumber: number = 3 } ; signer: { dataType: string = 'string'; fieldNumber: number = 2 } ; target: { dataType: string = 'string'; fieldNumber: number = 1 } }
properties.signature{ dataType: string = 'bytes'; fieldNumber: number = 3 }
properties.signature.dataTypestring
properties.signature.fieldNumbernumber
properties.signer{ dataType: string = 'string'; fieldNumber: number = 2 }
properties.signer.dataTypestring
properties.signer.fieldNumbernumber
properties.target{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.target.dataTypestring
properties.target.fieldNumbernumber
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/commands/deactivate_command.ts:1


deactivateEventSchema

Const deactivateEventSchema: Object

Type declaration

NameType
$idstring
properties{ signature: { dataType: string = 'bytes'; fieldNumber: number = 3 } ; signer: { dataType: string = 'string'; fieldNumber: number = 2 } ; target: { dataType: string = 'string'; fieldNumber: number = 1 } }
properties.signature{ dataType: string = 'bytes'; fieldNumber: number = 3 }
properties.signature.dataTypestring
properties.signature.fieldNumbernumber
properties.signer{ dataType: string = 'string'; fieldNumber: number = 2 }
properties.signer.dataTypestring
properties.signer.fieldNumbernumber
properties.target{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.target.dataTypestring
properties.target.fieldNumbernumber
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/events/deactivate_event.ts:1


documentStoreSchema

Const documentStoreSchema: Object

Type declaration

NameType
$idstring
properties{ assertionMethod: { fieldNumber: number = 6; items: { dataType: string = 'string' } ; type: string = 'array' } ; authentication: { fieldNumber: number = 5; items: { dataType: string = 'string' } ; type: string = 'array' } ; capabilityInvocation: { fieldNumber: number = 7; items: { dataType: string = 'string' } ; type: string = 'array' } ; context: { fieldNumber: number = 1; items: { dataType: string = 'string' } ; type: string = 'array' } ; controller: { fieldNumber: number = 3; items: { dataType: string = 'string' } ; type: string = 'array' } ; id: { dataType: string = 'string'; fieldNumber: number = 2 } ; keyAgreement: { fieldNumber: number = 8; items: { properties: { controller: { dataType: string = 'string'; fieldNumber: number = 3 } ; id: { dataType: string = 'string'; fieldNumber: number = 1 } ; publicKeyMultibase: { dataType: string = 'string'; fieldNumber: number = 4 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } } ; required: string[] ; type: string = 'object' } ; type: string = 'array' } ; service: { fieldNumber: number = 9; items: { properties: { id: { dataType: string = 'string'; fieldNumber: number = 1 } ; serviceEndpoint: { dataType: string = 'string'; fieldNumber: number = 3 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } } ; required: string[] ; type: string = 'object' } ; type: string = 'array' } ; verificationMethod: { fieldNumber: number = 4; items: { properties: { controller: { dataType: string = 'string'; fieldNumber: number = 3 } ; id: { dataType: string = 'string'; fieldNumber: number = 1 } ; publicKeyMultibase: { dataType: string = 'string'; fieldNumber: number = 4 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } } ; required: string[] ; type: string = 'object' } ; type: string = 'array' } }
properties.assertionMethod{ fieldNumber: number = 6; items: { dataType: string = 'string' } ; type: string = 'array' }
properties.assertionMethod.fieldNumbernumber
properties.assertionMethod.items{ dataType: string = 'string' }
properties.assertionMethod.items.dataTypestring
properties.assertionMethod.typestring
properties.authentication{ fieldNumber: number = 5; items: { dataType: string = 'string' } ; type: string = 'array' }
properties.authentication.fieldNumbernumber
properties.authentication.items{ dataType: string = 'string' }
properties.authentication.items.dataTypestring
properties.authentication.typestring
properties.capabilityInvocation{ fieldNumber: number = 7; items: { dataType: string = 'string' } ; type: string = 'array' }
properties.capabilityInvocation.fieldNumbernumber
properties.capabilityInvocation.items{ dataType: string = 'string' }
properties.capabilityInvocation.items.dataTypestring
properties.capabilityInvocation.typestring
properties.context{ fieldNumber: number = 1; items: { dataType: string = 'string' } ; type: string = 'array' }
properties.context.fieldNumbernumber
properties.context.items{ dataType: string = 'string' }
properties.context.items.dataTypestring
properties.context.typestring
properties.controller{ fieldNumber: number = 3; items: { dataType: string = 'string' } ; type: string = 'array' }
properties.controller.fieldNumbernumber
properties.controller.items{ dataType: string = 'string' }
properties.controller.items.dataTypestring
properties.controller.typestring
properties.id{ dataType: string = 'string'; fieldNumber: number = 2 }
properties.id.dataTypestring
properties.id.fieldNumbernumber
properties.keyAgreement{ fieldNumber: number = 8; items: { properties: { controller: { dataType: string = 'string'; fieldNumber: number = 3 } ; id: { dataType: string = 'string'; fieldNumber: number = 1 } ; publicKeyMultibase: { dataType: string = 'string'; fieldNumber: number = 4 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } } ; required: string[] ; type: string = 'object' } ; type: string = 'array' }
properties.keyAgreement.fieldNumbernumber
properties.keyAgreement.items{ properties: { controller: { dataType: string = 'string'; fieldNumber: number = 3 } ; id: { dataType: string = 'string'; fieldNumber: number = 1 } ; publicKeyMultibase: { dataType: string = 'string'; fieldNumber: number = 4 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } } ; required: string[] ; type: string = 'object' }
properties.keyAgreement.items.properties{ controller: { dataType: string = 'string'; fieldNumber: number = 3 } ; id: { dataType: string = 'string'; fieldNumber: number = 1 } ; publicKeyMultibase: { dataType: string = 'string'; fieldNumber: number = 4 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } }
properties.keyAgreement.items.properties.controller{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.keyAgreement.items.properties.controller.dataTypestring
properties.keyAgreement.items.properties.controller.fieldNumbernumber
properties.keyAgreement.items.properties.id{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.keyAgreement.items.properties.id.dataTypestring
properties.keyAgreement.items.properties.id.fieldNumbernumber
properties.keyAgreement.items.properties.publicKeyMultibase{ dataType: string = 'string'; fieldNumber: number = 4 }
properties.keyAgreement.items.properties.publicKeyMultibase.dataTypestring
properties.keyAgreement.items.properties.publicKeyMultibase.fieldNumbernumber
properties.keyAgreement.items.properties.type{ dataType: string = 'string'; fieldNumber: number = 2 }
properties.keyAgreement.items.properties.type.dataTypestring
properties.keyAgreement.items.properties.type.fieldNumbernumber
properties.keyAgreement.items.requiredstring[]
properties.keyAgreement.items.typestring
properties.keyAgreement.typestring
properties.service{ fieldNumber: number = 9; items: { properties: { id: { dataType: string = 'string'; fieldNumber: number = 1 } ; serviceEndpoint: { dataType: string = 'string'; fieldNumber: number = 3 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } } ; required: string[] ; type: string = 'object' } ; type: string = 'array' }
properties.service.fieldNumbernumber
properties.service.items{ properties: { id: { dataType: string = 'string'; fieldNumber: number = 1 } ; serviceEndpoint: { dataType: string = 'string'; fieldNumber: number = 3 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } } ; required: string[] ; type: string = 'object' }
properties.service.items.properties{ id: { dataType: string = 'string'; fieldNumber: number = 1 } ; serviceEndpoint: { dataType: string = 'string'; fieldNumber: number = 3 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } }
properties.service.items.properties.id{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.service.items.properties.id.dataTypestring
properties.service.items.properties.id.fieldNumbernumber
properties.service.items.properties.serviceEndpoint{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.service.items.properties.serviceEndpoint.dataTypestring
properties.service.items.properties.serviceEndpoint.fieldNumbernumber
properties.service.items.properties.type{ dataType: string = 'string'; fieldNumber: number = 2 }
properties.service.items.properties.type.dataTypestring
properties.service.items.properties.type.fieldNumbernumber
properties.service.items.requiredstring[]
properties.service.items.typestring
properties.service.typestring
properties.verificationMethod{ fieldNumber: number = 4; items: { properties: { controller: { dataType: string = 'string'; fieldNumber: number = 3 } ; id: { dataType: string = 'string'; fieldNumber: number = 1 } ; publicKeyMultibase: { dataType: string = 'string'; fieldNumber: number = 4 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } } ; required: string[] ; type: string = 'object' } ; type: string = 'array' }
properties.verificationMethod.fieldNumbernumber
properties.verificationMethod.items{ properties: { controller: { dataType: string = 'string'; fieldNumber: number = 3 } ; id: { dataType: string = 'string'; fieldNumber: number = 1 } ; publicKeyMultibase: { dataType: string = 'string'; fieldNumber: number = 4 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } } ; required: string[] ; type: string = 'object' }
properties.verificationMethod.items.properties{ controller: { dataType: string = 'string'; fieldNumber: number = 3 } ; id: { dataType: string = 'string'; fieldNumber: number = 1 } ; publicKeyMultibase: { dataType: string = 'string'; fieldNumber: number = 4 } ; type: { dataType: string = 'string'; fieldNumber: number = 2 } }
properties.verificationMethod.items.properties.controller{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.verificationMethod.items.properties.controller.dataTypestring
properties.verificationMethod.items.properties.controller.fieldNumbernumber
properties.verificationMethod.items.properties.id{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.verificationMethod.items.properties.id.dataTypestring
properties.verificationMethod.items.properties.id.fieldNumbernumber
properties.verificationMethod.items.properties.publicKeyMultibase{ dataType: string = 'string'; fieldNumber: number = 4 }
properties.verificationMethod.items.properties.publicKeyMultibase.dataTypestring
properties.verificationMethod.items.properties.publicKeyMultibase.fieldNumbernumber
properties.verificationMethod.items.properties.type{ dataType: string = 'string'; fieldNumber: number = 2 }
properties.verificationMethod.items.properties.type.dataTypestring
properties.verificationMethod.items.properties.type.fieldNumbernumber
properties.verificationMethod.items.requiredstring[]
properties.verificationMethod.items.typestring
properties.verificationMethod.typestring
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/stores/document.ts:1


jweDocumentSchema

Const jweDocumentSchema: Object

Type declaration

NameType
$idstring
properties{ ciphertext: { dataType: string = 'string'; fieldNumber: number = 4 } ; iv: { dataType: string = 'string'; fieldNumber: number = 3 } ; protected: { dataType: string = 'string'; fieldNumber: number = 1 } ; recipients: { fieldNumber: number = 2; items: { properties: { encrypted_key: { dataType: string = 'string'; fieldNumber: number = 2 } ; header: { fieldNumber: number = 1; properties: { alg: { dataType: string = 'string'; fieldNumber: number = 2 } ; apu: { dataType: string = 'string'; fieldNumber: number = 4 } ; apv: { dataType: string = 'string'; fieldNumber: number = 5 } ; epk: { fieldNumber: number = 3; properties: { crv: { dataType: string = 'string'; fieldNumber: number = 2 } ; kty: { dataType: string = 'string'; fieldNumber: number = 1 } ; x: { dataType: string = 'string'; fieldNumber: number = 3 } } ; required: string[] ; type: string = 'object' } ; kid: { dataType: string = 'string'; fieldNumber: number = 1 } } ; required: string[] ; type: string = 'object' } } ; required: string[] ; type: string = 'object' } ; type: string = 'array' } ; tag: { dataType: string = 'string'; fieldNumber: number = 5 } }
properties.ciphertext{ dataType: string = 'string'; fieldNumber: number = 4 }
properties.ciphertext.dataTypestring
properties.ciphertext.fieldNumbernumber
properties.iv{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.iv.dataTypestring
properties.iv.fieldNumbernumber
properties.protected{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.protected.dataTypestring
properties.protected.fieldNumbernumber
properties.recipients{ fieldNumber: number = 2; items: { properties: { encrypted_key: { dataType: string = 'string'; fieldNumber: number = 2 } ; header: { fieldNumber: number = 1; properties: { alg: { dataType: string = 'string'; fieldNumber: number = 2 } ; apu: { dataType: string = 'string'; fieldNumber: number = 4 } ; apv: { dataType: string = 'string'; fieldNumber: number = 5 } ; epk: { fieldNumber: number = 3; properties: { crv: { dataType: string = 'string'; fieldNumber: number = 2 } ; kty: { dataType: string = 'string'; fieldNumber: number = 1 } ; x: { dataType: string = 'string'; fieldNumber: number = 3 } } ; required: string[] ; type: string = 'object' } ; kid: { dataType: string = 'string'; fieldNumber: number = 1 } } ; required: string[] ; type: string = 'object' } } ; required: string[] ; type: string = 'object' } ; type: string = 'array' }
properties.recipients.fieldNumbernumber
properties.recipients.items{ properties: { encrypted_key: { dataType: string = 'string'; fieldNumber: number = 2 } ; header: { fieldNumber: number = 1; properties: { alg: { dataType: string = 'string'; fieldNumber: number = 2 } ; apu: { dataType: string = 'string'; fieldNumber: number = 4 } ; apv: { dataType: string = 'string'; fieldNumber: number = 5 } ; epk: { fieldNumber: number = 3; properties: { crv: { dataType: string = 'string'; fieldNumber: number = 2 } ; kty: { dataType: string = 'string'; fieldNumber: number = 1 } ; x: { dataType: string = 'string'; fieldNumber: number = 3 } } ; required: string[] ; type: string = 'object' } ; kid: { dataType: string = 'string'; fieldNumber: number = 1 } } ; required: string[] ; type: string = 'object' } } ; required: string[] ; type: string = 'object' }
properties.recipients.items.properties{ encrypted_key: { dataType: string = 'string'; fieldNumber: number = 2 } ; header: { fieldNumber: number = 1; properties: { alg: { dataType: string = 'string'; fieldNumber: number = 2 } ; apu: { dataType: string = 'string'; fieldNumber: number = 4 } ; apv: { dataType: string = 'string'; fieldNumber: number = 5 } ; epk: { fieldNumber: number = 3; properties: { crv: { dataType: string = 'string'; fieldNumber: number = 2 } ; kty: { dataType: string = 'string'; fieldNumber: number = 1 } ; x: { dataType: string = 'string'; fieldNumber: number = 3 } } ; required: string[] ; type: string = 'object' } ; kid: { dataType: string = 'string'; fieldNumber: number = 1 } } ; required: string[] ; type: string = 'object' } }
properties.recipients.items.properties.encrypted_key{ dataType: string = 'string'; fieldNumber: number = 2 }
properties.recipients.items.properties.encrypted_key.dataTypestring
properties.recipients.items.properties.encrypted_key.fieldNumbernumber
properties.recipients.items.properties.header{ fieldNumber: number = 1; properties: { alg: { dataType: string = 'string'; fieldNumber: number = 2 } ; apu: { dataType: string = 'string'; fieldNumber: number = 4 } ; apv: { dataType: string = 'string'; fieldNumber: number = 5 } ; epk: { fieldNumber: number = 3; properties: { crv: { dataType: string = 'string'; fieldNumber: number = 2 } ; kty: { dataType: string = 'string'; fieldNumber: number = 1 } ; x: { dataType: string = 'string'; fieldNumber: number = 3 } } ; required: string[] ; type: string = 'object' } ; kid: { dataType: string = 'string'; fieldNumber: number = 1 } } ; required: string[] ; type: string = 'object' }
properties.recipients.items.properties.header.fieldNumbernumber
properties.recipients.items.properties.header.properties{ alg: { dataType: string = 'string'; fieldNumber: number = 2 } ; apu: { dataType: string = 'string'; fieldNumber: number = 4 } ; apv: { dataType: string = 'string'; fieldNumber: number = 5 } ; epk: { fieldNumber: number = 3; properties: { crv: { dataType: string = 'string'; fieldNumber: number = 2 } ; kty: { dataType: string = 'string'; fieldNumber: number = 1 } ; x: { dataType: string = 'string'; fieldNumber: number = 3 } } ; required: string[] ; type: string = 'object' } ; kid: { dataType: string = 'string'; fieldNumber: number = 1 } }
properties.recipients.items.properties.header.properties.alg{ dataType: string = 'string'; fieldNumber: number = 2 }
properties.recipients.items.properties.header.properties.alg.dataTypestring
properties.recipients.items.properties.header.properties.alg.fieldNumbernumber
properties.recipients.items.properties.header.properties.apu{ dataType: string = 'string'; fieldNumber: number = 4 }
properties.recipients.items.properties.header.properties.apu.dataTypestring
properties.recipients.items.properties.header.properties.apu.fieldNumbernumber
properties.recipients.items.properties.header.properties.apv{ dataType: string = 'string'; fieldNumber: number = 5 }
properties.recipients.items.properties.header.properties.apv.dataTypestring
properties.recipients.items.properties.header.properties.apv.fieldNumbernumber
properties.recipients.items.properties.header.properties.epk{ fieldNumber: number = 3; properties: { crv: { dataType: string = 'string'; fieldNumber: number = 2 } ; kty: { dataType: string = 'string'; fieldNumber: number = 1 } ; x: { dataType: string = 'string'; fieldNumber: number = 3 } } ; required: string[] ; type: string = 'object' }
properties.recipients.items.properties.header.properties.epk.fieldNumbernumber
properties.recipients.items.properties.header.properties.epk.properties{ crv: { dataType: string = 'string'; fieldNumber: number = 2 } ; kty: { dataType: string = 'string'; fieldNumber: number = 1 } ; x: { dataType: string = 'string'; fieldNumber: number = 3 } }
properties.recipients.items.properties.header.properties.epk.properties.crv{ dataType: string = 'string'; fieldNumber: number = 2 }
properties.recipients.items.properties.header.properties.epk.properties.crv.dataTypestring
properties.recipients.items.properties.header.properties.epk.properties.crv.fieldNumbernumber
properties.recipients.items.properties.header.properties.epk.properties.kty{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.recipients.items.properties.header.properties.epk.properties.kty.dataTypestring
properties.recipients.items.properties.header.properties.epk.properties.kty.fieldNumbernumber
properties.recipients.items.properties.header.properties.epk.properties.x{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.recipients.items.properties.header.properties.epk.properties.x.dataTypestring
properties.recipients.items.properties.header.properties.epk.properties.x.fieldNumbernumber
properties.recipients.items.properties.header.properties.epk.requiredstring[]
properties.recipients.items.properties.header.properties.epk.typestring
properties.recipients.items.properties.header.properties.kid{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.recipients.items.properties.header.properties.kid.dataTypestring
properties.recipients.items.properties.header.properties.kid.fieldNumbernumber
properties.recipients.items.properties.header.requiredstring[]
properties.recipients.items.properties.header.typestring
properties.recipients.items.requiredstring[]
properties.recipients.items.typestring
properties.recipients.typestring
properties.tag{ dataType: string = 'string'; fieldNumber: number = 5 }
properties.tag.dataTypestring
properties.tag.fieldNumbernumber
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/jwe.ts:1


nonceStoreSchema

Const nonceStoreSchema: Object

Type declaration

NameType
$idstring
properties{ nonce: { dataType: string = 'uint64'; fieldNumber: number = 1 } }
properties.nonce{ dataType: string = 'uint64'; fieldNumber: number = 1 }
properties.nonce.dataTypestring
properties.nonce.fieldNumbernumber
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/stores/nonce.ts:1


removeControllersCommandSchema

Const removeControllersCommandSchema: Object

Type declaration

NameType
$idstring
properties{ controllers: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } ; signature: { dataType: string = 'bytes'; fieldNumber: number = 4 } ; signer: { dataType: string = 'string'; fieldNumber: number = 3 } ; target: { dataType: string = 'string'; fieldNumber: number = 1 } }
properties.controllers{ fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' }
properties.controllers.fieldNumbernumber
properties.controllers.items{ dataType: string = 'string' }
properties.controllers.items.dataTypestring
properties.controllers.typestring
properties.signature{ dataType: string = 'bytes'; fieldNumber: number = 4 }
properties.signature.dataTypestring
properties.signature.fieldNumbernumber
properties.signer{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.signer.dataTypestring
properties.signer.fieldNumbernumber
properties.target{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.target.dataTypestring
properties.target.fieldNumbernumber
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/commands/remove_controllers_command.ts:1


removeControllersEventSchema

Const removeControllersEventSchema: Object

Type declaration

NameType
$idstring
properties{ controllers: { fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' } ; signature: { dataType: string = 'bytes'; fieldNumber: number = 4 } ; signer: { dataType: string = 'string'; fieldNumber: number = 3 } ; target: { dataType: string = 'string'; fieldNumber: number = 1 } }
properties.controllers{ fieldNumber: number = 2; items: { dataType: string = 'string' } ; type: string = 'array' }
properties.controllers.fieldNumbernumber
properties.controllers.items{ dataType: string = 'string' }
properties.controllers.items.dataTypestring
properties.controllers.typestring
properties.signature{ dataType: string = 'bytes'; fieldNumber: number = 4 }
properties.signature.dataTypestring
properties.signature.fieldNumbernumber
properties.signer{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.signer.dataTypestring
properties.signer.fieldNumbernumber
properties.target{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.target.dataTypestring
properties.target.fieldNumbernumber
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/events/remove_controllers_event.ts:1


removeKeysCommandSchema

Const removeKeysCommandSchema: Object

Type declaration

NameType
$idstring
properties{ publicKeys: { fieldNumber: number = 2; items: { dataType: string = 'bytes' } ; type: string = 'array' } ; signature: { dataType: string = 'bytes'; fieldNumber: number = 4 } ; signer: { dataType: string = 'string'; fieldNumber: number = 3 } ; target: { dataType: string = 'string'; fieldNumber: number = 1 } }
properties.publicKeys{ fieldNumber: number = 2; items: { dataType: string = 'bytes' } ; type: string = 'array' }
properties.publicKeys.fieldNumbernumber
properties.publicKeys.items{ dataType: string = 'bytes' }
properties.publicKeys.items.dataTypestring
properties.publicKeys.typestring
properties.signature{ dataType: string = 'bytes'; fieldNumber: number = 4 }
properties.signature.dataTypestring
properties.signature.fieldNumbernumber
properties.signer{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.signer.dataTypestring
properties.signer.fieldNumbernumber
properties.target{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.target.dataTypestring
properties.target.fieldNumbernumber
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/commands/remove_keys_command.ts:1


removeKeysEventSchema

Const removeKeysEventSchema: Object

Type declaration

NameType
$idstring
properties{ publicKeys: { fieldNumber: number = 2; items: { dataType: string = 'bytes' } ; type: string = 'array' } ; signature: { dataType: string = 'bytes'; fieldNumber: number = 4 } ; signer: { dataType: string = 'string'; fieldNumber: number = 3 } ; target: { dataType: string = 'string'; fieldNumber: number = 1 } }
properties.publicKeys{ fieldNumber: number = 2; items: { dataType: string = 'bytes' } ; type: string = 'array' }
properties.publicKeys.fieldNumbernumber
properties.publicKeys.items{ dataType: string = 'bytes' }
properties.publicKeys.items.dataTypestring
properties.publicKeys.typestring
properties.signature{ dataType: string = 'bytes'; fieldNumber: number = 4 }
properties.signature.dataTypestring
properties.signature.fieldNumbernumber
properties.signer{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.signer.dataTypestring
properties.signer.fieldNumbernumber
properties.target{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.target.dataTypestring
properties.target.fieldNumbernumber
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/events/remove_keys_event.ts:1


removeServiceEndpointCommandSchema

Const removeServiceEndpointCommandSchema: Object

Type declaration

NameType
$idstring
properties{ endpointId: { dataType: string = 'string'; fieldNumber: number = 2 } ; signature: { dataType: string = 'bytes'; fieldNumber: number = 4 } ; signer: { dataType: string = 'string'; fieldNumber: number = 3 } ; target: { dataType: string = 'string'; fieldNumber: number = 1 } }
properties.endpointId{ dataType: string = 'string'; fieldNumber: number = 2 }
properties.endpointId.dataTypestring
properties.endpointId.fieldNumbernumber
properties.signature{ dataType: string = 'bytes'; fieldNumber: number = 4 }
properties.signature.dataTypestring
properties.signature.fieldNumbernumber
properties.signer{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.signer.dataTypestring
properties.signer.fieldNumbernumber
properties.target{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.target.dataTypestring
properties.target.fieldNumbernumber
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/commands/remove_service_endpoint_command.ts:1


removeServiceEndpointEventSchema

Const removeServiceEndpointEventSchema: Object

Type declaration

NameType
$idstring
properties{ endpointId: { dataType: string = 'string'; fieldNumber: number = 2 } ; signature: { dataType: string = 'bytes'; fieldNumber: number = 4 } ; signer: { dataType: string = 'string'; fieldNumber: number = 3 } ; target: { dataType: string = 'string'; fieldNumber: number = 1 } }
properties.endpointId{ dataType: string = 'string'; fieldNumber: number = 2 }
properties.endpointId.dataTypestring
properties.endpointId.fieldNumbernumber
properties.signature{ dataType: string = 'bytes'; fieldNumber: number = 4 }
properties.signature.dataTypestring
properties.signature.fieldNumbernumber
properties.signer{ dataType: string = 'string'; fieldNumber: number = 3 }
properties.signer.dataTypestring
properties.signer.fieldNumbernumber
properties.target{ dataType: string = 'string'; fieldNumber: number = 1 }
properties.target.dataTypestring
properties.target.fieldNumbernumber
requiredstring[]
typestring

Defined in

packages/klayr-decentralized-identifier/src/utils/schema/events/remove_service_endpoint_event.ts:1