Skip to content

What limits are placed on names in $defs and data type names? #185

Answered by handrews
sjlongland asked this question in Q&A
Discussion options

You must be logged in to vote

Interesting! I'm doing something similar (I think) with Apache Tinkerpop's Gremlin query language for graph databases.

You might want to bring this discussion to the Slack discussion.

$defs names are just JSON object names and can be anything that is syntactically legal in that sense. Of course, some names will require URI-encoding to be used in JSON Pointer fragments, but if you're using a proper implementation of JSON Pointer and constructing URIs with a proper URI library, that won't be an issue.

I'm not sure what you mean by "name used in a field data type"? The type keyword is not extensible.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sjlongland
Comment options

Answer selected by sjlongland
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants