specs icon indicating copy to clipboard operation
specs copied to clipboard

Profile is a url rather than string

Open rufuspollock opened this issue 4 years ago • 4 comments

Switch from:

  "profile": "tabular-data-package"
  "profile": "https://specs.frictionlessdata.io/schemas/tabular-data-package.json"

Why?

Reduce magic! See frictionlessdata/frictionlessdata.io#875

  • Tools no longer have to go through some discovery mechanism to resolve schema path
  • We don't need to maintain some registry
  • Versioning can be explicit! Change the url. No need to invent special version - see frictionlessdata/specs#444

rufuspollock avatar Jun 12 '20 19:06 rufuspollock

@roll @akariv @pwalsh does this sound good to you?

rufuspollock avatar Jun 30 '20 15:06 rufuspollock

Yes, I agree it's better this way.

akariv avatar Jun 30 '20 16:06 akariv

Sure regarding validation but I have another question - will it still be an indicator of a resource type? (tabular or not). If yes, how to handle it (checking equality to exact URL e.g.)?

roll avatar Jul 01 '20 06:07 roll

yes, better.

pwalsh avatar Jul 01 '20 08:07 pwalsh