feat: expose safe moderation provenance

This commit is contained in:
ik
2026-09-12 21:49:45 +07:00
parent 699a7c3857
commit def5c39aa1
6 changed files with 78 additions and 3 deletions
+52 -1
View File
@@ -648,6 +648,11 @@
],
"title": "Catch Report Id"
},
"first_seen_at": {
"format": "date-time",
"title": "First Seen At",
"type": "string"
},
"fish_external_id": {
"anyOf": [
{
@@ -684,6 +689,13 @@
"title": "Last Seen At",
"type": "string"
},
"missing_fields": {
"items": {
"type": "string"
},
"title": "Missing Fields",
"type": "array"
},
"published_at": {
"anyOf": [
{
@@ -707,10 +719,45 @@
],
"title": "Review Note"
},
"reviewed_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Reviewed At"
},
"source_external_id": {
"title": "Source External Id",
"type": "string"
},
"source_payload": {
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"title": "Source Payload",
"type": "object"
},
"source_system": {
"title": "Source System",
"type": "string"
@@ -796,12 +843,16 @@
"y",
"weight_g",
"published_at",
"first_seen_at",
"last_seen_at",
"reviewed_at",
"status",
"fish_slug",
"waterbody_slug",
"catch_report_id",
"review_note"
"review_note",
"missing_fields",
"source_payload"
],
"title": "ExternalObservationOut",
"type": "object"