Skip to content

Rep Nomination Form Template

Description

A Rep Nomination Form Template defines both:

  • The data that is entered in the Form.
  • Formatting hints for the collection of the data in a form.

A Rep Nomination Form Template is a JSON Schema Document.

Rep Nomination entry SHOULD use the hints when collecting data defined by the Rep Nomination Form Template to provide a consistent user interface. It CAN also use those hints when re-displaying the full forms data.

Alternatively a Rep Nomination Presentation Template can be used to format the Rep Nomination data for presentation.

The Rep Nomination Document is intentionally general, however it may be linked to a brand/campaign or category via the template used by the Rep Nomination.

The payload of a Rep Nomination is controlled by its template.

Rep Nomination Form TemplateRep Nomination Form Template    Document RelationshipsContest Parameters                         Contest Parameters                    Rep Nomination Form Template                         Rep Nomination Form Template                    content typeapplication/schema+jsontype0ce8ab38-9258-4fbc-a62e-7faa6e58318fbf9abd97-5d1f-4429-8e80-740fea371a9c94579df1-a6dc-433b-a8e8-910c5dc2f0e3idDocument IdverDocument VerparametersContest ParametersRep Nomination Form Template:e->Contest Parameters:w1*Rep Nomination                         Rep Nomination                    Rep Nomination:e->Rep Nomination Form Template:w1*

Validation

This specification outlines the required definitions for the current features. The document will be incrementally improved in future iterations as more functionality and features are added. This section will be included and updated in future iterations.

Business Logic

Front End

This specification outlines the required definitions for the current features. The document will be incrementally improved in future iterations as more functionality and features are added. This section will be included and updated in future iterations.

Back End

This specification outlines the required definitions for the current features. The document will be incrementally improved in future iterations as more functionality and features are added. This section will be included and updated in future iterations.

COSE Header Parameters

Metadata

type

Parameter Value
Required yes
Format Document Type
Type 0ce8ab38-9258-4fbc-a62e-7faa6e58318f,
bf9abd97-5d1f-4429-8e80-740fea371a9c,
94579df1-a6dc-433b-a8e8-910c5dc2f0e3

The document TYPE.

type Validation

MUST be a known document type.

id

Parameter Value
Required yes
Format Document Id

Document ID, created the first time the document is created. This must be a properly created UUIDv7 which contains the timestamp of when the document was created.

id Validation

IF ver does not == id then a document with id and ver being equal MUST exist.

ver

Parameter Value
Required yes
Format Document Ver

The unique version of the document. The first version of the document must set ver == id

ver represents new versions of the same document as it changes over time.

ver Validation

The document version must always be >= the document ID.

parameters

Parameter Value
Required yes
Format Document Reference
Valid References Contest Parameters

A reference to the Parameters Document this document lies under.

parameters Validation

In addition to the validation performed for Document Reference type fields:

  • Any linked referenced document that includes a parameters metadata must match the parameters of the referencing document, or a parent of those parameters.

For example, a linked reference to Contest Parameters is transitively a reference to the Parameters document it references, and each parameters document they reference until the Brand parameters document is reached.

The use case here is for Templates. The profile template, or proposal templates could be defined at any of these levels, and as long as they all refer to the same chain of parameters in the hierarchy they are all valid.

Payload

JSON Schema document which defines the valid contents and formatting hints for the collection of data for a Rep Nomination Document.

Signers

The following Admin roles may sign documents of this type:

  • Brand Admin

New versions of this document may be published by:

  • author
Copyright © 2024-2025 IOG Singapore, All Rights Reserved
License This document is licensed under CC-BY-4.0
Created 2024-12-27
Modified 2025-05-30
Authors Alex Pozhylenkov alex.pozhylenkov@iohk.io
Steven Johnson steven.johnson@iohk.io

Changelog

0.01 (2025-04-04)

  • First Published Version

0.03 (2025-05-05)

  • Use generalized parameters.

0.04 (2025-05-05)

  • Generalize the Form Template definitions.