Open Resource Discovery (ORD) is a protocol specification that enables applications and services to self-describe their exposed resources and capabilities. This repository contains the JSON Schema specification, TypeScript types, and documentation website (Docusaurus) published at https://open-resource-discovery.org.
- Git: Never push to
mainor merge locally intomain- use PRs only (pre-push hook enforced) - Generated files: Never edit
src/generated/,dist/,build/, orstatic/spec-v1/interfaces/- always edit sources inspec/v1/*.schema.yamlordocs/ - Pre-commit: Hook automatically runs
npm run generateand stages generated files
YAML schemas in spec/v1/*.schema.yaml → npm run generate → outputs to src/generated/, dist/, static/spec-v1/interfaces/
npm run build # Build TS + Docusaurus + validate
npm run lint # Linting
npm run test # TestsNote: npm run generate runs automatically via pre-commit hook.
Common build failures:
- Broken links (Docusaurus validates all internal links)
- TypeScript errors (generated types mismatch)
/release- Release automation fromrelease/vX.Y.Zbranches