Skip to content

Commit ab9a9ed

Browse files
authored
Merge pull request #16 from open-contracting-extensions/add-example
Add example
2 parents 648903e + 6a49732 commit ab9a9ed

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,43 @@ 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+
## Example
18+
19+
During the implementation of a contract, the buyer sets milestones that the supplier needs to meet. Each of these milestones can have an associated document that offers more details about the met milestone: for example, a consultancy report:
20+
21+
```json
22+
{
23+
"contracts": [
24+
{
25+
"id": "CO-40002-18-166811",
26+
"awardID": "354469-jorge-augusto-zarate-leiva-1",
27+
"implementation": {
28+
"milestones": [
29+
{
30+
"id": "fcrMXKIb3/o=",
31+
"title": "Informe de Consultoria",
32+
"type": "reporting",
33+
"dueDate": "2020-02-13T00:00:00-04:00",
34+
"dateMet": "2020-02-14T00:00:00-04:00",
35+
"status": "met",
36+
"documents": [
37+
{
38+
"id": "QQ1cjJZ82Rk=",
39+
"url": "https://www.contrataciones.gov.py/documentos/download/contrato_detalle_entregable/vki7v5RKGrA%253D",
40+
"datePublished": "2020-02-17T13:38:25-04:00",
41+
"language": "es",
42+
"title": "informe_n__13_1581957505348.pdf",
43+
"format": "application/pdf"
44+
}
45+
]
46+
}
47+
]
48+
}
49+
}
50+
]
51+
}
52+
```
53+
1754
## Issues
1855

1956
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)