Skip to content

Commit

Permalink
Update 0001-stac-admin-plugin-system.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfdsilva authored Sep 2, 2024
1 parent 36d4a76 commit 390f37a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions adr/0001-stac-admin-plugin-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ The form to edit the STAC metadata may differ from instance to instance and from
## Decision Drivers

The chosen option should allow:
- Each instance to define what fields the form editor should have;
- Within an instance, each collection/item to define what fields the form editor should have based on some sort of, possibly dynamic, criteria;
- Each instance controls what fields are available in the editor.
- Through instance-specific plugins, instances can define additional custom fields if required.

## Decision

Expand All @@ -22,6 +22,8 @@ This allows for a more modular approach to the editor. Each instance can use a d

Drawing inspiration from the JSON schema spec, each plugin defines a schema to create the editor. For each field type there is a corresponding default widget to render it, but plugins can define their own widgets (in the form of a React component) to be used by the fields.

We will provide and maintain plugins to that support editing meta data specified by a variety of commonly used STAC extensions.

### Consequences

#### Pros
Expand Down

0 comments on commit 390f37a

Please sign in to comment.