{"repo":"openthc/api","free":true,"listed":false,"github":"https://github.com/openthc/api","clone":"git clone https://github.com/openthc/api.git","description":"Proposal for Common Data Models and APIs for Cannabis Software","language":"PHP","stars":81,"topics":["cannabis","api","traceability","seed-to-sale"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"OpenTHC Common API Provides a common reference and API end-point specification for implementing Cannabis Data Systems. The world of cannabis regulatory compliance is complex and large. There are hundreds of vendors, each with a common goal but without an API, partial API, or have implemented a unique flavor. The goal of this interface is to provide a basis for data interoperability. It's our hope that others in the cannabis industry could adopt, in whole or in part, some of the concepts and designs published here. Open Issues, submit PRs, etc and we can build the future we all want to see. A Common Data Model An important first step for bringing the industry together is to start talking in with common terms, a second is a common interface. The OpenTHC API Specification aims to define core parts of this data model and suggested interfaces. The API and data-models are defined in the openapi directory. There are definitions of base-data (ie: lab-metric, product-type in etc. Both are defined with YAML. Some scripts for processing that YAML into other flavours (JSON, CSV, SQL) are in bin. But, YAML is so easy, one can quickly process with their preferred tools. A Common Interface The OpenTHC API Module provides a method for reading/writing to a compatible system. A set of standard base data models for objects in the cannabis industry. This API was heavily influenced by the Open API Initiative and the Data Transfer Project Use International System of Units for weight and volume val","default_branch":null,"files":null,"tree":[],"storefront":"/r/openthc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/openthc/api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}