{"id":24251340,"url":"https://github.com/camsai/standards","last_synced_at":"2026-02-05T05:34:57.165Z","repository":{"id":258460174,"uuid":"873930318","full_name":"camsai/standards","owner":"camsai","description":"CAMSAI Standards provides schemas, validation tools, and data models for materials science and AI research. It ensures data consistency, interoperability, and quality across workflows. Built with Pydantic, it streamlines data integration and supports reproducible, collaborative research in the CAMSAI ecosystem.","archived":false,"fork":false,"pushed_at":"2024-12-13T10:29:13.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-23T16:40:21.679Z","etag":null,"topics":["artificial-intelligence","chemistry","data-science","json-schema","machine-learning","materials","materials-design","materials-informatics","materials-science","schemas"],"latest_commit_sha":null,"homepage":"https://github.com/camsai/standards","language":"Python","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/camsai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-17T00:59:11.000Z","updated_at":"2025-09-01T15:29:06.000Z","dependencies_parsed_at":"2025-09-23T16:31:24.930Z","dependency_job_id":null,"html_url":"https://github.com/camsai/standards","commit_stats":null,"previous_names":["camsai/standards"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/camsai/standards","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camsai%2Fstandards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camsai%2Fstandards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camsai%2Fstandards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camsai%2Fstandards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/camsai","download_url":"https://codeload.github.com/camsai/standards/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camsai%2Fstandards/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29113723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T05:31:32.482Z","status":"ssl_error","status_checked_at":"2026-02-05T05:31:29.075Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["artificial-intelligence","chemistry","data-science","json-schema","machine-learning","materials","materials-design","materials-informatics","materials-science","schemas"],"created_at":"2025-01-15T02:50:46.543Z","updated_at":"2026-02-05T05:34:57.146Z","avatar_url":"https://github.com/camsai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CAMSAI Standards\n\nThe **CAMSAI Standards** repository defines and maintains a set of consistent schemas, validation tools, and data standards for materials science data and AI-driven research workflows. These standards ensure the interoperability, reproducibility, and scalability of materials-related datasets and applications across the CAMSAI ecosystem.\n\n---\n\n## **Purpose**\n\nThis repository provides:\n- **Data Models**: Pydantic-based schemas for defining and validating data structures.\n- **Validation Utilities**: Tools to ensure data compliance with established standards.\n- **Interoperability Support**: Standards that facilitate seamless collaboration between different systems, tools, and workflows.\n\n---\n\n## **Key Features**\n\n1. **Schema Definitions**\n   - Comprehensive data models for common materials science objects.\n   - Designed for compatibility with CAMSAI workflows and third-party applications.\n\n2. **Validation Tools**\n   - Python utilities to validate data against the defined standards.\n   - Example workflows for integrating validation into your projects.\n\n3. **Interoperability**\n   - Supports data exchange and integration across various CAMSAI and external platforms.\n\n---\n\n## **Repository Structure**\n\n- **`src/py/camsai/standards`**  \n  Contains Python files defining the Pydantic schemas for various data models by source/provider (e.g., Mat3ra.com).\n  \n---\n\n## **Installation**\n\n### Using `pip`:\nYou can install the repository using `pip` (requires Python 3.8+):\n```bash\npip install camsai-standards\n```\n\nor from GitHub:\n\n```bash\npip install git+https://github.com/camsai/standards.git\n```\n\n### In JupyterLite:\nInstall the package in a Pyodide-based JupyterLite environment:\n```python\nawait micropip.install(\"camsai-standards\")\n```\n\n---\n\n## **Usage**\n\n### Example: Validating a Material Schema\n```python\nfrom camsai.standards.mat3ra import Mat3raMaterialSchema\nfrom camsai.standards import is_valid\n\n# Example material data\nmaterial_data = {...}\n\n# Validate data\nif is_valid(Mat3raMaterialSchema, material_data):\n    print(\"Valid material data\")\nelse:\n    print(\"Invalid material data\")\n```\n\n### Example: Using Predefined Examples\n```python\nfrom mat3ra.esse.data.examples import EXAMPLES\n\nexample_material = next((e for e in EXAMPLES if e[\"path\"] == \"material\"), None)[\"data\"]\nprint(example_material)\n```\n\n---\n\n## **Contributing**\n\nWe welcome contributions! To contribute:\n1. Fork the repository.\n2. Create a branch for your changes:\n   ```bash\n   git checkout -b feature/new-schema\n   ```\n3. Commit your changes and open a pull request.\n\nPlease ensure all contributions are consistent with existing standards and include tests where applicable.\n\n---\n\n## **License**\n\nThis repository is licensed under the **Apache License 2.0**. See the [LICENSE](LICENSE) file for details.\n\n---\n\n## **Contact**\n\nFor questions or feedback, contact us at:\n- **Email**: [info@camsai.org](mailto:info@camsai.org)\n- **Website**: [CAMSAI - Consortium for the Advancement of Materials Science with AI](https://camsai.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamsai%2Fstandards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcamsai%2Fstandards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamsai%2Fstandards/lists"}