removedInput schema / $schema
Removed value: -"http://json-schema.org/draft-07/schema#"
addedInput schema / properties / bbox
Added value: +{
+ "description": "Bounding box \"lonMin,latMin,lonMax,latMax\" (lon before lat), e.g. \"-2.5,43,3,47\". Geolocalized datasets only.",
+ "examples": [
+ "2.2241,48.8156,2.4699,48.9022"
+ ],
+ "type": "string"
+}
changedInput schema / properties / datasetId / description
Previous value: -"The exact dataset ID from the \"id\" field in list_datasets results. Do not use the title or slug."New value: +"The \"id\" of a datafair_list_account_datasets result, not its title or slug."
addedInput schema / properties / dateMatch
Added value: +{
+ "description": "Date \"YYYY-MM-DD\" (single day) or \"YYYY-MM-DD,YYYY-MM-DD\" (range), e.g. \"2023-11-21\". Temporal datasets only.",
+ "type": "string"
+}
changedInput schema / properties / fieldKey / description
Previous value: -"The column key to get values for (use keys from describe_dataset)"New value: +"The column key (use keys from datafair_describe_dataset)"
addedInput schema / properties / filters
Added value: +{
+ "description": "Column filters { \"<column key><suffix>\": \"<value as a string>\" }, e.g. { \"ville_eq\": \"Paris\", \"age_lte\": \"30\", \"nom_search\": \"Jean\" }. Suffixes: _eq _neq _in _nin (comma-separated) _gt _gte _lt _lte _starts _exists _nexists _search (words, the default for text) _contains (when enabled). A rejected suffix answers a 400 listing the column's. Never prefix with _c_.",
+ "patternProperties": {
+ ".*": {
+ "default": "",
+ "type": "string"
+ }
+ },
+ "type": "object"
+}
addedInput schema / properties / geoDistance
Added value: +{
+ "description": "Proximity filter \"lon,lat,distance\" (lon first), e.g. \"2.35,48.85,10km\"; distance \"0\" = point-in-polygon. Geolocalized datasets only.",
+ "type": "string"
+}
addedInput schema / properties / q
Added value: +{
+ "description": "Optional text to filter values (prefix/substring match within this column)",
+ "maxLength": 1000,
+ "type": "string"
+}
removedInput schema / properties / query
Removed value: -{
- "description": "Optional text to filter values (prefix/substring match within this column)",
- "type": "string"
-}
addedInput schema / properties / size / default
Added value: +10
changedInput schema / properties / size / description
Previous value: -"Number of values to return (default: 10, max: 1000)"New value: +"Le nombre de résultats à retourner (taille de la pagination)."
addedInput schema / properties / size / format
Added value: +"int32"
changedInput schema / properties / size / minimum
Previous value: -1New value: +0
changedInput schema / properties / size / type
Previous value: -"number"New value: +"integer"
addedInput schema / properties / sort / default
Added value: +"asc"
changedInput schema / properties / sort / description
Previous value: -"Sort order for the values (default: asc)"New value: +"Tri des valeurs (\"**asc**\" ou \"**desc**\")."
removedInput schema / properties / sort / enum
Removed value: -[
- "asc",
- "desc"
-]
addedInput schema / properties / sort / oneOf
Added value: +[
+ {
+ "const": "asc",
+ "title": "Ascendant"
+ },
+ {
+ "const": "desc",
+ "title": "Descendant"
+ }
+]
changedOutput schema / (root)
Previous value: -{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "additionalProperties": false,
- "properties": {
- "datasetId": {
- "description": "The dataset ID that was queried",
- "type": "string"
- },
- "fieldKey": {
- "description": "The column key that was queried",
- "type": "string"
- },
- "values": {
- "description": "Array of distinct values for the specified column",
- "items": {
- "type": [
- "string",
- "number"
- ]
- },
- "type": "array"
- }
- },
- "required": [
- "datasetId",
- "fieldKey",
- "values"
- ],
- "type": "object"
-}New value: +null