changedOutput schema / properties / provenance / description
Previous value: -"Provenance block (contract v1.0): source, URL, data vintage, extraction instant, citation, license"New value: +"Provenance block (contract v1.1): source, URL, data vintage, extraction instant, origin diagnostics, citation, license"
addedOutput schema / properties / provenance / properties / retrieval
Added value: +{
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "anomalies": {
+ "description": "Anomalias superadas até o sucesso, somadas por classe, em ordem fixa; [] se nenhuma",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "count": {
+ "description": "Ocorrências desta classe na chamada",
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "kind": {
+ "description": "Classe da anomalia (vocabulário fechado do contrato)",
+ "enum": [
+ "timeout",
+ "network",
+ "http_4xx",
+ "http_5xx",
+ "rate_limited",
+ "malformed_body"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "count"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "attempts": {
+ "description": "Tentativas somadas, incluindo as repetidas (>= requests)",
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "requests": {
+ "description": "Idas distintas à origem que compõem esta resposta (fatias, páginas)",
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "unstable": {
+ "description": "true se houve repetição (attempts > requests) ou alguma anomalia",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "requests",
+ "attempts",
+ "anomalies",
+ "unstable"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Origin diagnostics of THIS source in this call (contract v1.1): requests made to the upstream, attempts summed across retries, anomalies worked around (kind + count); unstable=true when any anomaly happened. null when nothing was measured (bundled dataset, or response served entirely from cache)"
+}
changedOutput schema / properties / provenance / required
Previous value: -[
- "source",
- "source_url",
- "data_vintage",
- "retrieved_at",
- "citation",
- "license"
-]New value: +[
+ "source",
+ "source_url",
+ "data_vintage",
+ "retrieved_at",
+ "retrieval",
+ "citation",
+ "license"
+]