chromium/third_party/blink/renderer/modules/content_index/content_description.idl

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://github.com/rknoll/content-index

enum ContentCategory {
    "",
    "homepage",
    "article",
    "video",
    "audio",
};

dictionary ContentDescription {
    required DOMString id;
    required DOMString title;
    required DOMString description;
    ContentCategory category = "";
    sequence<ContentIconDefinition> icons = [];
    required USVString url;
};