gbif / gbif-api

GBIF API
Apache License 2.0
28 stars 5 forks source link

Examples with multiple predicates are invalid json in the documentation #127

Closed matdillen closed 5 months ago

matdillen commented 5 months ago

https://techdocs.gbif.org/en/data-use/api-downloads#predicates

The { is missing for each of the predicates.

e.g.

{
  "creator": "userName",
  "notificationAddresses": ["userName@example.org"],
  "predicate": {
    "type": "and",
    "predicates": [
      "type": "equals", "key": "HAS_GEOSPATIAL_ISSUE", "value": "false"},
      "type": "equals", "key": "TAXON_KEY", "value": "2440447"}
    ]
  }
}