Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/ogm-aardvark/format.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ nav_order: 32
| Field type | string |
| Purpose | To display to the user the name of the file type as a text string in the download button |
| Entry Guidelines | Required if the download URL is configured as a single key:value pair. |
| Commentary | See recommended values below. This field is required for basic download functionality. See the [Multiple Downloads guide](https://opengeometadata.org/docs/more-about-references#how-to-configure-multiple-download-links) for more details. |
| Commentary | See recommended values below. This field is required for basic download functionality. See the [Multiple Downloads guide](references#how-to-configure-multiple-download-links) for more details. |
| Controlled Vocabulary | yes - not strict |
| Example value | `"Shapefile"` |
| Element Set | DCMI |
Expand Down
5 changes: 3 additions & 2 deletions docs/ogm-aardvark/references.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@ nav_order: 35
| Element Set | DCMI |
| Group | Distribution |


## JSON formatting

The field `dct_references_s` defines external services and references using the [Cat-Interop](https://github.com/OSGeo/Cat-Interop) approach. The field value is a serialized JSON array of key/value pairs. Keys represent XML namespace URIs, and values represent the URL.

* key:value 1 = "URI":"https://example.com"
* key:value 2 = "URI":"https://otherexample.com"

To format this field in JSON, double quotations `"` must be [escaped](../#escaped-characters) with a backslash `\`.
To format this field in JSON, double quotations `"` must be [escaped](../JSON-format#escaped-characters) with a backslash `\`.

```json
{
Expand Down Expand Up @@ -84,7 +85,7 @@ To enable multiple downloads:
* Create one or more objects inside the array. These are enclosed in {curly brackets}.
* Inside the object, define two `key:value` pairs separated by a comma.
* Enclose each key and each value in double quotes.
* [Escape](../#escaped-characters) double quotations `"` with a backslash `\`
* [Escape](../JSON-format#escaped-characters) double quotations `"` with a backslash `\`

In formatted JSON, this would look like:
```json
Expand Down