Skip to content

feat(docs): Add payload examples #342

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 21, 2025

Conversation

stevenj
Copy link
Collaborator

@stevenj stevenj commented May 20, 2025

Description

Adds examples for predefined document schemas.
Updates proposal submission action to have such examples defined.

Related Issue(s)

List the issue numbers related to this pull request.

e.g., Closes #123, Resolves #456 Fixes #367

Description of Changes

Provide a clear and concise description of what the pull request changes.

Breaking Changes

Describe any breaking changes and the impact.

Screenshots

If applicable, add screenshots to help explain your changes.

Related Pull Requests

If applicable, list any related pull requests.

e.g., #123, #456

Please confirm the following checks

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream module

@stevenj stevenj requested review from nathanbogale and neil-iohk May 20, 2025 16:32
@stevenj stevenj self-assigned this May 20, 2025
@stevenj stevenj added review me PR is ready for review requires architect review Requires at least 1 architect to sign off on PR before merge. labels May 20, 2025
Copy link
Contributor

Test Report | ${\color{lightgreen}Pass: 320/320}$ | ${\color{red}Fail: 0/320}$ |

@stevenj stevenj merged commit e4d0819 into feat/signed-doc-spec-0.04 May 21, 2025
24 checks passed
@stevenj stevenj deleted the feat/add-payload-examples branch May 21, 2025 04:18
stevenj added a commit that referenced this pull request Jun 25, 2025
* fix(docs): correct python type annotations in documentation generator (#325)

* feat(docs): Consolidate all parameters types into a single parameters reference.

* fix(docs): Fix linked references

* feat(docs): Start of adding capability to cluster like documents to simplify relationship diagrams.

* fix(docs): wip fix of clustered documents

* feat(docs): Add document clusters to help with autogenerated diagrams.

* fix(docs): fix spelling

* fix(Python): fix type

* fix(docs): Inter doc links in diagrams

* fix(docs): Neils Eyesight Soother

* fix(docs): Rename Election Parameters to Decision parameters

* fix(docs): python types

* fix(docs): add missing doc generator type definitions

* fix(general): Updater recommended vscode settings

* docs(docs): Better define the document encoding restrictions. (#326)

* feat(docs): Add examples for predefined document schemas (#342)

* format the blueprint.cue

* fix(docs): Update module to latest cue version

* feat(docs): WIP formalized definitions of field definitions for json schema templates

* feat(docs): WIP

* fix(docs): simplify schema with cue format

* feat(docs): WIP template defs dictionary

* fix(docs): update python files we don't want in git

* refactor(docs): reorganize the cue files for better modularity

* refactor(docs): Move spec python model for better modularity

* docs(docs): Add base of new spec python workspace and modules

* fix(docs): remove lin to root ruff.toml which was impacting import sorting

* refactor(docs): Reorganize the doc generator into the new module structure

* refactor(docs): Cleanup document specification data structure and methods

* refactor(docs): Remove last remnants of direct dict accesses.

* refactor(docs): remove code obsoleted by refactor

* refactor(docs): large cue refactor to stuff that should be common

* docs(docs): Add chain metadata to support chained document references.

* fix(docs): lint issues

* fix(docs): lint issues

* fix(docs): CI build issues

* docs(docs): wip

* docs(docs): Add fully generalized, templated parameters documents to the specification.

* fix(docs): form templates do not have templates

* fix(docs): remove the parameters from templates on the parameters documents themselves (redundant).

* fix(docs): use common parameters definition

* feat(docs): Add Representative Profiles and Nomination Forms

* feat(docs): Add Rep Profiles, Nominations and Delegations documents

* Update contest_delegation.cue

Break line with multiple sentences

* fix excess lines in null payload description

* fix(docs): contest delegation spacing

* fix(docs): contest structure fix

* fix(docs): structure quick fix

* fix(docs): fixed indentation in contest md

* fix(docs): contest cue file fix

* fix(docs): quick fix on indentation

* fix(docs): markdown indentation fix

* fix(docs): minor character and structure fix

* fix(docs): contest cue file fix

* fix(docs): additional indentation fix

---------

Co-authored-by: Nathan Bogale <nathanbogale@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires architect review Requires at least 1 architect to sign off on PR before merge. review me PR is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants