proposal: reserve $$
or $-
for non-JRI keywords
#6
Labels
jri
Related to the JRI (JSON Referencing and Identification) proposal
$$
or $-
for non-JRI keywords
#6
The proposal says:
I propose that the proposal extend to allow
$$
as a safe prefix that will never be used by JRI.For example, I may choose to define an object with
"$ref":
,"$$ref-prod":
,"$$ref-qa":
, in source to allow specifying alternates URIs , where preprocessing tools on the source can hot-swap$ref
and$$ref-prod
or$$ref-qa
alternatives within a build/deploy pipeline. This could be used where static template or other token substitution does not work well.(Given that, the proposal could tighten this and say that Context specifications MAY NOT define their own "$"-prefixed keyword unless they use the
"$$"
prefix.)The text was updated successfully, but these errors were encountered: