From 663207140ca2bc9e759ddf0c2998bde43a4e9630 Mon Sep 17 00:00:00 2001 From: RaggedStaff Date: Tue, 9 Jul 2024 13:08:16 +0100 Subject: [PATCH] Adjusted INRAE-graph example to use direct soldBy property, instead of going through SaleSession > Coordination. --- INRAE-dfc-graph.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/INRAE-dfc-graph.yaml b/INRAE-dfc-graph.yaml index da44f9e..7a5c7a1 100644 --- a/INRAE-dfc-graph.yaml +++ b/INRAE-dfc-graph.yaml @@ -181,17 +181,9 @@ paths: "@id": https://test.host/api/dfc/Enterprises/10000/Orders/10001 , "@type": dfc-b:Order , dfc-b:date: "2024-06-25" , # Order Date - dfc-b:belongsTo: https://test.host/api/dfc/Enterprises/10000/SaleSessions/10002 , + dfc-b:soldBy: https://test.host/api/dfc/Enterprises/10050 , dfc-b:hasPart: https://test.host/api/dfc/Enterprises/10000/Orders/10001/OrderLines/10001-01 , dfc-b:hasPart: https://test.host/api/dfc/Enterprises/10000/Orders/10001/OrderLines/10001-02 - }, - { - "@id": https://test.host/api/dfc/Enterprises/10050/SaleSessions/10002 , - "@type": dfc-b:SaleSession , - dfc-b:objectOf: { - "@type": dfc-b:Coordination , - dfc-b:coordinatedBy: http://test.host/api/dfc/Enterprises/10050 # Distributor Enterprise - } } ] '404':