Mastercard · JSON-LD Context

context Context

JSON-LD context defining the semantic vocabulary for context from Mastercard.

0 Classes 10 Properties 3 Namespaces
View Context View on GitHub

Namespaces

mc: https://developer.mastercard.com/ns/
iso: https://www.iso.org/standard/
fibo: https://spec.edmcouncil.org/fibo/ontology/

Properties

Property Type Container
Payment
Transaction
Card
Merchant
MerchantAddress
GeoLocation
FraudAlert
AlertOutcome
Cardholder
PaymentParty

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://schema.org/",
    "mc": "https://developer.mastercard.com/ns/",
    "iso": "https://www.iso.org/standard/",
    "fibo": "https://spec.edmcouncil.org/fibo/ontology/",

    "Payment": {
      "@id": "schema:PayAction",
      "@context": {
        "paymentId": "schema:identifier",
        "paymentType": "schema:paymentMethod",
        "amount": "schema:price",
        "currency": "schema:priceCurrency",
        "status": "schema:paymentStatus",
        "timestamp": "schema:dateCreated",
        "sender": "schema:agent",
        "recipient": "schema:recipient",
        "cardNumber": "mc:primaryAccountNumber",
        "tokenNumber": "mc:paymentToken",
        "merchantId": "mc:merchantIdentifier",
        "merchantName": "schema:name",
        "merchantCategoryCode": "mc:merchantCategoryCode",
        "acquirerId": "mc:acquirerIdentifier",
        "icaNumber": "mc:interbankCardAssociationNumber",
        "authorizationCode": "mc:authorizationCode",
        "billingAmount": "mc:billingAmount",
        "billingCurrency": "mc:billingCurrency",
        "conversionRate": "schema:exchangeRate",
        "network": "mc:paymentNetwork",
        "channel": "mc:paymentChannel",
        "posEntryMode": "mc:posEntryMode",
        "terminalId": "mc:terminalIdentifier",
        "settlementDate": "mc:settlementDate",
        "referenceId": "mc:referenceIdentifier",
        "memo": "schema:description"
      }
    },

    "Transaction": {
      "@id": "schema:MoneyTransfer",
      "@context": {
        "transactionId": "schema:identifier",
        "transactionIdentifiers": "mc:transactionIdentifiers",
        "cardNumber": "mc:primaryAccountNumber",
        "cardProductCode": "mc:cardProductCode",
        "transactionAmount": "schema:price",
        "transactionCurrencyCode": "schema:priceCurrency",
        "billingAmount": "mc:billingAmount",
        "billingCurrencyCode": "mc:billingCurrency",
        "transactionDate": "schema:startDate",
        "transactionTime": "schema:startTime",
        "settlementDate": "mc:settlementDate",
        "timestamp": "schema:dateCreated",
        "icaNumber": "mc:interbankCardAssociationNumber",
        "acquirerId": "mc:acquirerIdentifier",
        "merchantId": "mc:merchantIdentifier",
        "merchantName": "schema:name",
        "merchantCity": "schema:addressLocality",
        "merchantStateProvinceCode": "schema:addressRegion",
        "merchantCountryCode": "schema:addressCountry",
        "merchantPostalCode": "schema:postalCode",
        "merchantCategoryCode": "mc:merchantCategoryCode",
        "terminalId": "mc:terminalIdentifier",
        "terminalAttendanceIndicator": "mc:terminalAttendanceIndicator",
        "terminalOperatingEnvironment": "mc:terminalOperatingEnvironment",
        "terminalCapabilityIndicator": "mc:terminalCapabilityIndicator",
        "posEntryMode": "mc:posEntryMode",
        "accountDeviceType": "mc:accountDeviceType",
        "cardholderPresenceIndicator": "mc:cardholderPresenceIndicator",
        "cardPresenceIndicator": "mc:cardPresenceIndicator",
        "catLevelIndicator": "mc:catLevelIndicator",
        "cvcInvalidIndicator": "mc:cvcInvalidIndicator",
        "avsResponseCode": "mc:avsResponseCode",
        "authResponseCode": "mc:authorizationResponseCode",
        "network": "mc:paymentNetwork",
        "refId": "mc:referenceIdentifier",
        "memo": "schema:description"
      }
    },

    "Card": {
      "@id": "schema:PaymentCard",
      "@context": {
        "cardNumber": "mc:primaryAccountNumber",
        "cardId": "schema:identifier",
        "cardPackId": "mc:cardPackIdentifier",
        "cardType": "mc:cardType",
        "cardProductCode": "mc:cardProductCode",
        "planCode": "mc:planCode",
        "programCode": "mc:programCode",
        "brand": "schema:brand",
        "tier": "mc:cardTier",
        "status": "mc:cardStatus",
        "issuedDate": "schema:dateCreated",
        "expirationDate": "mc:expirationDate",
        "embossedName": "schema:name",
        "numberless": "mc:numberless",
        "instant": "mc:instantCard",
        "virtual": "mc:virtualCard",
        "contactless": "schema:contactlessPayment",
        "photoIndicator": "mc:photoIndicator",
        "deliveryMode": "mc:deliveryMode",
        "deliveryDate": "mc:deliveryDate",
        "tokenNumber": "mc:paymentToken",
        "binNumber": "mc:bankIdentificationNumber",
        "issuerId": "mc:issuerIdentifier",
        "issuerName": "mc:issuerName",
        "issuerCountryCode": "mc:issuerCountry",
        "cardholder": "schema:holder",
        "limits": "mc:cardLimits",
        "applicationType": "mc:applicationType",
        "corporateCode": "mc:corporateCode"
      }
    },

    "Merchant": {
      "@id": "schema:LocalBusiness",
      "@context": {
        "merchantId": "schema:identifier",
        "id": "mc:numericMerchantId",
        "merchantName": "schema:legalName",
        "dbaName": "schema:alternateName",
        "merchantCategoryCode": "mc:merchantCategoryCode",
        "category": "schema:category",
        "categoryId": "mc:categoryIdentifier",
        "merchantType": "mc:merchantType",
        "address": "schema:address",
        "location": "schema:geo",
        "distance": "schema:distance",
        "distanceUnit": "mc:distanceUnit",
        "geocodingResult": "mc:geocodingResult",
        "terminalCapabilities": "mc:terminalCapabilities",
        "cashbackMaximumAmount": "mc:cashbackMaximumAmount",
        "dpa": "mc:digitalPaymentApplication",
        "acquirerId": "mc:acquirerIdentifier",
        "acquirerMerchantId": "mc:acquirerMerchantIdentifier",
        "websiteUrl": "schema:url",
        "logoUrl": "schema:logo",
        "offerMerchantId": "mc:offerMerchantIdentifier"
      }
    },

    "MerchantAddress": {
      "@id": "schema:PostalAddress",
      "@context": {
        "addressLine1": "schema:streetAddress",
        "addressLine2": "mc:addressLine2",
        "city": "schema:addressLocality",
        "stateProvinceCode": "schema:addressRegion",
        "stateProvinceName": "mc:stateProvinceName",
        "postalCode": "schema:postalCode",
        "countryCode": "schema:addressCountry",
        "countryName": "mc:countryName"
      }
    },

    "GeoLocation": {
      "@id": "schema:GeoCoordinates",
      "@context": {
        "latitude": "schema:latitude",
        "longitude": "schema:longitude"
      }
    },

    "FraudAlert": {
      "@id": "mc:FraudAlert",
      "@context": {
        "alertId": "schema:identifier",
        "alertType": "mc:alertType",
        "alertSource": "mc:alertSource",
        "refId": "mc:referenceIdentifier",
        "timestamp": "schema:dateCreated",
        "icaNumber": "mc:interbankCardAssociationNumber",
        "acquirerId": "mc:acquirerIdentifier",
        "cardNumber": "mc:primaryAccountNumber",
        "cardProductCode": "mc:cardProductCode",
        "transactionDate": "schema:startDate",
        "transactionAmount": "schema:price",
        "transactionCurrencyCode": "schema:priceCurrency",
        "billingAmount": "mc:billingAmount",
        "billingCurrencyCode": "mc:billingCurrency",
        "settlementDate": "mc:settlementDate",
        "fraudTypeCode": "mc:fraudTypeCode",
        "fraudSubTypeCode": "mc:fraudSubTypeCode",
        "fraudPostedDate": "mc:fraudPostedDate",
        "cardholderReportedDate": "mc:cardholderReportedDate",
        "accountDeviceType": "mc:accountDeviceType",
        "cardInPossession": "mc:cardInPossession",
        "issuerSCAExemption": "mc:issuerSCAExemption",
        "transactionIdentifiers": "mc:transactionIdentifiers",
        "merchant": "schema:seller",
        "terminal": "mc:terminal",
        "outcome": "schema:result",
        "avsResponseCode": "mc:avsResponseCode",
        "authResponseCode": "mc:authorizationResponseCode",
        "cvcInvalidIndicator": "mc:cvcInvalidIndicator",
        "memo": "schema:description",
        "providerId": "mc:providerIdentifier"
      }
    },

    "AlertOutcome": {
      "@id": "mc:AlertOutcome",
      "@context": {
        "outcome": "mc:outcomeType",
        "refundStatus": "mc:refundStatus",
        "refundAmount": "mc:refundAmount",
        "amountStopped": "mc:amountStopped",
        "comments": "schema:comment",
        "actionTimestamp": "schema:dateModified",
        "status": "mc:processingStatus"
      }
    },

    "Cardholder": {
      "@id": "schema:Person",
      "@context": {
        "name": "schema:name",
        "firstName": "schema:givenName",
        "lastName": "schema:familyName",
        "email": "schema:email",
        "phone": "schema:telephone",
        "clientType": "mc:clientType",
        "vip": "mc:vipStatus",
        "address": "schema:address"
      }
    },

    "PaymentParty": {
      "@id": "schema:Organization",
      "@context": {
        "name": "schema:name",
        "accountNumber": "mc:accountNumber",
        "institutionId": "mc:institutionIdentifier",
        "address": "schema:address"
      }
    }
  }
}