@prefix op: . @prefix rdf: . @prefix rdfs: . @prefix owl: . @prefix xsd: . @prefix dc: . a owl:Ontology ; dc:title "OpenPay vocabulary (v1)" ; dc:description "Stable IRIs for the OpenPay payment-acceptance standard: Money, PaymentMethod, Receipt, Refund, Dispute, and the card / A2A / stablecoin rails." ; dc:license ; owl:versionInfo "1" . # ─── Top-level classes ─────────────────────────────────────────────── op:Money a owl:Class ; rdfs:label "Money" ; rdfs:comment "A signed integer in minor units paired with a Currency." . op:Currency a owl:Class ; rdfs:label "Currency (ISO 4217)" . op:PaymentMethod a owl:Class ; rdfs:label "Payment method" . op:Receipt a owl:Class ; rdfs:label "Payment receipt" . op:Refund a owl:Class ; rdfs:label "Refund" . op:Dispute a owl:Class ; rdfs:label "Dispute / chargeback" . op:Authorization a owl:Class ; rdfs:label "Authorization step" . op:Capture a owl:Class ; rdfs:label "Capture step" . op:Void a owl:Class ; rdfs:label "Void step" . op:Settlement a owl:Class ; rdfs:label "Settlement record" . op:Driver a owl:Class ; rdfs:label "Rail driver" . op:Idempotency a owl:Class ; rdfs:label "Idempotency record" . op:Rail a owl:Class ; rdfs:label "Payment rail" . op:Card a op:PaymentMethod ; rdfs:label "Card payment method" . op:A2A a op:PaymentMethod ; rdfs:label "Account-to-account payment method" . op:Stablecoin a op:PaymentMethod ; rdfs:label "Stablecoin payment method" . op:Wallet a op:PaymentMethod ; rdfs:label "Wallet-of-record payment method" . op:EMV a op:PaymentMethod ; rdfs:label "EMV present-card payment method" . # Rails op:FedNow a op:Rail ; rdfs:label "FedNow (USD instant)" . op:PIX a op:Rail ; rdfs:label "PIX (BRL instant)" . op:SEPAInstant a op:Rail ; rdfs:label "SEPA Instant Credit Transfer" . op:USDC a op:Rail ; rdfs:label "USDC stablecoin" . op:USDT a op:Rail ; rdfs:label "USDT stablecoin" . # Card schemes op:Scheme a owl:Class ; rdfs:label "Card scheme" . op:Visa a op:Scheme ; rdfs:label "Visa" . op:Mastercard a op:Scheme ; rdfs:label "Mastercard" . op:Amex a op:Scheme ; rdfs:label "American Express" . op:Discover a op:Scheme ; rdfs:label "Discover" . # Receipt lifecycle states op:LifecycleStatus a owl:Class ; rdfs:label "Receipt lifecycle status" . op:Authorized a op:LifecycleStatus ; rdfs:label "Authorized" . op:Captured a op:LifecycleStatus ; rdfs:label "Captured" . op:Settled a op:LifecycleStatus ; rdfs:label "Settled" . op:Refunded a op:LifecycleStatus ; rdfs:label "Refunded" . op:Voided a op:LifecycleStatus ; rdfs:label "Voided" . op:Disputed a op:LifecycleStatus ; rdfs:label "Disputed" . op:Failed a op:LifecycleStatus ; rdfs:label "Failed" . # ─── Properties ────────────────────────────────────────────────────── op:amountMinorUnits a owl:DatatypeProperty ; rdfs:domain op:Money ; rdfs:range xsd:integer ; rdfs:label "Amount in minor units (signed)" . op:currency a owl:ObjectProperty ; rdfs:domain op:Money ; rdfs:range op:Currency ; rdfs:label "Currency (ISO 4217)" . op:method a owl:ObjectProperty ; rdfs:domain op:Receipt ; rdfs:range op:PaymentMethod ; rdfs:label "Payment method used" . op:rail a owl:ObjectProperty ; rdfs:domain op:Receipt ; rdfs:range op:Rail ; rdfs:label "Rail used" . op:driverId a owl:DatatypeProperty ; rdfs:range xsd:string ; rdfs:label "Driver id (stable across deployments)" . op:idempotencyKey a owl:DatatypeProperty ; rdfs:range xsd:string ; rdfs:label "Idempotency key" . op:authorizedAt a owl:DatatypeProperty ; rdfs:range xsd:dateTime ; rdfs:label "Authorized at (RFC 3339)" . op:capturedAt a owl:DatatypeProperty ; rdfs:range xsd:dateTime ; rdfs:label "Captured at (RFC 3339)" . op:settledAt a owl:DatatypeProperty ; rdfs:range xsd:dateTime ; rdfs:label "Settled at (RFC 3339)" . op:refundedAt a owl:DatatypeProperty ; rdfs:range xsd:dateTime ; rdfs:label "Refunded at (RFC 3339)" . op:merchantId a owl:DatatypeProperty ; rdfs:range xsd:string ; rdfs:label "Merchant id" . op:customerId a owl:DatatypeProperty ; rdfs:range xsd:string ; rdfs:label "Customer id" . op:vaultRef a owl:DatatypeProperty ; rdfs:range xsd:string ; rdfs:label "Vault reference (PAN never present)" . op:walletRef a owl:DatatypeProperty ; rdfs:range xsd:string ; rdfs:label "Wallet reference" . op:scheme a owl:ObjectProperty ; rdfs:domain op:Card ; rdfs:range op:Scheme ; rdfs:label "Card scheme" . op:status a owl:ObjectProperty ; rdfs:domain op:Receipt ; rdfs:range op:LifecycleStatus ; rdfs:label "Lifecycle status" . op:iso20022Doc a owl:DatatypeProperty ; rdfs:range xsd:string ; rdfs:label "ISO 20022 document reference (PACS.008 / PAIN.001 / CAMT.054)" . op:fraudScore a owl:DatatypeProperty ; rdfs:range xsd:double ; rdfs:label "Fraud score (0..1)" .