Skip to content

Commit

Permalink
docs/examples: Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
duncandewhurst committed Nov 10, 2023
1 parent 109a024 commit 9c37413
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 1 deletion.
54 changes: 54 additions & 0 deletions docs/examples/blank.json
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,23 @@
},
"uri": "string"
}
],
"milestones": [
{
"id": "string",
"title": "string",
"type": "string from milestoneType codelist",
"description": "string",
"code": "string from milestoneCode codelist",
"dueDate": "string",
"dateMet": "string",
"dateModified": "string",
"status": "string from milestoneStatus codelist",
"relatedImplementationMilestone": {
"id": "string",
"title": "title"
}
}
]
},
"releases": [
Expand Down Expand Up @@ -352,6 +369,43 @@
]
}
],
"transactions": [
{
"id": "",
"source": "string",
"date": "string",
"value": {
"amount": "number",
"currency": "string from currency codelist"
},
"payer": {
"name": "string",
"id": ""
},
"payee": {
"name": "string",
"id": ""
},
"uri": "string"
}
],
"milestones": [
{
"id": "string",
"title": "string",
"type": "string from milestoneType codelist",
"description": "string",
"code": "string from milestoneCode codelist",
"dueDate": "string",
"dateMet": "string",
"dateModified": "string",
"status": "string from milestoneStatus codelist",
"relatedImplementationMilestone": {
"id": "string",
"title": "title"
}
}
],
"completion": {
"endDate": "",
"endDateDetails": "",
Expand Down
44 changes: 43 additions & 1 deletion docs/examples/example.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@
"procuringEntity",
"buyer",
"publicAuthority",
"funder"
"funder",
"payee"
],
"people": [
{
Expand Down Expand Up @@ -344,6 +345,11 @@
"jobTitle": "Commercial Contract Officer"
}
]
},
{
"id": "1",
"name": "United Nations Development Programme",
"roles": "payer"
}
],
"publicAuthority": {
Expand Down Expand Up @@ -889,6 +895,42 @@
]
}
],
"milestones": [
{
"id": "1",
"title": "Grant disbursement",
"status": "met",
"dueDate": "2016-01-01T00:00:00Z",
"dateMet": "2016-01-01T00:00:00Z",
"type": "payment",
"value": {
"amount": 5000000,
"currency": "GBP"
}
}
],
"transactions": [
{
"id": "1",
"date": "2016-01-01T00:00:00Z",
"value": {
"amount": 5000000,
"currency": "GBP"
},
"payer": {
"id": "1",
"name": "United Nations Development Programme"
},
"payee": {
"id": "GB-GOR-XX1234",
"name": "Motorways UK"
},
"relatedImplementationMilestone": {
"id": "1",
"title": "Grant disbursement"
}
}
],
"completion": {
"endDate": "2018-12-10T00:00:00Z",
"endDateDetails": "Construction was delayed due to excavation problems when a watercourse was damaged.",
Expand Down

0 comments on commit 9c37413

Please sign in to comment.