echemdb / metadata-schema

Metadata schema describing electrochemical data
GNU General Public License v3.0
2 stars 2 forks source link

Easy local development and release process #45

Closed linuxrider closed 8 months ago

saraedum commented 8 months ago

Can't we use --base-uri for this purpose?

linuxrider commented 8 months ago

Can't we use --base-uri for this purpose?

As I understand it, this only has an effect at the top level schema (e.g. svgdigitizer.json) but not at the lower levels (e.g. experimental.json).

Nevermind, my test was flawed. You are right, --base-uri should be enough.

linuxrider commented 8 months ago

--base-uri is enough as long as we only use our self-contained schemas. As soon as we also use external schemas with subschemas referenced relatively it becomes a problem.

saraedum commented 8 months ago

--base-uri is enough as long as we only use our self-contained schemas. As soon as we also use external schemas with subschemas referenced relatively it becomes a problem.

Sure. Maybe we can discuss ways to fix this once it's a problem.