© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Creating a Schema for Similar Representation - Effect Community
EC
Effect Community
•
3y ago
•
40 replies
TheStockBroker
Creating a Schema for Similar Representation
I need to have a schema that represents something similar to this
:
type
Target
=
`${
string
}`
|
`${
string
}.${
Target
}`
type
Target
=
`${
string
}`
|
`${
string
}.${
Target
}`
This type of recursion is ofc impossible
. But but I can
't find an elegant way to express a string that is definitively dot
separated
.
${string}.
${string}.
is invalid
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Seeking a Schema for JsonObject Representation
EC
Effect Community / schema
3y ago
Creating a Partial Representation of a Schema with Optional Fields
EC
Effect Community / schema
11mo ago
Creating a Schema for JSON Schema Properties
EC
Effect Community / schema
8mo ago
Incorrect JSON Schema Representation of Options
EC
Effect Community / schema
2y ago