Code & Deploy
siGit Code
Git Hosting
Toggle menu
siGit Code
Git Hosting
Sign in
Sign in
@devries-cameron20
/
t3code-1
Fork
0
The best way to control Claude Code, Codex and more from any computer or phone
t3code-1
/
.repos
/
effect
/
packages
/
tools
/
bundle
/
fixtures
/
schema-fromJsonSchemaDocument.ts
Code
Commits
Issues
Pulls
Cloud Agent
CICD
main
main
ts
14 lines
303 Bytes
Copy permalink
Copy
Raw
1
import
*
as
SchemaRepresentation
from
"
effect/SchemaRepresentation
"
2
3
export
const
schema
=
SchemaRepresentation
.
fromJsonSchemaDocument
({
4
"
dialect
"
:
"
draft-2020-12
"
,
5
"
schema
"
:
{
6
"
type
"
:
"
object
"
,
7
"
properties
"
:
{
8
"
a
"
:
{
9
"
type
"
:
"
string
"
10
}
11
}
12
},
13
"
definitions
"
:
{}
14
})