Skip to content

explore backporting documentation into schema#135

Open
zopalmer14 wants to merge 2 commits intotiger-teamfrom
rec/explore-backporting-docs
Open

explore backporting documentation into schema#135
zopalmer14 wants to merge 2 commits intotiger-teamfrom
rec/explore-backporting-docs

Conversation

@zopalmer14
Copy link
Copy Markdown

Related to: #130

Relevant Documentation: AccessRestriction, CUIRestriction, UseRestriction, NARA Legal Metadata

Affected classes: AccessRestriction, CUIRestriction, UseRestriction

Summary: I wanted to test out/explore what backporting the DOI-DO/infopolicy documentation into the schema might look like before committing to extending the effort across all of the other classes. The generate_schema_docs.py script would also need to be updated to take into account the new $comment, _reqLevel, and examples fields and display them appropriately.

Changes:

  • add info from documentation into description fields and/or add $comment fields where appropriate
  • add _reqLevel field to each property in the classes; it indicates each property's requirement level (i.e, "mandatory", "recommended", "optional")
  • sort the properties by _reqLevel
  • add examples list that includes the complete, typical, and minimal examples for each class
  • create complete_example.json for AccessRestriction

Affected classes: AccessRestriction, CUIRestriction, UseRestriction

Changes:
- add info from documentation into 'description' fields and/or add '$comment' fields where appropriate
- add '_reqLevel' fields to each property in the classes that indicates the requirement level (i.e, M, R, O)
- sort the properties by '_reqLevel'
- add 'examples' list that includes the complete, typical, and minimal examples for each class
- create complete_example.json for AccessRestriction
@zopalmer14 zopalmer14 added documentation Improvements or additions to documentation enhancement New feature or request further-discussion labels Apr 15, 2026
@zopalmer14 zopalmer14 mentioned this pull request Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request further-discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant