generated from MuckRock/documentcloud-hello-world-addon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
29 lines (29 loc) · 1.14 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# The title is the title of your Add-On
title: Hello World
# The description will be shown above the form when activating the Add-On
description: This is an updated simple test add-on
# Optional instructions field to describe how to use the Add-On
instructions: This is a sample instruction.
# Top level type should always be object
type: object
# How does this add-on accept documents
# If more than one type is specified, the user will be prompted to choose one
documents:
# By the currently selected documents
- selected
# By the current search query
- query
# Properties are the fields for your form
properties:
# the key is the name of the variable that will be returned to your code
name:
# the title is what will be shown as the form label
title: Name
# a string is text
type: string
# Categories are what type of Add-On this is. Used to sort the Add-On in the Add-On menu.
categories:
- file
# Acceptable categories are premium, ai, export, bulk, file, monitor, statistical, and extraction.
# You can read more about DocumentCloud Add-On categories here: https://www.documentcloud.org/help/add-ons#types-of-add-ons
version: 2