Complete package for generating ocds structs (with extensions) in golang
This commit is contained in:
1 parent
da726550d4
commit
35974fa070
47 files changed
+9861
-299
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": ["ocid", "id", "date"],
|
||||
"properties": {
|
||||
"ocid": {"type": "string", "description": "Open Contracting ID."},
|
||||
"id": {"type": "string"},
|
||||
"date": {"type": "string", "format": "date-time"},
|
||||
"tender": {"$ref": "#/definitions/Tender"}
|
||||
},
|
||||
"definitions": {
|
||||
"Tender": {
|
||||
"type": "object",
|
||||
"required": ["id"],
|
||||
"properties": {
|
||||
"id": {"type": ["string", "integer"]},
|
||||
"title": {"type": ["string", "null"]}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user