Skip to content
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

Provide user documentation for cocina models #365

Open
justinlittman opened this issue Mar 22, 2022 · 5 comments
Open

Provide user documentation for cocina models #365

justinlittman opened this issue Mar 22, 2022 · 5 comments
Assignees

Comments

@justinlittman
Copy link
Contributor

This would be intended for internal non-dev users and external users interested in cocina.

@justinlittman
Copy link
Contributor Author

Here is the current rendering of the openapi.yml: http://sul-dlss.github.io/cocina-models/

@andrewjbtw
Copy link

andrewjbtw commented Mar 22, 2022

Questions I think external users are going to have, based on questions that I have had in the past or still have:

  • What are the things being managed here? Are the three types of thing the "DRO", "Collection", "AdminPolicy"? How are they related?
  • What is a DRO?
  • What's the difference between a DRO and a "Request DRO"?
  • What's an AdminPolicy? - yes, I realize this is more a question about Stanford's repo design rather than Cocina
  • What's required for each type of thing? (i.e. what's the minimum required to make a DRO/collection/AdminPolicy)
  • What's the difference between "validate", "validate a request [thing]", and "validate a [thing] with object metadata"?
  • What exactly is "object metadata"?

@justinlittman
Copy link
Contributor Author

One possible approach is to have an overview page that addresses some of these questions and points to specific parts of the published (rendered) openapi documentation. This will allow identifying the schemas that are relevant to a user (DRO, Collection, AdminPolicy) while avoiding those that are not (ObjectMetadata).

I also wonder if there isn't a different rendering that provides better access to the schemas ("DRO") instead of the endpoints ("validate a ...").

@justinlittman
Copy link
Contributor Author

To reduce the confusion over "validate ...", those labels can just be changed to whatever is clearest -- they serve no real function in cocina.

@justinlittman
Copy link
Contributor Author

Also, redoc supports a variety of configuration options: https://redocly.com/docs/api-reference-docs/configuration/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants