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

Proposal: Rename “spec” when referring to JSON/YAML spec files #245

Open
reidpr opened this issue Jan 14, 2025 · 0 comments
Open

Proposal: Rename “spec” when referring to JSON/YAML spec files #245

reidpr opened this issue Jan 14, 2025 · 0 comments

Comments

@reidpr
Copy link

reidpr commented Jan 14, 2025

Presently, we use “spec” and “specification” to refer to both the CDI specification itself as well as the JSON/YAML files that instruct what to do for a (capital D) device.

IMO this leads to confusion. For example, in the first section of SPEC.md, we have “modifications to the spec” (line 15) and “the spec is is still under active development” (line 18), both referring to the CDI specification itself, but also “spec loading fails” (line 36), referring to the JSON/YAML files.

Disambiguation is of course possible, based on context or clarifying language. However, IMO we should spend users’ cognitive effort elsewhere.

I propose that before 1.0 we rename the files to clarify this. Options include but are not limited to:

  • description
  • prescription
  • definition
  • declaration
  • catalog(ue)
  • enumeration
  • requirements
  • provision

e.g., “prescription file”

Thanks for considering this.

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

No branches or pull requests

1 participant