@blockcerts/schemas
Version:
One source of truth for Blockcerts schemas
37 lines (36 loc) • 1.24 kB
JSON
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "SignatureLine schema",
"description": "An extension that allows issuers to add signature lines to the visual representation of the badge. This is not part of the cryptographic proof; it is for display purposes only.",
"type": "object",
"definitions": {
"ImageUri": {
"anyOf": [
{
"type": "string",
"pattern": "data:image/png;base64,",
"description": "An image representative of the entity. In Blockcerts this is typically a data URI (https://en.wikipedia.org/wiki/Data_URI_scheme) embedded as a base-64 encoded PNG image, but it may also be a URI where the image may be found."
},
{
"type": "string",
"format": "uri",
"description": "IRI (typically HTTP) representing this signature image."
}
]
}
},
"properties": {
"image": {
"$ref": "#/definitions/ImageUri"
},
"jobTitle": {
"type": "string",
"description": "Job title of signer, http://schema.org/jobTitle"
},
"name": {
"type": "string",
"description": "Full name of signer, http://schema.org/name"
}
},
"required": ["image"]
}