The frontend application of the Polygon ID Issuer Node.
- Configure, install and set up the issuer node, following the optional steps about setting up the UI
- Optional Follow the instructions for developing the UI.
This application supports a subset of the features of the JSON Schema standard draft 2020-12. Older drafts will normally work, as long as they don't make use of colliding features that are incompatible with the draft 2020-12.
All basic types are supported along with title and description keywords. The following keywords are also supported by type:
stringenum(partially)format- You can use any of the standard formats (
date-time,time,date,duration,email,idn-email,hostname,idn-hostname,ipv4,ipv6,uuid,uri,uri-reference,iri,iri-reference,uri-template,json-pointer,relative-json-pointer,regex) or any other customstring, but onlydate-time,timeanddatewill show specialized inputs.
- You can use any of the standard formats (
numberenum(partially)
integerenum(partially)
booleanenum(partially)
objectpropertiesrequired
arrayitems
null
As described above, the enum keyword is partially supported to fit use cases that make sense in this application, i.e basically a dropdown list with limited choices. The support of the enum is as follows:
- Only
string,number,integerandbooleanschemas supportenum. - Only values that validate against the schema are allowed.
enumonly schemas (without a type) will not pass validation.- Repeated values won't produce an error.
While the UI correctly parses all the schemas above, currently there's a limitation regarding the issuance of credentials since the issue credential form does not yet support the schemas array and null. This, in practice, means that while you can import schemas that declare attributes of type array and null, such attributes will not be operative in the issue credential form, rendering the credential not-issuable in practice when the attributes are required, since the user will not be able to provide a value for them in the UI.
See LICENSE.