--- title: li-invalid description: "A simple Boolean value store used to indicate when a media library entry is no longer valid." --- Added in: [`release-2024-03`](/operations/releases/release-2024-03/) ## Supported Features | Feature | Supported | | ------- | :-------: | | Document | ✗ | | Media | ✔ | | Include | ✗ | | Document Creation Flow | ✗ | | Push Message | ✗ | | Usage Log | ✗ | | Table Dashboard | ✗ | | Display Filter | ✗ | | Search Indexing | ✔ | | System Metadata | ✗ | | Planning System | ✗ | | Webhook Conditions | ✗ | ## Description A simple Boolean value store, represented in the UI with a checkbox which you can toggle on/off. When the value is `true` an overlay will be displayed on the image or video to indicate the state. This plugin can be used to indicate that the media library entry is no longer valid due to licensing reasons. The li-invalid plugin state has priority over [li-datetime-validity](/reference/document/metadata/plugins/li-datetime-validity/llms.txt). When toggling the value a webhooks event for `mediaLibraryEntry.active` or `mediaLibraryEntry.invalid` will be emitted. Please see the [Webhooks](/reference/webhooks/llms.txt) documentation for further details on how to configure them. ## Default UI Checkbox ## Storage Format ```js ``` ## Content Type Config ```js { handle: 'myContentType', // ... metadata: [ { handle: 'myHandle' type: 'li-boolean', ui: { label: 'foo', // optional, default: start case of handle } } // ... ] } ```