SpaceApi / schema

SpaceAPI JSON schema files.
24 stars 14 forks source link

Add examples to schemas 14 and 15 #99

Closed dbrgn closed 1 year ago

rnestler commented 1 year ago

On another note: Should we change the feed strings to an enum? Also is it possible to define custom types in json schema and then reference them?

It's pretty duplicated right now.

dbrgn commented 1 year ago

@rnestler updated. I also changed some more formatting. If desired, I can extract that commit to a separate PR (but I don't think it's needed, since some of it is related to the newly introduced examples).

On another note: Should we change the feed strings to an enum?

That's a breaking change that should be discussed separately. I personally don't think it's worth breaking compatibility for a very small gain.

Also is it possible to define custom types in json schema and then reference them?

No.