Skip to content

Commit

Permalink
feat(example): update json schema example
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jul 28, 2024
1 parent 68508e9 commit 2f70192
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,10 @@ export default function App() {
date: { type: 'string' },
time: { type: 'string' },
},
required: ['title', 'date'],
},
},
required: ['function', 'arguments'],
},
{
type: 'object',
Expand All @@ -322,6 +324,7 @@ export default function App() {
properties: {
query: { type: 'string' },
},
required: ['query'],
},
},
},
Expand Down

0 comments on commit 2f70192

Please sign in to comment.