{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://wallet.credenco.com/api/public/schemas/integration/wallet-domain-status-changed/v1.json",
  "title": "WalletDomainStatusChanged.v1",
  "type": "object",
  "required": ["walletExternalKey", "domainExternalKey", "hostname", "newStatus", "changedAt"],
  "additionalProperties": true,
  "properties": {
    "walletExternalKey": {"type": "string"},
    "domainExternalKey": {"type": "string"},
    "hostname": {"type": "string"},
    "previousStatus": {"type": ["string", "null"]},
    "newStatus": {"type": "string"},
    "statusMessage": {"type": "string"},
    "changedAt": {"type": "string"}
  }
}
