This repository has been archived by the owner on Mar 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sam Gammon <[email protected]>
- Loading branch information
Sam Gammon
committed
Jul 31, 2017
0 parents
commit d339b59
Showing
317 changed files
with
70,533 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
### Description | ||
|
||
Version: `1.0.0-beta1` | ||
|
||
<!-- Describe what happened. Include as much detail as necessary. --> | ||
|
||
### Languages | ||
|
||
<!-- If the problem is language specific, outline which languages | ||
are impacted. --> | ||
|
||
- [ ] C++ | ||
- [ ] C# | ||
- [ ] Java | ||
- [ ] JavaScript | ||
- [ ] PHP | ||
- [ ] Python | ||
- [ ] Ruby | ||
- [ ] Swift | ||
|
||
|
||
### Steps to Reproduce | ||
|
||
<!-- If applicable, outline steps to reproduce this issue. --> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
### Description | ||
|
||
- Version: `1.0.0-beta1` | ||
- Filed By: @sgammon | ||
- Linked Issue: `Bloombox/OpenCannabis#1` | ||
|
||
<!-- Describe what happened. Include as much detail as necessary. --> | ||
|
||
### Languages | ||
|
||
<!-- If the problem is language specific, outline which languages | ||
are impacted. --> | ||
|
||
- [ ] C++ | ||
- [ ] C# | ||
- [ ] Java | ||
- [ ] JavaScript | ||
- [ ] PHP | ||
- [ ] Python | ||
- [ ] Ruby | ||
- [ ] Swift | ||
|
||
|
||
### Steps to Reproduce | ||
|
||
<!-- If applicable, outline steps to reproduce this issue. --> | ||
|
||
|
||
### Approach to Fix | ||
|
||
<!-- Describe what you did, why it fixes the issue, and so on. --> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
Copyright (c) 2017 Momentum Ideas, Co. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
|
||
# OpenCannabis | ||
## Release __1.0.0-beta1__ | ||
|
||
_An Open Model for the Legal Cannabis Industry_ | ||
|
||
|
||
### Intro | ||
|
||
This repository presents a standard datamodel for the cannabis industry, with support for | ||
various product types, pricing, discounts, test result data, and more. As our product line | ||
at [Bloombox](https://bloombox.io) has grown and matured, we've found it increasingly | ||
difficult to integrate as more software providers and solutions pop up. | ||
|
||
|
||
### Why this model? | ||
|
||
We have tried our best to address some of the most frequent concerns we come across when | ||
working with cultivators, manufacturers/distillers, distributors, and retail operators. | ||
|
||
- Open adoption and contribution allows us all to skip reinventing the wheel | ||
- Consistently expressing data could be a huge win for our nascent industry | ||
- Adapters or direct implementation eases integration between providers - meaning happier | ||
customers and stakeholders! | ||
- Adopting tech like [Google Protobuf]() allows universal specification and language | ||
agnostic operation | ||
|
||
|
||
### Source code layout | ||
|
||
In the `schema` folder, you'll find source protobuf files for the OpenCannabis schema. Major | ||
schema categories include: | ||
|
||
- `base`: Basic models or enumerations shared commonly amongst higher-level categories. | ||
- `content`: Models for holding and specifying forms of displayable content. | ||
- `media`: Images, videos, and other rich media objects. | ||
- `products`: Concrete, high-level product models, such as `Flower` and `Extract`. | ||
- `structs`: Commonly-referenced structures and enumerations such as `Grow` and `Species`. | ||
Pricing, testing, and other extensions are stored under `structs`. | ||
|
||
In the `languages` folder, you'll find a language implementation for the full set of schemas. | ||
Currently-supported languages include: | ||
|
||
- [C++](https://github.com/Bloombox/OpenCannabis/tree/master/languages/cpp) | ||
- [C#](https://github.com/Bloombox/OpenCannabis/tree/master/languages/csharp) | ||
- [Java](https://github.com/Bloombox/OpenCannabis/tree/master/languages/java) | ||
- [JavaScript](https://github.com/Bloombox/OpenCannabis/tree/master/languages/js) | ||
- [PHP](https://github.com/Bloombox/OpenCannabis/tree/master/languages/php) | ||
- [Python](https://github.com/Bloombox/OpenCannabis/tree/master/languages/python) | ||
- [Ruby](https://github.com/Bloombox/OpenCannabis/tree/master/languages/ruby) | ||
- [Swift](https://github.com/Bloombox/OpenCannabis/tree/master/languages/swift) | ||
|
||
|
||
### Usage | ||
|
||
Coming soon. | ||
|
||
|
||
### Contributing | ||
|
||
Coming soon. |
Oops, something went wrong.