{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fence/json-schema/fence-async-payments-accepted-schema.json",
  "title": "AsyncPaymentsAccepted",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fence-openapi.json#/components/schemas/AsyncPaymentsAccepted",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "declaration_id",
    "accepted",
    "accepted_count",
    "failed_count",
    "failed",
    "message"
  ],
  "properties": {
    "declaration_id": {
      "type": "string",
      "format": "uuid"
    },
    "accepted": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "accepted_count": {
      "type": "integer",
      "minimum": 0
    },
    "failed_count": {
      "type": "integer",
      "minimum": 0
    },
    "failed": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "message": {
      "type": "string"
    }
  }
}