Skip to content

Commit

Permalink
[design-studio] Update pt test schema
Browse files Browse the repository at this point in the history
  • Loading branch information
skogsmaskin authored and rexxars committed Oct 6, 2020
1 parent 6c4c40b commit 84dae26
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion packages/design-studio/schemas/pt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,23 @@ export default {
of: [
{
type: 'block',
of: [objectExample]
of: [{...objectExample, validation: Rule => Rule.required()}],
marks: {
annotations: [
{
type: 'object',
name: 'link',
fields: [
{
type: 'string',
name: 'href',
title: 'URL',
validation: Rule => Rule.required()
}
]
}
]
}
},
imageExample
]
Expand Down

0 comments on commit 84dae26

Please sign in to comment.