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

Simple representation of a schema #237

Open
JPMoresmau opened this issue Sep 26, 2017 · 1 comment
Open

Simple representation of a schema #237

JPMoresmau opened this issue Sep 26, 2017 · 1 comment
Labels
enhancement schema Indicates issues relating to schema management

Comments

@JPMoresmau
Copy link
Collaborator

I think it was mentioned before, but it would be good to have a simple representation (easily mappable to JSON) of a schema. I would like to express easily which vertex labels I want, with which properties, and edges between them. Such a simple structure could be given then to the topology to ensure it exists. by having a simple structure with a JSON representation we can easily store it in configuration, etc. Maybe something already exists, or a standard.

@pietermartin
Copy link
Owner

I think long ago we mentioned GraphQL with regards to schema definition. I briefly looked at GraphQL and at the time it did not really look to me like a graph at all as I did not find any mention of edges as a first class citizen. Seemed more a OO like api with pointer to objects.

There is also TinkerPop's xml format. As the schema is itself a graph we can already export/import it with their io api. I have not tried it but it might work.

@pietermartin pietermartin added the schema Indicates issues relating to schema management label Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement schema Indicates issues relating to schema management
Projects
None yet
Development

No branches or pull requests

2 participants