Photo or item + postal code -> the correct bin, for licensed territories. Authorization: Bearer with an API key or a token. Keys are given on request with a contract; limits, territory and the notices a client has to show are set out in the rules for customers (https://developers.trashures.app/regeln).
Trade the API key for a short-lived token for the customer's app. Only the key itself may do this, never a token. The token has the territory, limits and expiry of the key and at most its scopes.
Array of Scopes (strings) or Scopes (null) (Scopes) Scopes of the token; default: all scopes of the key. Never more than the key has | |
Any of Array string Enum: "data" "scan" "feedback" | |
| token required | string (Token) Send as |
| expires_in required | integer (Expires In) Seconds until the token expires |
| scopes required | Array of strings (Scopes) Items Enum: "data" "scan" "feedback" |
| token_type | string (Token Type) Default: "Bearer" Value: "Bearer" |
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
Array of objects (Detail) | |||||||||
Array
| |||||||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
{- "scopes": [
- "data"
]
}{- "token": "string",
- "token_type": "Bearer",
- "expires_in": 0,
- "scopes": [
- "data"
]
}Region for a postal code, within the territory of the key.
| postal_code required | string (Postal Code) ^\d{5}$ |
| language | string (Language) Default: "de" Enum: "de" "en" |
| id required | string (Id) | ||||||||||||||
| name required | string (Name) | ||||||||||||||
| known required | boolean (Known) False: region not researched yet, baseline rules are used | ||||||||||||||
| status required | string (Status) Enum: "requested" "research" "live" "verified" "official" Place status in five steps: requested and research for an unknown district (research once its new-region issue exists; only GET /api/region checks that, scan, resolve and popular report requested), live for rules at vorlaeufig, verified at geprueft, official while a signed agreement with the örE is active | ||||||||||||||
| territory required | string (Territory) Enum: "licensed" "baseline" licensed: the place lies in the territory of the key, the rules of its region apply. baseline: the place lies outside, the answer is the general rule for Germany and must be shown as such | ||||||||||||||
Locality (string) or Locality (null) (Locality) | |||||||||||||||
Any of string (Locality) | |||||||||||||||
District (string) or District (null) (District) | |||||||||||||||
Any of string (District) | |||||||||||||||
District Key (string) or District Key (null) (District Key) | |||||||||||||||
Any of string (District Key) | |||||||||||||||
"first_region" (string) or Achievement Unlocked (null) (Achievement Unlocked) Always null: first_region comes with the second place of the account (GET /api/resolve and POST /api/scan). Kept so older apps keep parsing | |||||||||||||||
Any of string ("first_region") Always null: first_region comes with the second place of the account (GET /api/resolve and POST /api/scan). Kept so older apps keep parsing | |||||||||||||||
Array of objects (Household Bins) Only GET /api/region (and /v1/region): the household bins the place has, with name and colour from the rules, in the order restmuell, bio, papier, verpackung; a bin the örE does not have is missing. An unknown place gets the baseline bins for Germany. Empty in scan, resolve and popular responses | |||||||||||||||
Array
| |||||||||||||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
Array of objects (Detail) | |||||||||
Array
| |||||||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
{- "id": "string",
- "name": "string",
- "known": true,
- "status": "requested",
- "locality": "string",
- "district": "string",
- "district_key": "string",
- "achievement_unlocked": "first_region",
- "household_bins": [
- {
- "code": "restmuell",
- "name": "string",
- "color": "string",
- "colors_hex": [
- "string"
], - "plain_name": "string",
- "kind": "string"
}
], - "territory": "licensed"
}Ranked search over names and synonyms of the items in both languages, tolerant of typos. The items are the same everywhere; the bin of an item for a place comes from /v1/resolve.
| q required | string (Q) >= 2 characters |
| language | string (Language) Default: "de" Enum: "de" "en" |
| limit | integer (Limit) [ 1 .. 50 ] Default: 10 |
| id required | string (Id) |
| name required | string (Name) |
Icon (string) or Icon (null) (Icon) Lucide icon name for tiles, None if not set | |
Any of string (Icon) Lucide icon name for tiles, None if not set | |
| generic | boolean (Generic) Default: false Catch-all by material and kind: a scan on it is always uncertain, show it as a suggestion and ask what the object is |
| synonyms | Array of strings (Synonyms) Up to 3 synonyms in the language asked, without those equal to the name; a synonym that is part of the name stays ("Kaffeesatz" at "Kaffeesatz mit Filter"). Show them as "auch: ..." |
Matched Synonym (string) or Matched Synonym (null) (Matched Synonym) The synonym of the item (original spelling) through which the query found the item, null when a name matches as well; may be one beyond | |
Any of string (Matched Synonym) The synonym of the item (original spelling) through which the query found the item, null when a name matches as well; may be one beyond | |
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
Array of objects (Detail) | |||||||||
Array
| |||||||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
[- {
- "id": "string",
- "name": "string",
- "icon": "string",
- "generic": false,
- "synonyms": [
- "string"
], - "matched_synonym": "string"
}
]Item + postal code -> bin, also the answer to the question of a scan (same parameters as /api/resolve).
| item_id required | string (Item Id) |
| postal_code required | string (Postal Code) ^\d{5}$ |
| language | string (Language) Default: "de" Enum: "de" "en" |
Array of Has Bins (strings) or Has Bins (null) (Has Bins) | |
Array of Compost (strings) or Compost (null) (Compost) Compost forms of the household, like | |
Array of Bin Colors (strings) or Bin Colors (null) (Bin Colors) Own colour of household bins, like | |
Answer Family (string) or Answer Family (null) (Answer Family) Only when this call answers the yes/no question of a scan | |
Answer (string) or Answer (null) (Answer) | |
| answer_first | boolean (Answer First) Default: false |
Array of Part Item Ids (strings) or Part Item Ids (null) (Part Item Ids) Separable parts of the scan this call belongs to ( |
required | object (RegionOut) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (ResolutionOut) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| territory required | string (Territory) Enum: "licensed" "baseline" licensed: the place lies in the territory of the key, the rules of its region apply. baseline: the place lies outside, the answer is the general rule for Germany and must be shown as such | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Achievement Unlocked (string) or Achievement Unlocked (null) (Achievement Unlocked) Achievement unlocked by this result for a registered account: lookup_25 Nachschlagewerk, first_region Ortsentdecker:in (second place), places_3 Ortskundige:r, places_10 Weltenbummler:in; scouts: hazardous_scout Schadstoff-Scout, electrical_scout Elektro-Scout; Mystery: parts_split Zerlegekünstler:in, special_bin Sonderfall; seasonal: season_christmas_tree Oh Tannenbaum, season_new_year Guten Rutsch; bin tiers: bin_ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Any of string (Achievement Unlocked) Enum: "lookup_25" "first_region" "places_3" "places_10" "season_christmas_tree" "season_new_year" "hazardous_scout" "electrical_scout" "parts_split" "special_bin" "bin_restmuell_1" "bin_restmuell_2" "bin_restmuell_3" "bin_restmuell_4" "bin_restmuell_5" "bin_bio_1" "bin_bio_2" "bin_bio_3" "bin_bio_4" "bin_bio_5" "bin_papier_1" "bin_papier_2" "bin_papier_3" "bin_papier_4" "bin_papier_5" "bin_verpackung_1" "bin_verpackung_2" "bin_verpackung_3" "bin_verpackung_4" "bin_verpackung_5" "bin_glas_1" "bin_glas_2" "bin_glas_3" "bin_glas_4" "bin_glas_5" "bin_kompost_1" "bin_kompost_2" "bin_kompost_3" "bin_kompost_4" "bin_kompost_5" "streak_1" "streak_2" "streak_3" "streak_7" "streak_14" "streak_30" Achievement unlocked by this result for a registered account: lookup_25 Nachschlagewerk, first_region Ortsentdecker:in (second place), places_3 Ortskundige:r, places_10 Weltenbummler:in; scouts: hazardous_scout Schadstoff-Scout, electrical_scout Elektro-Scout; Mystery: parts_split Zerlegekünstler:in, special_bin Sonderfall; seasonal: season_christmas_tree Oh Tannenbaum, season_new_year Guten Rutsch; bin tiers: bin_ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
AnswerOut (object) or null The finished answer built from the other fields: headline, bins, one row per item and part, certainty, the open question with the resolve parameters of each option, reliability, status of the place, sources with titles and the notices a client has to show. Texts in | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Any of
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
Array of objects (Detail) | |||||||||
Array
| |||||||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
{- "region": {
- "id": "string",
- "name": "string",
- "known": true,
- "status": "requested",
- "locality": "string",
- "district": "string",
- "district_key": "string",
- "achievement_unlocked": "first_region",
- "household_bins": [
- {
- "code": "restmuell",
- "name": "string",
- "color": "string",
- "colors_hex": [
- "string"
], - "plain_name": "string",
- "kind": "string"
}
]
}, - "result": {
- "item": {
- "id": "string",
- "name": "string",
- "icon": "string",
- "generic": false,
- "synonyms": [
- "string"
]
}, - "bin": {
- "code": "string",
- "name": "string",
- "color": "string",
- "kind": "string",
- "detail": "string",
- "places": [
- {
- "name": "string"
}
], - "slots": [
- {
- "code": "string",
- "name": "string",
- "color": "string"
}
]
}, - "trust": "string",
- "hints": [
- "string"
], - "sources": [
- "string"
], - "substituted_from": [
- "string"
], - "profile_conflict": false,
- "slot": "string",
- "why": {
- "text": "string",
- "source": "string"
}, - "seasonal": [
- {
- "text": "string",
- "until": "2019-08-24",
- "source": "string",
- "calendar_url": "string"
}
], - "covered_by": "string",
- "compost": {
- "suitability": "geeignet",
- "offered": true,
- "preferred": true,
- "hint": "string",
- "source": "string"
}, - "before_bin": {
- "tip": {
- "kind": "regrow",
- "text": "string",
- "source": "string"
}, - "offer": {
- "kind": "weitergeben",
- "name": "string",
- "url": "string",
- "hint": "string",
- "source": "string"
}
}, - "fact": {
- "kind": "fakt",
- "text": "string",
- "source": "string"
}
}, - "achievement_unlocked": "lookup_25",
- "answer": {
- "kind": "bins",
- "certainty": "sure",
- "split": true,
- "headline": "string",
- "headline_code": "goes_in",
- "bins_text": "string",
- "item_text": "string",
- "help": "string",
- "confirmed": {
- "headline": "string",
- "headline_code": "goes_in",
- "item_text": "string"
}, - "rows": [
- {
- "item_id": "string",
- "item": "string",
- "role": "main",
- "separate": true,
- "bin_code": "string",
- "bin": "string",
- "bin_kind": "string",
- "color_hex": "string",
- "colors_hex": [
- "string"
], - "slot": {
- "code": "string",
- "name": "string"
}, - "hints": [
- "string"
]
}
], - "reliability": {
- "level": "basis",
- "label": "string",
- "text": "string",
- "text_code": "basis",
- "covered_by": "string",
- "levels": [
- {
- "level": "basis",
- "label": "string",
- "text": "string"
}
]
}, - "place_status": {
- "pending": true,
- "place": "string",
- "text": "string",
- "title": "string",
- "detail": "string"
}, - "question": {
- "kind": "yes_no",
- "label": "string",
- "text": "string",
- "text_code": "condition",
- "family": "string",
- "options": [
- {
- "id": "string",
- "label": "string",
- "selected": true,
- "confirms": true,
- "resolve": {
- "item_id": "string",
- "part_item_ids": [
- "string"
], - "answer_family": "string",
- "answer": "yes",
- "answer_first": true
}
}
], - "report": {
- "text": "string",
- "placeholder": "string",
- "send_label": "string",
- "confirm_label": "string",
- "thanks": "string",
- "feedback_kind": "missing_item"
}
}, - "alternatives": {
- "text": "string",
- "options": [
- {
- "id": "string",
- "label": "string",
- "selected": true,
- "confirms": true,
- "resolve": {
- "item_id": "string",
- "part_item_ids": [
- "string"
], - "answer_family": "string",
- "answer": "yes",
- "answer_first": true
}
}
]
}, - "compost": {
- "suitability": "geeignet",
- "label": "string",
- "options": [
- {
- "id": "compost",
- "label": "string",
- "selected": true
}
], - "headline": "string",
- "headline_code": "compost_goes_on",
- "bins_text": "string",
- "row": {
- "item_id": "string",
- "item": "string",
- "role": "main",
- "separate": true,
- "bin_code": "string",
- "bin": "string",
- "bin_kind": "string",
- "color_hex": "string",
- "colors_hex": [
- "string"
], - "slot": {
- "code": "string",
- "name": "string"
}, - "hints": [
- "string"
]
}, - "source": {
- "url": "string",
- "title": "string",
- "host": "string"
}, - "reliability_label": "string",
- "reliability_text": "string",
- "warning": {
- "title": "string",
- "text": "string",
- "fallback": "string"
}
}, - "confirm": {
- "item_question": "string",
- "item_yes": "string",
- "item_no": "string",
- "item_thanks": "string",
- "bin_question": "string",
- "bin_yes": "string",
- "bin_no": "string",
- "bin_thanks": "string",
- "thanks": "string",
- "undo": "string"
}, - "seasonal": [
- {
- "text": "string",
- "until": "2019-08-24",
- "until_text": "string",
- "source": {
- "url": "string",
- "title": "string",
- "host": "string"
}, - "calendar_url": "string",
- "calendar_label": "string"
}
], - "synonyms": {
- "title": "string",
- "line": "string",
- "more": 0,
- "all": [
- "string"
], - "explanation": "string",
- "explanation_code": "same_item",
- "explanation_template": "string"
}, - "notices": [
- {
- "code": "substituted",
- "text": "string"
}
], - "sources": [
- {
- "url": "string",
- "title": "string",
- "host": "string"
}
], - "attribution": [
- {
- "code": "trashures",
- "text": "string",
- "url": "string"
}
]
}, - "territory": "licensed"
}Start tiles: the most searched items of the region, then the curated start list. Only the order.
| postal_code required | string (Postal Code) ^\d{5}$ |
| language | string (Language) Default: "de" Enum: "de" "en" |
| limit | integer (Limit) [ 1 .. 24 ] Default: 12 |
Array of Has Bins (strings) or Has Bins (null) (Has Bins) | |
Array of Bin Colors (strings) or Bin Colors (null) (Bin Colors) Own colour of household bins, like |
required | object (RegionOut) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
required | Array of objects (Tiles) Most searched items of the region first, then the curated start list | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| territory required | string (Territory) Enum: "licensed" "baseline" licensed: the place lies in the territory of the key, the rules of its region apply. baseline: the place lies outside, the answer is the general rule for Germany and must be shown as such | ||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
Array of objects (Detail) | |||||||||
Array
| |||||||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
{- "region": {
- "id": "string",
- "name": "string",
- "known": true,
- "status": "requested",
- "locality": "string",
- "district": "string",
- "district_key": "string",
- "achievement_unlocked": "first_region",
- "household_bins": [
- {
- "code": "restmuell",
- "name": "string",
- "color": "string",
- "colors_hex": [
- "string"
], - "plain_name": "string",
- "kind": "string"
}
]
}, - "tiles": [
- {
- "item": {
- "id": "string",
- "name": "string",
- "icon": "string",
- "generic": false,
- "synonyms": [
- "string"
]
}, - "bin": {
- "code": "string",
- "name": "string",
- "color": "string",
- "kind": "string",
- "detail": "string",
- "places": [
- {
- "name": "string"
}
], - "slots": [
- {
- "code": "string",
- "name": "string",
- "color": "string"
}
]
}
}
], - "territory": "licensed"
}Approved news of one district ("Vor Ort"). Outside the territory of the key: 403, or an empty list for a
key with outside: baseline (news belong to the örE, there is no baseline).
| district_key required | string (District Key) ^[0-9]{5}$ Kreis, five digits |
| id required | string (Id) |
| kind required | string (Kind) Enum: "mitteilung" "ort_neu" "regeln_aktualisiert" mitteilung: Meldung des örE, ort_neu: für den Kreis liegen erstmals Regeln vor, regeln_aktualisiert: die Regeln wurden geprüft und aktualisiert |
| title required | string (Title) |
| summary required | string (Summary) |
| source_url required | string (Source Url) Official page the entry is based on |
| published_at required | string <date-time> (Published At) |
| expires_at required | string <date-time> (Expires At) |
Municipality (string) or Municipality (null) (Municipality) Gemeinde as text, no filter | |
Any of string (Municipality) Gemeinde as text, no filter | |
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
Array of objects (Detail) | |||||||||
Array
| |||||||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
[- {
- "id": "string",
- "kind": "mitteilung",
- "title": "string",
- "summary": "string",
- "source_url": "string",
- "municipality": "string",
- "published_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z"
}
]Photo + postal code -> item + bin, same recognition and rules as the Trashures app.
The photo is never stored. The scan counts against the monthly quota of the key; a scan without a result for
the user (provider down, timeout) is given back. quota and achievement_unlocked are always null here.
| image required | string (Image) <= 10000000 characters Base64 encoded JPEG or PNG, a data: URL prefix is allowed | ||||||||||||||||||||||
| postal_code required | string (Postal Code) ^\d{5}$ | ||||||||||||||||||||||
| language | string (Language) Default: "de" Enum: "de" "en" | ||||||||||||||||||||||
Profile (object) or null | |||||||||||||||||||||||
Any of
| |||||||||||||||||||||||
Hint (string) or Hint (null) (Hint) Optional user hint or correction | |||||||||||||||||||||||
Any of <= 200 characters string (Hint) <= 200 characters Optional user hint or correction | |||||||||||||||||||||||
required | object (RegionOut) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| status required | string (Status) Enum: "recognized" "uncertain" "unknown" uncertain: show | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description required | string (Description) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| confidence required | number (Confidence) Self-reported by the model, not calibrated; for logging only | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | ResolutionOut (object) or null None if the item was not recognized | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Any of
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| territory required | string (Territory) Enum: "licensed" "baseline" licensed: the place lies in the territory of the key, the rules of its region apply. baseline: the place lies outside, the answer is the general rule for Germany and must be shown as such | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (Alternatives) Other plausible items ('Meintest du ...?'). With a condition question the other variant comes first, also when the model did not name it | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Question (string) or Question (null) (Question) Clarifying question (at most one per scan): the result depends on a condition the photo does not show, or the item is easy to confuse | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Any of string (Question) Clarifying question (at most one per scan): the result depends on a condition the photo does not show, or the item is easy to confuse | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ClarificationOut (object) or null Set when | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Any of
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (Parts) Separable parts sorted differently | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Scan Id (string) or Scan Id (null) (Scan Id) Random id of this scan for feedback and deletion (keep it on the device); None if the scan log is switched off or failed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Any of string (Scan Id) Random id of this scan for feedback and deletion (keep it on the device); None if the scan log is switched off or failed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| photo_stored | boolean (Photo Stored) Default: false True if the photo was kept (only with store_photo) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
QuotaOut (object) or null The account's scan quota after this scan | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Any of
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BBoxOut (object) or null Box around the recognized item in the photo the app sent (after EXIF rotation), for a soft highlight. None if the feature is off (SCAN_BBOX), the model gave no usable box or the box covers nearly the whole photo. Describes the photo, not the rule; never stored. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Any of
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Achievement Unlocked (string) or Achievement Unlocked (null) (Achievement Unlocked) Achievement unlocked by this result for a registered account: lookup_25 Nachschlagewerk, first_region Ortsentdecker:in (second place), places_3 Ortskundige:r, places_10 Weltenbummler:in; scouts: hazardous_scout Schadstoff-Scout, electrical_scout Elektro-Scout; Mystery: parts_split Zerlegekünstler:in, special_bin Sonderfall; seasonal: season_christmas_tree Oh Tannenbaum, season_new_year Guten Rutsch; bin tiers: bin_ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Any of string (Achievement Unlocked) Enum: "lookup_25" "first_region" "places_3" "places_10" "season_christmas_tree" "season_new_year" "hazardous_scout" "electrical_scout" "parts_split" "special_bin" "bin_restmuell_1" "bin_restmuell_2" "bin_restmuell_3" "bin_restmuell_4" "bin_restmuell_5" "bin_bio_1" "bin_bio_2" "bin_bio_3" "bin_bio_4" "bin_bio_5" "bin_papier_1" "bin_papier_2" "bin_papier_3" "bin_papier_4" "bin_papier_5" "bin_verpackung_1" "bin_verpackung_2" "bin_verpackung_3" "bin_verpackung_4" "bin_verpackung_5" "bin_glas_1" "bin_glas_2" "bin_glas_3" "bin_glas_4" "bin_glas_5" "bin_kompost_1" "bin_kompost_2" "bin_kompost_3" "bin_kompost_4" "bin_kompost_5" "streak_1" "streak_2" "streak_3" "streak_7" "streak_14" "streak_30" Achievement unlocked by this result for a registered account: lookup_25 Nachschlagewerk, first_region Ortsentdecker:in (second place), places_3 Ortskundige:r, places_10 Weltenbummler:in; scouts: hazardous_scout Schadstoff-Scout, electrical_scout Elektro-Scout; Mystery: parts_split Zerlegekünstler:in, special_bin Sonderfall; seasonal: season_christmas_tree Oh Tannenbaum, season_new_year Guten Rutsch; bin tiers: bin_ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
AnswerOut (object) or null The finished answer built from the other fields: headline, bins, one row per item and part, certainty, the open question with the resolve parameters of each option, reliability, status of the place, sources with titles and the notices a client has to show. Texts in | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Any of
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
Array of objects (Detail) | |||||||||
Array
| |||||||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
{- "image": "string",
- "postal_code": "string",
- "language": "de",
- "profile": {
- "has_bins": [
- "string"
], - "housing": "haus",
- "shared_bins": true,
- "compost": [
- "garten"
], - "bin_colors": {
- "property1": "grau",
- "property2": "grau"
}
}, - "hint": "string"
}{- "region": {
- "id": "string",
- "name": "string",
- "known": true,
- "status": "requested",
- "locality": "string",
- "district": "string",
- "district_key": "string",
- "achievement_unlocked": "first_region",
- "household_bins": [
- {
- "code": "restmuell",
- "name": "string",
- "color": "string",
- "colors_hex": [
- "string"
], - "plain_name": "string",
- "kind": "string"
}
]
}, - "status": "recognized",
- "description": "string",
- "confidence": 0,
- "result": {
- "item": {
- "id": "string",
- "name": "string",
- "icon": "string",
- "generic": false,
- "synonyms": [
- "string"
]
}, - "bin": {
- "code": "string",
- "name": "string",
- "color": "string",
- "kind": "string",
- "detail": "string",
- "places": [
- {
- "name": "string"
}
], - "slots": [
- {
- "code": "string",
- "name": "string",
- "color": "string"
}
]
}, - "trust": "string",
- "hints": [
- "string"
], - "sources": [
- "string"
], - "substituted_from": [
- "string"
], - "profile_conflict": false,
- "slot": "string",
- "why": {
- "text": "string",
- "source": "string"
}, - "seasonal": [
- {
- "text": "string",
- "until": "2019-08-24",
- "source": "string",
- "calendar_url": "string"
}
], - "covered_by": "string",
- "compost": {
- "suitability": "geeignet",
- "offered": true,
- "preferred": true,
- "hint": "string",
- "source": "string"
}, - "before_bin": {
- "tip": {
- "kind": "regrow",
- "text": "string",
- "source": "string"
}, - "offer": {
- "kind": "weitergeben",
- "name": "string",
- "url": "string",
- "hint": "string",
- "source": "string"
}
}, - "fact": {
- "kind": "fakt",
- "text": "string",
- "source": "string"
}
}, - "alternatives": [
- {
- "id": "string",
- "name": "string",
- "icon": "string",
- "generic": false,
- "synonyms": [
- "string"
]
}
], - "question": "string",
- "clarification": {
- "kind": "yes_no",
- "text": "string",
- "family": "string",
- "yes_item_id": "string",
- "no_item_id": "string"
}, - "parts": [
- {
- "item": {
- "id": "string",
- "name": "string",
- "icon": "string",
- "generic": false,
- "synonyms": [
- "string"
]
}, - "bin": {
- "code": "string",
- "name": "string",
- "color": "string",
- "kind": "string",
- "detail": "string",
- "places": [
- {
- "name": "string"
}
], - "slots": [
- {
- "code": "string",
- "name": "string",
- "color": "string"
}
]
}, - "trust": "string",
- "hints": [
- "string"
], - "sources": [
- "string"
], - "substituted_from": [
- "string"
], - "profile_conflict": false,
- "slot": "string",
- "why": {
- "text": "string",
- "source": "string"
}, - "seasonal": [
- {
- "text": "string",
- "until": "2019-08-24",
- "source": "string",
- "calendar_url": "string"
}
], - "covered_by": "string",
- "compost": {
- "suitability": "geeignet",
- "offered": true,
- "preferred": true,
- "hint": "string",
- "source": "string"
}, - "before_bin": {
- "tip": {
- "kind": "regrow",
- "text": "string",
- "source": "string"
}, - "offer": {
- "kind": "weitergeben",
- "name": "string",
- "url": "string",
- "hint": "string",
- "source": "string"
}
}, - "fact": {
- "kind": "fakt",
- "text": "string",
- "source": "string"
}
}
], - "scan_id": "string",
- "photo_stored": false,
- "quota": {
- "tier": "guest",
- "remaining": 0,
- "limit": 0,
- "resets_at": "string"
}, - "bbox": {
- "x": 1,
- "y": 1,
- "w": 1,
- "h": 1
}, - "achievement_unlocked": "lookup_25",
- "answer": {
- "kind": "bins",
- "certainty": "sure",
- "split": true,
- "headline": "string",
- "headline_code": "goes_in",
- "bins_text": "string",
- "item_text": "string",
- "help": "string",
- "confirmed": {
- "headline": "string",
- "headline_code": "goes_in",
- "item_text": "string"
}, - "rows": [
- {
- "item_id": "string",
- "item": "string",
- "role": "main",
- "separate": true,
- "bin_code": "string",
- "bin": "string",
- "bin_kind": "string",
- "color_hex": "string",
- "colors_hex": [
- "string"
], - "slot": {
- "code": "string",
- "name": "string"
}, - "hints": [
- "string"
]
}
], - "reliability": {
- "level": "basis",
- "label": "string",
- "text": "string",
- "text_code": "basis",
- "covered_by": "string",
- "levels": [
- {
- "level": "basis",
- "label": "string",
- "text": "string"
}
]
}, - "place_status": {
- "pending": true,
- "place": "string",
- "text": "string",
- "title": "string",
- "detail": "string"
}, - "question": {
- "kind": "yes_no",
- "label": "string",
- "text": "string",
- "text_code": "condition",
- "family": "string",
- "options": [
- {
- "id": "string",
- "label": "string",
- "selected": true,
- "confirms": true,
- "resolve": {
- "item_id": "string",
- "part_item_ids": [
- "string"
], - "answer_family": "string",
- "answer": "yes",
- "answer_first": true
}
}
], - "report": {
- "text": "string",
- "placeholder": "string",
- "send_label": "string",
- "confirm_label": "string",
- "thanks": "string",
- "feedback_kind": "missing_item"
}
}, - "alternatives": {
- "text": "string",
- "options": [
- {
- "id": "string",
- "label": "string",
- "selected": true,
- "confirms": true,
- "resolve": {
- "item_id": "string",
- "part_item_ids": [
- "string"
], - "answer_family": "string",
- "answer": "yes",
- "answer_first": true
}
}
]
}, - "compost": {
- "suitability": "geeignet",
- "label": "string",
- "options": [
- {
- "id": "compost",
- "label": "string",
- "selected": true
}
], - "headline": "string",
- "headline_code": "compost_goes_on",
- "bins_text": "string",
- "row": {
- "item_id": "string",
- "item": "string",
- "role": "main",
- "separate": true,
- "bin_code": "string",
- "bin": "string",
- "bin_kind": "string",
- "color_hex": "string",
- "colors_hex": [
- "string"
], - "slot": {
- "code": "string",
- "name": "string"
}, - "hints": [
- "string"
]
}, - "source": {
- "url": "string",
- "title": "string",
- "host": "string"
}, - "reliability_label": "string",
- "reliability_text": "string",
- "warning": {
- "title": "string",
- "text": "string",
- "fallback": "string"
}
}, - "confirm": {
- "item_question": "string",
- "item_yes": "string",
- "item_no": "string",
- "item_thanks": "string",
- "bin_question": "string",
- "bin_yes": "string",
- "bin_no": "string",
- "bin_thanks": "string",
- "thanks": "string",
- "undo": "string"
}, - "seasonal": [
- {
- "text": "string",
- "until": "2019-08-24",
- "until_text": "string",
- "source": {
- "url": "string",
- "title": "string",
- "host": "string"
}, - "calendar_url": "string",
- "calendar_label": "string"
}
], - "synonyms": {
- "title": "string",
- "line": "string",
- "more": 0,
- "all": [
- "string"
], - "explanation": "string",
- "explanation_code": "same_item",
- "explanation_template": "string"
}, - "notices": [
- {
- "code": "substituted",
- "text": "string"
}
], - "sources": [
- {
- "url": "string",
- "title": "string",
- "host": "string"
}
], - "attribution": [
- {
- "code": "trashures",
- "text": "string",
- "url": "string"
}
]
}, - "territory": "licensed"
}Report a wrong result of a scan ("Stimmt nicht?"); part of the licence. No account is linked.
| scan_id required | string (Scan Id) |
| kind | string (Kind) Default: "wrong_item" Enum: "wrong_item" "missing_item" "wrong_bin" "rule_outdated" "other" wrong_item: the photo shows another item (exactly one of correct_item_id or item_term); missing_item: 'Nicht in der Liste', the item is not in the taxonomy (no correct_item_id, optional item_term); wrong_bin: the item belongs in another bin here (bin_shown and correct_bin required); rule_outdated: the rule for this place is outdated or differs (reason required); other: something else, the note says what (note required, optional bin_shown) |
Correct Item Id (string) or Correct Item Id (null) (Correct Item Id) Item id from GET /api/items that the photo really shows | |
Any of string (Correct Item Id) Item id from GET /api/items that the photo really shows | |
Item Term (string) or Item Term (null) (Item Term) "Was ist es?": what the photo really shows in the person's words, when the search found nothing. Only wrong_item (instead of correct_item_id) and missing_item (besides the note). At most 60 characters after trimming (422 feedback_term_too_long); stored with e-mail addresses, links and phone numbers masked, shown to admins and in the GitHub issue; never logged. Empty or only spaces counts as not sent. | |
Any of string (Item Term) "Was ist es?": what the photo really shows in the person's words, when the search found nothing. Only wrong_item (instead of correct_item_id) and missing_item (besides the note). At most 60 characters after trimming (422 feedback_term_too_long); stored with e-mail addresses, links and phone numbers masked, shown to admins and in the GitHub issue; never logged. Empty or only spaces counts as not sent. | |
Note (string) or Note (null) (Note) Short text, required for other. Stored with the scan and, with e-mail addresses, links and phone numbers masked, in the report that goes to the team (GitHub issue); never logged. | |
Any of <= 200 characters string (Note) <= 200 characters Short text, required for other. Stored with the scan and, with e-mail addresses, links and phone numbers masked, in the report that goes to the team (GitHub issue); never logged. | |
Bin Shown (string) or Bin Shown (null) (Bin Shown) Bin code the app showed (wrong_bin, rule_outdated, other) | |
Any of <= 32 characters string (Bin Shown) <= 32 characters ^[a-z0-9_]+$ Bin code the app showed (wrong_bin, rule_outdated, other) | |
Correct Bin (string) or Correct Bin (null) (Correct Bin) wrong_bin: bin code of this region the item really belongs in | |
Any of <= 32 characters string (Correct Bin) <= 32 characters ^[a-z0-9_]+$ wrong_bin: bin code of this region the item really belongs in | |
Reason (string) or Reason (null) (Reason) rule_outdated: bin_missing 'Ich habe diese Tonne nicht', new_bin 'Seit kurzem gibt es hier eine neue Tonne', district_differs 'Mein Ortsteil hat eine andere Abfuhr', other | |
Any of string (Reason) Enum: "bin_missing" "new_bin" "district_differs" "other" rule_outdated: bin_missing 'Ich habe diese Tonne nicht', new_bin 'Seit kurzem gibt es hier eine neue Tonne', district_differs 'Mein Ortsteil hat eine andere Abfuhr', other | |
Source Url (string) or Source Url (null) (Source Url) wrong_bin, rule_outdated: official page that shows the rule (https) | |
Any of <= 500 characters string (Source Url) <= 500 characters ^https://[^\s]+$ wrong_bin, rule_outdated: official page that shows the rule (https) | |
Shown Item Id (string) or Shown Item Id (null) (Shown Item Id) wrong_bin, rule_outdated, other: item whose bin was shown, if the person switched to another item ('Meintest du ...?'); default: the recognized item | |
Any of string (Shown Item Id) wrong_bin, rule_outdated, other: item whose bin was shown, if the person switched to another item ('Meintest du ...?'); default: the recognized item | |
App Version (string) or App Version (null) (App Version) | |
Any of <= 32 characters string (App Version) <= 32 characters ^[0-9A-Za-z.+_-]+$ | |
| scan_id required | string (Scan Id) | ||||||||||||
| kind required | string (Kind) Enum: "wrong_item" "missing_item" "wrong_bin" "rule_outdated" "other" | ||||||||||||
required | ItemOut (object) or null Only for wrong_item | ||||||||||||
Any of
| |||||||||||||
| photo_stored required | boolean (Photo Stored) True if the photo of this scan is kept for review | ||||||||||||
Achievement Unlocked (string) or Achievement Unlocked (null) (Achievement Unlocked) first_feedback the first time a registered account sends a report or feedback, else scan_report (Mitdenker:in mit Blick) for its first report on a photo result, stored photo or not; GET /api/me lists all | |||||||||||||
Any of string (Achievement Unlocked) Enum: "first_feedback" "scan_report" first_feedback the first time a registered account sends a report or feedback, else scan_report (Mitdenker:in mit Blick) for its first report on a photo result, stored photo or not; GET /api/me lists all | |||||||||||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
required | object (ErrorOut) | ||||
| |||||
{- "kind": "wrong_item",
- "correct_item_id": "string",
- "item_term": "string",
- "note": "string",
- "bin_shown": "string",
- "correct_bin": "string",
- "reason": "bin_missing",
- "source_url": "string",
- "shown_item_id": "string",
- "app_version": "string"
}{- "scan_id": "string",
- "kind": "wrong_item",
- "correct_item": {
- "id": "string",
- "name": "string",
- "icon": "string",
- "generic": false,
- "synonyms": [
- "string"
]
}, - "photo_stored": true,
- "achievement_unlocked": "first_feedback"
}