Replies: 3 comments 4 replies
-
One thing I'm not sure of is the initial |
Beta Was this translation helpful? Give feedback.
-
I'm wondering if we should support a more verbose profile definition. I could see having additional info such as the version a player added feature support or any caveats around a feature could be useful to encode somewhere. Also not sure how tightly we want to couple profile syntax to JSON schema syntax. It probably makes any tooling we want to build more straightforward but may be out of place where there is no schema processing. |
Beta Was this translation helpful? Give feedback.
-
For profiles, I'd like to propose a nested JSON structure with grouped features . Something like-
I think it's got good readability and gives flexibility to add features that may not be easy to represent with a single schema reference. |
Beta Was this translation helpful? Give feedback.
-
We need a way of referencing objects, properties, etc within the specs. This is useful in several places, for example profile definitions (#1) and can-i-lottie.
Assuming the schema in #2 is merged, I propose using URI-references similar to what
$ref
would use in the schema to refer to a specific definition.Examples:
These are technically relative to the schema but I don't think they need to be fully qualified.
For profile definitions I propose using the notation described above to include parts of the schema, and the
!
prefix to exclude specific definitions.Beta Was this translation helpful? Give feedback.
All reactions