Document Templates
Select a document template to fill out. All fields will be validated before submission.
Non-Disclosure Agreement (NDA)
Mutual non-disclosure agreement for protecting confidential information between parties.
Sanity Schema Reference
Copy the schema below to your Sanity Studio to create document templates.
// schemas/documentTemplate.ts
export default {
name: 'documentTemplate',
title: 'Document Template',
type: 'document',
fields: [
{ name: 'title', title: 'Title', type: 'string' },
{ name: 'slug', title: 'Slug', type: 'slug', options: { source: 'title' } },
{ name: 'description', title: 'Description', type: 'text' },
{
name: 'content',
title: 'Content',
type: 'array',
of: [
{
type: 'block',
marks: {
annotations: [
{
name: 'fieldPlaceholder',
title: 'Field Placeholder',
type: 'object',
fields: [
{ name: 'fieldName', title: 'Field Name', type: 'string' }
]
}
]
}
}
]
},
{
name: 'fields',
title: 'Form Fields',
type: 'array',
of: [{
type: 'object',
fields: [
{ name: 'name', title: 'Field Name', type: 'string' },
{ name: 'label', title: 'Label', type: 'string' },
{ name: 'fieldType', title: 'Type', type: 'string',
options: { list: ['text', 'email', 'date', 'textarea', 'signature', 'checkbox'] }
},
{ name: 'required', title: 'Required', type: 'boolean' },
{ name: 'placeholder', title: 'Placeholder', type: 'string' },
{ name: 'width', title: 'Width', type: 'string',
options: { list: ['small', 'medium', 'large', 'full'] }
}
]
}]
}
]
}