© 2026 Hedgehog Software, LLC
const things = ["Address", "Person"] as const
const BaseResponseSchema = Schema.Struct({ included: Schema.Array( Schema.Union( Schema.Struct({ type: Schema.Literal("Person"), foo: Schema.String }), Schema.Struct({ type: Schema.Literal("Address"), yo: Schema.String }), Schema.Struct({ type: Schema.Literal("Email"), yeet: Schema.String }) ) ) })