Skip to main content

TemplateInput

Defines the input to create or update a template

input TemplateInput {
credentialTypes: [String!]
display: CreateUpdateTemplateDisplayModelInput
faceCheckSupport: FaceCheckPhotoSupport
isPublic: Boolean
name: String!
parentTemplateId: ID
validityIntervalInSeconds: PositiveInt
}

Fields​

TemplateInput.credentialTypes ● [String!] list scalar​

The type(s) of the contract / credential

TemplateInput.display ● CreateUpdateTemplateDisplayModelInput input​

The full or partial credential display definition defined by this template, if any.

TemplateInput.faceCheckSupport ● FaceCheckPhotoSupport enum​

The type of face check photo support

TemplateInput.isPublic ● Boolean scalar​

Defines whether the contracts created from this template will be published in the Verified Credentials Network

TemplateInput.name ● String! non-null scalar​

The name of the template

TemplateInput.parentTemplateId ● ID scalar​

The ID of the parent template, if any

TemplateInput.validityIntervalInSeconds ● PositiveInt scalar​

The lifespan of the credential expressed in seconds

Member Of​

createTemplate mutation ● TemplateImportInput input ● updateTemplate mutation