You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every character is repeating its internal structure.
What I would like to do:
Avoid to list evey single character, saying instead something like every root level property is an object of "this" type
"this" type should be a reference to a new schema, the char-schema inside a new file (char-schema.json)
Char schema should say something like required properties are "vt1" and "vt2", every root level properties are of type "array", containing items of type move-schema of move-schema.json
I wasn't able to specify a single rule for all the properties at a specif level (using "allOf") and to reference a local schema from within a referenced schema (reference move-schema from char-schema)
Help please :P
The text was updated successfully, but these errors were encountered:
Need help generalizing data schemas currently divided into two files:
move-schema.json is referenced inside of data-schema.json.
Currently
data-schema.json
is too verbose imho.Every character is repeating its internal structure.
What I would like to do:
every root level property is an object of "this" type
char-schema
inside a new file (char-schema.json
)required properties are "vt1" and "vt2", every root level properties are of type "array", containing items of type move-schema of move-schema.json
I wasn't able to specify a single rule for all the properties at a specif level (using "allOf") and to reference a local schema from within a referenced schema (reference move-schema from char-schema)
Help please :P
The text was updated successfully, but these errors were encountered: