{
  "@context": {
    "@vocab": "https://merchantflow.ai/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "merchantflow": "https://merchantflow.ai/schema#",
    "Meta": "merchantflow:Meta",
    "store_id": {
      "@id": "merchantflow:store_id",
      "@type": "xsd:string"
    },
    "currency": {
      "@id": "merchantflow:currency",
      "@type": "xsd:string"
    },
    "timezone": {
      "@id": "merchantflow:timezone",
      "@type": "xsd:string"
    },
    "as_of": {
      "@id": "merchantflow:as_of",
      "@type": "xsd:dateTime"
    },
    "stale": {
      "@id": "merchantflow:stale",
      "@type": "xsd:boolean"
    },
    "history_available_from": {
      "@id": "merchantflow:history_available_from",
      "@type": "xsd:string"
    },
    "truncated": {
      "@id": "merchantflow:truncated",
      "@type": "xsd:boolean"
    },
    "order_allowance": {
      "@id": "merchantflow:order_allowance",
      "@type": "@id"
    },
    "OrderAllowance": "merchantflow:OrderAllowance",
    "status": {
      "@id": "merchantflow:status",
      "@type": "xsd:string"
    },
    "missing_orders": {
      "@id": "merchantflow:missing_orders",
      "@type": "xsd:integer"
    },
    "resets_at": {
      "@id": "merchantflow:resets_at",
      "@type": "xsd:dateTime"
    },
    "Page": "merchantflow:Page",
    "has_more": {
      "@id": "merchantflow:has_more",
      "@type": "xsd:boolean"
    },
    "next_cursor": {
      "@id": "merchantflow:next_cursor",
      "@type": "xsd:string"
    },
    "limit": {
      "@id": "merchantflow:limit",
      "@type": "xsd:integer"
    },
    "MetricPeriod": "merchantflow:MetricPeriod",
    "from": {
      "@id": "merchantflow:from",
      "@type": "xsd:date"
    },
    "to": {
      "@id": "merchantflow:to",
      "@type": "xsd:date"
    },
    "MerMetric": "merchantflow:MerMetric",
    "period": {
      "@id": "merchantflow:period",
      "@type": "@id"
    },
    "mer": {
      "@id": "merchantflow:mer",
      "@type": "xsd:decimal"
    },
    "revenue": {
      "@id": "merchantflow:revenue",
      "@type": "xsd:decimal"
    },
    "ad_spend": {
      "@id": "merchantflow:ad_spend",
      "@type": "xsd:decimal"
    },
    "RevenueMetric": "merchantflow:RevenueMetric",
    "AdSpendMetric": "merchantflow:AdSpendMetric",
    "ContributionProfitMetric": "merchantflow:ContributionProfitMetric",
    "contribution_profit": {
      "@id": "merchantflow:contribution_profit",
      "@type": "xsd:decimal"
    },
    "Error": "merchantflow:Error",
    "success": {
      "@id": "merchantflow:success",
      "@type": "xsd:boolean"
    },
    "error": {
      "@id": "merchantflow:error"
    },
    "OrderEconomics": "merchantflow:OrderEconomics",
    "gross_revenue": {
      "@id": "merchantflow:gross_revenue",
      "@type": "xsd:decimal"
    },
    "shipping_revenue": {
      "@id": "merchantflow:shipping_revenue",
      "@type": "xsd:decimal"
    },
    "discount": {
      "@id": "merchantflow:discount",
      "@type": "xsd:decimal"
    },
    "tax": {
      "@id": "merchantflow:tax",
      "@type": "xsd:decimal"
    },
    "tax_included_in_price": {
      "@id": "merchantflow:tax_included_in_price",
      "@type": "xsd:boolean"
    },
    "refunds": {
      "@id": "merchantflow:refunds",
      "@type": "xsd:decimal"
    },
    "net_revenue": {
      "@id": "merchantflow:net_revenue",
      "@type": "xsd:decimal"
    },
    "cogs": {
      "@id": "merchantflow:cogs",
      "@type": "xsd:decimal"
    },
    "cogs_source": {
      "@id": "merchantflow:cogs_source",
      "@type": "xsd:string"
    },
    "cogs_coverage_pct": {
      "@id": "merchantflow:cogs_coverage_pct",
      "@type": "xsd:decimal"
    },
    "fulfillment_cost": {
      "@id": "merchantflow:fulfillment_cost",
      "@type": "xsd:decimal"
    },
    "fulfillment_cost_source": {
      "@id": "merchantflow:fulfillment_cost_source",
      "@type": "xsd:string"
    },
    "payment_fee": {
      "@id": "merchantflow:payment_fee",
      "@type": "xsd:decimal"
    },
    "payment_fee_source": {
      "@id": "merchantflow:payment_fee_source",
      "@type": "xsd:string"
    },
    "ad_spend_allocated": {
      "@id": "merchantflow:ad_spend_allocated",
      "@type": "xsd:decimal"
    },
    "ad_spend_basis": {
      "@id": "merchantflow:ad_spend_basis",
      "@type": "xsd:string"
    },
    "contribution_margin_pct": {
      "@id": "merchantflow:contribution_margin_pct",
      "@type": "xsd:decimal"
    },
    "allocated_overhead": {
      "@id": "merchantflow:allocated_overhead",
      "@type": "xsd:decimal"
    },
    "net_profit": {
      "@id": "merchantflow:net_profit",
      "@type": "xsd:decimal"
    },
    "net_margin_pct": {
      "@id": "merchantflow:net_margin_pct",
      "@type": "xsd:decimal"
    },
    "OrderAttribution": "merchantflow:OrderAttribution",
    "primary_source": {
      "@id": "merchantflow:primary_source",
      "@type": "xsd:string"
    },
    "is_paid": {
      "@id": "merchantflow:is_paid",
      "@type": "xsd:boolean"
    },
    "utm_source": {
      "@id": "merchantflow:utm_source",
      "@type": "xsd:string"
    },
    "utm_medium": {
      "@id": "merchantflow:utm_medium",
      "@type": "xsd:string"
    },
    "utm_campaign": {
      "@id": "merchantflow:utm_campaign",
      "@type": "xsd:string"
    },
    "utm_term": {
      "@id": "merchantflow:utm_term",
      "@type": "xsd:string"
    },
    "utm_content": {
      "@id": "merchantflow:utm_content",
      "@type": "xsd:string"
    },
    "landing_page": {
      "@id": "merchantflow:landing_page",
      "@type": "xsd:string"
    },
    "referrer": {
      "@id": "merchantflow:referrer",
      "@type": "xsd:string"
    },
    "device_type": {
      "@id": "merchantflow:device_type",
      "@type": "xsd:string"
    },
    "OrderLineItem": "merchantflow:OrderLineItem",
    "id": {
      "@id": "merchantflow:id",
      "@type": "xsd:string"
    },
    "sku": {
      "@id": "merchantflow:sku",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "merchantflow:name",
      "@type": "xsd:string"
    },
    "product_id": {
      "@id": "merchantflow:product_id",
      "@type": "xsd:string"
    },
    "variant_id": {
      "@id": "merchantflow:variant_id",
      "@type": "xsd:string"
    },
    "quantity": {
      "@id": "merchantflow:quantity",
      "@type": "xsd:integer"
    },
    "price": {
      "@id": "merchantflow:price",
      "@type": "xsd:decimal"
    },
    "total": {
      "@id": "merchantflow:total",
      "@type": "xsd:decimal"
    },
    "refund_amount": {
      "@id": "merchantflow:refund_amount",
      "@type": "xsd:decimal"
    },
    "refunded_quantity": {
      "@id": "merchantflow:refunded_quantity",
      "@type": "xsd:integer"
    },
    "Order": "merchantflow:Order",
    "external_order_id": {
      "@id": "merchantflow:external_order_id",
      "@type": "xsd:string"
    },
    "external_order_gid": {
      "@id": "merchantflow:external_order_gid",
      "@type": "xsd:string"
    },
    "order_number": {
      "@id": "merchantflow:order_number",
      "@type": "xsd:string"
    },
    "platform": {
      "@id": "merchantflow:platform",
      "@type": "xsd:string"
    },
    "created_at": {
      "@id": "merchantflow:created_at",
      "@type": "xsd:dateTime"
    },
    "updated_at": {
      "@id": "merchantflow:updated_at",
      "@type": "xsd:dateTime"
    },
    "canceled_at": {
      "@id": "merchantflow:canceled_at",
      "@type": "xsd:dateTime"
    },
    "refunded_at": {
      "@id": "merchantflow:refunded_at",
      "@type": "xsd:dateTime"
    },
    "financial_status": {
      "@id": "merchantflow:financial_status",
      "@type": "xsd:string"
    },
    "fulfillment_status": {
      "@id": "merchantflow:fulfillment_status",
      "@type": "xsd:string"
    },
    "sales_channel": {
      "@id": "merchantflow:sales_channel",
      "@type": "xsd:string"
    },
    "is_first_order": {
      "@id": "merchantflow:is_first_order",
      "@type": "xsd:boolean"
    },
    "customer_order_sequence": {
      "@id": "merchantflow:customer_order_sequence",
      "@type": "xsd:integer"
    },
    "is_subscription_renewal": {
      "@id": "merchantflow:is_subscription_renewal",
      "@type": "xsd:boolean"
    },
    "economics": {
      "@id": "merchantflow:economics",
      "@type": "@id"
    },
    "attribution": {
      "@id": "merchantflow:attribution",
      "@type": "@id"
    },
    "shipping_country_code": {
      "@id": "merchantflow:shipping_country_code",
      "@type": "xsd:string"
    },
    "customer_ref": {
      "@id": "merchantflow:customer_ref",
      "@type": "xsd:string"
    },
    "line_items": {
      "@id": "merchantflow:line_items",
      "@container": "@list"
    },
    "ProductCost": "merchantflow:ProductCost",
    "unit_cost": {
      "@id": "merchantflow:unit_cost",
      "@type": "xsd:decimal"
    },
    "handling_cost": {
      "@id": "merchantflow:handling_cost",
      "@type": "xsd:decimal"
    },
    "effective_from": {
      "@id": "merchantflow:effective_from",
      "@type": "xsd:dateTime"
    },
    "source": {
      "@id": "merchantflow:source",
      "@type": "xsd:string"
    },
    "cost_is_tiered": {
      "@id": "merchantflow:cost_is_tiered",
      "@type": "xsd:boolean"
    },
    "cost_is_market_specific": {
      "@id": "merchantflow:cost_is_market_specific",
      "@type": "xsd:boolean"
    },
    "ProductVariant": "merchantflow:ProductVariant",
    "external_variant_id": {
      "@id": "merchantflow:external_variant_id",
      "@type": "xsd:string"
    },
    "title": {
      "@id": "merchantflow:title",
      "@type": "xsd:string"
    },
    "compare_at_price": {
      "@id": "merchantflow:compare_at_price",
      "@type": "xsd:decimal"
    },
    "position": {
      "@id": "merchantflow:position",
      "@type": "xsd:integer"
    },
    "barcode": {
      "@id": "merchantflow:barcode",
      "@type": "xsd:string"
    },
    "Product": "merchantflow:Product",
    "external_product_id": {
      "@id": "merchantflow:external_product_id",
      "@type": "xsd:string"
    },
    "url": {
      "@id": "merchantflow:url",
      "@type": "xsd:string"
    },
    "image_url": {
      "@id": "merchantflow:image_url",
      "@type": "xsd:string"
    },
    "variants": {
      "@id": "merchantflow:variants",
      "@container": "@list"
    },
    "ProfitabilityDay": "merchantflow:ProfitabilityDay",
    "date": {
      "@id": "merchantflow:date",
      "@type": "xsd:string"
    },
    "discounts": {
      "@id": "merchantflow:discounts",
      "@type": "xsd:decimal"
    },
    "product_cost_only": {
      "@id": "merchantflow:product_cost_only",
      "@type": "xsd:decimal"
    },
    "payment_fees": {
      "@id": "merchantflow:payment_fees",
      "@type": "xsd:decimal"
    },
    "shipping_cost": {
      "@id": "merchantflow:shipping_cost",
      "@type": "xsd:decimal"
    },
    "variable_costs": {
      "@id": "merchantflow:variable_costs",
      "@type": "xsd:decimal"
    },
    "opex": {
      "@id": "merchantflow:opex",
      "@type": "xsd:decimal"
    },
    "amortised_expenses": {
      "@id": "merchantflow:amortised_expenses",
      "@type": "xsd:decimal"
    },
    "interest_expense": {
      "@id": "merchantflow:interest_expense",
      "@type": "xsd:decimal"
    },
    "product_margin_cm1": {
      "@id": "merchantflow:product_margin_cm1",
      "@type": "xsd:decimal"
    },
    "gross_profit_cm2": {
      "@id": "merchantflow:gross_profit_cm2",
      "@type": "xsd:decimal"
    },
    "contribution_margin_cm3": {
      "@id": "merchantflow:contribution_margin_cm3",
      "@type": "xsd:decimal"
    },
    "ebitda": {
      "@id": "merchantflow:ebitda",
      "@type": "xsd:decimal"
    },
    "ProfitabilitySummary": "merchantflow:ProfitabilitySummary",
    "basis": {
      "@id": "merchantflow:basis"
    },
    "totals": {
      "@id": "merchantflow:totals"
    },
    "Account": "merchantflow:Account",
    "store": {
      "@id": "merchantflow:store"
    },
    "connection": {
      "@id": "merchantflow:connection"
    },
    "data_availability": {
      "@id": "merchantflow:data_availability"
    },
    "rate_limits": {
      "@id": "merchantflow:rate_limits"
    },
    "Store": "merchantflow:Store",
    "last_sync_at": {
      "@id": "merchantflow:last_sync_at",
      "@type": "xsd:dateTime"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "MerchantFlow API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects MerchantFlow's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-18) from openapi/merchantflow-ai-openapi.json.",
  "dcterms:created": "2026-11-18",
  "dcterms:source": [
    "openapi/merchantflow-ai-openapi.json"
  ]
}