Skip to content

Commit 8f1fa15

Browse files
committed
Add example
Signed-off-by: Yohanna Lisnichuk <[email protected]>
1 parent 648903e commit 8f1fa15

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,41 @@ However, in cases where it is important to track documents on a milestone-by-mil
1414

1515
Depending on the nature of the documents, publishers should consider duplicating information in the parent sections documents block also.
1616

17+
## Worked Example
18+
19+
During the implementation of a contract, the buyer set different milestones that the supplier must met. Each of these milestone could has an associated document that offers more details about the met milestone, for example a consultancy report
20+
21+
```json
22+
{
23+
"contracts": [
24+
{
25+
"implementation": {
26+
"milestones": [
27+
{
28+
"id": "fcrMXKIb3/o=",
29+
"title": "Informe de Consultoria",
30+
"type": "reporting",
31+
"dueDate": "2020-02-13T00:00:00-04:00",
32+
"dateMet": "2020-02-14T00:00:00-04:00",
33+
"status": "met",
34+
"documents": [
35+
{
36+
"id": "QQ1cjJZ82Rk=",
37+
"url": "https://www.contrataciones.gov.py/documentos/download/contrato_detalle_entregable/vki7v5RKGrA%253D",
38+
"datePublished": "2020-02-17T13:38:25-04:00",
39+
"language": "es",
40+
"title": "informe_n__13_1581957505348.pdf",
41+
"format": "application/pdf"
42+
}
43+
]
44+
}
45+
]
46+
}
47+
}
48+
]
49+
}
50+
```
51+
1752
## Issues
1853

1954
Report issues for this extension in the [ocds-extensions repository](https://github.com/open-contracting/ocds-extensions/issues), putting the extension's name in the issue's title.

0 commit comments

Comments
 (0)