What are Vocab Meta-Schemas? #511
Replies: 1 comment 13 replies
-
This has come up a few times before. I think we eventually all agreed that including those
Agreed.
I would still consider it a meta-schema. Even if it isn't intended to validate a full dialect, it's still validating a schema. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Resolution
We decided in the OCWM call that
$vocabulary
could be removed from the vocab meta-schemas. The PRs are linked in a thread below.This came up while I was writing #510, but it was a sufficiently separate topic that I figured a new discussion was warranted. Please have a read of at least the opening comment there as some of that context will likely apply here.
To be honest, I never thought about the 2020-12 vocab meta-schemas only having their own vocab URI in the
$vocabulary
keyword. I'm not sure I even noticed it when I was writing my own vocabs.I'm not sure how that works, though, because as a meta-schema, it's allowing keywords defined by vocabs in
$vocabulary
(which is only its own keywords) to be used in a schema described by it... but a vocab meta-schema isn't actually describing a schema. It's only used to build a dialect.As a result I'm not sure that the vocab meta-schemas really needs a
$vocabulary
keyword. Is it even really a meta-schema? Or is it just a regular schema? (I'm leaning toward regular schema.)Beta Was this translation helpful? Give feedback.
All reactions