changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "description": "The decision and what happened to the money.",
+ "properties": {
+ "bounty_status": {
+ "description": "Present when you reject: the job is back to open.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payout": {
+ "additionalProperties": true,
+ "description": "Present when you approve: the transfer to the worker.",
+ "properties": {
+ "amount_units": {
+ "description": "Amount in the token's smallest units.",
+ "type": "string"
+ },
+ "attempts": {
+ "description": "Broadcast attempts so far.",
+ "type": "number"
+ },
+ "bounty_id": {
+ "description": "The job this payout belongs to.",
+ "type": "string"
+ },
+ "chain": {
+ "description": "Network the transfer was sent on.",
+ "type": "string"
+ },
+ "created_at": {
+ "description": "ISO creation time.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Payout id (uuid).",
+ "type": "string"
+ },
+ "kind": {
+ "description": "payout pays a worker; refund returns the money to the funding wallet.",
+ "type": "string"
+ },
+ "last_error": {
+ "description": "Why the last attempt failed, or null.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "description": "pending | sent | confirmed | failed. failed can be retried with retry_payout.",
+ "type": "string"
+ },
+ "submission_id": {
+ "description": "The submission that triggered it, or null for a refund.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "to_address": {
+ "description": "Wallet that receives the money.",
+ "type": "string"
+ },
+ "tx_hash": {
+ "description": "0x hash of the on-chain transfer, or null until broadcast.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "submission": {
+ "additionalProperties": true,
+ "description": "A worker's proof of completion for a job.",
+ "properties": {
+ "answers": {
+ "description": "Answers to text and checkbox steps.",
+ "type": "array"
+ },
+ "bounty_id": {
+ "description": "The job this submission belongs to.",
+ "type": "string"
+ },
+ "created_at": {
+ "description": "ISO submission time.",
+ "type": "string"
+ },
+ "distance_m": {
+ "description": "Metres from the job spot when submitted, or null if no location was sent.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Submission id (uuid). Pass to review_submission.",
+ "type": "string"
+ },
+ "lat": {
+ "description": "Where the worker reported being.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "lng": {
+ "description": "Where the worker reported being.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "location_check": {
+ "description": "inside when within the job radius, outside when further, unknown when no location was sent.",
+ "type": "string"
+ },
+ "note": {
+ "description": "The worker's own note.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "photo_paths": {
+ "description": "Storage paths of the uploaded photos.",
+ "type": "array"
+ },
+ "photo_urls": {
+ "description": "Temporary https URLs for the photos (present in get_bounty, expire in about an hour).",
+ "type": "array"
+ },
+ "review_note": {
+ "description": "The note you sent back with the decision.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "reviewed_at": {
+ "description": "ISO time you reviewed it.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "description": "pending | approved | rejected.",
+ "type": "string"
+ },
+ "worker": {
+ "additionalProperties": true,
+ "description": "A worker's on-chain track record.",
+ "properties": {
+ "address": {
+ "description": "Worker wallet address (lowercase 0x...).",
+ "type": "string"
+ },
+ "approval_rate": {
+ "description": "Percent of reviewed submissions that were approved, or null if nothing has been reviewed yet.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "completed": {
+ "description": "Submissions approved.",
+ "type": "number"
+ },
+ "pending": {
+ "description": "Submissions still awaiting review.",
+ "type": "number"
+ },
+ "rejected": {
+ "description": "Submissions rejected.",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "worker_address": {
+ "description": "Wallet of the worker who submitted.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+}