{"openapi":"3.1.0","info":{"title":"eFondovi.rs - public calls for grants and subsidies","version":"1","description":"Subvencije, podsticaji i bespovratna sredstva u Srbiji: otvoreni konkursi i javni pozivi sa rokom i iznosom, provereni prema zvaničnom dokumentu. Read-only. No key is needed; a caller gets at most 120 requests a minute. eFondovi je nezavisan privatni portal i nije državna institucija. Merodavan je zvanični dokument institucije."},"servers":[{"url":"https://efondovi.rs"}],"paths":{"/api/v1/calls":{"get":{"operationId":"searchCalls","summary":"The calls of the catalogue, filtered.","parameters":[{"name":"q","in":"query","required":false,"description":"Words to look for in the title and the summary.","schema":{"type":"string"}},{"name":"state","in":"query","required":false,"description":"Default: open.","schema":{"type":"string","enum":["open","closing","announced","closed","all"]}},{"name":"audience","in":"query","required":false,"description":"The address part of an audience, from /api/v1/filters.","schema":{"type":"string"}},{"name":"sector","in":"query","required":false,"description":"The address part of a sector, from /api/v1/filters.","schema":{"type":"string"}},{"name":"purpose","in":"query","required":false,"description":"The address part of a purpose, from /api/v1/filters.","schema":{"type":"string"}},{"name":"place","in":"query","required":false,"description":"The code of a municipality: its own calls and those open to the whole country.","schema":{"type":"string"}},{"name":"sort","in":"query","required":false,"description":"Default: deadline.","schema":{"type":"string","enum":["deadline","newest"]}},{"name":"page","in":"query","required":false,"description":"From 1.","schema":{"type":"integer","minimum":1}},{"name":"pageSize","in":"query","required":false,"description":"Default 20.","schema":{"type":"integer","minimum":1,"maximum":50}}],"responses":{"200":{"description":"A page of calls.","content":{"application/json":{"schema":{"type":"object","properties":{"site":{"type":"string"},"country":{"type":"string","enum":["mk","rs"]},"language":{"type":"string"},"generatedAt":{"type":"string","format":"date-time"},"notice":{"type":"string","description":"The portal is independent and the official document of the institution is the authority."},"licence":{"type":"string"},"page":{"type":"integer"},"pageSize":{"type":"integer"},"pages":{"type":"integer"},"total":{"type":"integer"},"calls":{"type":"array","items":{"$ref":"#/components/schemas/Call"}}}}}}},"429":{"description":"The request could not be answered.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/calls/{slug}":{"get":{"operationId":"getCall","summary":"One call with its documents, its changes and the proof of each key value.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The call.","content":{"application/json":{"schema":{"type":"object","properties":{"site":{"type":"string"},"country":{"type":"string","enum":["mk","rs"]},"language":{"type":"string"},"generatedAt":{"type":"string","format":"date-time"},"notice":{"type":"string","description":"The portal is independent and the official document of the institution is the authority."},"licence":{"type":"string"},"call":{"$ref":"#/components/schemas/CallDetail"}}}}}},"404":{"description":"The request could not be answered.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The request could not be answered.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/deadlines":{"get":{"operationId":"listDeadlines","summary":"The open calls whose deadline falls within the next days, nearest first.","parameters":[{"name":"days","in":"query","required":false,"description":"Default 30.","schema":{"type":"integer","minimum":1,"maximum":120}}],"responses":{"200":{"description":"The calls.","content":{"application/json":{"schema":{"type":"object","properties":{"site":{"type":"string"},"country":{"type":"string","enum":["mk","rs"]},"language":{"type":"string"},"generatedAt":{"type":"string","format":"date-time"},"notice":{"type":"string","description":"The portal is independent and the official document of the institution is the authority."},"licence":{"type":"string"},"days":{"type":"integer"},"total":{"type":"integer"},"calls":{"type":"array","items":{"$ref":"#/components/schemas/Call"}}}}}}},"429":{"description":"The request could not be answered.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/filters":{"get":{"operationId":"listFilters","summary":"The values the filters accept.","responses":{"200":{"description":"States, audiences, sectors, purposes and places.","content":{"application/json":{"schema":{"type":"object"}}}},"429":{"description":"The request could not be answered.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Call":{"type":"object","required":["slug","url","title","state","verified","institution","officialSourceUrl","deadline","amount"],"properties":{"slug":{"type":"string"},"url":{"type":"string","format":"uri","description":"The page of the call on this site. Cite it."},"markdownUrl":{"type":"string","format":"uri"},"title":{"type":"string"},"reference":{"type":["string","null"]},"kind":{"type":"string"},"state":{"type":"string","enum":["announced","open","closing","closed","cancelled","results"],"description":"closing = open, with at most a week left."},"verified":{"type":"boolean","description":"False: the deadline, the amounts and the conditions are still being compared with the official document and are not given."},"verification":{"type":"string"},"institution":{"type":"object","required":["slug","name","url"],"properties":{"slug":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"}}},"programme":{"anyOf":[{"type":"object","required":["slug","name","url"],"properties":{"slug":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"}}},{"type":"null"}]},"officialSourceUrl":{"type":"string","format":"uri","description":"Where the institution published the call. That document is the authority."},"publishedOn":{"type":["string","null"],"format":"date"},"opensOn":{"type":["string","null"],"format":"date"},"deadline":{"type":"object","properties":{"kind":{"type":"string","description":"A fixed date, a number of days after an event, until the funds are spent, or always open."},"at":{"type":["string","null"],"format":"date-time"},"rule":{"type":["string","null"]},"text":{"type":["string","null"]}}},"amount":{"type":"object","description":"Amounts are decimal texts in the currency named, never fractions of a number.","properties":{"currency":{"type":"string"},"min":{"type":["string","null"]},"max":{"type":["string","null"]},"totalBudget":{"type":["string","null"]}}},"cofinancingPercent":{"type":"object","properties":{"min":{"type":["number","null"]},"max":{"type":["number","null"]}}},"summary":{"type":"object","description":"Who may apply, how much, which documents - in plain words.","properties":{"who":{"type":["string","null"]},"amount":{"type":["string","null"]},"documents":{"type":["string","null"]}}},"audiences":{"type":"array","items":{"type":"object","required":["slug","name"],"properties":{"slug":{"type":"string"},"name":{"type":"string"}}}},"sectors":{"type":"array","items":{"type":"object","required":["slug","name"],"properties":{"slug":{"type":"string"},"name":{"type":"string"}}}},"purposes":{"type":"array","items":{"type":"object","required":["slug","name"],"properties":{"slug":{"type":"string"},"name":{"type":"string"}}}},"municipalities":{"type":"array","description":"Empty: open to the whole country.","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"}}}},"firstSeenAt":{"type":"string","format":"date-time"},"lastCheckedAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"CallDetail":{"allOf":[{"$ref":"#/components/schemas/Call"},{"type":"object","properties":{"requiredDocuments":{"type":"array","items":{}},"applicationMethod":{"type":["string","null"]},"contact":{"type":["string","null"]},"legalBasis":{"type":["string","null"]},"documents":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string","format":"uri"},"kind":{"type":"string"},"pages":{"type":["integer","null"]}}}},"evidence":{"type":"object","description":"For each key value: the sentence of the official document it was taken from, and its page.","additionalProperties":{"type":"object","properties":{"quote":{"type":"string"},"page":{"type":"integer"}}}},"changes":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"summary":{"type":"string"},"detectedAt":{"type":"string","format":"date-time"}}}},"sources":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"official":{"type":"boolean"},"name":{"type":["string","null"]}}}}}}]},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}