Loop Returns · JSON-LD Context

Loop Returns Context

JSON-LD context defining the semantic vocabulary for Loop Returns from Loop Returns.

9 Classes 49 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
loop: https://docs.loopreturns.com/vocabulary#
xsd: http://www.w3.org/2001/XMLSchema#

Classes

Return LabelRequest Label Destination Cart Webhook FraudReport LineItem AsnReport

Properties

Property Type Container
return_id integer
state string
outcome string
order_id string
order_name string
provider_order_id string
shop_id integer
customer string
total string
currency string
refund string
handling_fee string
created_at dateTime
updated_at dateTime
closed_at dateTime
label_status string
label_url reference
tracking_number string
tracking_url reference
carrier string
destination_id string
return_method string
line_items set
exchanges set
token string
topic string
trigger string
url reference
status string
category string
comment string
name string
address schema:PostalAddress
address1 string
city string
zip string
country string
country_code string
amount integer
currency_code string
sku string
barcode string
title string
purchase_price string
restock_status string
deeplink_url reference
qr reference
enabled boolean
type string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "loop": "https://docs.loopreturns.com/vocabulary#",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "Return": "loop:Return",
    "LabelRequest": "loop:LabelRequest",
    "Label": "loop:Label",
    "Destination": "loop:Destination",
    "Cart": "loop:Cart",
    "Webhook": "loop:Webhook",
    "FraudReport": "loop:FraudReport",
    "LineItem": "loop:LineItem",
    "AsnReport": "loop:AsnReport",

    "return_id": {
      "@id": "loop:returnId",
      "@type": "xsd:integer"
    },
    "state": {
      "@id": "loop:returnState",
      "@type": "xsd:string"
    },
    "outcome": {
      "@id": "loop:returnOutcome",
      "@type": "xsd:string"
    },
    "order_id": {
      "@id": "loop:orderId",
      "@type": "xsd:string"
    },
    "order_name": {
      "@id": "loop:orderName",
      "@type": "xsd:string"
    },
    "provider_order_id": {
      "@id": "loop:providerOrderId",
      "@type": "xsd:string"
    },
    "shop_id": {
      "@id": "loop:shopId",
      "@type": "xsd:integer"
    },
    "customer": {
      "@id": "schema:email",
      "@type": "xsd:string"
    },
    "total": {
      "@id": "schema:totalPrice",
      "@type": "xsd:string"
    },
    "currency": {
      "@id": "schema:priceCurrency",
      "@type": "xsd:string"
    },
    "refund": {
      "@id": "loop:refundAmount",
      "@type": "xsd:string"
    },
    "handling_fee": {
      "@id": "loop:handlingFee",
      "@type": "xsd:string"
    },
    "created_at": {
      "@id": "schema:dateCreated",
      "@type": "xsd:dateTime"
    },
    "updated_at": {
      "@id": "schema:dateModified",
      "@type": "xsd:dateTime"
    },
    "closed_at": {
      "@id": "loop:closedAt",
      "@type": "xsd:dateTime"
    },
    "label_status": {
      "@id": "loop:labelStatus",
      "@type": "xsd:string"
    },
    "label_url": {
      "@id": "loop:labelUrl",
      "@type": "@id"
    },
    "tracking_number": {
      "@id": "loop:trackingNumber",
      "@type": "xsd:string"
    },
    "tracking_url": {
      "@id": "loop:trackingUrl",
      "@type": "@id"
    },
    "carrier": {
      "@id": "loop:carrier",
      "@type": "xsd:string"
    },
    "destination_id": {
      "@id": "loop:destinationId",
      "@type": "xsd:string"
    },
    "return_method": {
      "@id": "loop:returnMethod",
      "@type": "xsd:string"
    },
    "line_items": {
      "@id": "loop:lineItems",
      "@container": "@set"
    },
    "exchanges": {
      "@id": "loop:exchanges",
      "@container": "@set"
    },
    "token": {
      "@id": "loop:cartToken",
      "@type": "xsd:string"
    },
    "topic": {
      "@id": "loop:webhookTopic",
      "@type": "xsd:string"
    },
    "trigger": {
      "@id": "loop:webhookTrigger",
      "@type": "xsd:string"
    },
    "url": {
      "@id": "schema:url",
      "@type": "@id"
    },
    "status": {
      "@id": "loop:status",
      "@type": "xsd:string"
    },
    "category": {
      "@id": "loop:fraudCategory",
      "@type": "xsd:string"
    },
    "comment": {
      "@id": "schema:comment",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "schema:name",
      "@type": "xsd:string"
    },
    "address": {
      "@id": "schema:address",
      "@type": "schema:PostalAddress"
    },
    "address1": {
      "@id": "schema:streetAddress",
      "@type": "xsd:string"
    },
    "city": {
      "@id": "schema:addressLocality",
      "@type": "xsd:string"
    },
    "state": {
      "@id": "schema:addressRegion",
      "@type": "xsd:string"
    },
    "zip": {
      "@id": "schema:postalCode",
      "@type": "xsd:string"
    },
    "country": {
      "@id": "schema:addressCountry",
      "@type": "xsd:string"
    },
    "country_code": {
      "@id": "loop:countryCode",
      "@type": "xsd:string"
    },
    "amount": {
      "@id": "schema:price",
      "@type": "xsd:integer"
    },
    "currency_code": {
      "@id": "schema:priceCurrency",
      "@type": "xsd:string"
    },
    "sku": {
      "@id": "schema:sku",
      "@type": "xsd:string"
    },
    "barcode": {
      "@id": "schema:gtin",
      "@type": "xsd:string"
    },
    "title": {
      "@id": "schema:name",
      "@type": "xsd:string"
    },
    "purchase_price": {
      "@id": "loop:purchasePrice",
      "@type": "xsd:string"
    },
    "restock_status": {
      "@id": "loop:restockStatus",
      "@type": "xsd:string"
    },
    "deeplink_url": {
      "@id": "loop:deeplinkUrl",
      "@type": "@id"
    },
    "qr": {
      "@id": "loop:qrCodeUrl",
      "@type": "@id"
    },
    "enabled": {
      "@id": "loop:enabled",
      "@type": "xsd:boolean"
    },
    "type": {
      "@id": "loop:destinationType",
      "@type": "xsd:string"
    }
  }
}