Skip to content

Commit

Permalink
docs: fixes remarks from issue #103
Browse files Browse the repository at this point in the history
  • Loading branch information
schuur committed Dec 18, 2024
1 parent e4dfd1c commit 40d07d2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions spec/v3/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ In addition, for publishing a release:
-->
<pre class='metadata'>
Text Macro: DATE 20241212
Text Macro: VERSION 3.0.0-wip
Text Macro: VERSION 3.0.0
Text Macro: STATUS Draft
Title: Technical Specifications for PCF Data Exchange
TR: https://wbcsd.github.io/tr/2024/data-exchange-protocol-20241024/
Expand Down Expand Up @@ -203,7 +203,7 @@ below). See [[#api-auth]] for details.
<div class="example">
```json
{
"productIds": ["urn:pact:company:customcode:buyer-assigned:4321"],
"productIds": ["urn:pact:company:customcode:buyer-id:4321"],
"referencePeriodStart": "2023-01-01T00:00:00Z",
"referencePeriodEnd": "2024-01-01T00:00:00Z"
}
Expand All @@ -213,7 +213,7 @@ below). See [[#api-auth]] for details.
<div class="example">
```json
{
"productIds": ["urn:pact:company:customcode:buyer-assigned:4321"],
"productIds": ["urn:pact:company:customcode:buyer-id:4321"],
"geographyCountry": "FR"
}
```
Expand Down Expand Up @@ -1338,31 +1338,31 @@ If the [=data owner=] wishes to use a custom company code assigned to it by
a [=data recipient=] as a [=CompanyId=] value, the [=data owner=] SHOULD use the following format:

```
urn:pact:company:customcode:buyer-assigned:$custom-company-code$
urn:pact:company:customcode:buyer-id:$custom-company-code$
```

where `$custom-company-code$` stands for the custom company code assigned by the [=data recipient=].

<div class=example>
A data owner got assigned the custom vendor code `4321` by a buyer, the value of the CompanyId is then:

`urn:pact:company:customcode:buyer-assigned:4321`.
`urn:pact:company:customcode:buyer-id:4321`.
</div>


If the [=data owner=] wishes to use its own custom company code known by
a [=data recipient=] as a [=CompanyId=] value, the [=data owner=] SHOULD use the following format:

```
urn:pact:company:customcode:vendor-assigned:$custom-company-code$
urn:pact:company:customcode:supplier-id:$custom-company-code$
```

where `$custom-company-code$` stands for the custom company code set by the [=data recipient=].

<div class=example>
A data owner uses as custom vendor code `6789` which is known to a buyer, the value of the CompanyId is then:

`urn:pact:company:customcode:vendor-assigned:6789`.
`urn:pact:company:customcode:buyer-id:6789`.
</div>


Expand Down Expand Up @@ -1726,7 +1726,7 @@ Below is a list of examples of <{ProductFootprint/productIds}> as used in the <{
Unique identification number assigned to every chemical substance described in the open scientific literature See [cas.org](https://www.cas.org/cas-data/cas-registry)
<td><div class=example>
```json
["urn:pact:cas.org:substance-id13463-67-7"]
["urn:pact:cas.org:substance-number:13463-67-7"]
```
<tr>
<td>InChI (International Chemical Identifier)
Expand Down

0 comments on commit 40d07d2

Please sign in to comment.