Schema.org 我可以用“吗?”;付款方式信用卡“;作为支付方式?

Schema.org 我可以用“吗?”;付款方式信用卡“;作为支付方式?,schema.org,credit-card,json-ld,Schema.org,Credit Card,Json Ld,在schema.org语法中创建订单时,我有paymentMethod和http://purl.org/goodrelations/v1#PayPal或http://purl.org/goodrelations/v1#DirectDebit但对于卡,我不想指定具体的卡类型(Visa卡、美国运通卡等) ?我应该使用http://purl.org/goodrelations/v1#PaymentMethodCreditCard作为值 例如,在JSON-LD中: <script type="ap

在schema.org语法中创建订单时,我有
paymentMethod
http://purl.org/goodrelations/v1#PayPal
http://purl.org/goodrelations/v1#DirectDebit
但对于卡,我不想指定具体的卡类型(Visa卡、美国运通卡等)

?我应该使用
http://purl.org/goodrelations/v1#PaymentMethodCreditCard
作为值

例如,在JSON-LD中:

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Order",
  "merchant": {
    "@type": "Organization",
    "name": "My Company"
  },
  "orderNumber": "546846486",
  "orderStatus": "http://schema.org/OrderDelivered",
  "paymentMethod": "http://purl.org/goodrelations/v1#PaymentMethodCreditCard",
  "priceCurrency": "EUR",
  "price": "125.48",
  "acceptedOffer": {
    "@type": "Offer",
    "itemOffered": {
      "@type": "Product",
      "name": "Towel 42"
    "price": "125.48",
    "priceCurrency": "EUR",
    "eligibleQuantity": {
      "@type": "QuantitativeValue",
      "value": "1"
    }
  }
}
</script>

{
“@context”:”http://schema.org",
“@type”:“Order”,
“商人”:{
“@type”:“组织”,
“名称”:“我的公司”
},
“订单号”:“546846486”,
“订单状态”:http://schema.org/OrderDelivered",
“付款方式”:http://purl.org/goodrelations/v1#PaymentMethodCreditCard",
“价格货币”:“欧元”,
“价格”:“125.48”,
“接受供应商”:{
“@type”:“Offer”,
“提供的项目”:{
“@type”:“产品”,
“名称”:“毛巾42”
“价格”:“125.48”,
“价格货币”:“欧元”,
“合格数量”:{
“@type”:“QuantitativeValue”,
“值”:“1”
}
}
}

GoodRelations词汇表定义的是一个类,而不是一个个体。(Schema.org的派生自此。)

这个想法是使用被定义为这个类的个体,而不是这个类本身

似乎没有一个人代表所有的信用卡(实际上,使用这样一个人可能不是一个好主意)

您可以明确列出所有受支持的信用卡:

“付款方式”:[
{@id”:http://purl.org/goodrelations/v1#VISA"}, 
{@id”:http://purl.org/goodrelations/v1#MasterCard"}, 
{@id”:http://purl.org/goodrelations/v1#JCB"}
],

如果您支持没有预定义个人的信用卡,您可以使用
gr:PaymentMethodCreditCard
/
schema:CreditCard
类型自己定义个人。

GoodRelations词汇表定义了一个类,而不是个人。(schema.org由此派生。)

这个想法是使用被定义为这个类的个体,而不是这个类本身

似乎没有一个人代表所有的信用卡(实际上,使用这样一个人可能不是一个好主意)

您可以明确列出所有受支持的信用卡:

“付款方式”:[
{@id”:http://purl.org/goodrelations/v1#VISA"}, 
{@id”:http://purl.org/goodrelations/v1#MasterCard"}, 
{@id”:http://purl.org/goodrelations/v1#JCB"}
],
如果您支持没有预定义个人的信用卡,您可以使用
gr:PaymentMethodCreditCard
/
schema:CreditCard
类型自己定义个人