{
  "asyncapi": "3.1.0",
  "info": {
    "title": "NowToPrint Marketplace Domain Events",
    "version": "1.0.0",
    "description": "Generated from packages/marketplace/src/events/event-catalog.ts. Adapter transports, retry, persistence, and outbox delivery remain outside @nowtoprint/marketplace."
  },
  "defaultContentType": "application/json",
  "channels": {
    "marketplace_decision_evaluated": {
      "address": "marketplace.decision.evaluated",
      "messages": {
        "marketplace_decision_evaluated": {
          "$ref": "#/components/messages/marketplace_decision_evaluated"
        }
      }
    },
    "marketplace_rfq_published": {
      "address": "marketplace.rfq.published",
      "messages": {
        "marketplace_rfq_published": {
          "$ref": "#/components/messages/marketplace_rfq_published"
        }
      }
    },
    "marketplace_rfq_relisted": {
      "address": "marketplace.rfq.relisted",
      "messages": {
        "marketplace_rfq_relisted": {
          "$ref": "#/components/messages/marketplace_rfq_relisted"
        }
      }
    },
    "marketplace_rfq_amended": {
      "address": "marketplace.rfq.amended",
      "messages": {
        "marketplace_rfq_amended": {
          "$ref": "#/components/messages/marketplace_rfq_amended"
        }
      }
    },
    "marketplace_rfq_conversation_updated": {
      "address": "marketplace.rfq.conversation.updated",
      "messages": {
        "marketplace_rfq_conversation_updated": {
          "$ref": "#/components/messages/marketplace_rfq_conversation_updated"
        }
      }
    },
    "marketplace_rfq_expired": {
      "address": "marketplace.rfq.expired",
      "messages": {
        "marketplace_rfq_expired": {
          "$ref": "#/components/messages/marketplace_rfq_expired"
        }
      }
    },
    "marketplace_agent_access_settings_updated": {
      "address": "marketplace.agent.access-settings.updated",
      "messages": {
        "marketplace_agent_access_settings_updated": {
          "$ref": "#/components/messages/marketplace_agent_access_settings_updated"
        }
      }
    },
    "marketplace_agent_key_created": {
      "address": "marketplace.agent.key.created",
      "messages": {
        "marketplace_agent_key_created": {
          "$ref": "#/components/messages/marketplace_agent_key_created"
        }
      }
    },
    "marketplace_agent_key_revoked": {
      "address": "marketplace.agent.key.revoked",
      "messages": {
        "marketplace_agent_key_revoked": {
          "$ref": "#/components/messages/marketplace_agent_key_revoked"
        }
      }
    },
    "marketplace_quote_submitted": {
      "address": "marketplace.quote.submitted",
      "messages": {
        "marketplace_quote_submitted": {
          "$ref": "#/components/messages/marketplace_quote_submitted"
        }
      }
    },
    "marketplace_quote_expired": {
      "address": "marketplace.quote.expired",
      "messages": {
        "marketplace_quote_expired": {
          "$ref": "#/components/messages/marketplace_quote_expired"
        }
      }
    },
    "marketplace_quote_submit_denied": {
      "address": "marketplace.quote.submit.denied",
      "messages": {
        "marketplace_quote_submit_denied": {
          "$ref": "#/components/messages/marketplace_quote_submit_denied"
        }
      }
    },
    "marketplace_quote_accepted": {
      "address": "marketplace.quote.accepted",
      "messages": {
        "marketplace_quote_accepted": {
          "$ref": "#/components/messages/marketplace_quote_accepted"
        }
      }
    },
    "marketplace_order_created": {
      "address": "marketplace.order.created",
      "messages": {
        "marketplace_order_created": {
          "$ref": "#/components/messages/marketplace_order_created"
        }
      }
    },
    "marketplace_payment_verified": {
      "address": "marketplace.payment.verified",
      "messages": {
        "marketplace_payment_verified": {
          "$ref": "#/components/messages/marketplace_payment_verified"
        }
      }
    },
    "marketplace_payment_entry_recorded": {
      "address": "marketplace.payment.entry.recorded",
      "messages": {
        "marketplace_payment_entry_recorded": {
          "$ref": "#/components/messages/marketplace_payment_entry_recorded"
        }
      }
    },
    "marketplace_payment_entry_verified": {
      "address": "marketplace.payment.entry.verified",
      "messages": {
        "marketplace_payment_entry_verified": {
          "$ref": "#/components/messages/marketplace_payment_entry_verified"
        }
      }
    },
    "marketplace_payment_entry_rejected": {
      "address": "marketplace.payment.entry.rejected",
      "messages": {
        "marketplace_payment_entry_rejected": {
          "$ref": "#/components/messages/marketplace_payment_entry_rejected"
        }
      }
    },
    "marketplace_payment_entry_voided": {
      "address": "marketplace.payment.entry.voided",
      "messages": {
        "marketplace_payment_entry_voided": {
          "$ref": "#/components/messages/marketplace_payment_entry_voided"
        }
      }
    },
    "marketplace_payment_terms_credit_approved": {
      "address": "marketplace.payment.terms.credit_approved",
      "messages": {
        "marketplace_payment_terms_credit_approved": {
          "$ref": "#/components/messages/marketplace_payment_terms_credit_approved"
        }
      }
    },
    "marketplace_production_released": {
      "address": "marketplace.production.released",
      "messages": {
        "marketplace_production_released": {
          "$ref": "#/components/messages/marketplace_production_released"
        }
      }
    },
    "marketplace_closeout_accepted": {
      "address": "marketplace.closeout.accepted",
      "messages": {
        "marketplace_closeout_accepted": {
          "$ref": "#/components/messages/marketplace_closeout_accepted"
        }
      }
    },
    "marketplace_payout_readiness_evaluated": {
      "address": "marketplace.payout_readiness.evaluated",
      "messages": {
        "marketplace_payout_readiness_evaluated": {
          "$ref": "#/components/messages/marketplace_payout_readiness_evaluated"
        }
      }
    },
    "marketplace_dispute_opened": {
      "address": "marketplace.dispute.opened",
      "messages": {
        "marketplace_dispute_opened": {
          "$ref": "#/components/messages/marketplace_dispute_opened"
        }
      }
    },
    "marketplace_dispute_resolved": {
      "address": "marketplace.dispute.resolved",
      "messages": {
        "marketplace_dispute_resolved": {
          "$ref": "#/components/messages/marketplace_dispute_resolved"
        }
      }
    }
  },
  "operations": {
    "marketplace_rfq_published_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_rfq_published"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_rfq_published"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_rfq_relisted_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_rfq_relisted"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_rfq_relisted"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_rfq_amended_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_rfq_amended"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_rfq_amended"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_rfq_conversation_updated_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_rfq_conversation_updated"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_rfq_conversation_updated"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_rfq_expired_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_rfq_expired"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_rfq_expired"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_agent_access_settings_updated_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_agent_access_settings_updated"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_agent_access_settings_updated"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_agent_key_created_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_agent_key_created"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_agent_key_created"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_agent_key_revoked_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_agent_key_revoked"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_agent_key_revoked"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_quote_submitted_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_quote_submitted"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_quote_submitted"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_quote_expired_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_quote_expired"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_quote_expired"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_quote_submit_denied_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_quote_submit_denied"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_quote_submit_denied"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_quote_accepted_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_quote_accepted"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_quote_accepted"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_order_created_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_order_created"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_order_created"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_payment_verified_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_payment_verified"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_payment_verified"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_payment_entry_recorded_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_payment_entry_recorded"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_payment_entry_recorded"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_payment_entry_verified_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_payment_entry_verified"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_payment_entry_verified"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_payment_entry_rejected_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_payment_entry_rejected"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_payment_entry_rejected"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_payment_entry_voided_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_payment_entry_voided"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_payment_entry_voided"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_payment_terms_credit_approved_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_payment_terms_credit_approved"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_payment_terms_credit_approved"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_production_released_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_production_released"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_production_released"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_closeout_accepted_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_closeout_accepted"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_closeout_accepted"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_dispute_opened_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_dispute_opened"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_dispute_opened"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    },
    "marketplace_dispute_resolved_publish": {
      "action": "send",
      "channel": {
        "$ref": "#/channels/marketplace_dispute_resolved"
      },
      "messages": [
        {
          "$ref": "#/components/messages/marketplace_dispute_resolved"
        }
      ],
      "x-nowtoprint-channel": "outbox",
      "x-nowtoprint-producer-status": "live"
    }
  },
  "components": {
    "messages": {
      "marketplace_decision_evaluated": {
        "name": "marketplace.decision.evaluated",
        "title": "marketplace.decision.evaluated",
        "summary": "marketplace.decision.evaluated NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.decision.evaluated"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.decision.evaluated.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "decisionName",
                "decisionVersion",
                "decisionId",
                "inputHash",
                "allowed",
                "reason",
                "auditRequired",
                "actorScope",
                "resourceScope",
                "telemetrySchemaVersion",
                "eventCorrelationMode"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "decisionName": {
                  "type": "string",
                  "minLength": 1
                },
                "decisionVersion": {
                  "type": "string",
                  "minLength": 1
                },
                "decisionId": {
                  "type": "string",
                  "minLength": 1
                },
                "inputHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "allowed": {
                  "type": "boolean"
                },
                "reason": {
                  "type": "string",
                  "minLength": 1
                },
                "auditRequired": {
                  "type": "boolean"
                },
                "actorScope": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "role"
                  ],
                  "properties": {
                    "role": {
                      "type": "string",
                      "minLength": 1
                    },
                    "idHash": {
                      "type": "string",
                      "pattern": "^sha256:[a-f0-9]{64}$"
                    },
                    "organizationIdHash": {
                      "type": "string",
                      "pattern": "^sha256:[a-f0-9]{64}$"
                    }
                  }
                },
                "resourceScope": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "kind"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1
                    },
                    "idHash": {
                      "type": "string",
                      "pattern": "^sha256:[a-f0-9]{64}$"
                    }
                  }
                },
                "policyVersion": {
                  "type": "string"
                },
                "telemetrySchemaVersion": {
                  "type": "string",
                  "minLength": 1
                },
                "eventCorrelationMode": {
                  "enum": [
                    "command_correlated",
                    "synthetic_decision_correlation"
                  ]
                },
                "auditSeverity": {
                  "type": "string"
                },
                "supervisionReason": {
                  "type": "string"
                },
                "operatorAssignment": {
                  "type": "string"
                },
                "platformOverrideReason": {
                  "type": "string"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "decisionName",
            "decisionVersion",
            "decisionId",
            "inputHash",
            "allowed",
            "reason",
            "auditRequired",
            "actorScope",
            "resourceScope",
            "telemetrySchemaVersion",
            "eventCorrelationMode"
          ]
        },
        "x-nowtoprint-channel": "telemetry",
        "x-nowtoprint-producer-status": "planned",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_rfq_published": {
        "name": "marketplace.rfq.published",
        "title": "marketplace.rfq.published",
        "summary": "marketplace.rfq.published NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.rfq.published"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.rfq.published.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "rfqId",
                "visibility"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "rfqId": {
                  "type": "string",
                  "minLength": 1
                },
                "visibility": {
                  "const": "public"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "rfq"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "rfqId",
            "visibility"
          ],
          "x-nowtoprint-semanticBindings": {
            "aggregateIdDataField": "rfqId"
          }
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_rfq_relisted": {
        "name": "marketplace.rfq.relisted",
        "title": "marketplace.rfq.relisted",
        "summary": "marketplace.rfq.relisted NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.rfq.relisted"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.rfq.relisted.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "rfqId",
                "revision",
                "deadline"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "rfqId": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                },
                "deadline": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id",
                "revision"
              ],
              "properties": {
                "type": {
                  "const": "rfq"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "rfqId",
            "revision",
            "deadline"
          ],
          "x-nowtoprint-semanticBindings": {
            "aggregateIdDataField": "rfqId",
            "aggregateRevisionDataField": "revision"
          }
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_rfq_amended": {
        "name": "marketplace.rfq.amended",
        "title": "marketplace.rfq.amended",
        "summary": "marketplace.rfq.amended NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.rfq.amended"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.rfq.amended.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "rfqId",
                "revision",
                "changedFields",
                "materialChange"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "rfqId": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                },
                "changedFields": {
                  "type": "array",
                  "minItems": 1,
                  "uniqueItems": true,
                  "items": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "materialChange": {
                  "type": "boolean"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id",
                "revision"
              ],
              "properties": {
                "type": {
                  "const": "rfq"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "rfqId",
            "revision",
            "changedFields",
            "materialChange"
          ],
          "x-nowtoprint-semanticBindings": {
            "aggregateIdDataField": "rfqId",
            "aggregateRevisionDataField": "revision"
          }
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_rfq_conversation_updated": {
        "name": "marketplace.rfq.conversation.updated",
        "title": "marketplace.rfq.conversation.updated",
        "summary": "marketplace.rfq.conversation.updated NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.rfq.conversation.updated"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.rfq.conversation.updated.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "conversationId",
                "revision",
                "state",
                "channel"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "conversationId": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                },
                "state": {
                  "enum": [
                    "collecting",
                    "awaiting_clarification",
                    "ready",
                    "rfq_active",
                    "closed"
                  ]
                },
                "channel": {
                  "enum": [
                    "web",
                    "email",
                    "mcp"
                  ]
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id",
                "revision"
              ],
              "properties": {
                "type": {
                  "const": "rfq_conversation"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "conversationId",
            "revision",
            "state",
            "channel"
          ],
          "x-nowtoprint-semanticBindings": {
            "aggregateIdDataField": "conversationId",
            "aggregateRevisionDataField": "revision"
          }
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_rfq_expired": {
        "name": "marketplace.rfq.expired",
        "title": "marketplace.rfq.expired",
        "summary": "marketplace.rfq.expired NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.rfq.expired"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.rfq.expired.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "rfqId",
                "revision",
                "expiredAt",
                "expirationReason"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "rfqId": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                },
                "expiredAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
                },
                "expirationReason": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id",
                "revision"
              ],
              "properties": {
                "type": {
                  "const": "rfq"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "rfqId",
            "revision",
            "expiredAt",
            "expirationReason"
          ],
          "x-nowtoprint-semanticBindings": {
            "aggregateIdDataField": "rfqId",
            "aggregateRevisionDataField": "revision"
          }
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_agent_access_settings_updated": {
        "name": "marketplace.agent.access-settings.updated",
        "title": "marketplace.agent.access-settings.updated",
        "summary": "marketplace.agent.access-settings.updated NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.agent.access-settings.updated"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.agent.access-settings.updated.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "controlIdHash",
                "allowAcceptQuote"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "controlIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "allowAcceptQuote": {
                  "type": "boolean"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "agent_control"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "controlIdHash",
            "allowAcceptQuote"
          ]
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_agent_key_created": {
        "name": "marketplace.agent.key.created",
        "title": "marketplace.agent.key.created",
        "summary": "marketplace.agent.key.created NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.agent.key.created"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.agent.key.created.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "keyIdHash",
                "lifecycleStatus"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "keyIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "lifecycleStatus": {
                  "const": "active"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "agent_key"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "keyIdHash",
            "lifecycleStatus"
          ]
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_agent_key_revoked": {
        "name": "marketplace.agent.key.revoked",
        "title": "marketplace.agent.key.revoked",
        "summary": "marketplace.agent.key.revoked NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.agent.key.revoked"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.agent.key.revoked.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "keyIdHash",
                "lifecycleStatus"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "keyIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "lifecycleStatus": {
                  "const": "revoked"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "agent_key"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "keyIdHash",
            "lifecycleStatus"
          ]
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_quote_submitted": {
        "name": "marketplace.quote.submitted",
        "title": "marketplace.quote.submitted",
        "summary": "marketplace.quote.submitted NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.quote.submitted"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.quote.submitted.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "quoteId",
                "rfqId"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "quoteId": {
                  "type": "string",
                  "minLength": 1
                },
                "rfqId": {
                  "type": "string",
                  "minLength": 1
                },
                "quoteRevision": {
                  "type": "integer",
                  "minimum": 1
                },
                "amountCurrency": {
                  "type": "string"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "quote"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "quoteId",
            "rfqId"
          ],
          "x-nowtoprint-semanticBindings": {
            "aggregateIdDataField": "quoteId"
          }
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_quote_expired": {
        "name": "marketplace.quote.expired",
        "title": "marketplace.quote.expired",
        "summary": "marketplace.quote.expired NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.quote.expired"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.quote.expired.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "quoteId",
                "revision",
                "expiredAt"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "quoteId": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                },
                "expiredAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id",
                "revision"
              ],
              "properties": {
                "type": {
                  "const": "quote"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "quoteId",
            "revision",
            "expiredAt"
          ],
          "x-nowtoprint-semanticBindings": {
            "aggregateIdDataField": "quoteId",
            "aggregateRevisionDataField": "revision"
          }
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_quote_submit_denied": {
        "name": "marketplace.quote.submit.denied",
        "title": "marketplace.quote.submit.denied",
        "summary": "marketplace.quote.submit.denied NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.quote.submit.denied"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.quote.submit.denied.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "decisionId",
                "code"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "decisionId": {
                  "type": "string",
                  "minLength": 1
                },
                "code": {
                  "type": "string",
                  "minLength": 1
                },
                "rfqId": {
                  "type": "string"
                },
                "quoteId": {
                  "type": "string"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "quote"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "decisionId",
            "code"
          ]
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_quote_accepted": {
        "name": "marketplace.quote.accepted",
        "title": "marketplace.quote.accepted",
        "summary": "marketplace.quote.accepted NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.quote.accepted"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.quote.accepted.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "quoteId",
                "rfqId"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "quoteId": {
                  "type": "string",
                  "minLength": 1
                },
                "rfqId": {
                  "type": "string",
                  "minLength": 1
                },
                "orderId": {
                  "type": "string"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "quote"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "quoteId",
            "rfqId"
          ],
          "x-nowtoprint-semanticBindings": {
            "aggregateIdDataField": "quoteId"
          }
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_order_created": {
        "name": "marketplace.order.created",
        "title": "marketplace.order.created",
        "summary": "marketplace.order.created NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.order.created"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.order.created.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "orderId",
                "rfqId",
                "quoteId"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "orderId": {
                  "type": "string",
                  "minLength": 1
                },
                "rfqId": {
                  "type": "string",
                  "minLength": 1
                },
                "quoteId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id",
                "revision"
              ],
              "properties": {
                "type": {
                  "const": "order"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "orderId",
            "rfqId",
            "quoteId"
          ],
          "x-nowtoprint-semanticBindings": {
            "aggregateIdDataField": "orderId",
            "aggregateRevisionConst": 1
          }
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_payment_verified": {
        "name": "marketplace.payment.verified",
        "title": "marketplace.payment.verified",
        "summary": "marketplace.payment.verified NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.payment.verified"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.payment.verified.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "paymentId",
                "orderId",
                "method",
                "canonicalStatus"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "paymentId": {
                  "type": "string",
                  "minLength": 1
                },
                "orderId": {
                  "type": "string",
                  "minLength": 1
                },
                "method": {
                  "type": "string",
                  "minLength": 1
                },
                "canonicalStatus": {
                  "enum": [
                    "payment_pending",
                    "awaiting_admin_approval",
                    "approved",
                    "rejected",
                    "cancelled",
                    "overdue",
                    "provider_processing",
                    "failed",
                    "refunded",
                    "partially_refunded"
                  ]
                },
                "verifiedAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
                },
                "verifierIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "order"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "paymentId",
            "orderId",
            "method",
            "canonicalStatus"
          ],
          "x-nowtoprint-semanticBindings": {
            "aggregateIdDataField": "orderId"
          }
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_payment_entry_recorded": {
        "name": "marketplace.payment.entry.recorded",
        "title": "marketplace.payment.entry.recorded",
        "summary": "marketplace.payment.entry.recorded NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.payment.entry.recorded"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.payment.entry.recorded.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "orderId",
                "entryId",
                "kind",
                "method",
                "entryStatus",
                "paymentStatus"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "orderId": {
                  "type": "string",
                  "minLength": 1
                },
                "entryId": {
                  "type": "string",
                  "minLength": 1
                },
                "kind": {
                  "enum": [
                    "customer_payment",
                    "customer_refund",
                    "supplier_payout",
                    "commission",
                    "adjustment"
                  ]
                },
                "method": {
                  "enum": [
                    "bank_transfer",
                    "card",
                    "cheque",
                    "promissory_note",
                    "open_account",
                    "dbs",
                    "bank_guarantee",
                    "cash",
                    "other"
                  ]
                },
                "entryStatus": {
                  "enum": [
                    "declared",
                    "verified",
                    "rejected",
                    "void"
                  ]
                },
                "paymentStatus": {
                  "enum": [
                    "unpaid",
                    "partially_paid",
                    "paid",
                    "overpaid",
                    "overdue",
                    "refunded",
                    "waived"
                  ]
                },
                "amountMinor": {
                  "type": "integer"
                },
                "currency": {
                  "type": "string"
                },
                "releaseSatisfied": {
                  "type": "boolean"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "order"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "orderId",
            "entryId",
            "kind",
            "method",
            "entryStatus",
            "paymentStatus"
          ]
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_payment_entry_verified": {
        "name": "marketplace.payment.entry.verified",
        "title": "marketplace.payment.entry.verified",
        "summary": "marketplace.payment.entry.verified NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.payment.entry.verified"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.payment.entry.verified.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "orderId",
                "entryId",
                "kind",
                "method",
                "entryStatus",
                "paymentStatus"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "orderId": {
                  "type": "string",
                  "minLength": 1
                },
                "entryId": {
                  "type": "string",
                  "minLength": 1
                },
                "kind": {
                  "enum": [
                    "customer_payment",
                    "customer_refund",
                    "supplier_payout",
                    "commission",
                    "adjustment"
                  ]
                },
                "method": {
                  "enum": [
                    "bank_transfer",
                    "card",
                    "cheque",
                    "promissory_note",
                    "open_account",
                    "dbs",
                    "bank_guarantee",
                    "cash",
                    "other"
                  ]
                },
                "entryStatus": {
                  "enum": [
                    "declared",
                    "verified",
                    "rejected",
                    "void"
                  ]
                },
                "paymentStatus": {
                  "enum": [
                    "unpaid",
                    "partially_paid",
                    "paid",
                    "overpaid",
                    "overdue",
                    "refunded",
                    "waived"
                  ]
                },
                "amountMinor": {
                  "type": "integer"
                },
                "currency": {
                  "type": "string"
                },
                "releaseSatisfied": {
                  "type": "boolean"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "order"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "orderId",
            "entryId",
            "kind",
            "method",
            "entryStatus",
            "paymentStatus"
          ]
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_payment_entry_rejected": {
        "name": "marketplace.payment.entry.rejected",
        "title": "marketplace.payment.entry.rejected",
        "summary": "marketplace.payment.entry.rejected NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.payment.entry.rejected"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.payment.entry.rejected.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "orderId",
                "entryId",
                "kind",
                "method",
                "entryStatus",
                "paymentStatus"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "orderId": {
                  "type": "string",
                  "minLength": 1
                },
                "entryId": {
                  "type": "string",
                  "minLength": 1
                },
                "kind": {
                  "enum": [
                    "customer_payment",
                    "customer_refund",
                    "supplier_payout",
                    "commission",
                    "adjustment"
                  ]
                },
                "method": {
                  "enum": [
                    "bank_transfer",
                    "card",
                    "cheque",
                    "promissory_note",
                    "open_account",
                    "dbs",
                    "bank_guarantee",
                    "cash",
                    "other"
                  ]
                },
                "entryStatus": {
                  "enum": [
                    "declared",
                    "verified",
                    "rejected",
                    "void"
                  ]
                },
                "paymentStatus": {
                  "enum": [
                    "unpaid",
                    "partially_paid",
                    "paid",
                    "overpaid",
                    "overdue",
                    "refunded",
                    "waived"
                  ]
                },
                "amountMinor": {
                  "type": "integer"
                },
                "currency": {
                  "type": "string"
                },
                "releaseSatisfied": {
                  "type": "boolean"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "order"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "orderId",
            "entryId",
            "kind",
            "method",
            "entryStatus",
            "paymentStatus"
          ]
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_payment_entry_voided": {
        "name": "marketplace.payment.entry.voided",
        "title": "marketplace.payment.entry.voided",
        "summary": "marketplace.payment.entry.voided NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.payment.entry.voided"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.payment.entry.voided.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "orderId",
                "entryId",
                "kind",
                "method",
                "entryStatus",
                "paymentStatus"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "orderId": {
                  "type": "string",
                  "minLength": 1
                },
                "entryId": {
                  "type": "string",
                  "minLength": 1
                },
                "kind": {
                  "enum": [
                    "customer_payment",
                    "customer_refund",
                    "supplier_payout",
                    "commission",
                    "adjustment"
                  ]
                },
                "method": {
                  "enum": [
                    "bank_transfer",
                    "card",
                    "cheque",
                    "promissory_note",
                    "open_account",
                    "dbs",
                    "bank_guarantee",
                    "cash",
                    "other"
                  ]
                },
                "entryStatus": {
                  "enum": [
                    "declared",
                    "verified",
                    "rejected",
                    "void"
                  ]
                },
                "paymentStatus": {
                  "enum": [
                    "unpaid",
                    "partially_paid",
                    "paid",
                    "overpaid",
                    "overdue",
                    "refunded",
                    "waived"
                  ]
                },
                "amountMinor": {
                  "type": "integer"
                },
                "currency": {
                  "type": "string"
                },
                "releaseSatisfied": {
                  "type": "boolean"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "order"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "orderId",
            "entryId",
            "kind",
            "method",
            "entryStatus",
            "paymentStatus"
          ]
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_payment_terms_credit_approved": {
        "name": "marketplace.payment.terms.credit_approved",
        "title": "marketplace.payment.terms.credit_approved",
        "summary": "marketplace.payment.terms.credit_approved NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.payment.terms.credit_approved"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.payment.terms.credit_approved.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "orderId",
                "termsKind",
                "releaseSatisfied"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "orderId": {
                  "type": "string",
                  "minLength": 1
                },
                "termsKind": {
                  "enum": [
                    "full_upfront",
                    "partial_upfront",
                    "net_terms",
                    "open_account"
                  ]
                },
                "releaseSatisfied": {
                  "type": "boolean"
                },
                "dueDays": {
                  "type": "integer"
                },
                "approvedAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "order"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "orderId",
            "termsKind",
            "releaseSatisfied"
          ]
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_production_released": {
        "name": "marketplace.production.released",
        "title": "marketplace.production.released",
        "summary": "marketplace.production.released NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.production.released"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.production.released.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "orderId",
                "paymentHoldReleased"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "orderId": {
                  "type": "string",
                  "minLength": 1
                },
                "productionReleaseStatus": {
                  "enum": [
                    "payment_required_production_hold",
                    "pending_bank_transfer_verification",
                    "blocked_supplier_open_account_approval",
                    "manual_payment_review",
                    "payment_exception",
                    "production_ready_after_payment",
                    "order_cancelled"
                  ]
                },
                "paymentHoldReleased": {
                  "type": "boolean"
                },
                "releaseReason": {
                  "type": "string"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "order"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "orderId",
            "paymentHoldReleased"
          ],
          "x-nowtoprint-semanticBindings": {
            "aggregateIdDataField": "orderId"
          }
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_closeout_accepted": {
        "name": "marketplace.closeout.accepted",
        "title": "marketplace.closeout.accepted",
        "summary": "marketplace.closeout.accepted NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.closeout.accepted"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.closeout.accepted.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "orderId"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "orderId": {
                  "type": "string",
                  "minLength": 1
                },
                "closeoutId": {
                  "type": "string"
                },
                "acceptedAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "order"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "orderId"
          ],
          "x-nowtoprint-semanticBindings": {
            "aggregateIdDataField": "orderId"
          }
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_payout_readiness_evaluated": {
        "name": "marketplace.payout_readiness.evaluated",
        "title": "marketplace.payout_readiness.evaluated",
        "summary": "marketplace.payout_readiness.evaluated NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.payout_readiness.evaluated"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.payout_readiness.evaluated.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "orderId",
                "ready",
                "reason"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "orderId": {
                  "type": "string",
                  "minLength": 1
                },
                "ready": {
                  "type": "boolean"
                },
                "reason": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "order"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "orderId",
            "ready",
            "reason"
          ],
          "x-nowtoprint-semanticBindings": {
            "aggregateIdDataField": "orderId"
          }
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "planned",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_dispute_opened": {
        "name": "marketplace.dispute.opened",
        "title": "marketplace.dispute.opened",
        "summary": "marketplace.dispute.opened NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.dispute.opened"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.dispute.opened.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "disputeId",
                "orderId",
                "openedByRole",
                "reasonCode"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "disputeId": {
                  "type": "string",
                  "minLength": 1
                },
                "orderId": {
                  "type": "string",
                  "minLength": 1
                },
                "openedByRole": {
                  "type": "string",
                  "minLength": 1
                },
                "reasonCode": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "dispute"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "disputeId",
            "orderId",
            "openedByRole",
            "reasonCode"
          ],
          "x-nowtoprint-semanticBindings": {
            "aggregateIdDataField": "disputeId"
          }
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      },
      "marketplace_dispute_resolved": {
        "name": "marketplace.dispute.resolved",
        "title": "marketplace.dispute.resolved",
        "summary": "marketplace.dispute.resolved NowToPrint marketplace domain event envelope.",
        "contentType": "application/json",
        "payload": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "specversion",
            "id",
            "source",
            "type",
            "time",
            "datacontenttype",
            "dataschema",
            "data",
            "correlationId",
            "causationId",
            "commandId",
            "decisionId",
            "schemaVersion",
            "aggregate"
          ],
          "properties": {
            "specversion": {
              "const": "1.0"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "source": {
              "const": "/nowtoprint/marketplace"
            },
            "type": {
              "const": "marketplace.dispute.resolved"
            },
            "subject": {
              "type": "string"
            },
            "time": {
              "type": "string",
              "format": "date-time",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
            },
            "datacontenttype": {
              "const": "application/json"
            },
            "dataschema": {
              "const": "marketplace.dispute.resolved.v1"
            },
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "disputeId",
                "orderId",
                "resolution",
                "automationStarted",
                "providerRefundStarted",
                "payoutAutomationStarted"
              ],
              "properties": {
                "actorIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "actorOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "buyerOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "supplierOrgIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "resourceIdHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "idempotencyKeyHash": {
                  "type": "string",
                  "pattern": "^sha256:[a-f0-9]{64}$"
                },
                "disputeId": {
                  "type": "string",
                  "minLength": 1
                },
                "orderId": {
                  "type": "string",
                  "minLength": 1
                },
                "resolution": {
                  "type": "string",
                  "minLength": 1
                },
                "automationStarted": {
                  "const": false
                },
                "providerRefundStarted": {
                  "const": false
                },
                "payoutAutomationStarted": {
                  "const": false
                }
              }
            },
            "correlationId": {
              "type": "string",
              "minLength": 1
            },
            "causationId": {
              "type": "string",
              "minLength": 1
            },
            "commandId": {
              "type": "string",
              "minLength": 1
            },
            "decisionId": {
              "type": "string",
              "minLength": 1
            },
            "traceparent": {
              "type": "string"
            },
            "aggregate": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type",
                "id"
              ],
              "properties": {
                "type": {
                  "const": "dispute"
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            },
            "parties": {
              "type": "object",
              "additionalProperties": false,
              "required": [],
              "properties": {
                "buyerOrgId": {
                  "type": "string",
                  "minLength": 1
                },
                "supplierOrgId": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "schemaVersion": {
              "const": "marketplace-domain-event-v3"
            }
          },
          "x-nowtoprint-requiredDataFields": [
            "disputeId",
            "orderId",
            "resolution",
            "automationStarted",
            "providerRefundStarted",
            "payoutAutomationStarted"
          ],
          "x-nowtoprint-semanticBindings": {
            "aggregateIdDataField": "disputeId"
          }
        },
        "x-nowtoprint-channel": "outbox",
        "x-nowtoprint-producer-status": "live",
        "x-nowtoprint-envelope-profile": "marketplace-domain-event-v3"
      }
    }
  },
  "tags": [
    {
      "name": "marketplace"
    },
    {
      "name": "generated"
    }
  ]
}
