Worked Examples

Apply research project metadata — Sustainable Catalyst Research Hub

Apply research project metadata — Sustainable Catalyst Research Hub Application: Sustainable Catalyst Research Hub Status: Useful first draft, not a production-verified procedure. Purpose Describe objective, methods, contributors,

ProductSustainable Catalyst Platform CoreUpdatedNovember 19, 2026Reading time21 minutes

Application: Sustainable Catalyst Research Hub
Article type: Practical workflow and developer reference
Verification: Local synthetic demonstration verified; deployed integration unverified
Estimated reading time: 20–24 minutes
Audience: Researchers, editors, data stewards, API developers, platform operators, and reviewers
Companion: SC_KB_Research_Project_Metadata_Developer_Example.zip (offline Python tests, JSON Schema example, source fixtures, GitHub Actions example and evidence)

1. Purpose and expected outcome

Research project metadata tells a reader what a project investigates, which methods and evidence support it, who contributed, what revision is being described, and what may be seen publicly. The operational goal is to describe the objective, methods, contributors, status and source relationships without revealing draft interpretations, private identities, restricted datasets or unapproved project records.

Successful completion produces a human-readable project overview and a machine-readable public snapshot tied to a specific approved revision. The public snapshot must agree with the approved source state, and its public links must resolve only to releasable entities. A public page rendering successfully is not, by itself, evidence that the project or its scientific claims have been reviewed.

2. Boundary between a project, a revision, and a publication

Keep three identifiers distinct. A project identifier remains stable as research evolves; a revision identifier fixes the methods, sources and metadata at an identifiable state; and a publication approval identifies the revision and public fields authorized for release. A previously approved revision must not automatically authorize a later edit.

Example (synthetic): organization_id=org-synthetic, project_id=erw-wexford-demo, revision_id=rev-07, approval_id=approval-07. No real research observations or institutions are represented by the example fixture.

3. Prerequisites and permissions

  1. Identify the correct organization, project, current revision and research area.
  2. Confirm who can propose metadata, who can approve release rights, and who can independently assess scientific content. These may be different actors.
  3. Verify source licenses, consent to publish contributor names, embargo status, research ethics restrictions, and the accuracy of public landing URLs.
  4. Identify the actual platform owner and released interfaces before automating a production change. The companion has no Research Hub credentials and makes no network calls.
  5. Use a fresh local directory for the examples; never paste production credentials or restricted records into a public repository, issue or CI artifact.

4. Minimum project-metadata model

A useful project record should allow readers to distinguish the research question from a promotional description and should allow systems to trace claims to their evidence. The following fields are a recommended design inventory, not a confirmed production schema.

Field Requirement and interpretation
Stable scope organization_id, project_id and revision_id uniquely locate a source snapshot; authorize access at all three boundaries.
Scientific objective Title, objective, research question, study scope, spatial and temporal coverage, explicit uncertainties and limitations.
Methods Stable method IDs and versions, with source relationships; revisions should point to reproducible code or method documentation when releasable.
Contributors Public names/roles only with publication consent; ORCID and affiliations when actually confirmed; preserve private credit records separately.
Evidence and outputs Persistent source/output identifiers, approved revisions, rights and licenses, checksums for controlled files, and provenance edges.
Governance Draft/review/approved/published/withdrawn state, embargo, approvals, decisions and audit event IDs; distinguish workflow approval from scientific validation.
Public presentation Area/topic classifications, accessible summary, approved links and declared caveats; exclude internal notes and private reviewer comments.

5. Separate research workflow status from scientific validity

Use explicit lifecycle states such as draft → submitted-for-review → reviewed → approved → published, plus withdrawn when a release should no longer be public. An additional embargo or rights flag may block release regardless of a workflow state.

Revision-bound rule: publishing rev-07 requires an approval specifically authorizing rev-07, a defined list of public fields, cleared rights and an unexpired/nonrevoked decision. Editing the methods or source list creates a new revision requiring new approval. A project may be technically published while an individual scientific inference remains provisional; disclose that difference.

6. Model a source-to-method-to-output evidence graph

Represent the provenance relationship explicitly: source revision → method version → research output revision. This describes how an output was produced, not whether its interpretation is scientifically correct. For every public output, validate that all referenced public sources and methods exist, are versioned and are authorized for publication. A reference to a private source must fail closed; silently dropping it would create a misleading evidence graph.

The example includes one public synthetic source, one public method and one public output, as well as private source and draft records that must never appear in the public projection.

7. Proposed machine-readable payload

The following short payload illustrates what a public project record can express. It is illustrative JSON; the downloadable demo emits the complete contract and digest.

{
  "schema_version": "sc-rh-project-metadata-demo/1",
  "organization_id": "org-synthetic",
  "project_id": "erw-wexford-demo",
  "revision_id": "rev-07",
  "approval_id": "approval-07",
  "title": "Synthetic Enhanced Rock Weathering Field Study",
  "objective": {
    "statement": "Evaluate illustrative mineral weathering measurement workflows without asserting observed carbon removal.",
    "research_question": "Can public observations and a documented method be reproduced from the approved revision?",
    "study_scope": "Synthetic exercise; no real Wexford site or measurements"
  },
  "research_areas": ["agricultural-soils", "carbon-removal"],
  "methods": [{"id":"method-demonstration","name":"Synthetic source-to-output verification","version":"0.1-test","source_ids":["source-synthetic-soil"]}],
  "sources": [{"id":"source-synthetic-soil","revision":"src-v2","sha256":"<64 lowercase hex characters>","landing_url":"https://example.org/synthetic-soil"}],
  "outputs": [{"id":"output-public-brief","title":"Synthetic methods summary","revision":"out-v1","source_ids":["source-synthetic-soil"],"method_ids":["method-demonstration"]}]
}

The SHA-256 placeholder above is not an actual digest. Inspect out/public-project-metadata.json after running the example for a complete valid payload. Private metadata must never be copied wholesale to construct the public record.

8. Public projection and field-level privacy

Use allowlisting, not a blacklist. The demo permits exactly seven approved descriptive fields: title, objective, research areas, methods, contributors, sources and outputs. It then adds stable scope, revision, approval and schema identifiers. A source property such as internal_owner_notes remains private even if a developer adds it to the source JSON.

Contributors are included only when public_consent=true. Private drafts and source files are excluded even when they exist on disk. A public output that depends on a restricted source is rejected rather than published without provenance. In production, apply the same policy to API responses, page source, search indexes, generated metadata (including JSON-LD), caches and downloadable exports.

9. Install and prepare on macOS

Extract the companion ZIP and open the Terminal application. macOS may provide python3 through a developer toolchain; confirm the Python version rather than assuming its location. No Python packages are required.

cd ~/Downloads
unzip SC_KB_Research_Project_Metadata_Developer_Example.zip
cd sc_rh_project_metadata_demo
python3 --version
python3 -m unittest discover -s tests -v

For a managed Python environment, install Python from your trusted package manager or python.org. The demo was executed on Linux with Python 3.13.5; macOS execution remains a reproducible procedure rather than an independently logged test result.

10. Install and prepare on Linux

Use a nonprivileged local directory. Debian/Ubuntu systems can obtain Python through their configured repositories; other distributions may use different package names.

# Debian/Ubuntu only, if python3 is not already available:
sudo apt-get update
sudo apt-get install -y python3 unzip

mkdir -p "$HOME/rh-metadata-demo"
cd "$HOME/rh-metadata-demo"
unzip "$HOME/Downloads/SC_KB_Research_Project_Metadata_Developer_Example.zip"
cd sc_rh_project_metadata_demo
python3 --version
python3 -m unittest discover -s tests -v

Avoid sudo for running the demo itself. All fixture files are synthetic and locally generated.

11. Create a controlled synthetic project

Generate the fixture locally rather than importing a real Workspace project. The command creates an approved public revision with linked public evidence, along with deliberately restricted synthetic records for negative testing.

python3 project_metadata.py seed --root synthetic-project
python3 -m json.tool synthetic-project/metadata.json

The fixture includes a soil_observations.csv with invented numbers. They are not measured Wexford soil data, carbon-removal estimates, or evidence of ERW efficacy. A separate synthetic restricted file is included only to test leakage prevention.

12. Build the approved public metadata snapshot

The builder checks published state, rights clearance, approval revision, approved field list, method and output relationships, and the bytes of public local source files. It emits a public-only JSON projection and a SHA-256 digest.

python3 project_metadata.py build   --root synthetic-project   --out out/public-project-metadata.json

python3 -m json.tool out/public-project-metadata.json

Inspect the output for the seven approved fields and their versioned relationships. Confirm that private contributor names, private source identifiers, internal owner notes and unpublished interpretations are absent. A SHA-256 digest establishes a comparison value, not publication permission or scientific accuracy.

13. Independently verify the public snapshot

Verification recomputes source digests and the approved projection against the current synthetic source state. A package whose JSON has been modified, or whose approval has been revoked or replaced by a newer revision, must be rejected.

python3 project_metadata.py verify   --root synthetic-project   --out out/public-project-metadata.json

# Example independently computed file checksum:
python3 - <<'PYHASH'
from hashlib import sha256
from pathlib import Path
p = Path('synthetic-project/inputs/soil_observations.csv')
print(sha256(p.read_bytes()).hexdigest())
PYHASH

The Python serialization is deterministic within this demo but is not an RFC 8785 JCS implementation; do not use it as a cross-language signature or production attestation without a defined canonicalization and threat model.

14. Run denial, integrity and publication-negative tests

Positive tests alone are insufficient because the failure condition is often unintentional public disclosure. The included suite covers tenant mismatch, draft and withdrawn revisions, stale approval, embargo, rights withdrawal, unknown schema, broken provenance, altered source bytes, unsafe file paths, private contributor exclusion, malformed package fields and tampering.

python3 -m unittest discover -s tests -v
python3 project_metadata.py matrix --root synthetic-project
cat evidence/acceptance-receipt.json

Recorded local result: 66/66 unit tests passed and the 22/22 injected cases matched their expected outcomes in a Linux/Python 3.13.5 environment on November 19, 2026. One matrix case deliberately removes contributor consent and passes only because the contributor is omitted from the public record. The tests do not exercise Research Hub production.

15. Failure and acceptance matrix

Scenario Required result
Correct approved revision Return public title, objective, methods, consented contributors, approved sources and outputs.
Draft, reviewed or withdrawn project Reject public build; do not infer rights from a successful edit.
Approval for another revision Reject as stale; require a revision-matching approval.
Active or unknown embargo Fail closed; no public projection.
Cross-organization or wrong project Deny before reading object details; no tenant-disclosing error.
Public output referencing private source/method Reject; do not publish an evidence graph with hidden missing parents.
Private contributor without consent Omit identity, role and internal notes from public response.
Local source bytes changed after digest Reject with sanitized checksum mismatch.
Symlink or path traversal in source file Reject unsafe path before using file content.
Changed public JSON or stale package Reject if digest invalid or projection differs from currently approved source.

16. GitHub: version and review the synthetic metadata workflow

GitHub is useful for a reviewed, repeatable verification history. It is not a substitute for publication approval or an access-control boundary. Keep restricted datasets, reviewer comments, credentials and production exports out of public repositories. For a new scratch repository, execute:

git init
git add README.md project_metadata.py tests schema docs .github/workflows/validate.yml
git add synthetic-project/metadata.json synthetic-project/inputs/
git commit -m "docs: test synthetic research-project metadata"

# Optional after gh auth login; creates a PRIVATE scratch repository:
# gh repo create YOUR-ORG/rh-project-metadata-demo --private --source=. --remote=origin --push

The included workflow executes tests and replay on pushes and pull requests using a read-only GITHUB_TOKEN. It does not deploy or publish. For production, pin third-party actions to reviewed full-length commit SHAs and follow your organization’s protected-branch, signing and dependency policies. Neither GitHub-hosted Actions nor a merged PR was executed as part of this example.

17. Illustrative API design: not a deployed contract

When implementing a service, distinguish draft persistence from public read operations. The following paths are proposals for discussion, not verified Sustainable Catalyst routes:

PUT  /api/v1/organizations/{org}/projects/{project}/metadata/{revision}
POST /api/v1/.../{revision}/submit-review
POST /api/v1/.../{revision}/approve
POST /api/v1/.../{revision}/publish
GET  /api/public/v1/projects/{project}
POST /api/v1/.../{revision}/withdraw

Authenticate and authorize the actor for every write, perform tenant-scoped reads, use If-Match or comparable optimistic concurrency, make publication state transitions atomic, and invalidate public caches on withdrawal or approval revocation. Do not invent endpoints in live documentation without the actual OpenAPI schema, repository commit, integration test and release receipt.

18. JSON Schema and interoperability mappings

The ZIP includes schema/public-project-metadata.schema.json, a JSON Schema 2020-12 contract with additionalProperties: false for the public payload. JSON Schema checks document structure; policy and scientific validity still require code and reviewer evidence.

For interoperability, map datasets or distributions to DCAT 3; sources, activities and contributors to W3C PROV-O; bundled research objects to RO-Crate 1.2; and registered outputs to DataCite 4.7 metadata as appropriate. The example’s compact JSON is not a DCAT, RO-Crate or DataCite conformant document, does not mint a DOI and checks ORCID formatting only—not the ORCID checksum or real contributor identity.

19. Security, consent and unauthorized disclosure

Apply object- and property-level authorization: a researcher allowed to view a private draft is not automatically allowed to publish it or export its contributor identities. Check each linked source, method and output against effective rights. Maintain separate public and private storage/index projections where possible; invalidate public caches on revocation, erasure or withdrawal.

Developer warnings: public URLs must never be fetched blindly from untrusted metadata; enforce URL policy and network egress restrictions against SSRF. The demo validates HTTPS syntax but does not fetch URLs or prove host trust. A consent flag in a fixture is not legal consent evidence. Production systems require consent provenance, retention and correction handling. For common failure classes, consult OWASP API Security.

20. Scientific review and reproducibility checks

Independent reviewers should compare the public objective and scope with the research protocol, verify that method versions correspond to the evidence-producing workflow, and confirm that source metadata describe the actual data on which reported results depend. A digest shows that bytes match a known digest, but it cannot determine whether a dataset is representative, measurements are calibrated, units are valid or inferences are warranted.

For a real Wexford ERW project, metadata might include spatial footprint, soil type, sampling dates, basalt characteristics, analytical method, laboratory QA/QC, additionality assumptions and uncertainty, but these attributes require evidence from the actual project. Do not copy the synthetic values or invent scientific observations. Record caveats and corrections alongside the approved revision.

21. Common mistakes and safe recovery

  1. Outdated approval: freeze the current publication; request approval for the exact revised metadata and source graph.
  2. Private material exposed: withdraw the public projection, contain affected caches/search indexes, preserve audit evidence and follow the applicable incident process before re-release.
  3. Broken source relationship: identify the missing or restricted parent; repair the draft graph, then repeat scientific and rights review rather than silently deleting a parent edge.
  4. Incorrect contributor identity: remove or correct public attribution under approved governance, document the correction and revalidate permissions.
  5. Stale search listing: compare authoritative approved revision, public snapshot digest and index revision; do not assume an HTTP 200 response proves that the latest record is published.
  6. Partial database or job failure: preserve accepted state, audit records and error codes; retry only an operation with documented idempotency, rollback and authorization behavior.

22. Acceptance criteria and evidence required

Use the following acceptance criteria before calling a real Research Hub implementation verified:

  • The public record identifies one stable project and an explicit approved revision.
  • Published objectives, method versions, contributor roles and source/output relationships agree with the approved review packet.
  • Public-only fields are allowlisted; restricted source and draft metadata cannot appear in JSON, HTML, link previews, search results or cache.
  • Every public output has valid, allowed source and method relationships; hidden parents cause safe rejection.
  • Negative tests cover wrong tenant, revoked consent, stale revision, changed checksums, embargo, withdrawal and partial failure.
  • CI artifacts identify commit SHA, test environment, test failures/pass count and reviewed schema version.
  • Publication evidence includes authorized reviewer decision, source-commit mapping, deployment identifier, migration/rollback plan and re-read after reload or session change.

Local evidence currently available: 66 passing synthetic unit tests, 22 passing in-memory scenarios and a source-bound local package verification receipt. Missing production evidence: deployed route and UI contract, real identity enforcement, tenant isolation, backing-store transactionality, cache invalidation, staff authorization, publication review and release rollback exercises.

23. Quality checks before publishing this Knowledge Base article

Accuracy: treat CLI names and files below as executed synthetic examples; treat proposed HTTP routes, schemas and operational mapping as design references only. Reproducibility: keep the ZIP, fixture, test output and acceptance receipt linked from the article or a versioned documentation repository. Accessibility: provide descriptive labels and meaningful project summaries in HTML, not only machine-readable JSON. Editorial review: update the verification notice only when deployment evidence exists and an accountable reviewer approves its claim.

24. Technical references

  1. W3C. Data Catalog Vocabulary (DCAT) — Version 3. W3C Recommendation, 2024.
  2. W3C. PROV-O: The PROV Ontology. W3C Recommendation, 2013.
  3. RO-Crate community. RO-Crate Metadata Specification 1.2.
  4. DataCite. Metadata Schema 4.7 (2026); see creators, contributors, descriptions and related identifiers.
  5. JSON Schema. JSON Schema Core and Validation (2020-12).
  6. OWASP. API Security Project / API Security Top 10.
  7. GitHub. Workflow syntax for GitHub Actions and Action restrictions and pinning.
  8. IETF. RFC 8785 — JSON Canonicalization Scheme (referenced to clarify what the demonstration does not implement).
  9. ORCID. Structure of the ORCID identifier.
  10. Python Software Foundation. hashlib, unittest, and json.

Verification conclusion: The reproducible example demonstrates how an approved public research-project metadata projection can be built, checked and tested without publishing restricted fields. It does not establish scientific validity for any actual project, nor does it verify that Sustainable Catalyst Research Hub currently implements the proposed contract.

Scroll to Top