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

improve [resource] resource #41

Open
ahdinosaur opened this issue Jun 7, 2013 · 2 comments
Open

improve [resource] resource #41

ahdinosaur opened this issue Jun 7, 2013 · 2 comments

Comments

@ahdinosaur
Copy link

No description provided.

@ahdinosaur
Copy link
Author

@Marak can you explain a bit about what you were thinking with https://github.com/bigcompany/resources/blob/master/resource/index.js#L2?

@Marak
Copy link
Member

Marak commented Jun 7, 2013

@ahdinosaur - The idea here is that if we have a well-defined schema to describe what a resource is, we can then reflect the schema of resource through our existing resources, for example cli or forms.

Here, schema is defined as an object https://github.com/bigcompany/resources/blob/master/resource/index.js#L17, it should be defined with a more specific schema.

see:

http://json-schema.org/hyper-schema
http://json-schema.org/schema

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

2 participants