Sanity Library Reference Docs
    Preparing search index...

    Interface BlockAnnotationDefinition

    Schema definition for a text block annotation object.

    {
    name: 'blockContent',
    title: 'Content',
    type: 'array',
    of: [
    {
    type: 'block',
    marks: {
    annotations: [
    {
    type: 'object',
    name: 'link',
    fields: [
    {
    type: 'string',
    name: 'href',
    },
    ],
    },
    ]
    },
    }
    ]
    }
    interface BlockAnnotationDefinition {
        fields: FieldDefinition[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    fields: FieldDefinition[]

    Object must have at least one field. This is validated at Studio startup.