Get proof schema details
Returns details on a proof schema.
Function
- React Native
- iOS
- Android
getProofSchema(
proofSchemaId: ProofSchema["id"]
): Promise<ProofSchema>
func getProofSchema(proofSchemaId: String) throws -> GetProofSchemaBindingDto
fun `getProofSchema`(`proofSchemaId`: kotlin.String): GetProofSchemaBindingDto
Parameters
proofSchemaId
- UUID of proof schema.
Return value
- React Native
- iOS
- Android
export interface ProofSchema {
id: string;
createdDate: string;
lastModified: string;
name: string;
organisationId: string;
expireDuration: number;
proofInputSchemas: ProofInputSchema[];
}
public struct GetProofSchemaBindingDto {
public var id: String
public var createdDate: String
public var lastModified: String
public var name: String
public var organisationId: String
public var expireDuration: UInt32
public var proofInputSchemas: [ProofInputSchemaBindingDto]
}
data class GetProofSchemaBindingDto (
var `id`: kotlin.String,
var `createdDate`: kotlin.String,
var `lastModified`: kotlin.String,
var `name`: kotlin.String,
var `organisationId`: kotlin.String,
var `expireDuration`: kotlin.UInt,
var `proofInputSchemas`: List<ProofInputSchemaBindingDto>
)
Fields
-
expireDuration
- Defines the length of storage of received proofs, in seconds. After the defined duration, the received proof and its data are deleted from the system. If 0, the proofs received when using this proof schema will not be deleted. -
proofInputSchemas
- The collection of attributes, from one or more credentials, being requested.