Closed fschiettecatte closed 6 years ago
By private I mean for internal use within organizations. For example organization X has a number of internal databases and wants to use this protocol but wants to use their own record
type. The protocol as currently defined supports this but this is not official.
Private components?
My vote would be no, since it would add complexity? @harindra-a - Migrated
I think we can allow for groups to define their own components. In the MME API, we specify that anything prefixed with an underscore is non standard. Allowing the same thing for component types should be fine I feel, and would allow for groups to define their own components. I don't think we need to call them "private" though, but that's more semantics.
Reviewing this again, I think there's no problem, with like MME, specifying that components prefixes with an underscore _
are propritary and not defined.
This can be specified in the JSON Schema.
I don't think there is any way to specify this using JSON Schema other than for annotations.
Unless there are any objections, I'll schedule this for 0.1.0, but it can be moved to post 0.1.0 if time becomes pressing.
It turns out this is pretty tricky to specify using JSON Schema, especially if I want to maintain draft-5 backwards compatibility to eventually auto convert to OpenAPI. Given it's part of the written spec, we don't NEED to enforce this using JSON Schema.
Do we want to support defined sets of components/records for certain communities (MME)?#28Why is#27components
an array of objects if there is only one object?What is the process for defining new component/record types?#26