Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Feed off of catalog gen. schema def #1

Open
benbalter opened this issue Feb 6, 2013 · 7 comments
Open

Feed off of catalog gen. schema def #1

benbalter opened this issue Feb 6, 2013 · 7 comments

Comments

@benbalter
Copy link
Contributor

To prevent from getting out of sync.

https://github.com/project-open-data/catalog-generator/blob/gh-pages/_includes/schema.yml

and

https://github.com/project-open-data/json-validator/blob/gh-pages/js/schema.coffee

Obv. different formats, but could have validator import YML on fly and create the data object.

@benbalter benbalter mentioned this issue Feb 6, 2013
@rclark
Copy link

rclark commented Sep 20, 2013

Is there a "canonical" location yet for the schema? It appears the schema.yml file no longer exists.

@cew821
Copy link
Contributor

cew821 commented Nov 18, 2013

@dwcaraway is working on this, over in his Podschema repo https://github.com/dwcaraway/podschema using the json-schema. However I'm not sure how complete this is.

@rclark
Copy link

rclark commented Nov 18, 2013

fwiw this is what I came up with based on what I read on http://project-open-data.github.io/schema/ about 2 months ago.

I built it as a function that returns a json-schema, allowing you to adjust the schema by giving you a way to require the "as-needed" or additional fields if they are in fact needed. You can also add new fields, if your application needs them, by passing them as "overrides". It won't let you make adjustments to the core required fields.

@dwcaraway
Copy link

neat idea, ryan!

On Mon, Nov 18, 2013 at 3:44 PM, Ryan Clark [email protected]:

fwiw this is what I came up withhttps://github.com/rclark/project-open-catalog/blob/master/schema/openDataSchema.jsbased on what I read on
http://project-open-data.github.io/schema/ about 2 months ago.

I built it as a function that returns a json-schema, allowing you to
adjust the schema by giving you a way to require the "as-needed" or
additional fields if they are in fact needed. You can also add new fields,
if your application needs them, by passing them as "overrides". It won't
let you make adjustments to the core required fields.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-28736071
.

Dave Caraway
Co-Founder
Fogmine
[email protected]
Cell: (937) 985-0867
Fax: (866) 238-3120

@gbinal
Copy link

gbinal commented Nov 23, 2013

@dwcaraway, @cew821, @benbalter, or @rclark - any interest in taking a whack at using the JSON schema files that Dave recently posted to Project Open Data to update and power this validator?

@dwcaraway
Copy link

this has been on my TODO list for...well weeks, anyways, I'll make some
time to put it in place.

On Sat, Nov 23, 2013 at 6:49 PM, Gray Brooks [email protected]:

@dwcaraway https://github.com/dwcaraway, @cew821https://github.com/cew821,
@benbalter https://github.com/benbalter, or @rclarkhttps://github.com/rclark- any interest in taking a whack at using the
JSON schema fileshttp://project-open-data.github.io/metadata-resources/#json-schema-filesthat Dave recently posted to Project Open Data to update and power this
validator?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-29144883
.

Dave Caraway
Co-Founder
Fogmine
[email protected]
Cell: (937) 985-0867
Fax: (866) 238-3120

@rclark
Copy link

rclark commented Nov 24, 2013

I really like the website-based validation for situations where you already have some docs, need them validated. I'm thinking ahead though to an application geared towards creating and maintaining an agency's set of metadata records. In that case, I'll need something that I can use programmatically. What if the validation process was a Node.js package? Could that be browserified to power this site?

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

No branches or pull requests

5 participants