@seidhr/sanity-plugin-muna-schemas
Version:
Muna or ᛗᚢᚾᚨ means remember in norse. Muna is a schema for the Sanity Studio that enables detailed descriptions of cultural heritage objects and knowledge about their contexts as well as pages about them (or anything else really.)
31 lines (30 loc) • 729 B
JavaScript
export default {
name: 'GeojsonProperties',
type: 'object',
title: 'Properties',
options: {
semanticSanity: {
exclude: true
}
},
fields: [
{
// WIP. Should use systemcategories
name: 'type',
title: 'Type',
titleEN: 'Type',
type: 'string',
// Initial value not supported for objects
// validation: (Rule) => Rule.required(),
options: {
list: [
{title: 'Point', value: 'Point'},
{title: 'Point of camera', value: 'Point of camera'},
{title: 'Center of motif', value: 'Center of motif'},
{title: 'Place', value: 'Place'},
{title: 'Building', value: 'Building'},
],
},
},
],
}