Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the addition of ROR identifiers to content providers.
No open issues 🎉
What changed in this PR
Adds Research Organization Registry (ROR) URLs to content providers, supporting organization identification and interoperability for mTeSS-X and PaN-Space.
Changes:
- Stores, validates, and indexes ROR URLs for full-text search.
- Adds organization-name autocomplete and displays ROR links on provider pages.
- Exposes ROR identifiers in API and structured-data output, with regression tests.
| File | Description |
|---|---|
test/models/material_test.rb |
Tests provider ROR identifiers in material Bioschemas output. |
test/models/event_test.rb |
Tests provider ROR identifiers in event Bioschemas output. |
test/models/content_provider_test.rb |
Tests ROR URL validation and whitespace trimming. |
test/integration/bioschemas_test.rb |
Checks ROR identifiers in rendered structured data. |
test/controllers/content_providers_controller_test.rb |
Tests ROR creation, updates, API exposure, and views. |
public/api/definitions/tess.yml |
Documents the nullable ROR API attribute. |
lib/bioschemas/generator.rb |
Adds provider ROR values as @id and identifier. |
db/schema.rb |
Records the new ROR column and migration version. |
db/migrate/20261127120000_add_ror_to_content_providers.rb |
Adds the ROR column to content providers. |
config/locales/en.yml |
Adds ROR labels. |
app/views/content_providers/show.json.jbuilder |
Includes ROR in provider detail JSON. |
app/views/content_providers/partials/_content_provider_sidebar.html.erb |
Displays the provider’s ROR link when enabled. |
app/views/content_providers/partials/_content_provider_schemaorg.html.erb |
Adds ROR to Organization microdata. |
app/views/content_providers/index.json.jbuilder |
Includes ROR in provider listing JSON. |
app/views/content_providers/_form.html.erb |
Adds the ROR input with autocomplete configuration. |
app/serializers/content_provider_serializer.rb |
Exposes ROR through the provider serializer. |
app/models/content_provider.rb |
Trims, validates, and indexes ROR URLs. |
app/controllers/content_providers_controller.rb |
Permits ROR in provider parameters. |
app/assets/javascripts/ror.js |
Implements organization autocomplete using the ROR API. |
app/assets/javascripts/application.js |
Initializes ROR autocomplete on page load. |
Review effort: Balanced
eilmiv
marked this pull request as draft
November 27, 2026 15:09
eilmiv
marked this pull request as ready for review
November 27, 2026 17:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary of changes
future work: import ROR during content provider exchange when available.
Motivation and context
This is relevant for the mTeSS-X project and also for connecting training materials with dataset in our PaN-Space project.
Screenshots
Checklist