Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define the data model for the camps #1

Open
bobinson opened this issue May 9, 2020 · 4 comments
Open

Define the data model for the camps #1

bobinson opened this issue May 9, 2020 · 4 comments
Assignees

Comments

@bobinson
Copy link
Collaborator

bobinson commented May 9, 2020

  • We need to define a data model for the release camps using HDX as a referee

  • This will ensure that the camp module has interoperability with other modules

  • https://github.com/HXLStandard/libhxl-python

  • https://hxlstandard.org/

  • the data exchange itself should be happening using OpenAPI 2.0 between apps

  • HDX and HXL will be used across all the modules

@biswaz
Copy link

biswaz commented May 10, 2020

  1. This is how I can think of implementing this:
    We can hardcode a hxl tag - field map in the models.
    This metadata can be provided in the api and also used in the headers of data exports just as show in https://hxlstandard.org/

  2. OpenApi 2.0 is very easy to implement in Django.

@bobinson
Copy link
Collaborator Author

We have 2 purposes of using HXL here. One is for visualization and the second is to establish a standard to exchange the data between multiple modules. Once we have the means to define a standard mechanism to represent a relief camp using a predefined specification, then, we can expose it via OpenAPI. So the priority is to first define how we represent the relief camps. Then we can get into adding the tags.

@bobinson bobinson transferred this issue from raksha-life/data May 10, 2020
@cibingeorge
Copy link

cibingeorge commented May 10, 2020

no. Just do standard db models.. what are the tables in a mysql db(im not proposing mysql here ..any traditional db) ..what are fields, what column types lengths and constraints, and what are the relationships.

@bobinson
Copy link
Collaborator Author

there is no app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants