{"id":13772944,"url":"https://github.com/Open-Reaction-Database/ord-schema","last_synced_at":"2025-05-11T05:34:03.042Z","repository":{"id":37088599,"uuid":"238824031","full_name":"open-reaction-database/ord-schema","owner":"open-reaction-database","description":"Schema for the Open Reaction Database","archived":false,"fork":false,"pushed_at":"2025-05-05T23:08:17.000Z","size":78963,"stargazers_count":101,"open_issues_count":22,"forks_count":30,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-05-05T23:11:19.834Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://open-reaction-database.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/open-reaction-database.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-07T01:59:57.000Z","updated_at":"2025-05-05T23:08:21.000Z","dependencies_parsed_at":"2024-01-15T04:08:54.267Z","dependency_job_id":"2f0cfe4f-33f9-4f01-9d9e-f9dd8629df96","html_url":"https://github.com/open-reaction-database/ord-schema","commit_stats":{"total_commits":475,"total_committers":13,"mean_commits":36.53846153846154,"dds":0.3957894736842106,"last_synced_commit":"e114eb6360badbf3a2d0552bea20be0d438966a3"},"previous_names":[],"tags_count":94,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-reaction-database%2Ford-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-reaction-database%2Ford-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-reaction-database%2Ford-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-reaction-database%2Ford-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open-reaction-database","download_url":"https://codeload.github.com/open-reaction-database/ord-schema/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253523689,"owners_count":21921815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T17:01:09.455Z","updated_at":"2025-05-11T05:34:01.892Z","avatar_url":"https://github.com/open-reaction-database.png","language":"JavaScript","funding_links":[],"categories":["Schemas/Ontologies"],"sub_categories":["Organic reactions"],"readme":"# Open Reaction Database: Schema (ord-schema)\n\n[![DOI:10.1007/978-3-319-76207-4_15](https://zenodo.org/badge/DOI/10.1021/jacs.1c09820.svg)](https://doi.org/10.1021/jacs.1c09820)\n[![PyPI version](https://badge.fury.io/py/ord-schema.svg)](https://badge.fury.io/py/ord-schema)\n\nThis repository contains the schema for the Open Reaction Database initiative; please see the documentation\nat https://docs.open-reaction-database.org.\n\nThis repository does not contain the database itself; that is stored\nin [ord-data](https://github.com/open-reaction-database/ord-data). Rather, `ord-schema` is\ndesigned to store the database schema and tools for creating, validating, and submitting data to the database.\n\n## Installation\n\n```shell\n$ pip install ord-schema\n```\n\n## Examples\n\nThe `examples/` directory contains examples of dataset creation and use. To run locally, install with:\n\n```shell\n$ pip install \"ord-schema[examples]\"\n```\n\nClick here to run the examples with Binder:\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/open-reaction-database/ord-schema/HEAD?labpath=examples)\n\n## Development\n\nTo install in editable/development mode:\n\n```shell\n$ git clone https://github.com/open-reaction-database/ord-schema.git\n$ cd ord-schema\n$ pip install -e .\n```\n\nIf you make changes to the protocol buffer definitions, [install](https://grpc.io/docs/protoc-installation/) `protoc`\nand run `./compile_proto_wrappers.sh` to rebuild the wrappers.\n\n## Conventions\n\n### 1. convention: compound stoichiometry\n\n##### Created: 2023.07.04\n\n##### Last updated: 2023.07.04\n\n##### Description: \n1. The preferred field for compound stoichiometry is the map `Compound.features` or `ProductCompound.features`.\n2. The key should be \"stoichiometric_coefficient\" or \"stoichiometric_ratio\".\n3. The value should be a `Data` message with its `float_value` representing the compound's stoichiometric \ncoefficient or ratio.\n\n##### Related links: \n[#683](https://github.com/open-reaction-database/ord-schema/issues/683) \n[#684](https://github.com/open-reaction-database/ord-schema/pull/684)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOpen-Reaction-Database%2Ford-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOpen-Reaction-Database%2Ford-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOpen-Reaction-Database%2Ford-schema/lists"}