University of Newcastle Australia · API Governance Rules
University of Newcastle Australia API Rules
Spectral linting rules defining API design standards and conventions for University of Newcastle Australia.
6 Rules
warn 4
info 2
Rule Categories
uon
Rules
warn
uon-info-contact
API info object should declare a contact.
$.info
warn
uon-server-figshare-v2
Server URL should be the public Figshare v2 API base.
$.servers[*].url
warn
uon-article-has-doi
The Article schema should expose a doi property (research outputs are DOI-minted).
$.components.schemas.Article.properties
warn
uon-article-has-public-url
The Article schema should expose a public HTML url for citation/linking.
$.components.schemas.Article.properties
info
uon-author-orcid
The Author schema should carry an orcid_id for researcher identity.
$.components.schemas.Author.properties
info
uon-url-format
Properties named like URLs should declare format url/uri.
$.components.schemas..properties[?(@property.match(/url/i))]