diff --git a/backend/Gemfile.lock b/backend/Gemfile.lock
index 2ef1cfdc3..83e9accc6 100644
--- a/backend/Gemfile.lock
+++ b/backend/Gemfile.lock
@@ -9,47 +9,47 @@ GIT
GEM
remote: https://rubygems.org/
specs:
- actioncable (7.0.4.3)
- actionpack (= 7.0.4.3)
- activesupport (= 7.0.4.3)
+ actioncable (7.0.8)
+ actionpack (= 7.0.8)
+ activesupport (= 7.0.8)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
- actionmailbox (7.0.4.3)
- actionpack (= 7.0.4.3)
- activejob (= 7.0.4.3)
- activerecord (= 7.0.4.3)
- activestorage (= 7.0.4.3)
- activesupport (= 7.0.4.3)
+ actionmailbox (7.0.8)
+ actionpack (= 7.0.8)
+ activejob (= 7.0.8)
+ activerecord (= 7.0.8)
+ activestorage (= 7.0.8)
+ activesupport (= 7.0.8)
mail (>= 2.7.1)
net-imap
net-pop
net-smtp
- actionmailer (7.0.4.3)
- actionpack (= 7.0.4.3)
- actionview (= 7.0.4.3)
- activejob (= 7.0.4.3)
- activesupport (= 7.0.4.3)
+ actionmailer (7.0.8)
+ actionpack (= 7.0.8)
+ actionview (= 7.0.8)
+ activejob (= 7.0.8)
+ activesupport (= 7.0.8)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
rails-dom-testing (~> 2.0)
- actionpack (7.0.4.3)
- actionview (= 7.0.4.3)
- activesupport (= 7.0.4.3)
- rack (~> 2.0, >= 2.2.0)
+ actionpack (7.0.8)
+ actionview (= 7.0.8)
+ activesupport (= 7.0.8)
+ rack (~> 2.0, >= 2.2.4)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
- actiontext (7.0.4.3)
- actionpack (= 7.0.4.3)
- activerecord (= 7.0.4.3)
- activestorage (= 7.0.4.3)
- activesupport (= 7.0.4.3)
+ actiontext (7.0.8)
+ actionpack (= 7.0.8)
+ activerecord (= 7.0.8)
+ activestorage (= 7.0.8)
+ activesupport (= 7.0.8)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
- actionview (7.0.4.3)
- activesupport (= 7.0.4.3)
+ actionview (7.0.8)
+ activesupport (= 7.0.8)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
@@ -59,30 +59,30 @@ GEM
activemodel (>= 5.2.0)
activestorage (>= 5.2.0)
activesupport (>= 5.2.0)
- activejob (7.0.4.3)
- activesupport (= 7.0.4.3)
+ activejob (7.0.8)
+ activesupport (= 7.0.8)
globalid (>= 0.3.6)
- activemodel (7.0.4.3)
- activesupport (= 7.0.4.3)
- activerecord (7.0.4.3)
- activemodel (= 7.0.4.3)
- activesupport (= 7.0.4.3)
+ activemodel (7.0.8)
+ activesupport (= 7.0.8)
+ activerecord (7.0.8)
+ activemodel (= 7.0.8)
+ activesupport (= 7.0.8)
activerecord-postgis-adapter (8.0.0)
activerecord (~> 7.0.0)
rgeo-activerecord (~> 7.0.0)
- activestorage (7.0.4.3)
- actionpack (= 7.0.4.3)
- activejob (= 7.0.4.3)
- activerecord (= 7.0.4.3)
- activesupport (= 7.0.4.3)
+ activestorage (7.0.8)
+ actionpack (= 7.0.8)
+ activejob (= 7.0.8)
+ activerecord (= 7.0.8)
+ activesupport (= 7.0.8)
marcel (~> 1.0)
mini_mime (>= 1.1.0)
- activesupport (7.0.4.3)
+ activesupport (7.0.8)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
- addressable (2.8.1)
+ addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
annotate (3.2.0)
activerecord (>= 3.2, < 8.0)
@@ -93,7 +93,7 @@ GEM
bindex (0.8.1)
bootsnap (1.11.1)
msgpack (~> 1.2)
- brakeman (5.2.2)
+ brakeman (6.0.1)
builder (3.2.4)
bundler-audit (0.9.0.1)
bundler (>= 1.2.0, < 3)
@@ -125,7 +125,7 @@ GEM
cuprite (0.13)
capybara (>= 2.1, < 4)
ferrum (~> 0.11.0)
- date (3.3.3)
+ date (3.3.4)
debug (1.5.0)
irb (>= 1.3.6)
reline (>= 0.2.7)
@@ -205,8 +205,8 @@ GEM
googleapis-common-protos-types (>= 1.0.6, < 2.a)
googleauth (>= 0.17.0, < 2.a)
grpc (~> 1.36)
- globalid (1.1.0)
- activesupport (>= 5.0)
+ globalid (1.2.1)
+ activesupport (>= 6.1)
google-apis-core (0.4.2)
addressable (~> 2.5, >= 2.5.1)
googleauth (>= 0.16.2, < 2.a)
@@ -272,15 +272,15 @@ GEM
google-cloud-translate-v3 (0.4.2)
gapic-common (>= 0.7, < 2.a)
google-cloud-errors (~> 1.0)
- google-protobuf (3.21.7)
- google-protobuf (3.21.7-x86_64-darwin)
- google-protobuf (3.21.7-x86_64-linux)
+ google-protobuf (3.25.1)
+ google-protobuf (3.25.1-x86_64-darwin)
+ google-protobuf (3.25.1-x86_64-linux)
googleapis-common-protos (1.3.12)
google-protobuf (~> 3.14)
googleapis-common-protos-types (~> 1.2)
grpc (~> 1.27)
- googleapis-common-protos-types (1.3.1)
- google-protobuf (~> 3.14)
+ googleapis-common-protos-types (1.10.0)
+ google-protobuf (~> 3.18)
googleauth (1.1.3)
faraday (>= 0.17.3, < 3.a)
jwt (>= 1.4, < 3.0)
@@ -288,8 +288,14 @@ GEM
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (>= 0.16, < 2.a)
- grpc (1.45.0)
- google-protobuf (~> 3.19)
+ grpc (1.59.2)
+ google-protobuf (~> 3.24)
+ googleapis-common-protos-types (~> 1.0)
+ grpc (1.59.2-x86_64-darwin)
+ google-protobuf (~> 3.24)
+ googleapis-common-protos-types (~> 1.0)
+ grpc (1.59.2-x86_64-linux)
+ google-protobuf (~> 3.24)
googleapis-common-protos-types (~> 1.0)
grpc-google-iam-v1 (1.1.0)
google-protobuf (~> 3.14)
@@ -297,7 +303,7 @@ GEM
grpc (~> 1.27)
hashdiff (1.0.1)
httpclient (2.8.3)
- i18n (1.12.0)
+ i18n (1.14.1)
concurrent-ruby (~> 1.0)
image_processing (1.12.2)
mini_magick (>= 4.9.5, < 5)
@@ -307,8 +313,8 @@ GEM
reline (>= 0.3.0)
jsbundling-rails (1.0.2)
railties (>= 6.0.0)
- json-schema (2.8.1)
- addressable (>= 2.4)
+ json-schema (3.0.0)
+ addressable (>= 2.8)
jsonapi-serializer (2.2.0)
activesupport (>= 4.2)
jwt (2.3.0)
@@ -321,9 +327,9 @@ GEM
letter_opener (~> 1.7)
railties (>= 5.2)
rexml
- loofah (2.19.1)
+ loofah (2.22.0)
crass (~> 1.0.2)
- nokogiri (>= 1.5.9)
+ nokogiri (>= 1.12.0)
mail (2.8.1)
mini_mime (>= 0.1.1)
net-imap
@@ -335,27 +341,27 @@ GEM
method_source (1.0.0)
mini_magick (4.11.0)
mini_mime (1.1.2)
- mini_portile2 (2.8.1)
- minitest (5.18.0)
+ mini_portile2 (2.8.5)
+ minitest (5.20.0)
msgpack (1.5.1)
multi_json (1.15.0)
multipart-post (2.1.1)
- net-imap (0.3.4)
+ net-imap (0.4.6)
date
net-protocol
net-pop (0.1.2)
net-protocol
- net-protocol (0.2.1)
+ net-protocol (0.2.2)
timeout
- net-smtp (0.3.3)
+ net-smtp (0.4.0)
net-protocol
nio4r (2.5.8)
- nokogiri (1.14.2)
- mini_portile2 (~> 2.8.0)
+ nokogiri (1.15.5)
+ mini_portile2 (~> 2.8.2)
racc (~> 1.4)
- nokogiri (1.14.2-x86_64-darwin)
+ nokogiri (1.15.5-x86_64-darwin)
racc (~> 1.4)
- nokogiri (1.14.2-x86_64-linux)
+ nokogiri (1.15.5-x86_64-linux)
racc (~> 1.4)
optimist (3.0.1)
orm_adapter (0.5.0)
@@ -371,42 +377,44 @@ GEM
pg_search (2.3.6)
activerecord (>= 5.2)
activesupport (>= 5.2)
- public_suffix (5.0.0)
- puma (6.0.0)
+ public_suffix (5.0.4)
+ puma (6.4.0)
nio4r (~> 2.0)
raabro (1.4.0)
- racc (1.6.2)
- rack (2.2.6.4)
+ racc (1.7.3)
+ rack (2.2.8)
rack-test (2.1.0)
rack (>= 1.3)
- rails (7.0.4.3)
- actioncable (= 7.0.4.3)
- actionmailbox (= 7.0.4.3)
- actionmailer (= 7.0.4.3)
- actionpack (= 7.0.4.3)
- actiontext (= 7.0.4.3)
- actionview (= 7.0.4.3)
- activejob (= 7.0.4.3)
- activemodel (= 7.0.4.3)
- activerecord (= 7.0.4.3)
- activestorage (= 7.0.4.3)
- activesupport (= 7.0.4.3)
+ rails (7.0.8)
+ actioncable (= 7.0.8)
+ actionmailbox (= 7.0.8)
+ actionmailer (= 7.0.8)
+ actionpack (= 7.0.8)
+ actiontext (= 7.0.8)
+ actionview (= 7.0.8)
+ activejob (= 7.0.8)
+ activemodel (= 7.0.8)
+ activerecord (= 7.0.8)
+ activestorage (= 7.0.8)
+ activesupport (= 7.0.8)
bundler (>= 1.15.0)
- railties (= 7.0.4.3)
- rails-dom-testing (2.0.3)
- activesupport (>= 4.2.0)
+ railties (= 7.0.8)
+ rails-dom-testing (2.2.0)
+ activesupport (>= 5.0.0)
+ minitest
nokogiri (>= 1.6)
- rails-html-sanitizer (1.5.0)
- loofah (~> 2.19, >= 2.19.1)
- railties (7.0.4.3)
- actionpack (= 7.0.4.3)
- activesupport (= 7.0.4.3)
+ rails-html-sanitizer (1.6.0)
+ loofah (~> 2.21)
+ nokogiri (~> 1.14)
+ railties (7.0.8)
+ actionpack (= 7.0.8)
+ activesupport (= 7.0.8)
method_source
rake (>= 12.2)
thor (~> 1.0)
zeitwerk (~> 2.5)
rainbow (3.1.1)
- rake (13.0.6)
+ rake (13.1.0)
ransack (3.2.1)
activerecord (>= 6.1.5)
activesupport (>= 6.1.5)
@@ -427,7 +435,7 @@ GEM
railties (>= 5.0)
retriable (3.1.2)
rexml (3.2.5)
- rgeo (2.4.0)
+ rgeo (3.0.1)
rgeo-activerecord (7.0.1)
activerecord (>= 5.0)
rgeo (>= 1.0.0)
@@ -458,20 +466,21 @@ GEM
rspec-support (~> 3.11)
rspec-retry (0.6.2)
rspec-core (> 3.3)
- rspec-support (3.11.0)
- rswag (2.5.1)
- rswag-api (= 2.5.1)
- rswag-specs (= 2.5.1)
- rswag-ui (= 2.5.1)
- rswag-api (2.5.1)
- railties (>= 3.1, < 7.1)
- rswag-specs (2.5.1)
- activesupport (>= 3.1, < 7.1)
- json-schema (~> 2.2)
- railties (>= 3.1, < 7.1)
- rswag-ui (2.5.1)
- actionpack (>= 3.1, < 7.1)
- railties (>= 3.1, < 7.1)
+ rspec-support (3.11.1)
+ rswag (2.11.0)
+ rswag-api (= 2.11.0)
+ rswag-specs (= 2.11.0)
+ rswag-ui (= 2.11.0)
+ rswag-api (2.11.0)
+ railties (>= 3.1, < 7.2)
+ rswag-specs (2.11.0)
+ activesupport (>= 3.1, < 7.2)
+ json-schema (>= 2.2, < 4.0)
+ railties (>= 3.1, < 7.2)
+ rspec-core (>= 2.14)
+ rswag-ui (2.11.0)
+ actionpack (>= 3.1, < 7.2)
+ railties (>= 3.1, < 7.2)
rubocop (1.28.2)
parallel (~> 1.10)
parser (>= 3.1.0.0)
@@ -532,8 +541,8 @@ GEM
tailwindcss-rails (2.0.8-x86_64-linux)
railties (>= 6.0.0)
test-prof (1.0.8)
- thor (1.2.1)
- timeout (0.3.2)
+ thor (1.3.0)
+ timeout (0.4.1)
traco (5.3.3)
activerecord (>= 4.2)
trailblazer-option (0.1.2)
@@ -557,12 +566,12 @@ GEM
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
webrick (1.7.0)
- websocket-driver (0.7.5)
+ websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
xpath (3.2.0)
nokogiri (~> 1.8)
- zeitwerk (2.6.7)
+ zeitwerk (2.6.12)
PLATFORMS
ruby
diff --git a/backend/README.md b/backend/README.md
index db12bcaf3..e7e82cfc7 100644
--- a/backend/README.md
+++ b/backend/README.md
@@ -39,6 +39,8 @@ You can use `docker-compose.yml` to run postgres service.
If you want to debug the Rails app, running it through foreman could be not the best idea. In that case you can run css and js bundling
using foreman `bin/watch` and the server in the standard way `bin/rails server` in a separate terminal tab.
+To get rid of basic auth, remove the username / password env vars from `.env`.
+
See the generated api docs (described below) for available API endpoints. The backoffice is accessed at `/backoffice`. All route paths are prefixed with the value of the `RAILS_RELATIVE_URL_ROOT` env var. For example, if `RAILS_RELATIVE_URL_ROOT=backend`, then all the API endpoints and backoffice urls will be prefixed e.g. `/backend/backoffice`.
### Run background jobs
@@ -82,3 +84,20 @@ We use Transifex to provide the best UX for translators. The system is set up to
Static content that needs to be translated has to be added only to `config/locales/zu.yml` file. To push new translations to Transifex use `tx push -s`.
To download already translated content `bin/rails transifex:pull`
+
+### Automatic content translation
+
+We use the Google translate API to provide user-generated content in the languages of the platform. This runs as a background job. As with any external service this may sometimes be unavailable. In case of missing translations, the first place to look are the logs on the jobs instance and the error reporting service.
+
+### Automatic project impact scores calculation
+
+We use ARIES to fetch project demand scores for a given geometry and use those to calculate impact scores. This runs as a background job. As with any external service, this may sometimes be unavailable, and so there are a limited number of retries. In case of missing impact scores, the first place to look are the logs on the jobs instance and the error reporting service. Typical reasons for such situations are:
+ - ARIES is down
+ - The geometry contains some artefacts that ARIES is not able to handle
+
+Proposed steps which should be taken in such case are:
+ - analyse logs and decide which part of communication with ARIES failed and what kind of error is raised (e.g. timeout, 500, etc.)
+ - if the error is not related to the geometry, but to the service itself, double check that ARIES is up and running and try to re-run the job manually
+ - if the error is related to the project geometry, try to fix it and re-run the job manually
+
+More information about the integration can be found [here](app/services/klab/README.md).
diff --git a/backend/app/controllers/api/v1/accounts/investors_controller.rb b/backend/app/controllers/api/v1/accounts/investors_controller.rb
index 710c0c4bb..3b656eed8 100644
--- a/backend/app/controllers/api/v1/accounts/investors_controller.rb
+++ b/backend/app/controllers/api/v1/accounts/investors_controller.rb
@@ -17,6 +17,7 @@ def create
account = Account.create! account_params.merge(owner: current_user, users: [current_user])
current_user.update! role: :investor
investor = Investor.create! investor_params.merge(account: account)
+ Admin.all.each { |admin| AdminMailer.investor_created(admin, investor).deliver_later }
render json: InvestorSerializer.new(
investor,
params: {current_user: current_user, current_ability: current_ability}
diff --git a/backend/app/controllers/api/v1/accounts/project_developers_controller.rb b/backend/app/controllers/api/v1/accounts/project_developers_controller.rb
index 8f39a7a0e..e2bd1859e 100644
--- a/backend/app/controllers/api/v1/accounts/project_developers_controller.rb
+++ b/backend/app/controllers/api/v1/accounts/project_developers_controller.rb
@@ -17,6 +17,7 @@ def create
account = Account.create! account_params.merge(owner: current_user, users: [current_user])
current_user.update! role: :project_developer
project_developer = ProjectDeveloper.create! project_developer_params.merge(account: account)
+ Admin.all.each { |admin| AdminMailer.project_developer_created(admin, project_developer).deliver_later }
render json: ProjectDeveloperSerializer.new(
project_developer,
params: {current_user: current_user, current_ability: current_ability}
diff --git a/backend/app/controllers/api/v1/accounts/projects_controller.rb b/backend/app/controllers/api/v1/accounts/projects_controller.rb
index ec35f2397..bf3196c8c 100644
--- a/backend/app/controllers/api/v1/accounts/projects_controller.rb
+++ b/backend/app/controllers/api/v1/accounts/projects_controller.rb
@@ -109,6 +109,10 @@ def update_params
:progress_impact_tracking,
:description,
:relevant_links,
+ :positive_financial_returns,
+ :last_year_sales_revenue,
+ :climate_change_risks_details,
+ :climate_change_risks_identified,
target_groups: [],
impact_areas: [],
sdgs: [],
diff --git a/backend/app/controllers/backoffice/projects_controller.rb b/backend/app/controllers/backoffice/projects_controller.rb
index 0a87f3ce2..7ba0530b5 100644
--- a/backend/app/controllers/backoffice/projects_controller.rb
+++ b/backend/app/controllers/backoffice/projects_controller.rb
@@ -19,6 +19,7 @@ def index
@pagy_object, @projects = pagy @projects, pagy_defaults
end
format.csv do
+ @projects = @projects.includes(:involved_project_developers, :country, :department, :municipality)
send_data Backoffice::CSV::ProjectExporter.new(@projects).call,
filename: "projects.csv",
type: "text/csv; charset=utf-8"
@@ -85,6 +86,10 @@ def update_params
:description,
:relevant_links,
:verified,
+ :positive_financial_returns,
+ :last_year_sales_revenue,
+ :climate_change_risks_details,
+ :climate_change_risks_identified,
instrument_types: [],
impact_areas: [],
sdgs: [],
diff --git a/backend/app/mailers/admin_mailer.rb b/backend/app/mailers/admin_mailer.rb
index 3e4ce6aa1..70fca4994 100644
--- a/backend/app/mailers/admin_mailer.rb
+++ b/backend/app/mailers/admin_mailer.rb
@@ -8,6 +8,24 @@ def first_time_login_instructions(admin)
end
end
+ def project_developer_created(admin, project_developer)
+ @admin = admin
+ @project_developer = project_developer
+
+ I18n.with_locale admin.locale do
+ mail to: admin.email
+ end
+ end
+
+ def investor_created(admin, investor)
+ @admin = admin
+ @investor = investor
+
+ I18n.with_locale admin.locale do
+ mail to: admin.email
+ end
+ end
+
private
def set_reset_password_token(admin)
diff --git a/backend/app/models/category.rb b/backend/app/models/category.rb
index fb045c5f6..1a3245506 100644
--- a/backend/app/models/category.rb
+++ b/backend/app/models/category.rb
@@ -3,7 +3,7 @@ class Category
TYPES = %w[
sustainable-agrosystems
- tourism-and-recreation
+ sustainable-tourism
forestry-and-agroforestry
non-timber-forest-production
human-capital-and-inclusion
@@ -11,7 +11,7 @@ class Category
COLORS = {
"sustainable-agrosystems": "#E7C343",
- "tourism-and-recreation": "#4492E5",
+ "sustainable-tourism": "#4492E5",
"forestry-and-agroforestry": "#E57D57",
"non-timber-forest-production": "#404B9A",
"human-capital-and-inclusion": "#A0616A"
diff --git a/backend/app/models/project.rb b/backend/app/models/project.rb
index 3ca9d2e7a..e25d10c06 100644
--- a/backend/app/models/project.rb
+++ b/backend/app/models/project.rb
@@ -35,7 +35,9 @@ class Project < ApplicationRecord
:replicability,
:funding_plan,
:progress_impact_tracking,
- :relevant_links
+ :relevant_links,
+ :positive_financial_returns,
+ :climate_change_risks_details
enum status: ProjectStatus::TYPES_WITH_CODE, _default: :published
ransacker :status, formatter: proc { |v| statuses[v] }
diff --git a/backend/app/serializers/api/v1/project_serializer.rb b/backend/app/serializers/api/v1/project_serializer.rb
index 7ca4a083b..63480ceb6 100644
--- a/backend/app/serializers/api/v1/project_serializer.rb
+++ b/backend/app/serializers/api/v1/project_serializer.rb
@@ -52,7 +52,11 @@ class ProjectSerializer < BaseSerializer
:priority_landscape_water_impact,
:priority_landscape_community_impact,
:priority_landscape_total_impact,
- :impact_calculated
+ :impact_calculated,
+ :positive_financial_returns,
+ :last_year_sales_revenue,
+ :climate_change_risks_details,
+ :climate_change_risks_identified
belongs_to :project_developer
belongs_to :country, serializer: LocationSerializer
diff --git a/backend/app/services/backoffice/csv/open_call_exporter.rb b/backend/app/services/backoffice/csv/open_call_exporter.rb
index 67d00529a..13cdf20de 100644
--- a/backend/app/services/backoffice/csv/open_call_exporter.rb
+++ b/backend/app/services/backoffice/csv/open_call_exporter.rb
@@ -9,11 +9,11 @@ def call
column(I18n.t("backoffice.open_calls.index.applications")) { |r| r.open_call_applications_count }
column(I18n.t("backoffice.common.status")) { |r|
if r.launched?
- I18n.t("enum.open_call_status.launched")
+ I18n.t("enums.open_call_status.launched.name")
elsif r.closed?
- I18n.t("enum.open_call_status.closed")
+ I18n.t("enums.open_call_status.closed.name")
else
- I18n.t("enum.open_call_status.draft")
+ I18n.t("enums.open_call_status.draft.name")
end
}
column(I18n.t("backoffice.common.verification")) { |r|
diff --git a/backend/app/services/backoffice/csv/project_exporter.rb b/backend/app/services/backoffice/csv/project_exporter.rb
index 113e35e87..e99d66c72 100644
--- a/backend/app/services/backoffice/csv/project_exporter.rb
+++ b/backend/app/services/backoffice/csv/project_exporter.rb
@@ -4,15 +4,59 @@ class ProjectExporter < BaseExporter
def call
generate_csv do
column(I18n.t("backoffice.common.project_name")) { |r| r.name }
- column(I18n.t("backoffice.common.project_developer")) { |r| r.project_developer.name }
- column(I18n.t("backoffice.common.category")) { |r| Category.find(r.category).name }
- column(I18n.t("backoffice.projects.index.priority_landscape")) { |r| r.priority_landscape&.name }
column(I18n.t("backoffice.common.status")) { |r|
- r.published? ? I18n.t("enum.project_status.published") : I18n.t("enum.project_status.draft")
+ r.published? ? I18n.t("enums.project_status.published.name") : I18n.t("enums.project_status.draft.name")
}
column(I18n.t("backoffice.common.verification")) { |r|
r.verified? ? I18n.t("backoffice.common.verified") : I18n.t("backoffice.common.unverified")
}
+ column(I18n.t("simple_form.labels.project.country")) { |r| r.country.name }
+ column(I18n.t("simple_form.labels.project.department")) { |r| r.department.name }
+ column(I18n.t("simple_form.labels.project.municipality")) { |r| r.municipality.name }
+ column(I18n.t("backoffice.projects.index.priority_landscape")) { |r| r.priority_landscape&.name }
+ column(I18n.t("simple_form.labels.project.project_developer")) { |r| r.project_developer.name }
+ column(I18n.t("simple_form.labels.project.involved_project_developers")) do |r|
+ r.involved_project_developers.map(&:name).join(", ")
+ end
+ column(I18n.t("simple_form.labels.project.development_stage")) do |r|
+ ProjectDevelopmentStage.find(r.development_stage).name
+ end
+ column(I18n.t("simple_form.labels.project.estimated_duration_in_months")) { |r| r.estimated_duration_in_months }
+ column(I18n.t("backoffice.common.category")) { |r| Category.find(r.category).name }
+ column(I18n.t("simple_form.labels.project.problem")) { |r| r.problem }
+ column(I18n.t("simple_form.labels.project.solution")) { |r| r.solution }
+ column(I18n.t("simple_form.labels.project.target_groups")) do |r|
+ r.target_groups.to_a.map { |tg| ProjectTargetGroup.find(tg).name }.join(", ")
+ end
+ column(I18n.t("simple_form.labels.project.expected_impact")) { |r| r.expected_impact }
+ column(I18n.t("backoffice.projects.export.impact_areas")) do |r|
+ r.impact_areas.to_a.map { |ia| ImpactArea.find(ia).name }.join(", ")
+ end
+ column(I18n.t("backoffice.projects.export.sdgs")) do |r|
+ r.sdgs.map { |sdg| Sdg.find(sdg).name }.join(", ")
+ end
+ column(I18n.t("backoffice.projects.export.looking_for_funding")) { |r| I18n.t(r.looking_for_funding.to_s) }
+ column(I18n.t("backoffice.projects.export.ticket_size")) do |r|
+ r.ticket_size.present? ? "#{TicketSize.find(r.ticket_size).description} (#{TicketSize.find(r.ticket_size).name})" : ""
+ end
+ column(I18n.t("backoffice.projects.export.instrument_types")) do |r|
+ r.instrument_types.to_a.map { |it| InstrumentType.find(it).name }.join(", ")
+ end
+ column(I18n.t("simple_form.labels.project.funding_plan")) { |r| r.funding_plan }
+ column(I18n.t("simple_form.labels.project.received_funding")) { |r| I18n.t(r.received_funding) }
+ column(I18n.t("simple_form.labels.project.received_funding_amount_usd")) { |r| r.received_funding_amount_usd }
+ column(I18n.t("simple_form.labels.project.received_funding_investor")) { |r| r.received_funding_investor }
+ column(I18n.t("simple_form.labels.project.positive_financial_returns")) { |r| r.positive_financial_returns }
+ column(I18n.t("simple_form.labels.project.last_year_sales_revenue")) { |r| r.last_year_sales_revenue }
+ column(I18n.t("simple_form.labels.project.climate_change_risks_identified")) do |r|
+ I18n.t(r.climate_change_risks_identified)
+ end
+ column(I18n.t("simple_form.labels.project.climate_change_risks_details")) { |r| r.climate_change_risks_details }
+ column(I18n.t("simple_form.labels.project.replicability")) { |r| r.replicability }
+ column(I18n.t("simple_form.labels.project.sustainability")) { |r| r.sustainability }
+ column(I18n.t("simple_form.labels.project.progress_impact_tracking")) { |r| r.progress_impact_tracking }
+ column(I18n.t("simple_form.labels.project.description")) { |r| r.description }
+ column(I18n.t("simple_form.labels.project.relevant_links")) { |r| r.relevant_links }
end
end
end
diff --git a/backend/app/services/importers/geo_jsons/mosaics.rb b/backend/app/services/importers/geo_jsons/mosaics.rb
index e4d449338..d5b5194c7 100644
--- a/backend/app/services/importers/geo_jsons/mosaics.rb
+++ b/backend/app/services/importers/geo_jsons/mosaics.rb
@@ -5,7 +5,12 @@ class Mosaics < Base
"Corazón Amazonía" => {name_en: "Amazon Heart", name_es: "Corazón Amazonía", name_pt: "Coração da Amazônia"},
"Piedemonte Amazónico - Macizo" => {name_en: "Amazonian Piedmont Massif", name_es: "Piedemonte Amazónico - Macizo", name_pt: "Maciço Piedemonte Amazônico"},
"Transición Orinoquía" => {name_en: "Orinoquía Transition", name_es: "Transición Orinoquía", name_pt: "Transição Orinoquía"},
- "Orinoquía" => {name_en: "Orinoquía", name_es: "Orinoquía", name_pt: "Orinoquía"}
+ "Orinoquía" => {name_en: "Orinoquía", name_es: "Orinoquía", name_pt: "Orinoquía"},
+ "Cordillera Oriental" => {name_en: "Eastern Mountain Range", name_es: "Cordillera Oriental", name_pt: "Cordilheira Oriental"},
+ "Cordillera Central" => {name_en: "Central Mountain Range", name_es: "Cordillera Central", name_pt: "Cordilheira Central"},
+ "Pacífico - Marino Costero" => {name_en: "Pacific - Coastal Marine", name_es: "Pacífico - Marino Costero", name_pt: "Pacífico - Marinho Costeiro"},
+ "Caribe" => {name_en: "Caribbean", name_es: "Caribe", name_pt: "Caribe"},
+ "Transición Pacífico - Caribe" => {name_en: "Pacific - Caribbean Transition", name_es: "Transición Pacífico - Caribe", name_pt: "Transição Pacífico - Caribe"}
}
PRIORITY_LANDSCAPE_CODES = {
"Corazón Amazonía" => "priority-landscape-amazon-heart",
diff --git a/backend/app/views/admin_mailer/investor_created.html.erb b/backend/app/views/admin_mailer/investor_created.html.erb
new file mode 100644
index 000000000..74b0229c2
--- /dev/null
+++ b/backend/app/views/admin_mailer/investor_created.html.erb
@@ -0,0 +1,3 @@
+
<%= t "admin_mailer.greetings", full_name: @admin.full_name %>
+<%= t "admin_mailer.investor_created.content_html", new_investor_url: link_to('New Investor', edit_backoffice_investor_url(@investor)) %>
+<%= t "admin_mailer.farewell_html" %>
\ No newline at end of file
diff --git a/backend/app/views/admin_mailer/project_developer_created.html.erb b/backend/app/views/admin_mailer/project_developer_created.html.erb
new file mode 100644
index 000000000..175bba4b7
--- /dev/null
+++ b/backend/app/views/admin_mailer/project_developer_created.html.erb
@@ -0,0 +1,3 @@
+<%= t "admin_mailer.greetings", full_name: @admin.full_name %>
+<%= t "admin_mailer.project_developer_created.content_html", new_pd_url: link_to('New Project Developer', edit_backoffice_project_developer_url(@project_developer)) %>
+<%= t "admin_mailer.farewell_html" %>
\ No newline at end of file
diff --git a/backend/app/views/backoffice/projects/_form.html.erb b/backend/app/views/backoffice/projects/_form.html.erb
index 83f5f9520..01ca37e62 100644
--- a/backend/app/views/backoffice/projects/_form.html.erb
+++ b/backend/app/views/backoffice/projects/_form.html.erb
@@ -47,7 +47,7 @@
<%= localized_input f, :solution, content_language, label: t("simple_form.labels.project.solution"), as: :text, input_html: {rows: 5} %>
<%= f.input :target_groups, collection: ProjectTargetGroup.all, label: t("simple_form.labels.project.target_groups"), as: :check_boxes %>
<%= localized_input f, :expected_impact, content_language, label: t("simple_form.labels.project.expected_impact"), as: :text, input_html: {rows: 5} %>
-
+
<%= t(".impact") %>
@@ -72,6 +72,14 @@
<%= f.input :received_funding_investor, label: t("simple_form.labels.project.received_funding_investor"), as: :string %>
+
+ <%= t(".other_information") %>
+
+ <%= localized_input f, :positive_financial_returns, content_language, label: t("simple_form.labels.project.positive_financial_returns"), as: :text, input_html: {rows: 5} %>
+ <%= f.input :last_year_sales_revenue, label: t("simple_form.labels.project.last_year_sales_revenue") %>
+ <%= f.input :climate_change_risks_identified, label: t("simple_form.labels.project.climate_change_risks_identified"), as: :radio_buttons %>
+ <%= localized_input f, :climate_change_risks_details, content_language, label: t("simple_form.labels.project.climate_change_risks_details"), as: :text, input_html: {rows: 5} %>
+
<%= t(".how_will_project_grow") %>
diff --git a/backend/app/views/backoffice/projects/index.html.erb b/backend/app/views/backoffice/projects/index.html.erb
index 6fddf34cd..c04b35587 100644
--- a/backend/app/views/backoffice/projects/index.html.erb
+++ b/backend/app/views/backoffice/projects/index.html.erb
@@ -39,8 +39,8 @@
<%= Category.find(p.category).name %>
<%= p.priority_landscape&.name %>
- <%= status_tag :published, t('enum.project_status.published') if p.published? %>
- <%= status_tag :draft, t('enum.project_status.draft') unless p.published? %>
+ <%= status_tag :published, t('enums.project_status.published.name') if p.published? %>
+ <%= status_tag :draft, t('enums.project_status.draft.name') unless p.published? %>
<%= status_tag :verified, t('backoffice.common.verified') if p.verified? %>
diff --git a/backend/config/locales/zu.yml b/backend/config/locales/zu.yml
index b749752f9..fc514ffa0 100644
--- a/backend/config/locales/zu.yml
+++ b/backend/config/locales/zu.yml
@@ -84,6 +84,10 @@ zu:
progress_impact_tracking: Progress and impact tracking
description: Short description of the project
relevant_links: Relevant links (optional)
+ positive_financial_returns: If your current business model generates positive financial returns, please explain what they consist of
+ last_year_sales_revenue: What was the sales revenue in the last fiscal year-end?
+ climate_change_risks_identified: Has the project identified the risks of climate change to which the business is exposed and potential mitigation strategies?
+ climate_change_risks_details: If yes, please, describe the risks of climate change
open_call:
name: Open call name
picture: Picture
@@ -267,6 +271,7 @@ zu:
description: Description of the project
impact: Impact
funding_information: Funding information
+ other_information: Other information
how_will_project_grow: How the project will grow
shapefile_upload: Upload Shapefile/KML
shapefile_uploading: Uploading...
@@ -275,6 +280,12 @@ zu:
not_valid_kml: This .kml/.kmz file does not have a valid XML syntax. Please try to validate it and resolve the issues.
not_supported: This file is not supported. Please try uploading a different format.
unable_to_parse: Unable to parse the file. Please try uploading a different format.
+ export:
+ impact_areas: Impact areas
+ sdgs: SDGs
+ looking_for_funding: Project currently looking for funding?
+ ticket_size: Amount of money that project needs
+ instrument_types: Instrument types
open_calls:
information: Information
status: Verification status
@@ -350,6 +361,12 @@ zu:
subject: Your HeCo Invest Admin account was created!
content_html: "To login for first time, please %{reset_password_link}."
reset_password_link: setup your new password
+ investor_created:
+ subject: New Investor account created!
+ content_html: "A new Investor account has been created and needs your inspection for approval. Please, review the account: %{new_investor_url}"
+ project_developer_created:
+ subject: New Project developer account created!
+ content_html: "A new Project developer account has been created and needs your inspection for approval. Please, review the account: %{new_pd_url}"
project_developer_mailer:
greetings: Dear %{full_name},
farewell_html: Best Regards, Your HeCo Invest Team
@@ -396,8 +413,8 @@ zu:
sustainable-agrosystems:
name: Sustainable Agrosystems
description: Sustainable and regenerative agriculture, fishing, and aquaculture as well as manufacturing of derived subproducts.
- tourism-and-recreation:
- name: Tourism and Recreation
+ sustainable-tourism:
+ name: Sustainable Tourism
description: Accommodation, travel, transportation, hospitality, visitor experiences and eco-tourism projects.
forestry-and-agroforestry:
name: Forestry and Agroforestry
diff --git a/backend/db/migrate/20231120155058_add_financial_and_climate_change_data_to_projects.rb b/backend/db/migrate/20231120155058_add_financial_and_climate_change_data_to_projects.rb
new file mode 100644
index 000000000..4f8589473
--- /dev/null
+++ b/backend/db/migrate/20231120155058_add_financial_and_climate_change_data_to_projects.rb
@@ -0,0 +1,12 @@
+class AddFinancialAndClimateChangeDataToProjects < ActiveRecord::Migration[7.0]
+ def change
+ add_column :projects, :positive_financial_returns_en, :text, null: true
+ add_column :projects, :positive_financial_returns_es, :text, null: true
+ add_column :projects, :positive_financial_returns_pt, :text, null: true
+ add_column :projects, :last_year_sales_revenue, :decimal, null: true
+ add_column :projects, :climate_change_risks_details_en, :text, null: true
+ add_column :projects, :climate_change_risks_details_es, :text, null: true
+ add_column :projects, :climate_change_risks_details_pt, :text, null: true
+ add_column :projects, :climate_change_risks_identified, :boolean, default: false
+ end
+end
diff --git a/backend/db/migrate/20231123093623_change_tourism_and_recreation_to_sustainable_tourism.rb b/backend/db/migrate/20231123093623_change_tourism_and_recreation_to_sustainable_tourism.rb
new file mode 100644
index 000000000..7b6699426
--- /dev/null
+++ b/backend/db/migrate/20231123093623_change_tourism_and_recreation_to_sustainable_tourism.rb
@@ -0,0 +1,35 @@
+class ChangeTourismAndRecreationToSustainableTourism < ActiveRecord::Migration[7.0]
+ def up
+ Project.where(category: "tourism-and-recreation").update_all(category: "sustainable-tourism")
+
+ [Investor, ProjectDeveloper].each do |model|
+ records_to_upsert = model.where("categories @> ?", "{tourism-and-recreation}")
+ .map do |record|
+ new_categories = record.categories.map do |category|
+ category == "tourism-and-recreation" ? "sustainable-tourism" : category
+ end
+
+ record.attributes.merge(categories: new_categories)
+ end
+
+ model.upsert_all(records_to_upsert, unique_by: :id) unless records_to_upsert.empty?
+ end
+ end
+
+ def down
+ Project.where(category: "sustainable-tourism").update_all(category: "tourism-and-recreation")
+
+ [Investor, ProjectDeveloper].each do |model|
+ records_to_upsert = model.where("categories @> ?", "{sustainable-tourism}")
+ .map do |record|
+ new_categories = record.categories.map do |category|
+ category == "sustainable-tourism" ? "tourism-and-recreation" : category
+ end
+
+ record.attributes.merge(categories: new_categories)
+ end
+
+ model.upsert_all(records_to_upsert, unique_by: :id) unless records_to_upsert.empty?
+ end
+ end
+end
diff --git a/backend/db/migrate/20231128121022_update_priority_landscape_translations.rb b/backend/db/migrate/20231128121022_update_priority_landscape_translations.rb
new file mode 100644
index 000000000..1b756d404
--- /dev/null
+++ b/backend/db/migrate/20231128121022_update_priority_landscape_translations.rb
@@ -0,0 +1,11 @@
+class UpdatePriorityLandscapeTranslations < ActiveRecord::Migration[7.0]
+ def up
+ Rake::Task["priority_landscapes:translate"].execute
+ Location.priority_landscape.update_all visible: true
+ end
+
+ def down
+ new_location_names_en = ["Eastern Mountain", "Central Mountain Range", "Pacific - Coastal Marine", "Caribbean", "Pacific - Caribbean Transition"]
+ Location.priority_landscape.where(name_en: new_location_names_en).update_all(visible: false)
+ end
+end
diff --git a/backend/db/schema.rb b/backend/db/schema.rb
index bc404a0be..33e57abeb 100644
--- a/backend/db/schema.rb
+++ b/backend/db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema[7.0].define(version: 2023_02_03_122726) do
+ActiveRecord::Schema[7.0].define(version: 2023_11_28_121022) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
enable_extension "postgis"
@@ -419,6 +419,14 @@
t.boolean "municipality_demands_calculated", default: false
t.boolean "hydrobasin_demands_calculated", default: false
t.boolean "priority_landscape_demands_calculated", default: false
+ t.text "positive_financial_returns_en"
+ t.text "positive_financial_returns_es"
+ t.text "positive_financial_returns_pt"
+ t.decimal "last_year_sales_revenue"
+ t.text "climate_change_risks_details_en"
+ t.text "climate_change_risks_details_es"
+ t.text "climate_change_risks_details_pt"
+ t.boolean "climate_change_risks_identified", default: false
t.index ["country_id"], name: "index_projects_on_country_id"
t.index ["department_id"], name: "index_projects_on_department_id"
t.index ["municipality_id"], name: "index_projects_on_municipality_id"
diff --git a/backend/db/seeds.rb b/backend/db/seeds.rb
index 448775eff..68b87963e 100644
--- a/backend/db/seeds.rb
+++ b/backend/db/seeds.rb
@@ -8,6 +8,11 @@
Location.delete_all
Admin.delete_all
+ Investor.reset_column_information
+ ProjectDeveloper.reset_column_information
+ OpenCall.reset_column_information
+ Project.reset_column_information
+
Admin.create!(first_name: "Admin", last_name: "Example", password: "SuperSecret1234", email: "admin@example.com", ui_language: "en")
Rake::Task["import_geojsons:colombia"].invoke
diff --git a/backend/spec/factories/project.rb b/backend/spec/factories/project.rb
index 2a2244162..d711f7cf1 100644
--- a/backend/spec/factories/project.rb
+++ b/backend/spec/factories/project.rb
@@ -50,6 +50,20 @@
Faker::Lorem.paragraph(sentence_count: 4)
end
+ sequence(:positive_financial_returns) do |n|
+ Faker::Config.random = Random.new(n)
+ Faker::Lorem.paragraph(sentence_count: 2)
+ end
+
+ last_year_sales_revenue { 10000 }
+
+ climate_change_risks_identified { true }
+
+ sequence(:climate_change_risks_details) do |n|
+ Faker::Config.random = Random.new(n)
+ Faker::Lorem.paragraph(sentence_count: 2)
+ end
+
looking_for_funding { true }
instrument_types { %w[grant loan] }
ticket_size { "scaling" }
diff --git a/backend/spec/fixtures/snapshots/api/v1/account/open-call-applications-create.json b/backend/spec/fixtures/snapshots/api/v1/account/open-call-applications-create.json
index 10e694e3a..f94a2f34a 100644
--- a/backend/spec/fixtures/snapshots/api/v1/account/open-call-applications-create.json
+++ b/backend/spec/fixtures/snapshots/api/v1/account/open-call-applications-create.json
@@ -142,7 +142,11 @@
"latitude": 39.21309022641362,
"longitude": -5.87810037515931,
"favourite": false,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Enim repellat pariatur. Earum modi eos.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Enim repellat pariatur. Earum modi eos.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
diff --git a/backend/spec/fixtures/snapshots/api/v1/account/projects-favourites.json b/backend/spec/fixtures/snapshots/api/v1/account/projects-favourites.json
index 0bcdcd660..e14257a46 100644
--- a/backend/spec/fixtures/snapshots/api/v1/account/projects-favourites.json
+++ b/backend/spec/fixtures/snapshots/api/v1/account/projects-favourites.json
@@ -106,7 +106,11 @@
"latitude": 39.21309022641362,
"longitude": -5.87810037515931,
"favourite": true,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Enim repellat pariatur. Earum modi eos.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Enim repellat pariatur. Earum modi eos.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
diff --git a/backend/spec/fixtures/snapshots/api/v1/account/projects.json b/backend/spec/fixtures/snapshots/api/v1/account/projects.json
index faf7fe9d2..a35be883f 100644
--- a/backend/spec/fixtures/snapshots/api/v1/account/projects.json
+++ b/backend/spec/fixtures/snapshots/api/v1/account/projects.json
@@ -106,7 +106,11 @@
"latitude": 39.21309022641362,
"longitude": -5.87810037515931,
"favourite": false,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Dolores fugiat nesciunt. Ut laborum dolores.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Dolores fugiat nesciunt. Ut laborum dolores.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
@@ -254,7 +258,11 @@
"latitude": 39.21309022641362,
"longitude": -5.87810037515931,
"favourite": false,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Placeat commodi libero. Quo recusandae repellat.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Placeat commodi libero. Quo recusandae repellat.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
@@ -402,7 +410,11 @@
"latitude": 39.21309022641362,
"longitude": -5.87810037515931,
"favourite": false,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Enim repellat pariatur. Earum modi eos.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Enim repellat pariatur. Earum modi eos.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
diff --git a/backend/spec/fixtures/snapshots/api/v1/accounts-investor-create.json b/backend/spec/fixtures/snapshots/api/v1/accounts-investor-create.json
index 352d0a2e5..d8306225f 100644
--- a/backend/spec/fixtures/snapshots/api/v1/accounts-investor-create.json
+++ b/backend/spec/fixtures/snapshots/api/v1/accounts-investor-create.json
@@ -15,7 +15,7 @@
"investor_type": "investor",
"categories": [
"sustainable-agrosystems",
- "tourism-and-recreation"
+ "sustainable-tourism"
],
"ticket_sizes": [
"small-grants"
diff --git a/backend/spec/fixtures/snapshots/api/v1/accounts-investor-update.json b/backend/spec/fixtures/snapshots/api/v1/accounts-investor-update.json
index f32534599..363b249e5 100644
--- a/backend/spec/fixtures/snapshots/api/v1/accounts-investor-update.json
+++ b/backend/spec/fixtures/snapshots/api/v1/accounts-investor-update.json
@@ -15,7 +15,7 @@
"investor_type": "investor",
"categories": [
"sustainable-agrosystems",
- "tourism-and-recreation"
+ "sustainable-tourism"
],
"ticket_sizes": [
"small-grants"
diff --git a/backend/spec/fixtures/snapshots/api/v1/accounts-project-create.json b/backend/spec/fixtures/snapshots/api/v1/accounts-project-create.json
index 3b0b9b113..6136afaa0 100644
--- a/backend/spec/fixtures/snapshots/api/v1/accounts-project-create.json
+++ b/backend/spec/fixtures/snapshots/api/v1/accounts-project-create.json
@@ -106,7 +106,11 @@
"project_climate_impact": null,
"project_water_impact": null,
"project_community_impact": null,
- "project_total_impact": null
+ "project_total_impact": null,
+ "positive_financial_returns": null,
+ "last_year_sales_revenue": null,
+ "climate_change_risks_details": null,
+ "climate_change_risks_identified": false
},
"relationships": {
"project_developer": {
diff --git a/backend/spec/fixtures/snapshots/api/v1/accounts-project-developer-create.json b/backend/spec/fixtures/snapshots/api/v1/accounts-project-developer-create.json
index cb0a58f69..cfdee2361 100644
--- a/backend/spec/fixtures/snapshots/api/v1/accounts-project-developer-create.json
+++ b/backend/spec/fixtures/snapshots/api/v1/accounts-project-developer-create.json
@@ -15,7 +15,7 @@
"project_developer_type": "ngo",
"categories": [
"sustainable-agrosystems",
- "tourism-and-recreation"
+ "sustainable-tourism"
],
"impacts": [
"biodiversity",
diff --git a/backend/spec/fixtures/snapshots/api/v1/accounts-project-developer-update.json b/backend/spec/fixtures/snapshots/api/v1/accounts-project-developer-update.json
index 2cfa995d4..aaa601342 100644
--- a/backend/spec/fixtures/snapshots/api/v1/accounts-project-developer-update.json
+++ b/backend/spec/fixtures/snapshots/api/v1/accounts-project-developer-update.json
@@ -15,7 +15,7 @@
"project_developer_type": "ngo",
"categories": [
"sustainable-agrosystems",
- "tourism-and-recreation"
+ "sustainable-tourism"
],
"impacts": [
"biodiversity",
diff --git a/backend/spec/fixtures/snapshots/api/v1/accounts-project-update.json b/backend/spec/fixtures/snapshots/api/v1/accounts-project-update.json
index 7d88017c5..69b533b80 100644
--- a/backend/spec/fixtures/snapshots/api/v1/accounts-project-update.json
+++ b/backend/spec/fixtures/snapshots/api/v1/accounts-project-update.json
@@ -76,7 +76,11 @@
"project_climate_impact": null,
"project_water_impact": null,
"project_community_impact": null,
- "project_total_impact": null
+ "project_total_impact": null,
+ "positive_financial_returns": "Updated financial returns data",
+ "last_year_sales_revenue": "20000.0",
+ "climate_change_risks_details": "Updated climate risk details",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
diff --git a/backend/spec/fixtures/snapshots/api/v1/enums.json b/backend/spec/fixtures/snapshots/api/v1/enums.json
index 49001196e..7769e8f37 100644
--- a/backend/spec/fixtures/snapshots/api/v1/enums.json
+++ b/backend/spec/fixtures/snapshots/api/v1/enums.json
@@ -10,10 +10,10 @@
}
},
{
- "id": "tourism-and-recreation",
+ "id": "sustainable-tourism",
"type": "category",
"attributes": {
- "name": "Tourism and Recreation",
+ "name": "Sustainable Tourism",
"color": "#4492E5",
"description": "Accommodation, travel, transportation, hospitality, visitor experiences and eco-tourism projects."
}
diff --git a/backend/spec/fixtures/snapshots/api/v1/get-project-developer-approved-account.json b/backend/spec/fixtures/snapshots/api/v1/get-project-developer-approved-account.json
index a2cad44b9..9531323a6 100644
--- a/backend/spec/fixtures/snapshots/api/v1/get-project-developer-approved-account.json
+++ b/backend/spec/fixtures/snapshots/api/v1/get-project-developer-approved-account.json
@@ -14,7 +14,7 @@
"mission": "Yellow Banana",
"project_developer_type": "ngo",
"categories": [
- "tourism-and-recreation"
+ "sustainable-tourism"
],
"impacts": [
"climate",
diff --git a/backend/spec/fixtures/snapshots/api/v1/get-project-developer-include-relationships.json b/backend/spec/fixtures/snapshots/api/v1/get-project-developer-include-relationships.json
index f79a6f1ab..7282884ef 100644
--- a/backend/spec/fixtures/snapshots/api/v1/get-project-developer-include-relationships.json
+++ b/backend/spec/fixtures/snapshots/api/v1/get-project-developer-include-relationships.json
@@ -127,7 +127,11 @@
"latitude": 39.21309022641362,
"longitude": -5.87810037515931,
"favourite": null,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Enim repellat pariatur. Earum modi eos.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Enim repellat pariatur. Earum modi eos.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
@@ -278,7 +282,11 @@
"latitude": 39.21309022641362,
"longitude": -5.87810037515931,
"favourite": null,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Placeat commodi libero. Quo recusandae repellat.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Placeat commodi libero. Quo recusandae repellat.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
diff --git a/backend/spec/fixtures/snapshots/api/v1/get-project-developer.json b/backend/spec/fixtures/snapshots/api/v1/get-project-developer.json
index 63debfb8a..3e3a1c3a0 100644
--- a/backend/spec/fixtures/snapshots/api/v1/get-project-developer.json
+++ b/backend/spec/fixtures/snapshots/api/v1/get-project-developer.json
@@ -14,7 +14,7 @@
"mission": "Yellow Banana",
"project_developer_type": "ngo",
"categories": [
- "tourism-and-recreation"
+ "sustainable-tourism"
],
"impacts": [
"climate",
diff --git a/backend/spec/fixtures/snapshots/api/v1/get-project.json b/backend/spec/fixtures/snapshots/api/v1/get-project.json
index 00203a75c..674a78334 100644
--- a/backend/spec/fixtures/snapshots/api/v1/get-project.json
+++ b/backend/spec/fixtures/snapshots/api/v1/get-project.json
@@ -97,7 +97,11 @@
"project_climate_impact": null,
"project_water_impact": null,
"project_community_impact": null,
- "project_total_impact": null
+ "project_total_impact": null,
+ "positive_financial_returns": "Enim repellat pariatur. Earum modi eos.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Enim repellat pariatur. Earum modi eos.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
diff --git a/backend/spec/fixtures/snapshots/api/v1/project-developers-include-relationships.json b/backend/spec/fixtures/snapshots/api/v1/project-developers-include-relationships.json
index 22cca0181..23c040ab9 100644
--- a/backend/spec/fixtures/snapshots/api/v1/project-developers-include-relationships.json
+++ b/backend/spec/fixtures/snapshots/api/v1/project-developers-include-relationships.json
@@ -255,7 +255,11 @@
"latitude": 39.21309022641362,
"longitude": -5.87810037515931,
"favourite": null,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Enim repellat pariatur. Earum modi eos.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Enim repellat pariatur. Earum modi eos.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
@@ -406,7 +410,11 @@
"latitude": 39.21309022641362,
"longitude": -5.87810037515931,
"favourite": null,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Placeat commodi libero. Quo recusandae repellat.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Placeat commodi libero. Quo recusandae repellat.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
diff --git a/backend/spec/fixtures/snapshots/api/v1/project_developers.json b/backend/spec/fixtures/snapshots/api/v1/project_developers.json
index cc3f04339..7a6fb357c 100644
--- a/backend/spec/fixtures/snapshots/api/v1/project_developers.json
+++ b/backend/spec/fixtures/snapshots/api/v1/project_developers.json
@@ -429,7 +429,7 @@
"mission": "Yellow Banana",
"project_developer_type": "ngo",
"categories": [
- "tourism-and-recreation"
+ "sustainable-tourism"
],
"impacts": [
"climate",
diff --git a/backend/spec/fixtures/snapshots/api/v1/projects.json b/backend/spec/fixtures/snapshots/api/v1/projects.json
index 4fba72c84..d3f2409d0 100644
--- a/backend/spec/fixtures/snapshots/api/v1/projects.json
+++ b/backend/spec/fixtures/snapshots/api/v1/projects.json
@@ -106,7 +106,11 @@
"latitude": 39.21309022641362,
"longitude": -5.87810037515931,
"favourite": null,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Placeat commodi libero. Quo recusandae repellat.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Placeat commodi libero. Quo recusandae repellat.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
@@ -254,7 +258,11 @@
"latitude": 39.21309022641362,
"longitude": -5.87810037515931,
"favourite": null,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Et quaerat omnis. Harum voluptas atque.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Et quaerat omnis. Harum voluptas atque.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
@@ -402,7 +410,11 @@
"latitude": 39.21309022641362,
"longitude": -5.87810037515931,
"favourite": null,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Dolores fugiat nesciunt. Ut laborum dolores.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Dolores fugiat nesciunt. Ut laborum dolores.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
@@ -550,7 +562,11 @@
"latitude": 39.21309022641362,
"longitude": -5.87810037515931,
"favourite": null,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Autem et et. Voluptatem neque quibusdam.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Autem et et. Voluptatem neque quibusdam.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
@@ -698,7 +714,11 @@
"latitude": 39.21309022641362,
"longitude": -5.87810037515931,
"favourite": null,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Porro soluta beatae. Quia ratione facilis.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Porro soluta beatae. Quia ratione facilis.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
@@ -846,7 +866,11 @@
"latitude": 39.21309022641362,
"longitude": -5.87810037515931,
"favourite": null,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Mollitia aut vel. Qui illum accusantium.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Mollitia aut vel. Qui illum accusantium.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
@@ -994,7 +1018,11 @@
"latitude": 39.21309022641362,
"longitude": -5.87810037515931,
"favourite": null,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Tempora excepturi et. Et quia sit.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Tempora excepturi et. Et quia sit.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
@@ -1134,7 +1162,11 @@
"latitude": 0.5,
"longitude": 0.5,
"favourite": null,
- "funded": null
+ "funded": null,
+ "positive_financial_returns": "Enim repellat pariatur. Earum modi eos.",
+ "last_year_sales_revenue": "10000.0",
+ "climate_change_risks_details": "Enim repellat pariatur. Earum modi eos.",
+ "climate_change_risks_identified": true
},
"relationships": {
"project_developer": {
diff --git a/backend/spec/mailers/admin_mailer_spec.rb b/backend/spec/mailers/admin_mailer_spec.rb
index b791eb73b..6aa39487d 100644
--- a/backend/spec/mailers/admin_mailer_spec.rb
+++ b/backend/spec/mailers/admin_mailer_spec.rb
@@ -4,6 +4,8 @@
include ActionView::Helpers::UrlHelper
let(:admin) { create :admin }
+ let(:project_developer) { create :project_developer }
+ let(:investor) { create :investor }
describe ".first_time_login_instructions" do
let(:mail) { AdminMailer.first_time_login_instructions admin }
@@ -20,4 +22,34 @@
expect(mail.body.encoded).to match(I18n.t("admin_mailer.farewell_html"))
end
end
+
+ describe ".project_developer_created" do
+ let(:mail) { AdminMailer.project_developer_created admin, project_developer }
+
+ it "renders the headers" do
+ expect(mail.subject).to eq(I18n.t("admin_mailer.project_developer_created.subject"))
+ expect(mail.to).to eq([admin.email])
+ end
+
+ it "renders the body" do
+ expect(mail.body.encoded).to match(I18n.t("admin_mailer.greetings", full_name: admin.full_name))
+ expect(mail.body.encoded).to match(I18n.t("admin_mailer.project_developer_created.content_html", new_pd_url: link_to("New Project Developer", edit_backoffice_project_developer_url(project_developer))))
+ expect(mail.body.encoded).to match(I18n.t("admin_mailer.farewell_html"))
+ end
+ end
+
+ describe ".investor_created" do
+ let(:mail) { AdminMailer.investor_created admin, investor }
+
+ it "renders the headers" do
+ expect(mail.subject).to eq(I18n.t("admin_mailer.investor_created.subject"))
+ expect(mail.to).to eq([admin.email])
+ end
+
+ it "renders the body" do
+ expect(mail.body.encoded).to match(I18n.t("admin_mailer.greetings", full_name: admin.full_name))
+ expect(mail.body.encoded).to match(I18n.t("admin_mailer.investor_created.content_html", new_investor_url: link_to("New Investor", edit_backoffice_investor_url(investor))))
+ expect(mail.body.encoded).to match(I18n.t("admin_mailer.farewell_html"))
+ end
+ end
end
diff --git a/backend/spec/models/project_spec.rb b/backend/spec/models/project_spec.rb
index be53acf4b..43eb18e0f 100644
--- a/backend/spec/models/project_spec.rb
+++ b/backend/spec/models/project_spec.rb
@@ -361,7 +361,7 @@
describe "#category_index" do
before do
create(:project, category: "sustainable-agrosystems")
- create(:project, category: "tourism-and-recreation")
+ create(:project, category: "sustainable-tourism")
create(:project, category: "forestry-and-agroforestry")
end
@@ -369,13 +369,13 @@
it "correctly by category name asc" do
q = Project.ransack
q.sorts = "category_localized asc"
- expect(q.result.pluck(:category)).to eq(["forestry-and-agroforestry", "sustainable-agrosystems", "tourism-and-recreation"])
+ expect(q.result.pluck(:category)).to eq(["forestry-and-agroforestry", "sustainable-agrosystems", "sustainable-tourism"])
end
it "correctly by category name desc" do
q = Project.ransack
q.sorts = "category_localized desc"
- expect(q.result.pluck(:category)).to eq(["tourism-and-recreation", "sustainable-agrosystems", "forestry-and-agroforestry"])
+ expect(q.result.pluck(:category)).to eq(["sustainable-tourism", "sustainable-agrosystems", "forestry-and-agroforestry"])
end
end
end
diff --git a/backend/spec/requests/api/v1/accounts/investors_spec.rb b/backend/spec/requests/api/v1/accounts/investors_spec.rb
index 2ac68406d..21b41687f 100644
--- a/backend/spec/requests/api/v1/accounts/investors_spec.rb
+++ b/backend/spec/requests/api/v1/accounts/investors_spec.rb
@@ -100,7 +100,7 @@
previously_invested: true,
contact_email: "contact@example.com",
contact_phone: "123456789",
- categories: ["sustainable-agrosystems", "tourism-and-recreation"],
+ categories: ["sustainable-agrosystems", "sustainable-tourism"],
impacts: ["biodiversity", "climate"],
ticket_sizes: ["small-grants"],
instrument_types: ["grant"],
@@ -131,6 +131,13 @@
expect(investor.public_send("#{attr}_#{investor_params[:language]}")).to eq(investor_params[attr])
end
end
+
+ it "queues email notification" do |example|
+ investor = Investor.find response_json["data"]["id"]
+ Admin.all.each do |admin|
+ expect(AdminMailer).to have_enqueued_mail(:investor_created).with(admin, investor)
+ end
+ end
end
response "422", "User already have account" do
@@ -202,7 +209,7 @@
previously_invested: true,
contact_email: "contact@example.com",
contact_phone: "123456789",
- categories: ["sustainable-agrosystems", "tourism-and-recreation"],
+ categories: ["sustainable-agrosystems", "sustainable-tourism"],
impacts: ["biodiversity", "climate"],
ticket_sizes: ["small-grants"],
instrument_types: ["grant"],
diff --git a/backend/spec/requests/api/v1/accounts/project_developers_spec.rb b/backend/spec/requests/api/v1/accounts/project_developers_spec.rb
index 84af6f41d..ef0dac65d 100644
--- a/backend/spec/requests/api/v1/accounts/project_developers_spec.rb
+++ b/backend/spec/requests/api/v1/accounts/project_developers_spec.rb
@@ -94,7 +94,7 @@
entity_legal_registration_number: "564823570",
mission: "Mission",
contact_email: "contact@example.com",
- categories: ["sustainable-agrosystems", "tourism-and-recreation"],
+ categories: ["sustainable-agrosystems", "sustainable-tourism"],
impacts: ["biodiversity", "climate"],
priority_landscape_ids: [priority_landscape.id],
locale: :en
@@ -129,6 +129,14 @@
submit_request example.metadata
}.to have_enqueued_job(TranslateJob).at_least(:once)
end
+
+ it "queues email notification" do |example|
+ submit_request example.metadata
+ project_developer = ProjectDeveloper.find response_json["data"]["id"]
+ Admin.all.each do |admin|
+ expect(AdminMailer).to have_enqueued_mail(:project_developer_created).with(admin, project_developer)
+ end
+ end
end
response "422", "User already have account" do
@@ -192,7 +200,7 @@
project_developer_type: "ngo",
entity_legal_registration_number: "564823570",
mission: "Mission",
- categories: ["sustainable-agrosystems", "tourism-and-recreation"],
+ categories: ["sustainable-agrosystems", "sustainable-tourism"],
impacts: ["biodiversity", "climate"],
priority_landscape_ids: [priority_landscape.id],
locale: :en
diff --git a/backend/spec/requests/api/v1/accounts/projects_spec.rb b/backend/spec/requests/api/v1/accounts/projects_spec.rb
index d670c704b..473543c76 100644
--- a/backend/spec/requests/api/v1/accounts/projects_spec.rb
+++ b/backend/spec/requests/api/v1/accounts/projects_spec.rb
@@ -29,6 +29,10 @@
received_funding: {type: :boolean},
received_funding_amount_usd: {type: :number},
received_funding_investor: {type: :string},
+ positive_financial_returns: {type: :string},
+ last_year_sales_revenue: {type: :number},
+ climate_change_risks_details: {type: :string},
+ climate_change_risks_identified: {type: :boolean},
replicability: {type: :string},
sustainability: {type: :string},
progress_impact_tracking: {type: :string},
@@ -297,7 +301,11 @@
impact_areas: %w[restoration pollutants-reduction],
sdgs: [2, 4, 5],
instrument_types: %w[grant],
- locale: :en
+ locale: :en,
+ positive_financial_returns: "Updated financial returns data",
+ last_year_sales_revenue: 20000,
+ climate_change_risks_details: "Updated climate risk details",
+ climate_change_risks_identified: true
}
end
diff --git a/backend/spec/requests/api/v1/project_developers_spec.rb b/backend/spec/requests/api/v1/project_developers_spec.rb
index d7a4cfb2c..522240f77 100644
--- a/backend/spec/requests/api/v1/project_developers_spec.rb
+++ b/backend/spec/requests/api/v1/project_developers_spec.rb
@@ -2,7 +2,7 @@
RSpec.describe "API V1 Project Developers", type: :request do
before_all do
- @project_developer = create(:project_developer, :with_involved_projects, mission: "Yellow Banana", number_of_projects: 2, categories: ["tourism-and-recreation"])
+ @project_developer = create(:project_developer, :with_involved_projects, mission: "Yellow Banana", number_of_projects: 2, categories: ["sustainable-tourism"])
@draft_project = create(:project, :draft, project_developer: @project_developer)
create_list(:project_developer, 6, categories: %w[forestry-and-agroforestry non-timber-forest-production])
@unapproved_project_developer = create(:project_developer, account: create(:account, review_status: :unapproved, users: [create(:user)]))
diff --git a/backend/spec/services/api/filterer_spec.rb b/backend/spec/services/api/filterer_spec.rb
index 3acc859fd..973a012d8 100644
--- a/backend/spec/services/api/filterer_spec.rb
+++ b/backend/spec/services/api/filterer_spec.rb
@@ -20,7 +20,7 @@
let!(:correct_project) do
create :project, category: "sustainable-agrosystems", sdgs: [1, 2], instrument_types: ["loan"], ticket_size: "scaling"
end
- let!(:different_category_project) { create :project, category: "tourism-and-recreation" }
+ let!(:different_category_project) { create :project, category: "sustainable-tourism" }
let!(:different_sdgs_project) { create :project, sdgs: [4, 5] }
let!(:different_instrument_type_project) { create :project, instrument_types: ["grant"] }
let!(:different_ticket_size_project) { create :project, ticket_size: "prototyping" }
@@ -134,7 +134,7 @@
let!(:correct_project_developer) do
create :project_developer, categories: ["sustainable-agrosystems"], impacts: ["climate"]
end
- let!(:different_category_project_developer) { create :project_developer, categories: ["tourism-and-recreation"] }
+ let!(:different_category_project_developer) { create :project_developer, categories: ["sustainable-tourism"] }
let!(:different_impact_project_developer) { create :project_developer, impacts: ["water"] }
it "returns only correct project developers" do
@@ -245,7 +245,7 @@
create :investor, categories: ["sustainable-agrosystems"], sdgs: [1, 2], instrument_types: ["loan"],
ticket_sizes: ["scaling"], impacts: ["climate"]
end
- let!(:different_category_investor) { create :investor, categories: ["tourism-and-recreation"] }
+ let!(:different_category_investor) { create :investor, categories: ["sustainable-tourism"] }
let!(:different_sdgs_investor) { create :investor, sdgs: [4, 5] }
let!(:different_instrument_type_investor) { create :investor, instrument_types: ["grant"] }
let!(:different_ticket_size_investor) { create :investor, ticket_sizes: ["prototyping"] }
diff --git a/backend/spec/services/backoffice/csv/open_call_exporter_spec.rb b/backend/spec/services/backoffice/csv/open_call_exporter_spec.rb
index f2b7a5a9c..6afccbd2f 100644
--- a/backend/spec/services/backoffice/csv/open_call_exporter_spec.rb
+++ b/backend/spec/services/backoffice/csv/open_call_exporter_spec.rb
@@ -25,7 +25,7 @@
query.first.investor.name,
[query.first.municipality&.name, query.first.department&.name, query.first.country&.name].compact.join(", "),
query.first.open_call_applications_count.to_s,
- I18n.t("enum.open_call_status.launched"),
+ I18n.t("enums.open_call_status.launched.name"),
I18n.t("backoffice.common.verified")
])
end
diff --git a/backend/spec/services/backoffice/csv/project_exporter_spec.rb b/backend/spec/services/backoffice/csv/project_exporter_spec.rb
index a1e677792..033b5aa61 100644
--- a/backend/spec/services/backoffice/csv/project_exporter_spec.rb
+++ b/backend/spec/services/backoffice/csv/project_exporter_spec.rb
@@ -10,11 +10,39 @@
it "has correct headers at csv" do
expect(parsed_csv.first).to eq([
I18n.t("backoffice.common.project_name"),
- I18n.t("backoffice.common.project_developer"),
- I18n.t("backoffice.common.category"),
- I18n.t("backoffice.projects.index.priority_landscape"),
I18n.t("backoffice.common.status"),
- I18n.t("backoffice.common.verification")
+ I18n.t("backoffice.common.verification"),
+ I18n.t("simple_form.labels.project.country"),
+ I18n.t("simple_form.labels.project.department"),
+ I18n.t("simple_form.labels.project.municipality"),
+ I18n.t("backoffice.projects.index.priority_landscape"),
+ I18n.t("simple_form.labels.project.project_developer"),
+ I18n.t("simple_form.labels.project.involved_project_developers"),
+ I18n.t("simple_form.labels.project.development_stage"),
+ I18n.t("simple_form.labels.project.estimated_duration_in_months"),
+ I18n.t("backoffice.common.category"),
+ I18n.t("simple_form.labels.project.problem"),
+ I18n.t("simple_form.labels.project.solution"),
+ I18n.t("simple_form.labels.project.target_groups"),
+ I18n.t("simple_form.labels.project.expected_impact"),
+ I18n.t("backoffice.projects.export.impact_areas"),
+ I18n.t("backoffice.projects.export.sdgs"),
+ I18n.t("backoffice.projects.export.looking_for_funding"),
+ I18n.t("backoffice.projects.export.ticket_size"),
+ I18n.t("backoffice.projects.export.instrument_types"),
+ I18n.t("simple_form.labels.project.funding_plan"),
+ I18n.t("simple_form.labels.project.received_funding"),
+ I18n.t("simple_form.labels.project.received_funding_amount_usd"),
+ I18n.t("simple_form.labels.project.received_funding_investor"),
+ I18n.t("simple_form.labels.project.positive_financial_returns"),
+ I18n.t("simple_form.labels.project.last_year_sales_revenue"),
+ I18n.t("simple_form.labels.project.climate_change_risks_identified"),
+ I18n.t("simple_form.labels.project.climate_change_risks_details"),
+ I18n.t("simple_form.labels.project.replicability"),
+ I18n.t("simple_form.labels.project.sustainability"),
+ I18n.t("simple_form.labels.project.progress_impact_tracking"),
+ I18n.t("simple_form.labels.project.description"),
+ I18n.t("simple_form.labels.project.relevant_links")
])
end
@@ -22,11 +50,39 @@
expect(parsed_csv.size).to eq(query.count + 1)
expect(parsed_csv.second).to eq([
query.first.name,
+ I18n.t("enums.project_status.published.name"),
+ I18n.t("backoffice.common.verified"),
+ query.first.country.name,
+ query.first.department.name,
+ query.first.municipality.name,
+ query.first.priority_landscape&.name,
query.first.project_developer.name,
+ query.first.involved_project_developers.map(&:name).join(", "),
+ ProjectDevelopmentStage.find(query.first.development_stage).name,
+ query.first.estimated_duration_in_months.to_s,
Category.find(query.first.category).name,
- query.first.priority_landscape&.name,
- I18n.t("enum.project_status.published"),
- I18n.t("backoffice.common.verified")
+ query.first.problem,
+ query.first.solution,
+ query.first.target_groups.map { |tg| ProjectTargetGroup.find(tg).name }.join(", "),
+ query.first.expected_impact,
+ query.first.impact_areas.map { |ia| ImpactArea.find(ia).name }.join(", "),
+ query.first.sdgs.map { |sdg| Sdg.find(sdg).name }.join(", "),
+ I18n.t(query.first.looking_for_funding.to_s),
+ "#{TicketSize.find(query.first.ticket_size).description} (#{TicketSize.find(query.first.ticket_size).name})",
+ query.first.instrument_types.map { |it| InstrumentType.find(it).name }.join(", "),
+ query.first.funding_plan,
+ I18n.t(query.first.received_funding),
+ query.first.received_funding_amount_usd.to_s,
+ query.first.received_funding_investor,
+ query.first.positive_financial_returns,
+ query.first.last_year_sales_revenue.to_s,
+ I18n.t(query.first.climate_change_risks_identified),
+ query.first.climate_change_risks_details,
+ query.first.replicability,
+ query.first.sustainability,
+ query.first.progress_impact_tracking,
+ query.first.description,
+ query.first.relevant_links
])
end
end
diff --git a/backend/spec/services/importers/geo_jsons/mosaics_spec.rb b/backend/spec/services/importers/geo_jsons/mosaics_spec.rb
index 5d3457c1a..4a1f6fbb3 100644
--- a/backend/spec/services/importers/geo_jsons/mosaics_spec.rb
+++ b/backend/spec/services/importers/geo_jsons/mosaics_spec.rb
@@ -30,8 +30,8 @@
it "assigns correct attributes to first priority landscape" do
location = priority_landscapes.find_by name_es: "Cordillera Oriental"
- expect(location.name_en).to eq("Cordillera Oriental")
- expect(location.visible).to be_falsey
+ expect(location.name_en).to eq("Eastern Mountain Range")
+ expect(location.visible).to be_truthy
expect(location.code).to eq(Importers::GeoJsons::Mosaics::PRIORITY_LANDSCAPE_CODES["Cordillera Oriental"])
end
diff --git a/backend/spec/swagger_helper.rb b/backend/spec/swagger_helper.rb
index 6594bf399..2ed15df31 100644
--- a/backend/spec/swagger_helper.rb
+++ b/backend/spec/swagger_helper.rb
@@ -466,6 +466,9 @@
}
},
servers: [
+ {
+ url: "/"
+ },
{
url: "/backend"
},
diff --git a/backend/spec/system/backoffice/investors_spec.rb b/backend/spec/system/backoffice/investors_spec.rb
index 33450b006..3c8171b34 100644
--- a/backend/spec/system/backoffice/investors_spec.rb
+++ b/backend/spec/system/backoffice/investors_spec.rb
@@ -276,7 +276,7 @@
fill_in "Instagram", with: "https://instagram.com/new-profile"
fill_in "Facebook", with: "https://facebook.com/new-profile"
fill_in "Twitter", with: "https://twitter.com/new-profile"
- check t("enums.category.tourism-and-recreation.name")
+ check t("enums.category.sustainable-tourism.name")
uncheck t("enums.category.forestry-and-agroforestry.name")
uncheck t("enums.ticket_size.validation.name")
check t("enums.ticket_size.small-grants.name")
@@ -306,7 +306,7 @@
expect(approved_investor.account.facebook).to eq("https://facebook.com/new-profile")
expect(approved_investor.account.twitter).to eq("https://twitter.com/new-profile")
expect(approved_investor.previously_invested).to eq(false)
- expect(approved_investor.categories.sort).to eq(%w[non-timber-forest-production tourism-and-recreation])
+ expect(approved_investor.categories.sort).to eq(%w[non-timber-forest-production sustainable-tourism])
expect(approved_investor.ticket_sizes.sort).to eq(%w[scaling small-grants])
expect(approved_investor.instrument_types).to eq(%w[loan])
expect(approved_investor.sdgs.sort).to eq([1, 2, 3])
diff --git a/backend/spec/system/backoffice/project_developers_spec.rb b/backend/spec/system/backoffice/project_developers_spec.rb
index a3d18b088..b6449b5c0 100644
--- a/backend/spec/system/backoffice/project_developers_spec.rb
+++ b/backend/spec/system/backoffice/project_developers_spec.rb
@@ -243,7 +243,7 @@
fill_in "Instagram", with: "https://instagram.com/new-profile"
fill_in "Facebook", with: "https://facebook.com/new-profile"
fill_in "Twitter", with: "https://twitter.com/new-profile"
- check t("enums.category.tourism-and-recreation.name")
+ check t("enums.category.sustainable-tourism.name")
uncheck t("enums.category.forestry-and-agroforestry.name")
check t("enums.impact.community.name")
uncheck t("enums.impact.water.name")
@@ -267,7 +267,7 @@
expect(approved_pd.account.instagram).to eq("https://instagram.com/new-profile")
expect(approved_pd.account.facebook).to eq("https://facebook.com/new-profile")
expect(approved_pd.account.twitter).to eq("https://twitter.com/new-profile")
- expect(approved_pd.categories.sort).to eq(%w[non-timber-forest-production tourism-and-recreation])
+ expect(approved_pd.categories.sort).to eq(%w[non-timber-forest-production sustainable-tourism])
expect(approved_pd.impacts).to eq(%w[community])
expect(approved_pd.priority_landscape_ids.sort).to eq([priority_landscape.id])
end
diff --git a/backend/spec/system/backoffice/projects_spec.rb b/backend/spec/system/backoffice/projects_spec.rb
index 3c170bc69..71756989e 100644
--- a/backend/spec/system/backoffice/projects_spec.rb
+++ b/backend/spec/system/backoffice/projects_spec.rb
@@ -197,6 +197,10 @@
choose "Yes", name: "project[received_funding]"
fill_in t("simple_form.labels.project.received_funding_amount_usd"), with: 10000
fill_in t("simple_form.labels.project.received_funding_investor"), with: "Investor"
+ fill_in t("simple_form.labels.project.positive_financial_returns"), with: "Positive financial returns"
+ fill_in t("simple_form.labels.project.last_year_sales_revenue"), with: 10000
+ choose "Yes", name: "project[climate_change_risks_identified]"
+ fill_in t("simple_form.labels.project.climate_change_risks_details"), with: "Climate change risks identified"
fill_in t("simple_form.labels.project.replicability"), with: "New replicability"
fill_in t("simple_form.labels.project.sustainability"), with: "New sustainability"
fill_in t("simple_form.labels.project.progress_impact_tracking"), with: "New progress impact tracking"
@@ -233,6 +237,10 @@
expect(project.received_funding).to be_truthy
expect(project.received_funding_amount_usd).to eq(10000)
expect(project.received_funding_investor).to eq("Investor")
+ expect(project.positive_financial_returns).to eq("Positive financial returns")
+ expect(project.last_year_sales_revenue).to eq(10000)
+ expect(project.climate_change_risks_identified).to be_truthy
+ expect(project.climate_change_risks_details).to eq("Climate change risks identified")
expect(project.replicability).to eq("New replicability")
expect(project.sustainability).to eq("New sustainability")
expect(project.progress_impact_tracking).to eq("New progress impact tracking")
diff --git a/backend/swagger/v1/swagger.yaml b/backend/swagger/v1/swagger.yaml
index a5d720526..e200aebc8 100644
--- a/backend/swagger/v1/swagger.yaml
+++ b/backend/swagger/v1/swagger.yaml
@@ -33,14 +33,14 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
content:
application/json:
example:
data:
- id: bedb0157-527a-4b8d-97d9-50922796f0cf
+ id: 48b5fb96-27f5-4a30-b8e7-bedf942e6f4a
type: investor
attributes:
name: Kutch-Spencer
@@ -79,23 +79,23 @@ paths:
language: en
account_language: en
review_status: approved
- created_at: '2022-10-26T08:13:32.338Z'
+ created_at: '2023-11-23T10:21:49.539Z'
contact_email: contact@example.com
contact_phone: "+57-1-xxx-xx-xx"
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: false
relationships:
owner:
data:
- id: 6a82139f-959b-44a5-9b1f-322e502e4967
+ id: 845018ec-2db5-4fc6-bc4e-181f5d351260
type: user
open_calls:
data:
- - id: ba96977b-13c5-47c0-b405-9b6f5a4259a3
+ - id: 014bd379-117f-4e45-8cd0-9492317365e0
type: open_call
schema:
type: object
@@ -118,14 +118,14 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
content:
application/json:
example:
data:
- id: eb2d9ef1-0f38-4d2a-8529-9a1fc1279482
+ id: af15ace0-6bf6-44f5-8f3e-07e100abfc66
type: investor
attributes:
name: Name
@@ -143,7 +143,7 @@ paths:
investor_type: investor
categories:
- sustainable-agrosystems
- - tourism-and-recreation
+ - sustainable-tourism
ticket_sizes:
- small-grants
instrument_types:
@@ -159,19 +159,19 @@ paths:
language: es
account_language: es
review_status: unapproved
- created_at: '2022-10-26T08:13:32.976Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:21:49.966Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: false
relationships:
owner:
data:
- id: ca6a820e-6a0e-4d0b-9c5c-cafae22fe929
+ id: 5329fbf4-2a1d-4c30-ba40-0c213e8636cf
type: user
open_calls:
data: []
@@ -257,7 +257,7 @@ paths:
type: string
enum:
- sustainable-agrosystems
- - tourism-and-recreation
+ - sustainable-tourism
- forestry-and-agroforestry
- non-timber-forest-production
- human-capital-and-inclusion
@@ -336,14 +336,14 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
content:
application/json:
example:
data:
- id: 17319147-51dd-43ab-8080-cbf7783515a2
+ id: e0de2c4c-0c0f-4db5-8dd4-e049ec03e7ad
type: investor
attributes:
name: Name
@@ -361,7 +361,7 @@ paths:
investor_type: investor
categories:
- sustainable-agrosystems
- - tourism-and-recreation
+ - sustainable-tourism
ticket_sizes:
- small-grants
instrument_types:
@@ -377,19 +377,19 @@ paths:
language: es
account_language: es
review_status: approved
- created_at: '2022-10-26T08:13:33.628Z'
+ created_at: '2023-11-23T10:21:50.277Z'
contact_email: contact@example.com
contact_phone: '123456789'
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: false
relationships:
owner:
data:
- id: 93ec8d58-b61a-4805-b551-73f95fedb00d
+ id: e824dcdc-a3d5-4490-ab55-ea8aebf65d32
type: user
open_calls:
data: []
@@ -457,7 +457,7 @@ paths:
type: string
enum:
- sustainable-agrosystems
- - tourism-and-recreation
+ - sustainable-tourism
- forestry-and-agroforestry
- non-timber-forest-production
- human-capital-and-inclusion
@@ -550,7 +550,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -566,7 +566,7 @@ paths:
application/json:
example:
data:
- - id: 20aec058-193c-4b2b-8e6c-cefecbf793c1
+ - id: 249d48af-1717-4ad0-b4ad-1cb8b9ad7070
type: investor
attributes:
name: Bartoletti and Sons
@@ -605,19 +605,19 @@ paths:
language: en
account_language: en
review_status: approved
- created_at: '2022-10-26T08:13:34.528Z'
+ created_at: '2023-11-23T10:21:50.719Z'
contact_email: contact@example.com
contact_phone: "+57-1-xxx-xx-xx"
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: true
relationships:
owner:
data:
- id: cd0dff81-b0ac-4fec-9d87-3bb2fbb25194
+ id: be4c6779-a1f5-46b2-aeb3-2a36b82c0b2a
type: user
open_calls:
data: []
@@ -689,7 +689,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -705,55 +705,55 @@ paths:
application/json:
example:
data:
- - id: 38f18773-bf22-4815-831d-0e5a33fbfb68
+ - id: d2f3d8c4-e072-4c1a-8d12-eda404424049
type: open_call_application
attributes:
message: Dolores fugiat nesciunt. Ut laborum dolores. Sit neque
eos. Expedita molestiae quia.
funded: false
- created_at: '2022-10-26T08:14:03.506Z'
- updated_at: '2022-10-26T08:14:03.506Z'
+ created_at: '2023-11-23T10:22:00.622Z'
+ updated_at: '2023-11-23T10:22:00.622Z'
relationships:
open_call:
data:
- id: 9f622aa0-6a21-4a7e-a16e-0d439ce50060
+ id: 31b13ad4-f6ac-450d-81a4-6b64d42dee69
type: open_call
project:
data:
- id: 5cdaccd7-e2c9-4ef9-892e-b883ea4b25cb
+ id: 6f5b2cdb-5577-46c4-95a9-f4b2dc5cf81e
type: project
project_developer:
data:
- id: 7e42045f-3577-4829-8a17-ff8500ba8636
+ id: e0b9406c-6c86-4c48-9e11-8ab0ff5ed097
type: project_developer
investor:
data:
- id: 82e516fe-973f-44d4-bf4b-91de98f837c2
+ id: b4078eaa-cf03-45b4-97a3-a4f8acef1df6
type: investor
- - id: 82014fdd-a8fa-4ee3-aefe-0267974fe625
+ - id: 34415136-9424-4fda-a271-432cb655519b
type: open_call_application
attributes:
message: Et quaerat omnis. Harum voluptas atque. Quo nesciunt
voluptas. Suscipit ex cum.
funded: false
- created_at: '2022-10-26T08:14:03.365Z'
- updated_at: '2022-10-26T08:14:03.365Z'
+ created_at: '2023-11-23T10:22:00.542Z'
+ updated_at: '2023-11-23T10:22:00.542Z'
relationships:
open_call:
data:
- id: 11310917-0692-4fb8-ace3-bd46819bc9ff
+ id: b44d5fcb-b339-4d25-8dda-bc76793f3fdd
type: open_call
project:
data:
- id: ac0f0446-ce98-4d1c-b969-aae7bb8026ba
+ id: 7e542cdf-67ae-4e72-8b42-d278fb286510
type: project
project_developer:
data:
- id: 456e4dd7-d472-46d7-bf24-61d26988188c
+ id: 79708912-921d-4211-8915-80d75e781541
type: project_developer
investor:
data:
- id: 82e516fe-973f-44d4-bf4b-91de98f837c2
+ id: b4078eaa-cf03-45b4-97a3-a4f8acef1df6
type: investor
schema:
type: object
@@ -778,7 +778,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: forbidden
content:
@@ -794,32 +794,32 @@ paths:
application/json:
example:
data:
- id: f2a394ca-df15-48a6-8138-da3f80360d10
+ id: 678b3d62-0afb-43cb-9a3d-690ba9cace69
type: open_call_application
attributes:
message: This is message
funded: false
- created_at: '2022-10-26T08:14:08.567Z'
- updated_at: '2022-10-26T08:14:08.567Z'
+ created_at: '2023-11-23T10:22:03.192Z'
+ updated_at: '2023-11-23T10:22:03.192Z'
relationships:
open_call:
data:
- id: 155a9b9b-d9cf-40ff-b0c1-a2b7c68c895f
+ id: dd43ac96-a773-4793-aaec-f801d1250869
type: open_call
project:
data:
- id: 49539b13-c953-4ea0-980a-365473d35c5b
+ id: 204760a5-9af8-4af3-a7b0-89b774ff857a
type: project
project_developer:
data:
- id: 1dce78ab-b409-423d-abc3-857ea2cfdd97
+ id: 2daaa69c-6b35-482a-804b-63bd26542786
type: project_developer
investor:
data:
- id: 1d9c90c5-8bb3-4f21-b395-cce302677c3c
+ id: ba0279c4-15f7-4010-a59c-b0b7ce6a9070
type: investor
included:
- - id: 49539b13-c953-4ea0-980a-365473d35c5b
+ - id: 204760a5-9af8-4af3-a7b0-89b774ff857a
type: project
attributes:
name: Project 1
@@ -863,62 +863,84 @@ paths:
received_funding: true
received_funding_amount_usd: '3000.0'
received_funding_investor: Kutch-Spencer
- relevant_links:
+ relevant_links:
language: en
account_language: es
geometry:
- type: Point
+ type: Polygon
coordinates:
- - 1.0
- - 2.0
+ - - - -7.256596802202454
+ - 39.42149705239956
+ - - -5.510236906689473
+ - 40.02677860935444
+ - - -4.408874148363334
+ - 39.419930008870296
+ - - -5.205992932301829
+ - 38.67169482742881
+ - - -6.402685625872827
+ - 38.39721372248553
+ - - -7.059852379049463
+ - 38.94985978831832
+ - - -7.256596802202454
+ - 39.42149705239956
verified: false
- created_at: '2022-10-26T08:14:08.445Z'
- updated_at: '2022-10-26T08:14:08.445Z'
- municipality_biodiversity_impact:
- municipality_climate_impact:
- municipality_water_impact:
- municipality_community_impact:
- municipality_total_impact:
- hydrobasin_biodiversity_impact:
- hydrobasin_climate_impact:
- hydrobasin_water_impact:
- hydrobasin_community_impact:
- hydrobasin_total_impact:
- priority_landscape_biodiversity_impact:
- priority_landscape_climate_impact:
- priority_landscape_water_impact:
- priority_landscape_community_impact:
- priority_landscape_total_impact:
+ created_at: '2023-11-23T10:22:03.124Z'
+ updated_at: '2023-11-23T10:22:03.124Z'
+ project_biodiversity_impact:
+ project_climate_impact:
+ project_water_impact:
+ project_community_impact:
+ project_total_impact:
+ municipality_biodiversity_impact:
+ municipality_climate_impact:
+ municipality_water_impact:
+ municipality_community_impact:
+ municipality_total_impact:
+ hydrobasin_biodiversity_impact:
+ hydrobasin_climate_impact:
+ hydrobasin_water_impact:
+ hydrobasin_community_impact:
+ hydrobasin_total_impact:
+ priority_landscape_biodiversity_impact:
+ priority_landscape_climate_impact:
+ priority_landscape_water_impact:
+ priority_landscape_community_impact:
+ priority_landscape_total_impact:
impact_calculated: false
- trusted: false
- latitude: 2.0
- longitude: 1.0
+ positive_financial_returns: Enim repellat pariatur. Earum modi
+ eos.
+ last_year_sales_revenue: '10000.0'
+ climate_change_risks_details: Enim repellat pariatur. Earum modi
+ eos.
+ climate_change_risks_identified: true
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
favourite: false
- funded:
+ funded:
relationships:
project_developer:
data:
- id: 1dce78ab-b409-423d-abc3-857ea2cfdd97
+ id: 2daaa69c-6b35-482a-804b-63bd26542786
type: project_developer
country:
data:
- id: 1f046000-33f9-415f-be90-26ed9104ca15
+ id: f3477d77-b6f3-4b28-af7b-d51980e5f2d5
type: location
municipality:
data:
- id: eb72cf5c-47b0-4eb8-9327-e82bc4bdd7bd
+ id: 9e1aa5cf-0647-425d-952f-6e3ea314cc6d
type: location
department:
data:
- id: 94b310f7-58c9-4ca2-85ce-65cc6c0445d1
+ id: c05e3053-50bb-488c-84b2-681b02bac502
type: location
priority_landscape:
- data:
+ data:
involved_project_developers:
data: []
project_images:
data: []
- - id: 1dce78ab-b409-423d-abc3-857ea2cfdd97
+ - id: 2daaa69c-6b35-482a-804b-63bd26542786
type: project_developer
attributes:
name: Kutch-Spencer
@@ -943,31 +965,31 @@ paths:
account_language: es
entity_legal_registration_number: '564823570'
review_status: approved
- created_at: '2022-10-26T08:14:08.369Z'
+ created_at: '2023-11-23T10:22:03.082Z'
contact_email: contact@example.com
contact_phone: "+57-1-xxx-xx-xx"
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: false
relationships:
owner:
data:
- id: 34b6f97b-1933-4b1e-b3b7-0f04fc41ba9c
+ id: 1c889734-24bc-40bc-b6bd-f6cd59d9cd44
type: user
projects:
data:
- - id: 49539b13-c953-4ea0-980a-365473d35c5b
+ - id: 204760a5-9af8-4af3-a7b0-89b774ff857a
type: project
involved_projects:
data: []
priority_landscapes:
data:
- - id: 549c6ee4-bfe2-4e24-b944-e71f25586123
+ - id: 79576839-9313-4d9a-93ef-47d8396e469a
type: location
- - id: d0211e03-8493-46ec-870b-bc8a6cae0fde
+ - id: 1bcb8c42-6941-47e7-b922-93181f73f53d
type: location
schema:
type: object
@@ -1030,7 +1052,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'404':
description: Not Found
content:
@@ -1055,30 +1077,30 @@ paths:
application/json:
example:
data:
- id: e40278c8-3005-4141-b2f3-e983208d281e
+ id: ecf7db0e-2d9e-4782-a859-fe17878bbdc3
type: open_call_application
attributes:
message: Enim repellat pariatur. Earum modi eos. Libero tempora
exercitationem. Qui dolorem quo.
funded: false
- created_at: '2022-10-26T08:14:13.564Z'
- updated_at: '2022-10-26T08:14:13.564Z'
+ created_at: '2023-11-23T10:22:05.567Z'
+ updated_at: '2023-11-23T10:22:05.567Z'
relationships:
open_call:
data:
- id: 6d12a58a-c9a5-4961-bf3e-a574e7fea585
+ id: 4f6fc926-ef4d-48d7-869f-d3560af4897a
type: open_call
project:
data:
- id: b1ccdfab-eb7d-477b-9f4d-a7e686e64efc
+ id: 2c888863-654b-47ba-badc-689b790d5ece
type: project
project_developer:
data:
- id: 9b52b534-8569-4405-a3fa-fcd398c57ae5
+ id: 2354c6c5-4f95-40e3-91df-d66ac5293fb8
type: project_developer
investor:
data:
- id: ea509861-de76-4682-8817-b7c300588b02
+ id: b4b95d36-462b-48e1-87ce-d46d227ac96e
type: investor
schema:
type: object
@@ -1107,7 +1129,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'404':
description: Not Found
content:
@@ -1132,29 +1154,29 @@ paths:
application/json:
example:
data:
- id: 8a459fe9-dbf4-4a02-a014-5a3956f61451
+ id: a026c61a-d17a-465c-b378-ffc98dfe09d1
type: open_call_application
attributes:
message: This is updated text
funded: false
- created_at: '2022-10-26T08:14:15.568Z'
- updated_at: '2022-10-26T08:14:15.601Z'
+ created_at: '2023-11-23T10:22:06.583Z'
+ updated_at: '2023-11-23T10:22:06.600Z'
relationships:
open_call:
data:
- id: 738fa088-50b9-4e49-8f58-02d35f441690
+ id: 5cbfc9f5-02e6-41ec-ad8f-854a1d1203a5
type: open_call
project:
data:
- id: d347199f-84b3-4f30-9c68-1f6864e4d0c2
+ id: b93f1ef7-dde8-4d4f-9b25-b8dc064b5ff9
type: project
project_developer:
data:
- id: 27c064e6-9d84-46c0-bb5a-87caf88533bc
+ id: cdbcc733-0296-406e-a21f-7788065fc313
type: project_developer
investor:
data:
- id: 79adb21f-a504-4bc0-a5e9-a5175a76363d
+ id: 678b4f1a-f125-4b8c-a01b-05284b759d7d
type: investor
schema:
type: object
@@ -1200,7 +1222,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -1240,7 +1262,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'404':
description: Not Found
content:
@@ -1289,7 +1311,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'404':
description: Not Found
content:
@@ -1349,7 +1371,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -1365,7 +1387,7 @@ paths:
application/json:
example:
data:
- - id: ae1b1b3d-6762-4778-9e61-720d37987911
+ - id: dfdf6696-1c2f-40e7-818e-61b495600477
type: open_call
attributes:
name: Open call 5
@@ -1385,39 +1407,38 @@ paths:
impact_description: Porro soluta beatae. Quia ratione facilis.
Eligendi sapiente voluptatem. Quas rerum officia.
maximum_funding_per_project: 100000
- closing_at: '2023-08-26T08:14:28.957Z'
+ closing_at: '2024-09-23T10:22:11.310Z'
status: launched
language: en
account_language: es
verified: false
- created_at: '2022-10-26T08:14:28.962Z'
- updated_at: '2022-10-26T08:14:28.977Z'
+ created_at: '2023-11-23T10:22:11.312Z'
+ updated_at: '2023-11-23T10:22:11.318Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: false
relationships:
investor:
data:
- id: e4a41eec-98e6-4deb-bdd5-7978638a5fb7
+ id: 02e2be3e-4699-4711-9eea-fff159da8475
type: investor
country:
data:
- id: 8c86d5aa-d349-4b14-8bfd-300f94c67eac
+ id: ca4d2799-f6bd-4e73-bba2-27aa49a0d8a4
type: location
municipality:
data:
- id: d84da1ed-dc7b-4dcf-9753-e7fb06331a2b
+ id: 60ed8c71-6936-4918-bcad-66ce2efdb8f1
type: location
department:
data:
- id: 3f57ce89-5dda-468c-a1cc-c9f6e82a0d1e
+ id: 4ec1db10-0374-4fa7-96f3-5e75c3a5ca0a
type: location
- - id: 0fc6219e-939c-47ff-bf92-55f320333f7f
+ - id: 5c78c029-177b-439f-bf9c-d7d1471ab024
type: open_call
attributes:
name: Open call 4
@@ -1437,39 +1458,38 @@ paths:
impact_description: Autem et et. Voluptatem neque quibusdam. Repellat
recusandae eum. Eius ex est.
maximum_funding_per_project: 100000
- closing_at: '2023-08-26T08:14:28.903Z'
+ closing_at: '2024-09-23T10:22:11.290Z'
status: launched
language: en
account_language: es
verified: false
- created_at: '2022-10-26T08:14:28.907Z'
- updated_at: '2022-10-26T08:14:28.919Z'
+ created_at: '2023-11-23T10:22:11.291Z'
+ updated_at: '2023-11-23T10:22:11.298Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: false
relationships:
investor:
data:
- id: e4a41eec-98e6-4deb-bdd5-7978638a5fb7
+ id: 02e2be3e-4699-4711-9eea-fff159da8475
type: investor
country:
data:
- id: e436af37-e7aa-4794-abd9-c8fc5828f12a
+ id: 2d99cddc-7012-4a4a-8f15-3eaaa8a0268c
type: location
municipality:
data:
- id: 6836a023-0fc8-409f-8efe-4a3466c333ff
+ id: c41bd3c6-ec7f-4b07-86c9-34de95033ecf
type: location
department:
data:
- id: 2d4928a1-bc59-4c41-a175-1ee279a8189a
+ id: 492e1d2b-7bc6-4266-840b-0a9438049c78
type: location
- - id: ed3917e2-1812-4714-afa3-9f53e105faae
+ - id: bb9a48c4-781d-4ad0-ac39-9a6084565249
type: open_call
attributes:
name: Open call 3
@@ -1489,39 +1509,38 @@ paths:
impact_description: Dolores fugiat nesciunt. Ut laborum dolores.
Sit neque eos. Expedita molestiae quia.
maximum_funding_per_project: 100000
- closing_at: '2023-08-26T08:14:28.844Z'
+ closing_at: '2024-09-23T10:22:11.269Z'
status: launched
language: en
account_language: es
verified: false
- created_at: '2022-10-26T08:14:28.849Z'
- updated_at: '2022-10-26T08:14:28.864Z'
+ created_at: '2023-11-23T10:22:11.271Z'
+ updated_at: '2023-11-23T10:22:11.277Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: false
relationships:
investor:
data:
- id: e4a41eec-98e6-4deb-bdd5-7978638a5fb7
+ id: 02e2be3e-4699-4711-9eea-fff159da8475
type: investor
country:
data:
- id: b45d2b05-250b-40ea-85ed-c4c24f5d5cc1
+ id: dac41e3d-e6ac-45ef-b6cf-546b45913860
type: location
municipality:
data:
- id: 68ea04c2-d633-4e30-a61b-5c47d8e58ff1
+ id: 6b089ee6-0fbb-497f-af22-19050b98e8d0
type: location
department:
data:
- id: 6132558c-6db0-4143-908d-af51844f7d30
+ id: '07138b18-d4e1-4d12-91c3-6606a72372a1'
type: location
- - id: d74c9c17-9ccd-4fe0-83da-83658721ccb0
+ - id: 26719c94-02e2-431a-a456-e3bfae97923a
type: open_call
attributes:
name: Open call 2
@@ -1541,39 +1560,38 @@ paths:
impact_description: Et quaerat omnis. Harum voluptas atque. Quo
nesciunt voluptas. Suscipit ex cum.
maximum_funding_per_project: 100000
- closing_at: '2023-08-26T08:14:28.789Z'
+ closing_at: '2024-09-23T10:22:11.248Z'
status: launched
language: en
account_language: es
verified: false
- created_at: '2022-10-26T08:14:28.794Z'
- updated_at: '2022-10-26T08:14:28.805Z'
+ created_at: '2023-11-23T10:22:11.250Z'
+ updated_at: '2023-11-23T10:22:11.257Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: false
relationships:
investor:
data:
- id: e4a41eec-98e6-4deb-bdd5-7978638a5fb7
+ id: 02e2be3e-4699-4711-9eea-fff159da8475
type: investor
country:
data:
- id: 01f4fd4a-86c0-4bee-9568-70abd14316ed
+ id: bf3c2b5b-bfe0-44a3-a965-da994d95fcea
type: location
municipality:
data:
- id: f0a792df-9e3c-4a3f-9152-5f0cb58e1df6
+ id: 95c48589-80ea-4166-8527-529f17b0c428
type: location
department:
data:
- id: bbe5bd88-ec41-467d-8973-ab39120ec1a0
+ id: 698379a1-0846-4c33-8115-4c3b92a43a8f
type: location
- - id: 6cb28149-6d72-4e82-8256-7c26844648f1
+ - id: 3ceffab5-69da-4b3c-b22d-f2cdeb381fa9
type: open_call
attributes:
name: Yellow Banana
@@ -1593,39 +1611,38 @@ paths:
impact_description: Placeat commodi libero. Quo recusandae repellat.
Sunt commodi tempore. Voluptatem et corrupti.
maximum_funding_per_project: 100000
- closing_at: '2023-08-26T08:14:28.730Z'
+ closing_at: '2024-09-23T10:22:11.227Z'
status: launched
language: en
account_language: es
verified: false
- created_at: '2022-10-26T08:14:28.738Z'
- updated_at: '2022-10-26T08:14:28.753Z'
+ created_at: '2023-11-23T10:22:11.229Z'
+ updated_at: '2023-11-23T10:22:11.235Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: false
relationships:
investor:
data:
- id: e4a41eec-98e6-4deb-bdd5-7978638a5fb7
+ id: 02e2be3e-4699-4711-9eea-fff159da8475
type: investor
country:
data:
- id: cc90d23a-40db-4233-8edb-023c8ab576ca
+ id: 88af00af-fdcf-4b94-a1a0-b2bf5145356c
type: location
municipality:
data:
- id: c4810fa1-3a5b-464a-8cee-65295a48efa8
+ id: dd30145f-59d1-4fcc-a2a9-84e0d9f69d68
type: location
department:
data:
- id: 27014eb0-cc03-49ae-96e0-f1d6fa5558ec
+ id: 2fc128bc-7409-43ef-8d31-ebc13fb4e99b
type: location
- - id: c3e139b0-7d6d-45cb-9002-99edbba0b167
+ - id: cee1bba2-e1cb-4b12-b3a4-cd4c78355142
type: open_call
attributes:
name: Open call 1
@@ -1645,37 +1662,36 @@ paths:
impact_description: Enim repellat pariatur. Earum modi eos. Libero
tempora exercitationem. Qui dolorem quo.
maximum_funding_per_project: 100000
- closing_at: '2023-08-26T08:14:28.671Z'
+ closing_at: '2024-09-23T10:22:11.206Z'
status: draft
language: en
account_language: es
verified: false
- created_at: '2022-10-26T08:14:28.675Z'
- updated_at: '2022-10-26T08:14:28.691Z'
+ created_at: '2023-11-23T10:22:11.208Z'
+ updated_at: '2023-11-23T10:22:11.215Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: false
relationships:
investor:
data:
- id: e4a41eec-98e6-4deb-bdd5-7978638a5fb7
+ id: 02e2be3e-4699-4711-9eea-fff159da8475
type: investor
country:
data:
- id: 544e6660-7331-46d1-ba90-3d4ce204b2b8
+ id: 1f89194e-a34e-49dd-ae1a-64d80191e13d
type: location
municipality:
data:
- id: df962749-620d-4758-b5c7-1369d7b075b6
+ id: 10a0525b-9b34-49f9-88b7-9ba26f71c264
type: location
department:
data:
- id: a9e8ded7-ba0b-45f8-8a69-3bb300837a35
+ id: 1404eeb7-3ce5-4b96-bd57-1a8f4256de0c
type: location
schema:
type: object
@@ -1700,7 +1716,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -1716,7 +1732,7 @@ paths:
application/json:
example:
data:
- id: 4e8085ae-0585-45ca-b360-a4b515fee2a1
+ id: 87c24acf-ec80-41bd-a080-47d1d79a4da4
type: open_call
attributes:
name: Open Call Name
@@ -1732,37 +1748,36 @@ paths:
funding_exclusions: Open Call Funding Exclusions
impact_description: Open Call Impact Description
maximum_funding_per_project: 100000
- closing_at: '2022-10-27T08:14:38.726Z'
+ closing_at: '2023-11-24T10:22:14.040Z'
status: draft
language: es
account_language: es
verified: false
- created_at: '2022-10-26T08:14:38.760Z'
- updated_at: '2022-10-26T08:14:38.856Z'
+ created_at: '2023-11-23T10:22:14.054Z'
+ updated_at: '2023-11-23T10:22:14.060Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: false
relationships:
investor:
data:
- id: abcff04c-f59f-4e8d-aefc-6c36f614fa9a
+ id: a19aa9f2-9ea2-48d0-95d4-569db07f2d22
type: investor
country:
data:
- id: 7b88e8dc-3cc2-4d59-9eab-dd88c9e8bcef
+ id: 919a14e5-3e45-485e-af5b-734ab5622e67
type: location
municipality:
data:
- id: 8918c110-f7a4-4c8a-8222-9de05b308d26
+ id: 1147e5e6-223c-4e1b-b7f0-c89e05504b72
type: location
department:
data:
- id: 7a6bfa92-8233-4571-a42e-9dd1730087d9
+ id: 464b3c78-7afb-4ced-9152-9e55a52bbe31
type: location
schema:
type: object
@@ -1878,7 +1893,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'404':
description: Not Found
content:
@@ -1903,7 +1918,7 @@ paths:
application/json:
example:
data:
- id: 6eb15511-b4f2-4dd2-9990-855fd476503e
+ id: f32283ef-8acd-449f-add8-541c61843246
type: open_call
attributes:
name: Updated Open Call Name
@@ -1918,37 +1933,36 @@ paths:
funding_exclusions: Updated Open Call Funding Exclusions
impact_description: Updated Open Call Impact Description
maximum_funding_per_project: 100000
- closing_at: '2022-11-05T08:14:42.254Z'
+ closing_at: '2023-12-03T10:22:15.186Z'
status: launched
language: en
account_language: es
verified: false
- created_at: '2022-10-26T08:14:42.185Z'
- updated_at: '2022-10-26T08:14:42.323Z'
+ created_at: '2023-11-23T10:22:15.161Z'
+ updated_at: '2023-11-23T10:22:15.204Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: false
relationships:
investor:
data:
- id: a076fa21-3607-4d13-9b57-f19a636db7b4
+ id: 3eac985c-cc4d-4c76-abc4-b6eb7db29108
type: investor
country:
data:
- id: c72d7e96-55b7-4d2d-9118-531e95a646a3
+ id: d563cd49-45eb-4081-be83-9906833e2337
type: location
municipality:
data:
- id: 718af7f2-5f60-4b4e-ac0b-3c856b3f5022
+ id: a09c74b5-d211-4e85-8c32-923441e98165
type: location
department:
data:
- id: 93485fb9-189b-4ad4-888a-9105d4bda13e
+ id: e8fd79ea-4418-4620-a556-293cbf7ba3e2
type: location
schema:
type: object
@@ -2050,7 +2064,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'404':
description: Not Found
content:
@@ -2117,7 +2131,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -2133,7 +2147,7 @@ paths:
application/json:
example:
data:
- - id: c18e82e5-cf21-4719-938d-28659e17f886
+ - id: 7aa3f523-2a89-488a-bcf0-8bc6b6433bfb
type: open_call
attributes:
name: Open call 1
@@ -2153,37 +2167,36 @@ paths:
impact_description: Enim repellat pariatur. Earum modi eos. Libero
tempora exercitationem. Qui dolorem quo.
maximum_funding_per_project: 100000
- closing_at: '2023-08-26T08:14:50.413Z'
+ closing_at: '2024-09-23T10:22:17.424Z'
status: launched
language: en
account_language: en
verified: false
- created_at: '2022-10-26T08:14:50.417Z'
- updated_at: '2022-10-26T08:14:50.427Z'
+ created_at: '2023-11-23T10:22:17.426Z'
+ updated_at: '2023-11-23T10:22:17.433Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: true
relationships:
investor:
data:
- id: 973b8bf0-2b7b-457b-851c-0c4803e5a91b
+ id: a548cfa5-5344-4113-845c-929e9fe71b16
type: investor
country:
data:
- id: 2233f565-664b-495b-ad85-f9db3b24382f
+ id: f9a8d995-28a9-4e43-9870-ca4269fee814
type: location
municipality:
data:
- id: 69abd8be-8205-46c6-a394-a8471b0046a3
+ id: 3fc317d0-f247-479e-8a7e-226c5019ccc2
type: location
department:
data:
- id: fcd5a9e1-76d4-42e3-86ce-efe0377c0d0e
+ id: 3a271662-8cc0-4906-acdd-771628cde2ce
type: location
meta:
page: 1
@@ -2236,14 +2249,14 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
content:
application/json:
example:
data:
- id: 6ff0b323-46ef-4d30-b8b5-c21479023f1f
+ id: 8232a15a-4cf2-44b7-909e-b38005aaac65
type: project_developer
attributes:
name: Kutch-Spencer
@@ -2268,35 +2281,35 @@ paths:
account_language: en
entity_legal_registration_number: '564823570'
review_status: approved
- created_at: '2022-10-26T08:14:54.124Z'
+ created_at: '2023-11-23T10:22:19.110Z'
contact_email: contact@example.com
contact_phone: "+57-1-xxx-xx-xx"
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: false
relationships:
owner:
data:
- id: 46301dd4-a08b-4b7e-bb1c-378e5f9384ec
+ id: bcff6269-4fb7-4d33-9439-0d736e61c09f
type: user
projects:
data:
- - id: d732c557-3e0f-4984-a5cd-1c81f8f5e4bd
+ - id: 3ddc9da4-16c6-4367-bc20-55b2b35def4e
type: project
involved_projects:
data:
- - id: f0413d80-33a2-4327-b5f5-ee9f9c3dd7b1
+ - id: 7f69f878-bb0b-4697-b409-42170056f3e0
type: project
- - id: 782a2a79-455a-45a5-bf4a-b3cc507588b5
+ - id: b489275b-e62a-4663-833a-35f2ece8da52
type: project
priority_landscapes:
data:
- - id: 0553fbfa-de5a-400e-ba2e-87902fb8f49c
+ - id: 6b22d84b-abc6-491d-aa13-fdd24b049490
type: location
- - id: ec14a633-6f6f-42c6-af13-8a5e561722bb
+ - id: cfc735c9-1263-4efc-8b87-6625f0a690ba
type: location
schema:
type: object
@@ -2319,14 +2332,14 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
content:
application/json:
example:
data:
- id: 6e632424-7234-4233-bdf9-d96ab740af79
+ id: 495a8465-b509-4f6a-916c-02d01e83f67f
type: project_developer
attributes:
name: Name
@@ -2341,7 +2354,7 @@ paths:
project_developer_type: ngo
categories:
- sustainable-agrosystems
- - tourism-and-recreation
+ - sustainable-tourism
impacts:
- biodiversity
- climate
@@ -2349,19 +2362,19 @@ paths:
account_language: es
entity_legal_registration_number: '564823570'
review_status: unapproved
- created_at: '2022-10-26T08:14:55.390Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:19.656Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: false
relationships:
owner:
data:
- id: 2c052f5b-7e5a-4000-be38-e4269737942f
+ id: 353830a5-6346-4d74-a062-2f6ba7308e50
type: user
projects:
data: []
@@ -2369,7 +2382,7 @@ paths:
data: []
priority_landscapes:
data:
- - id: 8e9231fa-0c4d-4dca-b4a9-66ab601d155f
+ - id: 71684176-a7bd-438d-973d-bb50b726a7c1
type: location
schema:
type: object
@@ -2444,7 +2457,7 @@ paths:
type: string
enum:
- sustainable-agrosystems
- - tourism-and-recreation
+ - sustainable-tourism
- forestry-and-agroforestry
- non-timber-forest-production
- human-capital-and-inclusion
@@ -2488,14 +2501,14 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
content:
application/json:
example:
data:
- id: 9a1db754-4edf-4fcf-9e91-8d09d7109be5
+ id: c69f163b-374b-4d1a-82f6-34f5e154ca28
type: project_developer
attributes:
name: Name
@@ -2510,7 +2523,7 @@ paths:
project_developer_type: ngo
categories:
- sustainable-agrosystems
- - tourism-and-recreation
+ - sustainable-tourism
impacts:
- biodiversity
- climate
@@ -2518,19 +2531,19 @@ paths:
account_language: es
entity_legal_registration_number: '564823570'
review_status: approved
- created_at: '2022-10-26T08:14:56.056Z'
+ created_at: '2023-11-23T10:22:20.028Z'
contact_email: contact@example.com
contact_phone: "+57-1-xxx-xx-xx"
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: false
relationships:
owner:
data:
- id: 724cf793-3de9-49eb-bffd-7a5269dc6f19
+ id: fc8ea4e6-fea1-4bd0-9580-2600ae892c3e
type: user
projects:
data: []
@@ -2538,7 +2551,7 @@ paths:
data: []
priority_landscapes:
data:
- - id: c8614376-439a-4eeb-99d1-1b1ce7604ff1
+ - id: 20d73582-56e6-431b-8c24-588f03f5deb9
type: location
schema:
type: object
@@ -2595,7 +2608,7 @@ paths:
type: string
enum:
- sustainable-agrosystems
- - tourism-and-recreation
+ - sustainable-tourism
- forestry-and-agroforestry
- non-timber-forest-production
- human-capital-and-inclusion
@@ -2653,7 +2666,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -2669,7 +2682,7 @@ paths:
application/json:
example:
data:
- - id: 594e36e2-480a-4a90-96ef-ba10685fb7f3
+ - id: 291fc0d3-bc04-4169-babf-1771363ba805
type: project_developer
attributes:
name: Bartoletti and Sons
@@ -2694,19 +2707,19 @@ paths:
account_language: en
entity_legal_registration_number: '564823570'
review_status: approved
- created_at: '2022-10-26T08:14:58.309Z'
+ created_at: '2023-11-23T10:22:20.680Z'
contact_email: contact@example.com
contact_phone: "+57-1-xxx-xx-xx"
picture:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
favourite: true
relationships:
owner:
data:
- id: 4fec684b-3a36-4bb4-8744-c715e323b52b
+ id: 893a8c01-0a00-40b1-9e29-3e050820dcd6
type: user
projects:
data: []
@@ -2714,9 +2727,9 @@ paths:
data: []
priority_landscapes:
data:
- - id: 5767844e-909e-47a9-8098-b0669286399e
+ - id: 36940104-dea9-4d71-98d4-4f7be722bf7e
type: location
- - id: ca1275ef-000f-4e6f-bdf4-f1e5af59a713
+ - id: 5dbf2113-6813-4ce3-b2ff-3c8264760f33
type: location
meta:
page: 1
@@ -2775,7 +2788,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -2791,7 +2804,7 @@ paths:
application/json:
example:
data:
- - id: 976433ba-9a91-47a0-b599-041d1aef15bf
+ - id: 1d3b9c53-b48f-4275-9ff9-8357cf006f79
type: project
attributes:
name: Draft project
@@ -2835,62 +2848,84 @@ paths:
received_funding: true
received_funding_amount_usd: '3000.0'
received_funding_investor: Hilpert, Waters and Johnston
- relevant_links:
+ relevant_links:
language: en
account_language: es
geometry:
- type: Point
+ type: Polygon
coordinates:
- - 1.0
- - 2.0
+ - - - -7.256596802202454
+ - 39.42149705239956
+ - - -5.510236906689473
+ - 40.02677860935444
+ - - -4.408874148363334
+ - 39.419930008870296
+ - - -5.205992932301829
+ - 38.67169482742881
+ - - -6.402685625872827
+ - 38.39721372248553
+ - - -7.059852379049463
+ - 38.94985978831832
+ - - -7.256596802202454
+ - 39.42149705239956
verified: false
- created_at: '2022-10-26T08:15:00.829Z'
- updated_at: '2022-10-26T08:15:00.829Z'
- municipality_biodiversity_impact:
- municipality_climate_impact:
- municipality_water_impact:
- municipality_community_impact:
- municipality_total_impact:
- hydrobasin_biodiversity_impact:
- hydrobasin_climate_impact:
- hydrobasin_water_impact:
- hydrobasin_community_impact:
- hydrobasin_total_impact:
- priority_landscape_biodiversity_impact:
- priority_landscape_climate_impact:
- priority_landscape_water_impact:
- priority_landscape_community_impact:
- priority_landscape_total_impact:
+ created_at: '2023-11-23T10:22:21.557Z'
+ updated_at: '2023-11-23T10:22:21.557Z'
+ project_biodiversity_impact:
+ project_climate_impact:
+ project_water_impact:
+ project_community_impact:
+ project_total_impact:
+ municipality_biodiversity_impact:
+ municipality_climate_impact:
+ municipality_water_impact:
+ municipality_community_impact:
+ municipality_total_impact:
+ hydrobasin_biodiversity_impact:
+ hydrobasin_climate_impact:
+ hydrobasin_water_impact:
+ hydrobasin_community_impact:
+ hydrobasin_total_impact:
+ priority_landscape_biodiversity_impact:
+ priority_landscape_climate_impact:
+ priority_landscape_water_impact:
+ priority_landscape_community_impact:
+ priority_landscape_total_impact:
impact_calculated: false
- trusted: false
- latitude: 2.0
- longitude: 1.0
+ positive_financial_returns: Dolores fugiat nesciunt. Ut laborum
+ dolores.
+ last_year_sales_revenue: '10000.0'
+ climate_change_risks_details: Dolores fugiat nesciunt. Ut laborum
+ dolores.
+ climate_change_risks_identified: true
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
favourite: false
- funded:
+ funded:
relationships:
project_developer:
data:
- id: 8512e5dc-f88f-4386-8426-69670bb73b8a
+ id: f946f309-b04b-458d-815c-0ed0e6c99f69
type: project_developer
country:
data:
- id: f3d2a110-883a-4113-a3f9-9e1402c825ed
+ id: fe6f486a-3160-4b84-ba7f-ba58f71e5eff
type: location
municipality:
data:
- id: 60bd94b2-9a3b-47e6-b549-957fb8ed712d
+ id: 06ff6060-242e-43ad-9aed-300af8bda19f
type: location
department:
data:
- id: dd172512-d0a4-441c-8fe3-806d596cc087
+ id: b6aa052f-7904-40af-96d5-f7a632347c2f
type: location
priority_landscape:
- data:
+ data:
involved_project_developers:
data: []
project_images:
data: []
- - id: e69b563d-289d-4f65-92d3-eb15dd872415
+ - id: 71f19cc5-dc59-4c59-b2b1-5b04e9a42f86
type: project
attributes:
name: This PDs Project Amazing
@@ -2934,62 +2969,84 @@ paths:
received_funding: true
received_funding_amount_usd: '3000.0'
received_funding_investor: Bartoletti and Sons
- relevant_links:
+ relevant_links:
language: en
account_language: es
geometry:
- type: Point
+ type: Polygon
coordinates:
- - 1.0
- - 2.0
+ - - - -7.256596802202454
+ - 39.42149705239956
+ - - -5.510236906689473
+ - 40.02677860935444
+ - - -4.408874148363334
+ - 39.419930008870296
+ - - -5.205992932301829
+ - 38.67169482742881
+ - - -6.402685625872827
+ - 38.39721372248553
+ - - -7.059852379049463
+ - 38.94985978831832
+ - - -7.256596802202454
+ - 39.42149705239956
verified: false
- created_at: '2022-10-26T08:15:00.663Z'
- updated_at: '2022-10-26T08:15:00.663Z'
- municipality_biodiversity_impact:
- municipality_climate_impact:
- municipality_water_impact:
- municipality_community_impact:
- municipality_total_impact:
- hydrobasin_biodiversity_impact:
- hydrobasin_climate_impact:
- hydrobasin_water_impact:
- hydrobasin_community_impact:
- hydrobasin_total_impact:
- priority_landscape_biodiversity_impact:
- priority_landscape_climate_impact:
- priority_landscape_water_impact:
- priority_landscape_community_impact:
- priority_landscape_total_impact:
+ created_at: '2023-11-23T10:22:21.470Z'
+ updated_at: '2023-11-23T10:22:21.470Z'
+ project_biodiversity_impact:
+ project_climate_impact:
+ project_water_impact:
+ project_community_impact:
+ project_total_impact:
+ municipality_biodiversity_impact:
+ municipality_climate_impact:
+ municipality_water_impact:
+ municipality_community_impact:
+ municipality_total_impact:
+ hydrobasin_biodiversity_impact:
+ hydrobasin_climate_impact:
+ hydrobasin_water_impact:
+ hydrobasin_community_impact:
+ hydrobasin_total_impact:
+ priority_landscape_biodiversity_impact:
+ priority_landscape_climate_impact:
+ priority_landscape_water_impact:
+ priority_landscape_community_impact:
+ priority_landscape_total_impact:
impact_calculated: false
- trusted: false
- latitude: 2.0
- longitude: 1.0
+ positive_financial_returns: Placeat commodi libero. Quo recusandae
+ repellat.
+ last_year_sales_revenue: '10000.0'
+ climate_change_risks_details: Placeat commodi libero. Quo recusandae
+ repellat.
+ climate_change_risks_identified: true
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
favourite: false
- funded:
+ funded:
relationships:
project_developer:
data:
- id: 8512e5dc-f88f-4386-8426-69670bb73b8a
+ id: f946f309-b04b-458d-815c-0ed0e6c99f69
type: project_developer
country:
data:
- id: 769d07ab-6dd0-4763-ae07-b39d6fdca326
+ id: 1d366d3a-9f89-4173-91ef-1e93d191db97
type: location
municipality:
data:
- id: b9cf8c85-d531-4afc-a749-8b7e2dd707a4
+ id: 49976d55-1376-4a2a-a0ea-3dee6a172b1a
type: location
department:
data:
- id: 538bec24-0433-432c-ab07-8f6d75eefd1b
+ id: 357f6616-251d-40b6-9209-a16f297ac93a
type: location
priority_landscape:
- data:
+ data:
involved_project_developers:
data: []
project_images:
data: []
- - id: f55ce354-1fdf-4312-bbc0-294be052a082
+ - id: 53369bf8-4544-447e-b3b0-073a05ac6a3a
type: project
attributes:
name: This PDs Project Awesome
@@ -3033,57 +3090,79 @@ paths:
received_funding: true
received_funding_amount_usd: '3000.0'
received_funding_investor: Kutch-Spencer
- relevant_links:
+ relevant_links:
language: en
account_language: es
geometry:
- type: Point
+ type: Polygon
coordinates:
- - 1.0
- - 2.0
+ - - - -7.256596802202454
+ - 39.42149705239956
+ - - -5.510236906689473
+ - 40.02677860935444
+ - - -4.408874148363334
+ - 39.419930008870296
+ - - -5.205992932301829
+ - 38.67169482742881
+ - - -6.402685625872827
+ - 38.39721372248553
+ - - -7.059852379049463
+ - 38.94985978831832
+ - - -7.256596802202454
+ - 39.42149705239956
verified: false
- created_at: '2022-10-26T08:15:00.623Z'
- updated_at: '2022-10-26T08:15:00.623Z'
- municipality_biodiversity_impact:
- municipality_climate_impact:
- municipality_water_impact:
- municipality_community_impact:
- municipality_total_impact:
- hydrobasin_biodiversity_impact:
- hydrobasin_climate_impact:
- hydrobasin_water_impact:
- hydrobasin_community_impact:
- hydrobasin_total_impact:
- priority_landscape_biodiversity_impact:
- priority_landscape_climate_impact:
- priority_landscape_water_impact:
- priority_landscape_community_impact:
- priority_landscape_total_impact:
+ created_at: '2023-11-23T10:22:21.435Z'
+ updated_at: '2023-11-23T10:22:21.435Z'
+ project_biodiversity_impact:
+ project_climate_impact:
+ project_water_impact:
+ project_community_impact:
+ project_total_impact:
+ municipality_biodiversity_impact:
+ municipality_climate_impact:
+ municipality_water_impact:
+ municipality_community_impact:
+ municipality_total_impact:
+ hydrobasin_biodiversity_impact:
+ hydrobasin_climate_impact:
+ hydrobasin_water_impact:
+ hydrobasin_community_impact:
+ hydrobasin_total_impact:
+ priority_landscape_biodiversity_impact:
+ priority_landscape_climate_impact:
+ priority_landscape_water_impact:
+ priority_landscape_community_impact:
+ priority_landscape_total_impact:
impact_calculated: false
- trusted: false
- latitude: 2.0
- longitude: 1.0
+ positive_financial_returns: Enim repellat pariatur. Earum modi
+ eos.
+ last_year_sales_revenue: '10000.0'
+ climate_change_risks_details: Enim repellat pariatur. Earum modi
+ eos.
+ climate_change_risks_identified: true
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
favourite: false
- funded:
+ funded:
relationships:
project_developer:
data:
- id: 8512e5dc-f88f-4386-8426-69670bb73b8a
+ id: f946f309-b04b-458d-815c-0ed0e6c99f69
type: project_developer
country:
data:
- id: fad0b9a8-187a-4ce5-81b8-50288a032a05
+ id: 73c035af-1081-4328-ab8e-fe9ae25e7e02
type: location
municipality:
data:
- id: 6d4e0d8d-7da3-4bc4-a92a-fe00e7012b14
+ id: 6cfa7605-296c-4e9f-bc90-76e102eafb8c
type: location
department:
data:
- id: dc3494bb-ebba-4a21-b0be-723d162751b3
+ id: 44b757a2-0bcd-4a31-9e19-14a4134f86af
type: location
priority_landscape:
- data:
+ data:
involved_project_developers:
data: []
project_images:
@@ -3111,7 +3190,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -3127,7 +3206,7 @@ paths:
application/json:
example:
data:
- id: c1a5b2c7-5b33-48df-b950-febb5bd4a88b
+ id: d4821167-3dca-4157-a13d-08981e977907
type: project
attributes:
name: Project Name
@@ -3184,81 +3263,89 @@ paths:
- 1.5274297752414188
properties: {}
verified: false
- created_at: '2022-10-26T08:15:04.899Z'
- updated_at: '2022-10-26T08:15:04.899Z'
- municipality_biodiversity_impact:
- municipality_climate_impact:
- municipality_water_impact:
- municipality_community_impact:
- municipality_total_impact:
- hydrobasin_biodiversity_impact:
- hydrobasin_climate_impact:
- hydrobasin_water_impact:
- hydrobasin_community_impact:
- hydrobasin_total_impact:
- priority_landscape_biodiversity_impact:
- priority_landscape_climate_impact:
- priority_landscape_water_impact:
- priority_landscape_community_impact:
- priority_landscape_total_impact:
+ created_at: '2023-11-23T10:22:23.217Z'
+ updated_at: '2023-11-23T10:22:23.217Z'
+ project_biodiversity_impact:
+ project_climate_impact:
+ project_water_impact:
+ project_community_impact:
+ project_total_impact:
+ municipality_biodiversity_impact:
+ municipality_climate_impact:
+ municipality_water_impact:
+ municipality_community_impact:
+ municipality_total_impact:
+ hydrobasin_biodiversity_impact:
+ hydrobasin_climate_impact:
+ hydrobasin_water_impact:
+ hydrobasin_community_impact:
+ hydrobasin_total_impact:
+ priority_landscape_biodiversity_impact:
+ priority_landscape_climate_impact:
+ priority_landscape_water_impact:
+ priority_landscape_community_impact:
+ priority_landscape_total_impact:
impact_calculated: false
- trusted: false
+ positive_financial_returns:
+ last_year_sales_revenue:
+ climate_change_risks_details:
+ climate_change_risks_identified: false
latitude: 1.1581373021971106
longitude: -77.16867902747148
favourite: false
- funded:
+ funded:
relationships:
project_developer:
data:
- id: ecb45cc0-f2f6-48d9-9ac3-f817474f904e
+ id: f29b18de-d0fd-42e3-81ae-edc0264f082c
type: project_developer
country:
data:
- id: 275af870-a6b3-4135-a910-3feec3c7853a
+ id: 584aceb8-0965-414b-94b2-fcf99367cad2
type: location
municipality:
data:
- id: c8ed62f6-f574-4083-aeef-7e14c9647242
+ id: 306da7ad-4634-4c15-88a6-92bec91f12e2
type: location
department:
data:
- id: c4adb8a4-7334-4d92-98c1-ba47c49601c3
+ id: 652d236b-dc31-4c36-8209-9beb29aa7f98
type: location
priority_landscape:
- data:
+ data:
involved_project_developers:
data:
- - id: 54a3ad57-5706-4a68-939b-85d2829337bf
+ - id: 77422adc-80cc-4866-b5c5-a1f77d39f0c5
type: project_developer
- - id: 533535c4-9bae-49f8-bea9-deb5a69eb39a
+ - id: 338b2588-6003-4d02-af9f-fc46f7dd196a
type: project_developer
project_images:
data:
- - id: 0bde1632-6ba9-4d21-8deb-d100c0c086fe
+ - id: 9f8a5eee-ac4b-49ce-b900-41715ad65f6e
type: project_image
- - id: beab4a35-d4d9-45dd-8e61-954cd9c1321e
+ - id: a28ed230-7d34-45ad-9555-c23b8c953b7b
type: project_image
included:
- - id: 0bde1632-6ba9-4d21-8deb-d100c0c086fe
+ - id: 9f8a5eee-ac4b-49ce-b900-41715ad65f6e
type: project_image
attributes:
cover: true
- created_at: '2022-10-26T08:15:04.906Z'
+ created_at: '2023-11-23T10:22:23.221Z'
file:
analyzed: false
- small:
- medium:
- original:
- - id: beab4a35-d4d9-45dd-8e61-954cd9c1321e
+ small:
+ medium:
+ original:
+ - id: a28ed230-7d34-45ad-9555-c23b8c953b7b
type: project_image
attributes:
cover: false
- created_at: '2022-10-26T08:15:04.914Z'
+ created_at: '2023-11-23T10:22:23.225Z'
file:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
schema:
type: object
properties:
@@ -3333,6 +3420,14 @@ paths:
type: number
received_funding_investor:
type: string
+ positive_financial_returns:
+ type: string
+ last_year_sales_revenue:
+ type: number
+ climate_change_risks_details:
+ type: string
+ climate_change_risks_identified:
+ type: boolean
replicability:
type: string
sustainability:
@@ -3349,7 +3444,7 @@ paths:
type: string
enum:
- sustainable-agrosystems
- - tourism-and-recreation
+ - sustainable-tourism
- forestry-and-agroforestry
- non-timber-forest-production
- human-capital-and-inclusion
@@ -3475,7 +3570,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'404':
description: Not Found
content:
@@ -3500,7 +3595,7 @@ paths:
application/json:
example:
data:
- id: 4f78cb95-92d3-4472-9ca8-adb2789d0622
+ id: 68e9cd18-e012-4b55-9db3-355fff438602
type: project
attributes:
name: Updated Project Name
@@ -3541,60 +3636,68 @@ paths:
geometry:
type: Point
coordinates:
- - 1
- - 2
+ - 1.0
+ - 2.0
verified: false
- created_at: '2022-10-26T08:15:12.444Z'
- updated_at: '2022-10-26T08:15:13.328Z'
- municipality_biodiversity_impact:
- municipality_climate_impact:
- municipality_water_impact:
- municipality_community_impact:
- municipality_total_impact:
- hydrobasin_biodiversity_impact:
- hydrobasin_climate_impact:
- hydrobasin_water_impact:
- hydrobasin_community_impact:
- hydrobasin_total_impact:
- priority_landscape_biodiversity_impact:
- priority_landscape_climate_impact:
- priority_landscape_water_impact:
- priority_landscape_community_impact:
- priority_landscape_total_impact:
+ created_at: '2023-11-23T10:22:26.401Z'
+ updated_at: '2023-11-23T10:22:26.560Z'
+ project_biodiversity_impact:
+ project_climate_impact:
+ project_water_impact:
+ project_community_impact:
+ project_total_impact:
+ municipality_biodiversity_impact:
+ municipality_climate_impact:
+ municipality_water_impact:
+ municipality_community_impact:
+ municipality_total_impact:
+ hydrobasin_biodiversity_impact:
+ hydrobasin_climate_impact:
+ hydrobasin_water_impact:
+ hydrobasin_community_impact:
+ hydrobasin_total_impact:
+ priority_landscape_biodiversity_impact:
+ priority_landscape_climate_impact:
+ priority_landscape_water_impact:
+ priority_landscape_community_impact:
+ priority_landscape_total_impact:
impact_calculated: false
- trusted: false
+ positive_financial_returns: Updated financial returns data
+ last_year_sales_revenue: '20000.0'
+ climate_change_risks_details: Updated climate risk details
+ climate_change_risks_identified: true
latitude: 2.0
longitude: 1.0
favourite: false
- funded:
+ funded:
relationships:
project_developer:
data:
- id: 63225b43-786f-4d62-beb8-d56a2d506d4c
+ id: a2a960ae-7f45-433a-951d-dcea189b40b7
type: project_developer
country:
data:
- id: e9900538-7aea-4177-8c46-ec1914bc03c5
+ id: a85a2a20-7113-456c-af3a-fdea5e9174da
type: location
municipality:
data:
- id: 800ee0ae-7d0a-44e4-a7e1-9d43e9e31dea
+ id: f4df6cbf-a911-40d4-97ba-cd00c61e36ce
type: location
department:
data:
- id: 2d3644d2-7b00-450d-befb-f386f6b6291d
+ id: 47ad1b49-f164-4b48-9126-49e0065548dc
type: location
priority_landscape:
- data:
+ data:
involved_project_developers:
data:
- - id: ff254158-3833-4b55-9cd3-468310845b70
+ - id: 0c77b127-f029-4dab-b92e-cd7ed29f009f
type: project_developer
- - id: 1b40b2e2-c8b4-4d99-8ad7-3646dd167a32
+ - id: 5fa546dd-54d8-4ad2-9ab9-082bee71819d
type: project_developer
project_images:
data:
- - id: b9b4f0a6-b6c5-4242-b68d-2ed7d7e818ba
+ - id: 46930646-b397-4441-bb95-809372532e5c
type: project_image
schema:
type: object
@@ -3667,6 +3770,14 @@ paths:
type: number
received_funding_investor:
type: string
+ positive_financial_returns:
+ type: string
+ last_year_sales_revenue:
+ type: number
+ climate_change_risks_details:
+ type: string
+ climate_change_risks_identified:
+ type: boolean
replicability:
type: string
sustainability:
@@ -3683,7 +3794,7 @@ paths:
type: string
enum:
- sustainable-agrosystems
- - tourism-and-recreation
+ - sustainable-tourism
- forestry-and-agroforestry
- non-timber-forest-production
- human-capital-and-inclusion
@@ -3808,7 +3919,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'404':
description: Not Found
content:
@@ -3875,7 +3986,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -3891,7 +4002,7 @@ paths:
application/json:
example:
data:
- - id: 6bb24a74-b3e4-43a9-b10a-a29d2a867c1f
+ - id: 789ce27f-0a7d-407e-8497-bd13e9fcb364
type: project
attributes:
name: Project 1
@@ -3935,57 +4046,79 @@ paths:
received_funding: true
received_funding_amount_usd: '3000.0'
received_funding_investor: Kutch-Spencer
- relevant_links:
+ relevant_links:
language: en
account_language: en
geometry:
- type: Point
+ type: Polygon
coordinates:
- - 1.0
- - 2.0
+ - - - -7.256596802202454
+ - 39.42149705239956
+ - - -5.510236906689473
+ - 40.02677860935444
+ - - -4.408874148363334
+ - 39.419930008870296
+ - - -5.205992932301829
+ - 38.67169482742881
+ - - -6.402685625872827
+ - 38.39721372248553
+ - - -7.059852379049463
+ - 38.94985978831832
+ - - -7.256596802202454
+ - 39.42149705239956
verified: false
- created_at: '2022-10-26T08:15:31.312Z'
- updated_at: '2022-10-26T08:15:31.312Z'
- municipality_biodiversity_impact:
- municipality_climate_impact:
- municipality_water_impact:
- municipality_community_impact:
- municipality_total_impact:
- hydrobasin_biodiversity_impact:
- hydrobasin_climate_impact:
- hydrobasin_water_impact:
- hydrobasin_community_impact:
- hydrobasin_total_impact:
- priority_landscape_biodiversity_impact:
- priority_landscape_climate_impact:
- priority_landscape_water_impact:
- priority_landscape_community_impact:
- priority_landscape_total_impact:
+ created_at: '2023-11-23T10:22:33.430Z'
+ updated_at: '2023-11-23T10:22:33.430Z'
+ project_biodiversity_impact:
+ project_climate_impact:
+ project_water_impact:
+ project_community_impact:
+ project_total_impact:
+ municipality_biodiversity_impact:
+ municipality_climate_impact:
+ municipality_water_impact:
+ municipality_community_impact:
+ municipality_total_impact:
+ hydrobasin_biodiversity_impact:
+ hydrobasin_climate_impact:
+ hydrobasin_water_impact:
+ hydrobasin_community_impact:
+ hydrobasin_total_impact:
+ priority_landscape_biodiversity_impact:
+ priority_landscape_climate_impact:
+ priority_landscape_water_impact:
+ priority_landscape_community_impact:
+ priority_landscape_total_impact:
impact_calculated: false
- trusted: false
- latitude: 2.0
- longitude: 1.0
+ positive_financial_returns: Enim repellat pariatur. Earum modi
+ eos.
+ last_year_sales_revenue: '10000.0'
+ climate_change_risks_details: Enim repellat pariatur. Earum modi
+ eos.
+ climate_change_risks_identified: true
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
favourite: true
- funded:
+ funded:
relationships:
project_developer:
data:
- id: f40ef998-e2c6-4a25-9b34-9183e8dc7352
+ id: 72427445-c3d8-40b0-ab4f-72d8ce255dd5
type: project_developer
country:
data:
- id: faec6159-9eb0-488d-8d10-449f1177407c
+ id: 6296ca4a-9840-4772-9956-75d2ec1c911b
type: location
municipality:
data:
- id: 94798a0e-9e47-478f-ac94-4c018f9243df
+ id: 1e5f284e-24b0-4019-93ae-5736822eec02
type: location
department:
data:
- id: 62cf77ff-6ca3-42b0-8284-d2eddd5ffb19
+ id: 8386842f-342a-4cc7-981a-25a033652fdf
type: location
priority_landscape:
- data:
+ data:
involved_project_developers:
data: []
project_images:
@@ -4035,7 +4168,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'404':
description: Not Found
content:
@@ -4084,7 +4217,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'404':
description: Not Found
content:
@@ -4133,41 +4266,41 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
content:
application/json:
example:
data:
- - id: b28f09b0-42d7-4b0a-8593-8d6278627146
+ - id: 5e88c8e1-7d7b-4b55-ab59-b7b3080f5d0c
type: user
attributes:
first_name: Dawna
last_name: Block
email: dawna.block@example.org
role: light
- created_at: '2022-10-26T08:15:37.010Z'
+ created_at: '2023-11-23T10:22:36.072Z'
ui_language: en
account_language: en
otp_required_for_login: false
confirmed: true
approved: true
- invitation:
+ invitation:
owner: true
avatar:
- analyzed:
- small:
- medium:
- original:
- - id: 694cdf63-ec02-4a1b-9994-4dafac345920
+ analyzed:
+ small:
+ medium:
+ original:
+ - id: b496e42f-d129-41f1-9c72-8b4830b8abd7
type: user
attributes:
first_name: Desmond
last_name: Herzog
email: desmond_herzog@example.org
role: light
- created_at: '2022-10-26T08:15:37.068Z'
+ created_at: '2023-11-23T10:22:36.095Z'
ui_language: en
account_language: en
otp_required_for_login: false
@@ -4176,30 +4309,30 @@ paths:
invitation: completed
owner: false
avatar:
- analyzed:
- small:
- medium:
- original:
- - id: 3ebca23f-33c0-4b85-90db-cc63e1fa1d78
+ analyzed:
+ small:
+ medium:
+ original:
+ - id: 4a29da61-f355-423c-b7b4-ea0c1c0b9cea
type: user
attributes:
first_name: Raymon
last_name: Runte
email: runte_raymon@example.org
role: light
- created_at: '2022-10-26T08:15:37.080Z'
+ created_at: '2023-11-23T10:22:36.100Z'
ui_language: en
- account_language:
+ account_language:
otp_required_for_login: false
confirmed: true
- approved:
+ approved:
invitation: waiting
owner: false
avatar:
- analyzed:
- small:
- medium:
- original:
+ analyzed:
+ small:
+ medium:
+ original:
schema:
type: object
properties:
@@ -4229,7 +4362,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: forbidden
content:
@@ -4266,7 +4399,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -4282,26 +4415,26 @@ paths:
application/json:
example:
data:
- id: a966a93f-1af6-41f8-b8af-132c885e8259
+ id: 1cf93669-e0ca-4740-888b-506890bda7e4
type: user
attributes:
first_name: Desmond
last_name: Herzog
email: desmond_herzog@example.org
role: light
- created_at: '2022-10-26T08:15:39.743Z'
+ created_at: '2023-11-23T10:22:37.128Z'
ui_language: en
account_language: en
otp_required_for_login: false
confirmed: true
approved: true
- invitation:
+ invitation:
owner: true
avatar:
- analyzed:
- small:
- medium:
- original:
+ analyzed:
+ small:
+ medium:
+ original:
schema:
type: object
properties:
@@ -4313,7 +4446,7 @@ paths:
application/json:
example:
errors:
- - title: Couldn't find User with 'id'=51166fd4-fc94-4afb-b239-5f447c562a7b
+ - title: Couldn't find User with 'id'=c267a6bc-11dc-47a4-807d-1f971abc1499
[WHERE "users"."account_id" = $1]
schema:
"$ref": "#/components/schemas/errors"
@@ -4334,7 +4467,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -4368,7 +4501,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -4432,37 +4565,37 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
content:
application/json:
example:
data:
- - id: 594ded62-d6f1-474b-b897-0543f1bace15
+ - id: 0dc3a05a-b247-4c5d-a995-21d222fc183a
type: background_job_event
attributes:
status: enqueued
arguments:
- test@test.test
queue_name: default
- priority:
+ priority:
executions: 1
- message:
- created_at: '2022-10-16T08:15:45.923Z'
- updated_at: '2022-10-26T08:15:45.926Z'
- - id: cf21cf12-3659-4fbd-9847-c4ed39d13eee
+ message:
+ created_at: '2023-11-13T10:22:39.188Z'
+ updated_at: '2023-11-23T10:22:39.188Z'
+ - id: 62a0f0ba-913c-405e-a901-1b5541e7d489
type: background_job_event
attributes:
status: crashed
arguments:
- test@test.test
queue_name: default
- priority:
+ priority:
executions: 1
- message:
- created_at: '2022-10-26T08:15:45.885Z'
- updated_at: '2022-10-26T08:15:45.885Z'
+ message:
+ created_at: '2023-11-23T10:22:39.186Z'
+ updated_at: '2023-11-23T10:22:39.186Z'
meta:
page: 1
per_page: 10
@@ -4523,26 +4656,26 @@ paths:
application/json:
example:
data:
- id: 45259544-15f0-4b44-a1d7-83343864c17d
+ id: a4ea1984-f3d5-498f-a873-e1fb41352014
type: user
attributes:
first_name: Dawna
last_name: Block
email: user@example.com
role: light
- created_at: '2022-10-26T08:15:48.091Z'
+ created_at: '2023-11-23T10:22:39.341Z'
ui_language: en
- account_language:
+ account_language:
otp_required_for_login: false
confirmed: true
- approved:
- invitation:
+ approved:
+ invitation:
owner: false
avatar:
- analyzed:
- small:
- medium:
- original:
+ analyzed:
+ small:
+ medium:
+ original:
schema:
type: object
properties:
@@ -4574,10 +4707,10 @@ paths:
color: "#E7C343"
description: Sustainable and regenerative agriculture, fishing,
and aquaculture as well as manufacturing of derived subproducts.
- - id: tourism-and-recreation
+ - id: sustainable-tourism
type: category
attributes:
- name: Tourism and Recreation
+ name: Sustainable Tourism
color: "#4492E5"
description: Accommodation, travel, transportation, hospitality,
visitor experiences and eco-tourism projects.
@@ -4591,7 +4724,7 @@ paths:
- id: non-timber-forest-production
type: category
attributes:
- name: Non Timber Forest Production
+ name: Non-Timber Forest Production
color: "#404B9A"
description: Production of health, wellness, and cosmetic products;
art, clothing, and handcrafted products; production of food
@@ -4599,7 +4732,7 @@ paths:
- id: human-capital-and-inclusion
type: category
attributes:
- name: Human capital and inclusion
+ name: Human Capital and Inclusion
color: "#A0616A"
description: Adequate access to quality education, appropriate
health services, and formal employment opportunities that respond
@@ -4674,7 +4807,7 @@ paths:
- id: hydrometerological-risk-reduction
type: impact_area
attributes:
- name: Hydrometerological risk reduction
+ name: Hydrometereological risk reduction
impact: water
- id: sustainable-food
type: impact_area
@@ -4757,7 +4890,7 @@ paths:
- id: non-VC-investment-vehicle
type: investor_type
attributes:
- name: Non VC Investment Vehicle
+ name: Non-VC Investment Vehicle
- id: venture-capital-private-equity
type: investor_type
attributes:
@@ -4829,7 +4962,7 @@ paths:
- id: business-start-up-entrepreneur
type: project_developer_type
attributes:
- name: Business - Start-up entrepreneur
+ name: Business - Startup entrepreneur
- id: business-trade-or-business-association
type: project_developer_type
attributes:
@@ -4853,7 +4986,7 @@ paths:
- id: iplc-organization
type: project_developer_type
attributes:
- name: IPLC organization
+ name: Indigenous Peoples and Local Communities organization
- id: incipient
type: project_development_stage
attributes:
@@ -4862,7 +4995,7 @@ paths:
- id: consolidaton
type: project_development_stage
attributes:
- name: Consolidaton
+ name: Consolidation
description: project or solution already in implementation that
seeks to be strengthened and consolidated
- id: scaling-up
@@ -4882,7 +5015,7 @@ paths:
- id: entrepreneurs-and-innovators-startups
type: project_target_group
attributes:
- name: Enterpreneurs and innovators - startups
+ name: Entrepreneurs and innovators - startups
- id: small-and-medium-businesses
type: project_target_group
attributes:
@@ -4894,11 +5027,11 @@ paths:
- id: indigenous-peoples
type: project_target_group
attributes:
- name: Indigenous peoples
+ name: Indigenous people
- id: afro-desendant-peoples
type: project_target_group
attributes:
- name: Afro-desendant peoples
+ name: Afro-descendant people
- id: peasants-and-traditional-inhabitants
type: project_target_group
attributes:
@@ -5048,7 +5181,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
content:
@@ -5090,7 +5223,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -5136,7 +5269,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Open Call is from not approved investor
content:
@@ -5181,7 +5314,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -5227,7 +5360,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
content:
@@ -5269,7 +5402,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -5315,7 +5448,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
content:
@@ -5357,7 +5490,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -5465,7 +5598,7 @@ paths:
application/json:
example:
data:
- - id: 51a3976d-919d-48ec-8c1d-58c990485677
+ - id: 485f625e-b736-4f7f-a113-14283a256c9d
type: investor
attributes:
name: Bartoletti and Sons
@@ -5503,23 +5636,23 @@ paths:
language: en
account_language: en
review_status: approved
- created_at: '2022-10-26T08:15:58.447Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:42.793Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: 31ffe67c-684f-484f-a9c3-a78c04a37159
+ id: 1ea7aad4-36b3-47f5-bf74-80a33aea2064
type: user
open_calls:
data: []
- - id: 024ab604-8a53-4929-b035-46ee3ae6ad55
+ - id: 075554a9-34f2-44db-86cf-24406a14f3ad
type: investor
attributes:
name: Becker LLC
@@ -5557,23 +5690,23 @@ paths:
language: en
account_language: en
review_status: approved
- created_at: '2022-10-26T08:15:58.785Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:42.898Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: d58f744c-9a3b-47de-88b9-01d1f6e0169a
+ id: 7fcb2ad3-66c7-42cb-9fb1-4c1057648253
type: user
open_calls:
data: []
- - id: 26ea0289-5863-439c-aa87-1e918879338e
+ - id: 20fc0bb3-4436-40c2-8159-310ef2fe0625
type: investor
attributes:
name: Gleichner-Bartoletti
@@ -5610,23 +5743,23 @@ paths:
language: pt
account_language: pt
review_status: approved
- created_at: '2022-10-26T08:15:59.020Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:42.967Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: ecab0020-2ec3-423b-ae1e-9e643d492519
+ id: 265b562a-7cae-41c4-9e83-432925045742
type: user
open_calls:
data: []
- - id: 667f632a-d5ea-40d4-ba2b-bb3af3588092
+ - id: f8c147b0-1828-4059-8e6c-39498fbf9897
type: investor
attributes:
name: Hane, Lehner and Goyette
@@ -5664,23 +5797,23 @@ paths:
language: en
account_language: en
review_status: approved
- created_at: '2022-10-26T08:15:58.510Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:42.814Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: 053a3fe6-0822-44af-9388-6c704ac27978
+ id: 473f2289-c59e-434e-9052-adbf881efe3f
type: user
open_calls:
data: []
- - id: ab258936-d538-473a-a5a9-83714eab4bdb
+ - id: c0a1d647-81a1-4508-ac22-a1a07435a399
type: investor
attributes:
name: Hilpert, Waters and Johnston
@@ -5718,23 +5851,23 @@ paths:
language: en
account_language: en
review_status: approved
- created_at: '2022-10-26T08:15:58.579Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:42.834Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: 751c6689-1526-4a09-9df8-51b143ac0eef
+ id: '084b5b49-a618-4d70-b6c6-09ce964c8f5f'
type: user
open_calls:
data: []
- - id: d314b295-27ae-4d9d-8953-e95c5aefb477
+ - id: afb3bb87-235f-4918-b490-afece942a023
type: investor
attributes:
name: Jacobson, Fritsch and Stanton
@@ -5772,23 +5905,23 @@ paths:
language: en
account_language: en
review_status: approved
- created_at: '2022-10-26T08:15:58.644Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:42.855Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: 74ad001d-9b26-4bee-9977-29515e07e384
+ id: 7081d26b-fa31-40ff-aa9a-3d11b75de7d5
type: user
open_calls:
data: []
- - id: d31cedb2-47f1-4fd5-b5df-e8e704fff8cc
+ - id: 8375743e-d2cf-4c7c-9517-08ab3a064d84
type: investor
attributes:
name: Keebler, Kub and Zemlak
@@ -5826,23 +5959,23 @@ paths:
language: en
account_language: en
review_status: approved
- created_at: '2022-10-26T08:15:58.713Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:42.876Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: 66c58dc4-6b1c-48e3-93c0-67adfb6fd062
+ id: 9dd5e384-e923-428a-8af6-487aaaa1193e
type: user
open_calls:
data: []
- - id: 2a2900a4-1d95-46ec-8a37-23832959e5c3
+ - id: 2e088230-5568-4032-9d74-1b5ec1b2319b
type: investor
attributes:
name: Kutch-Spencer
@@ -5879,19 +6012,19 @@ paths:
language: en
account_language: en
review_status: approved
- created_at: '2022-10-26T08:15:58.306Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:42.751Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: 9df1b94a-6546-405c-9e14-6de662a0b608
+ id: f0965313-843d-4a3d-9cc5-65f344a89425
type: user
open_calls:
data: []
@@ -5957,7 +6090,7 @@ paths:
application/json:
example:
data:
- id: 2a2900a4-1d95-46ec-8a37-23832959e5c3
+ id: 2e088230-5568-4032-9d74-1b5ec1b2319b
type: investor
attributes:
name: Kutch-Spencer
@@ -5994,19 +6127,19 @@ paths:
language: en
account_language: en
review_status: approved
- created_at: '2022-10-26T08:15:58.306Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:42.751Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: 9df1b94a-6546-405c-9e14-6de662a0b608
+ id: f0965313-843d-4a3d-9cc5-65f344a89425
type: user
open_calls:
data: []
@@ -6086,7 +6219,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'403':
description: Forbidden
content:
@@ -6133,21 +6266,21 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
content:
application/json:
example:
data:
- id: 24e086f6-5961-49ce-a551-daab9fac7f88
+ id: e10de511-4252-44ef-b8c1-2705a697012c
type: user
attributes:
first_name: Dawna
last_name: Block
email: dawna.block@example.org
role: light
- created_at: '2022-10-26T08:16:01.419Z'
+ created_at: '2023-11-23T10:22:44.226Z'
ui_language: es
account_language: pt
otp_required_for_login: false
@@ -6156,10 +6289,10 @@ paths:
invitation: completed
owner: false
avatar:
- analyzed:
- small:
- medium:
- original:
+ analyzed:
+ small:
+ medium:
+ original:
schema:
type: object
properties:
@@ -6233,63 +6366,63 @@ paths:
application/json:
example:
data:
- - id: a957d3a8-29ec-4c0c-b394-541893e0c36f
+ - id: ac063058-a469-472c-8958-b640216f3b4a
type: location
attributes:
name: Canada
location_type: country
- code:
- created_at: '2022-10-26T08:16:01.939Z'
+ code:
+ created_at: '2023-11-23T10:22:44.470Z'
relationships:
parent:
- data:
- - id: 305ceef3-4f47-4ee0-9b3f-a291a7def815
+ data:
+ - id: 2e80a3b6-7306-480f-a652-b37936752b1a
type: location
attributes:
name: Papua New Guinea
location_type: department
- code:
- created_at: '2022-10-26T08:16:01.945Z'
+ code:
+ created_at: '2023-11-23T10:22:44.473Z'
relationships:
parent:
data:
- id: a957d3a8-29ec-4c0c-b394-541893e0c36f
+ id: ac063058-a469-472c-8958-b640216f3b4a
type: location
- - id: f26a4bca-2916-49aa-b5d7-b3a9d3fa177e
+ - id: 6991b53c-7070-44a0-a52e-c8eb9cb87bd6
type: location
attributes:
name: Jamaica
location_type: municipality
- code:
- created_at: '2022-10-26T08:16:01.949Z'
+ code:
+ created_at: '2023-11-23T10:22:44.475Z'
relationships:
parent:
data:
- id: 305ceef3-4f47-4ee0-9b3f-a291a7def815
+ id: 2e80a3b6-7306-480f-a652-b37936752b1a
type: location
- - id: 0fcaeb99-3b8b-4da1-b78d-f3df627c936c
+ - id: b67593c0-d90a-414c-b993-8035e252407c
type: location
attributes:
name: Libyan Arab Jamahiriya
location_type: municipality
- code:
- created_at: '2022-10-26T08:16:01.958Z'
+ code:
+ created_at: '2023-11-23T10:22:44.478Z'
relationships:
parent:
data:
- id: 305ceef3-4f47-4ee0-9b3f-a291a7def815
+ id: 2e80a3b6-7306-480f-a652-b37936752b1a
type: location
- - id: 4e5231f2-d75f-4dfc-a588-3c661efffa68
+ - id: 1e04b71e-6d6e-42e8-bd72-f6ec7245c577
type: location
attributes:
name: India
location_type: municipality
- code:
- created_at: '2022-10-26T08:16:01.968Z'
+ code:
+ created_at: '2023-11-23T10:22:44.480Z'
relationships:
parent:
data:
- id: 305ceef3-4f47-4ee0-9b3f-a291a7def815
+ id: 2e80a3b6-7306-480f-a652-b37936752b1a
type: location
schema:
type: object
@@ -6338,17 +6471,17 @@ paths:
application/json:
example:
data:
- id: f26a4bca-2916-49aa-b5d7-b3a9d3fa177e
+ id: 6991b53c-7070-44a0-a52e-c8eb9cb87bd6
type: location
attributes:
name: Jamaica
location_type: municipality
- code:
- created_at: '2022-10-26T08:16:01.949Z'
+ code:
+ created_at: '2023-11-23T10:22:44.475Z'
relationships:
parent:
data:
- id: 305ceef3-4f47-4ee0-9b3f-a291a7def815
+ id: 2e80a3b6-7306-480f-a652-b37936752b1a
type: location
schema:
type: object
@@ -6433,7 +6566,7 @@ paths:
application/json:
example:
data:
- - id: e0b1439e-d9ab-42b4-a449-24f95c215b89
+ - id: df3ad9c7-83c2-4c16-9839-383c70d46b8e
type: open_call
attributes:
name: Open call 1
@@ -6453,39 +6586,38 @@ paths:
impact_description: Placeat commodi libero. Quo recusandae repellat.
Sunt commodi tempore. Voluptatem et corrupti.
maximum_funding_per_project: 100000
- closing_at: '2023-08-26T08:16:02.791Z'
+ closing_at: '2024-09-23T10:22:44.684Z'
status: launched
language: en
account_language: en
verified: false
- created_at: '2022-10-26T08:16:02.796Z'
- updated_at: '2022-10-26T08:16:02.812Z'
+ created_at: '2023-11-23T10:22:44.687Z'
+ updated_at: '2023-11-23T10:22:44.694Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
investor:
data:
- id: b1bd03b8-76c0-4503-a9e0-31d4fbfe1d9b
+ id: 6050c96a-c604-4543-ad64-53acf3ed04fa
type: investor
country:
data:
- id: 85063222-6404-4ff4-a433-88a85ebb6e2f
+ id: e51c310f-398f-4058-a589-e95bbc9f0267
type: location
municipality:
data:
- id: 8d380a70-0558-4d5f-af0d-6b441a6ae9bc
+ id: 9e7bcf3c-717a-4173-8cce-a6e1c092f940
type: location
department:
data:
- id: ee235455-9220-45fd-a773-3ef07474f704
+ id: 578b34ea-2017-4ebf-b41b-ceae4fe00c2d
type: location
- - id: 1ef9a0c5-9818-47a0-88bc-1b0accd0749d
+ - id: 75213e61-d2c6-4983-ae84-14ed8de7557a
type: open_call
attributes:
name: Open call 2
@@ -6505,39 +6637,38 @@ paths:
impact_description: Et quaerat omnis. Harum voluptas atque. Quo
nesciunt voluptas. Suscipit ex cum.
maximum_funding_per_project: 100000
- closing_at: '2023-08-26T08:16:02.923Z'
+ closing_at: '2024-09-23T10:22:44.730Z'
status: launched
language: en
account_language: en
verified: false
- created_at: '2022-10-26T08:16:02.929Z'
- updated_at: '2022-10-26T08:16:02.939Z'
+ created_at: '2023-11-23T10:22:44.733Z'
+ updated_at: '2023-11-23T10:22:44.748Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
investor:
data:
- id: f427e787-91c2-4982-922d-94556bf53173
+ id: e794892c-74e1-4c16-8742-3d2730ff8225
type: investor
country:
data:
- id: 5ca98efc-f2ce-4d32-9ade-05d81fabd489
+ id: c86bf07d-6583-43ed-8cef-943b4f357b67
type: location
municipality:
data:
- id: fcafa70d-63e3-4214-863a-d90a78664765
+ id: 910b5c9e-b2fe-4df4-bb3e-de72f486b298
type: location
department:
data:
- id: 021f4185-5eaa-444e-b1db-555d63954da8
+ id: 91943f7f-6a7f-4be0-9814-f7d4cd4a5c77
type: location
- - id: 497ccc77-479e-4e25-b21e-a09f794b6f0a
+ - id: d79eba3f-d1e0-4454-a7ec-eb8675eb5d2d
type: open_call
attributes:
name: Open call 3
@@ -6557,39 +6688,38 @@ paths:
impact_description: Dolores fugiat nesciunt. Ut laborum dolores.
Sit neque eos. Expedita molestiae quia.
maximum_funding_per_project: 100000
- closing_at: '2023-08-26T08:16:03.025Z'
+ closing_at: '2024-09-23T10:22:44.791Z'
status: launched
language: en
account_language: en
verified: false
- created_at: '2022-10-26T08:16:03.031Z'
- updated_at: '2022-10-26T08:16:03.043Z'
+ created_at: '2023-11-23T10:22:44.794Z'
+ updated_at: '2023-11-23T10:22:44.801Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
investor:
data:
- id: d5b1bc8b-2d71-450f-8a31-b14393a30d2d
+ id: 1a817709-0e7c-4f66-9c48-1f79db43ce51
type: investor
country:
data:
- id: d3be241b-4e7f-46ea-bce1-a82231203be6
+ id: 070e131d-0cf9-4af0-bc59-744632ba6a8c
type: location
municipality:
data:
- id: cfcd9f74-3e9a-4672-adcb-9395a2fb85fb
+ id: f85777a3-d661-4ce0-bed4-75383c6965cd
type: location
department:
data:
- id: e46e8820-3738-4785-be95-159dde27498c
+ id: 48b8f871-35ea-4b51-ace7-156faa369468
type: location
- - id: 3fa71e36-1764-41ce-8174-97acba7136d2
+ - id: 57c39aeb-72b8-45aa-8c71-65e944074c01
type: open_call
attributes:
name: Open call 4
@@ -6609,39 +6739,38 @@ paths:
impact_description: Autem et et. Voluptatem neque quibusdam. Repellat
recusandae eum. Eius ex est.
maximum_funding_per_project: 100000
- closing_at: '2023-08-26T08:16:03.122Z'
+ closing_at: '2024-09-23T10:22:44.837Z'
status: launched
language: en
account_language: en
verified: false
- created_at: '2022-10-26T08:16:03.126Z'
- updated_at: '2022-10-26T08:16:03.139Z'
+ created_at: '2023-11-23T10:22:44.840Z'
+ updated_at: '2023-11-23T10:22:44.847Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
investor:
data:
- id: e2ea7787-f631-4f8d-ac0b-5672c037a8c6
+ id: 5543816b-cbb8-48d3-bed6-e17fa4ab2167
type: investor
country:
data:
- id: 9eebd963-a3b4-44b7-9f6d-758ed167a680
+ id: f46d8066-74c8-4215-8f32-a2a80b00e4fd
type: location
municipality:
data:
- id: f94b770e-ca58-45b9-adb3-a98255a3f412
+ id: a6e7eb00-8b15-40cd-bef0-dc5efc4d31a7
type: location
department:
data:
- id: 4a008e3b-f54f-4a30-9f95-87be8e74dcea
+ id: ade0c826-2ac6-451d-abf2-84845f9a2d95
type: location
- - id: 4362ce13-f4db-4cc6-90fe-dabfbd8cb7d9
+ - id: 1b97c836-ca54-4df7-a282-ebf993ba468a
type: open_call
attributes:
name: Open call 5
@@ -6661,39 +6790,38 @@ paths:
impact_description: Porro soluta beatae. Quia ratione facilis.
Eligendi sapiente voluptatem. Quas rerum officia.
maximum_funding_per_project: 100000
- closing_at: '2023-08-26T08:16:03.220Z'
+ closing_at: '2024-09-23T10:22:44.884Z'
status: launched
language: en
account_language: en
verified: false
- created_at: '2022-10-26T08:16:03.225Z'
- updated_at: '2022-10-26T08:16:03.236Z'
+ created_at: '2023-11-23T10:22:44.886Z'
+ updated_at: '2023-11-23T10:22:44.893Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
investor:
data:
- id: 39910c8f-9e65-4be4-8ed9-a562f398c634
+ id: e301a421-43c7-40b2-b69c-d79e742704b4
type: investor
country:
data:
- id: 21e37a9e-d08f-47fa-b89a-f6d1d21be62d
+ id: 40b0aa8a-d892-40d3-95c1-7f4729ef910a
type: location
municipality:
data:
- id: 9e4b799c-7149-4a3c-9202-da1fc80b70e3
+ id: ba7e9808-85c6-4cf5-854d-fe3ee38ba731
type: location
department:
data:
- id: bff73c2f-05e5-429b-b797-760a8ab88d13
+ id: '08b00ed3-f0d2-40ae-bcc6-fc86882ffa16'
type: location
- - id: 8f8d2d47-4d36-4fb0-bccd-50e7dfa9b0c6
+ - id: dbe2347f-1bbd-4f8b-836e-e5b195ad9a38
type: open_call
attributes:
name: Open call 6
@@ -6713,39 +6841,38 @@ paths:
impact_description: Mollitia aut vel. Qui illum accusantium. Et
laudantium et. Sed recusandae aut.
maximum_funding_per_project: 100000
- closing_at: '2023-08-26T08:16:03.331Z'
+ closing_at: '2024-09-23T10:22:44.930Z'
status: launched
language: en
account_language: en
verified: false
- created_at: '2022-10-26T08:16:03.334Z'
- updated_at: '2022-10-26T08:16:03.344Z'
+ created_at: '2023-11-23T10:22:44.932Z'
+ updated_at: '2023-11-23T10:22:44.940Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
investor:
data:
- id: 03c0907d-3968-4d76-a2ff-279e67faa0be
+ id: f0df66ac-27b8-499d-a654-ee77504cdc24
type: investor
country:
data:
- id: f398bc05-7256-4715-95fe-cf3b679eff99
+ id: a2637f83-cb74-476f-bd2b-53bebf701a5b
type: location
municipality:
data:
- id: b4bbad84-1616-4b7f-959a-989fcad96ea2
+ id: f25a9cf6-61d6-4814-97ea-10bcd1969d31
type: location
department:
data:
- id: e64f3ad8-35f1-427b-8624-fa9d7cee7ae5
+ id: 3161561c-81ff-47cf-87f0-47fb3e9c5cce
type: location
- - id: a829e6a2-315a-49e8-bfa2-d3f8bcec715f
+ - id: a441ef9d-fb02-4ae0-81e6-1df4810c84c9
type: open_call
attributes:
name: Open call 8
@@ -6764,39 +6891,38 @@ paths:
impact_description: Impedit animi eveniet. Quia illum aut. Dolore
quia officiis. Non aut sit.
maximum_funding_per_project: 100000
- closing_at: '2023-08-26T08:16:03.637Z'
+ closing_at: '2024-09-23T10:22:45.052Z'
status: launched
language: en
account_language: pt
verified: false
- created_at: '2022-10-26T08:16:03.640Z'
- updated_at: '2022-10-26T08:16:03.649Z'
+ created_at: '2023-11-23T10:22:45.055Z'
+ updated_at: '2023-11-23T10:22:45.062Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
investor:
data:
- id: 6b7bd673-cc07-4c3c-9f10-286c11b6636e
+ id: 1218cb57-b842-4126-ad73-c30aa2c95eb4
type: investor
country:
data:
- id: d6ce83f5-fb33-4768-88d7-238df589afa1
+ id: a1ce0569-9c6a-47b0-a5f4-cee7ace00086
type: location
municipality:
data:
- id: 1be45768-5797-436c-8dbc-f5467dbca376
+ id: 9b1e8605-961b-4833-9590-82677da9c972
type: location
department:
data:
- id: 2617c579-2d01-41e6-b218-376919226543
+ id: 94347003-d4a1-4867-82fa-86af1bc64d8e
type: location
- - id: f9428b68-c274-4413-b5b0-22c6a86273a8
+ - id: 8460d41e-3690-4163-8b57-add0c90dcc4d
type: open_call
attributes:
name: Yellow Banana
@@ -6816,37 +6942,36 @@ paths:
impact_description: Enim repellat pariatur. Earum modi eos. Libero
tempora exercitationem. Qui dolorem quo.
maximum_funding_per_project: 100000
- closing_at: '2023-08-26T08:16:02.678Z'
+ closing_at: '2024-09-23T10:22:44.637Z'
status: launched
language: en
account_language: en
verified: false
- created_at: '2022-10-26T08:16:02.684Z'
- updated_at: '2022-10-26T08:16:02.700Z'
+ created_at: '2023-11-23T10:22:44.640Z'
+ updated_at: '2023-11-23T10:22:44.647Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
investor:
data:
- id: da1af5f4-3356-465b-9101-07bf0726bb98
+ id: 90ab3079-d760-44b9-838d-d2c965454865
type: investor
country:
data:
- id: f9d274d3-e217-4902-92a4-a546247c887d
+ id: 5816e8d6-f13f-46ad-b2f3-b062b8012f4c
type: location
municipality:
data:
- id: 64572957-2be0-42d5-a92d-d90c4783b509
+ id: 81c21d5b-6204-47de-b265-8cae6627708c
type: location
department:
data:
- id: d36c82b8-cdc2-479d-aad1-0b2c8af8c253
+ id: 20e9fb8a-f135-4110-95a1-6fdd69a839df
type: location
meta:
page: 1
@@ -6916,7 +7041,7 @@ paths:
application/json:
example:
data:
- id: f9428b68-c274-4413-b5b0-22c6a86273a8
+ id: 8460d41e-3690-4163-8b57-add0c90dcc4d
type: open_call
attributes:
name: Yellow Banana
@@ -6936,37 +7061,36 @@ paths:
impact_description: Enim repellat pariatur. Earum modi eos. Libero
tempora exercitationem. Qui dolorem quo.
maximum_funding_per_project: 100000
- closing_at: '2023-08-26T08:16:02.678Z'
+ closing_at: '2024-09-23T10:22:44.637Z'
status: launched
language: en
account_language: en
verified: false
- created_at: '2022-10-26T08:16:02.684Z'
- updated_at: '2022-10-26T08:16:02.700Z'
+ created_at: '2023-11-23T10:22:44.640Z'
+ updated_at: '2023-11-23T10:22:44.647Z'
open_call_applications_count: 0
- trusted: false
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
investor:
data:
- id: da1af5f4-3356-465b-9101-07bf0726bb98
+ id: 90ab3079-d760-44b9-838d-d2c965454865
type: investor
country:
data:
- id: f9d274d3-e217-4902-92a4-a546247c887d
+ id: 5816e8d6-f13f-46ad-b2f3-b062b8012f4c
type: location
municipality:
data:
- id: 64572957-2be0-42d5-a92d-d90c4783b509
+ id: 81c21d5b-6204-47de-b265-8cae6627708c
type: location
department:
data:
- id: d36c82b8-cdc2-479d-aad1-0b2c8af8c253
+ id: 20e9fb8a-f135-4110-95a1-6fdd69a839df
type: location
schema:
type: object
@@ -7057,7 +7181,7 @@ paths:
application/json:
example:
data:
- - id: dfd0a958-6313-4369-87b5-49e55f882a85
+ - id: f065f3c1-c506-49ea-9636-139bc0b80478
type: project_developer
attributes:
name: Bartoletti and Sons
@@ -7082,33 +7206,33 @@ paths:
account_language: en
entity_legal_registration_number: '564823570'
review_status: approved
- created_at: '2022-10-26T08:16:04.777Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:45.555Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: 7421c352-4063-4e7f-a8ee-4c80f1f6c14b
+ id: 340167d7-04e1-48f2-9d84-26f44f4d2766
type: user
projects:
data:
- - id: d4645129-6be3-4779-96a9-611fb1978997
+ - id: '09c24305-12d5-4b61-9fd1-88214a978cf7'
type: project
involved_projects:
data: []
priority_landscapes:
data:
- - id: efa4619e-297e-4b2d-8589-6065e4f439ec
+ - id: 51a16b47-48cd-47c7-9a9d-b418611a72c1
type: location
- - id: f34794d7-baee-4bad-8e14-8992dc893a4d
+ - id: cda5a900-c3db-4461-a526-9e5a6ca85417
type: location
- - id: 226839f8-3e19-4c27-9bd7-5377e3f821b1
+ - id: 497f6601-171a-4068-8d7d-12675011e90a
type: project_developer
attributes:
name: Becker LLC
@@ -7133,19 +7257,19 @@ paths:
account_language: en
entity_legal_registration_number: '564823570'
review_status: approved
- created_at: '2022-10-26T08:16:05.381Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:45.821Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: c0ea3bdd-4036-45dc-ad8c-6868c11db8e4
+ id: 5ae4e036-ccab-432d-8238-ca34922d2f39
type: user
projects:
data: []
@@ -7153,11 +7277,11 @@ paths:
data: []
priority_landscapes:
data:
- - id: 34d67a2e-30a7-4357-830b-eee6dc6419c9
+ - id: 8e76b88f-806a-4e17-9819-7a7bfa2e9d2b
type: location
- - id: 3f453ec4-900b-4e05-8eba-d0474fe7d2fe
+ - id: da23094c-f674-448f-a60a-31fbe132bbc4
type: location
- - id: 7c3a86df-6d83-4a10-a1f0-580965b30b51
+ - id: 818bdb2e-5652-4057-8cad-04e25b10a96b
type: project_developer
attributes:
name: Hane, Lehner and Goyette
@@ -7182,33 +7306,33 @@ paths:
account_language: en
entity_legal_registration_number: '564823570'
review_status: approved
- created_at: '2022-10-26T08:16:04.892Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:45.614Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: fbbf25dd-1371-4b57-a8a2-126ed9fa7807
+ id: 33bad606-c874-4daf-8eb9-d3cf494dc687
type: user
projects:
data:
- - id: ea719096-af70-4826-8a1a-376013a4aab2
+ - id: 88f724de-ed9c-4461-b465-349f94b50497
type: project
involved_projects:
data: []
priority_landscapes:
data:
- - id: 18f87a70-f474-4c2a-abed-d2f5bd1c3553
+ - id: 59721046-cf6d-46c9-a83b-c6f5708bbc49
type: location
- - id: dd019e01-88b3-4836-be5b-14aa03fea453
+ - id: 93de5f37-aaba-4c22-909d-a9ea374df455
type: location
- - id: 384a9827-3fe7-43d8-b09c-e6dee1f1cf40
+ - id: acc010f2-9158-4575-a685-93a68ae1d306
type: project_developer
attributes:
name: Hilpert, Waters and Johnston
@@ -7233,19 +7357,19 @@ paths:
account_language: en
entity_legal_registration_number: '564823570'
review_status: approved
- created_at: '2022-10-26T08:16:05.144Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:45.716Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: c9ec4bd5-26ca-49c1-974d-d939f3765e89
+ id: 540f5145-7a53-49e4-bec1-a7e04a445d46
type: user
projects:
data: []
@@ -7253,11 +7377,11 @@ paths:
data: []
priority_landscapes:
data:
- - id: a05eb4dd-8dac-4fe6-9f5e-f5bac842a918
+ - id: 8c5fe493-a737-4b45-a666-5558c35be4c6
type: location
- - id: ec766c47-5600-44ec-97cd-4379448a879c
+ - id: cc410d2d-f4da-4c90-a2b9-8f896ae2caec
type: location
- - id: 7e1dad93-8140-454b-90e5-9335cee2ed2a
+ - id: e4f6f14f-683a-4b89-ac07-2c7ffcde860e
type: project_developer
attributes:
name: Jacobson, Fritsch and Stanton
@@ -7282,19 +7406,19 @@ paths:
account_language: en
entity_legal_registration_number: '564823570'
review_status: approved
- created_at: '2022-10-26T08:16:05.218Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:45.747Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: c2e0b5af-7c1d-4867-ad1a-9842cae6c759
+ id: e99ea7d1-e7e1-40a7-8094-998d1552e2e1
type: user
projects:
data: []
@@ -7302,11 +7426,11 @@ paths:
data: []
priority_landscapes:
data:
- - id: 973fb8cc-42fa-484f-bd65-3d0c8cd4cd8d
+ - id: 0ea190fb-b154-473f-aa1e-546024bae9ef
type: location
- - id: 14eb1470-d45e-4e78-a9ff-6c4021cd5c29
+ - id: 5183cf9c-2e95-43cf-83d8-2cbb39d021b9
type: location
- - id: b1148e66-c2fb-4cf9-ac76-d9caa9a1552a
+ - id: 566656e8-08a0-4823-b097-ba7d24412fa3
type: project_developer
attributes:
name: Keebler, Kub and Zemlak
@@ -7331,19 +7455,19 @@ paths:
account_language: en
entity_legal_registration_number: '564823570'
review_status: approved
- created_at: '2022-10-26T08:16:05.296Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:45.791Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: 0b60d938-efa5-4db6-bb39-2f9ffec6785e
+ id: 97dc735a-c4a4-43b2-ab99-f8c334992bc8
type: user
projects:
data: []
@@ -7351,11 +7475,11 @@ paths:
data: []
priority_landscapes:
data:
- - id: d6b3d54e-1263-4b03-871f-b423d2c94b5b
+ - id: 5e18f0e2-c80a-4555-871a-a35bbbc4370c
type: location
- - id: 743805a2-bfe8-4dc8-87b4-f5b2a855e277
+ - id: 84a118a2-f058-4880-8806-ff6bd861910a
type: location
- - id: 064a6f97-07e3-4754-a3bf-c2703c408e89
+ - id: 151e9129-edb0-49ff-a4b2-f4a96ee5d1c9
type: project_developer
attributes:
name: Kutch-Spencer
@@ -7370,7 +7494,7 @@ paths:
mission: Yellow Banana
project_developer_type: ngo
categories:
- - tourism-and-recreation
+ - sustainable-tourism
impacts:
- climate
- water
@@ -7378,35 +7502,35 @@ paths:
account_language: en
entity_legal_registration_number: '564823570'
review_status: approved
- created_at: '2022-10-26T08:16:04.967Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:45.652Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: 2cd8a84c-fd52-4ed8-9534-2ef951c9d684
+ id: 2166e8c7-b0f2-40f6-b3d2-c19e6206699c
type: user
projects:
data: []
involved_projects:
data:
- - id: d4645129-6be3-4779-96a9-611fb1978997
+ - id: '09c24305-12d5-4b61-9fd1-88214a978cf7'
type: project
- - id: ea719096-af70-4826-8a1a-376013a4aab2
+ - id: 88f724de-ed9c-4461-b465-349f94b50497
type: project
priority_landscapes:
data:
- - id: 52dcb73e-a7b0-4d20-b28c-986a7a7a0b46
+ - id: 5040b5ce-485b-48ab-87da-7d9277394ce0
type: location
- - id: 7c128812-95dd-4509-8fac-0ea9732bf72a
+ - id: 7c18a706-f5b7-45b1-b9a6-34f76436a4a4
type: location
- - id: 7862b7d7-4805-422e-8504-864d9e22bd9b
+ - id: b7570ad6-aae9-4643-a0dc-9503bc402e5c
type: project_developer
attributes:
name: Lind, Langworth and Gottlieb
@@ -7430,19 +7554,19 @@ paths:
account_language: pt
entity_legal_registration_number: '564823570'
review_status: approved
- created_at: '2022-10-26T08:16:05.693Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:45.966Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: f5fef855-6611-480c-adb5-8e0713cbd42f
+ id: f3750ae7-933f-4293-a551-76bf8d82ef9a
type: user
projects:
data: []
@@ -7450,11 +7574,11 @@ paths:
data: []
priority_landscapes:
data:
- - id: a6b3dd8d-fa16-4f84-996e-b04862b513b6
+ - id: 4d8db1ce-5561-4dc0-b1b1-c0c94ab28ee1
type: location
- - id: 1f355aa1-9621-43f8-9331-ba6e2573dcdc
+ - id: b3d2a234-5dd7-4270-8a95-48a99baa17b4
type: location
- - id: 8c711780-6f2f-4224-9e51-7e05ed1bcda7
+ - id: 10d83799-739f-497b-9fca-b9948c8c0ff8
type: project_developer
attributes:
name: Ritchie, Glover and Ward
@@ -7479,19 +7603,19 @@ paths:
account_language: en
entity_legal_registration_number: '564823570'
review_status: approved
- created_at: '2022-10-26T08:16:05.513Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:45.880Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: 79a84e5f-820b-436f-8acc-068d07d02ab2
+ id: 7127e13e-9ab3-471a-88f8-1ef03d2dca43
type: user
projects:
data: []
@@ -7499,11 +7623,11 @@ paths:
data: []
priority_landscapes:
data:
- - id: 9b14057c-487c-4911-8090-35f6628f0389
+ - id: 5bffb6c6-1578-4fa6-ba80-f451880e4a12
type: location
- - id: ba1e478e-f06b-4b0e-a597-ff9e3a3048b0
+ - id: f982a659-396f-4a5f-845a-5cd91c6d703c
type: location
- - id: dfd9065e-c215-4604-b791-b91eba79a4db
+ - id: ab5af2a3-65d7-48d4-94d6-b10ef21b8e66
type: project_developer
attributes:
name: Runolfsson and Sons
@@ -7528,19 +7652,19 @@ paths:
account_language: en
entity_legal_registration_number: '564823570'
review_status: approved
- created_at: '2022-10-26T08:16:05.446Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:45.850Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: 5f7bfc2c-8d76-43ce-8e5a-43935dacade0
+ id: 8c5e32a3-be2c-4515-b328-f2720d8cf4fc
type: user
projects:
data: []
@@ -7548,9 +7672,9 @@ paths:
data: []
priority_landscapes:
data:
- - id: 7134b3bb-6122-4306-9bbf-7c808ec0cf5d
+ - id: 29c9f81f-36bc-4b6d-8b01-176991119ae3
type: location
- - id: 1e0c2e65-8e1d-4cfa-ba03-4eb813908089
+ - id: e996b91d-0456-4359-97d2-485ca060bfaf
type: location
meta:
page: 1
@@ -7620,7 +7744,7 @@ paths:
application/json:
example:
data:
- id: 064a6f97-07e3-4754-a3bf-c2703c408e89
+ id: 151e9129-edb0-49ff-a4b2-f4a96ee5d1c9
type: project_developer
attributes:
name: Kutch-Spencer
@@ -7635,7 +7759,7 @@ paths:
mission: Yellow Banana
project_developer_type: ngo
categories:
- - tourism-and-recreation
+ - sustainable-tourism
impacts:
- climate
- water
@@ -7643,33 +7767,33 @@ paths:
account_language: en
entity_legal_registration_number: '564823570'
review_status: approved
- created_at: '2022-10-26T08:16:04.967Z'
- contact_email:
- contact_phone:
+ created_at: '2023-11-23T10:22:45.652Z'
+ contact_email:
+ contact_phone:
picture:
analyzed: false
- small:
- medium:
- original:
- favourite:
+ small:
+ medium:
+ original:
+ favourite:
relationships:
owner:
data:
- id: 2cd8a84c-fd52-4ed8-9534-2ef951c9d684
+ id: 2166e8c7-b0f2-40f6-b3d2-c19e6206699c
type: user
projects:
data: []
involved_projects:
data:
- - id: d4645129-6be3-4779-96a9-611fb1978997
+ - id: '09c24305-12d5-4b61-9fd1-88214a978cf7'
type: project
- - id: ea719096-af70-4826-8a1a-376013a4aab2
+ - id: 88f724de-ed9c-4461-b465-349f94b50497
type: project
priority_landscapes:
data:
- - id: 52dcb73e-a7b0-4d20-b28c-986a7a7a0b46
+ - id: 5040b5ce-485b-48ab-87da-7d9277394ce0
type: location
- - id: 7c128812-95dd-4509-8fac-0ea9732bf72a
+ - id: 7c18a706-f5b7-45b1-b9a6-34f76436a4a4
type: location
schema:
type: object
@@ -7743,60 +7867,53 @@ paths:
application/json:
example:
data:
- - id: e962af7d-7968-441b-8b0b-b430b601638d
+ - id: 4e8c8a0c-92bb-4c0b-958b-af0f076ca813
type: project_map
attributes:
verified: false
category: forestry-and-agroforestry
- trusted: false
- latitude: 2.0
- longitude: 1.0
- - id: 1b044f12-beed-40a8-828d-52f165546b63
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
+ - id: 981cf1ee-e245-484f-84ec-8e7d62bf94ae
type: project_map
attributes:
verified: false
category: forestry-and-agroforestry
- trusted: false
- latitude: 2.0
- longitude: 1.0
- - id: 5993d03d-3eb3-4624-9d8b-7f71dbd9543a
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
+ - id: 6b6a9c37-cd70-45dd-82af-233133cdf7bd
type: project_map
attributes:
verified: false
category: forestry-and-agroforestry
- trusted: false
- latitude: 2.0
- longitude: 1.0
- - id: 2b8559a2-8562-446f-81f2-c6999f276f01
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
+ - id: eb9faff0-6f63-4bd2-b70f-d7db65d7b3a5
type: project_map
attributes:
verified: false
category: forestry-and-agroforestry
- trusted: false
- latitude: 2.0
- longitude: 1.0
- - id: 20b7f590-7524-4419-9834-242620a8105d
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
+ - id: 7a85acd9-f58f-43a7-8263-8bfe8abf43b1
type: project_map
attributes:
verified: false
category: forestry-and-agroforestry
- trusted: false
- latitude: 2.0
- longitude: 1.0
- - id: '071690ad-b99f-4847-857c-cb9962f70de3'
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
+ - id: 1228cd4a-1cc4-4d4a-8672-0b0ea71562a6
type: project_map
attributes:
verified: false
category: forestry-and-agroforestry
- trusted: false
- latitude: 2.0
- longitude: 1.0
- - id: 6bc1ba48-d14c-43df-98e9-9fc97f25baac
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
+ - id: 18ed2095-9129-4691-8188-28c6853d755e
type: project_map
attributes:
verified: false
category: non-timber-forest-production
- trusted: false
latitude: 0.5
longitude: 0.5
schema:
@@ -7816,8 +7933,6 @@ paths:
properties:
verified:
type: boolean
- trusted:
- type: boolean
latitude:
type: number
longitude:
@@ -7938,7 +8053,7 @@ paths:
application/json:
example:
data:
- - id: a85fb027-a70b-47ed-b3c5-b5f9ee05f625
+ - id: f30c531e-1f2b-4967-9e8c-24924fb1a9d2
type: project
attributes:
name: Project 1
@@ -7982,62 +8097,84 @@ paths:
received_funding: true
received_funding_amount_usd: '3000.0'
received_funding_investor: Bartoletti and Sons
- relevant_links:
+ relevant_links:
language: en
account_language: en
geometry:
- type: Point
+ type: Polygon
coordinates:
- - 1.0
- - 2.0
+ - - - -7.256596802202454
+ - 39.42149705239956
+ - - -5.510236906689473
+ - 40.02677860935444
+ - - -4.408874148363334
+ - 39.419930008870296
+ - - -5.205992932301829
+ - 38.67169482742881
+ - - -6.402685625872827
+ - 38.39721372248553
+ - - -7.059852379049463
+ - 38.94985978831832
+ - - -7.256596802202454
+ - 39.42149705239956
verified: false
- created_at: '2022-10-26T08:16:09.447Z'
- updated_at: '2022-10-26T08:16:09.447Z'
- municipality_biodiversity_impact:
- municipality_climate_impact:
- municipality_water_impact:
- municipality_community_impact:
- municipality_total_impact:
- hydrobasin_biodiversity_impact:
- hydrobasin_climate_impact:
- hydrobasin_water_impact:
- hydrobasin_community_impact:
- hydrobasin_total_impact:
- priority_landscape_biodiversity_impact:
- priority_landscape_climate_impact:
- priority_landscape_water_impact:
- priority_landscape_community_impact:
- priority_landscape_total_impact:
+ created_at: '2023-11-23T10:22:47.533Z'
+ updated_at: '2023-11-23T10:22:47.533Z'
+ project_biodiversity_impact:
+ project_climate_impact:
+ project_water_impact:
+ project_community_impact:
+ project_total_impact:
+ municipality_biodiversity_impact:
+ municipality_climate_impact:
+ municipality_water_impact:
+ municipality_community_impact:
+ municipality_total_impact:
+ hydrobasin_biodiversity_impact:
+ hydrobasin_climate_impact:
+ hydrobasin_water_impact:
+ hydrobasin_community_impact:
+ hydrobasin_total_impact:
+ priority_landscape_biodiversity_impact:
+ priority_landscape_climate_impact:
+ priority_landscape_water_impact:
+ priority_landscape_community_impact:
+ priority_landscape_total_impact:
impact_calculated: false
- trusted: false
- latitude: 2.0
- longitude: 1.0
- favourite:
- funded:
+ positive_financial_returns: Placeat commodi libero. Quo recusandae
+ repellat.
+ last_year_sales_revenue: '10000.0'
+ climate_change_risks_details: Placeat commodi libero. Quo recusandae
+ repellat.
+ climate_change_risks_identified: true
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
+ favourite:
+ funded:
relationships:
project_developer:
data:
- id: 00caac8c-66ad-4ec3-9e50-4b5a0d2dc499
+ id: 23485d19-71a2-47f8-9824-d6cb454bc4d0
type: project_developer
country:
data:
- id: a992eb03-c6ce-487a-b3cb-b25e936bde56
+ id: bbba3fcc-97ab-49ed-b6b7-4fdead637c82
type: location
municipality:
data:
- id: bed30107-6ef3-4a23-80bd-364df693e85c
+ id: 5307afd6-b57a-4623-a583-fe47a7e43087
type: location
department:
data:
- id: ec989081-2b2b-4cfc-923e-b90cee14180e
+ id: ee30430e-8599-463c-90dd-a70fb0ab6269
type: location
priority_landscape:
- data:
+ data:
involved_project_developers:
data: []
project_images:
data: []
- - id: 886ed1fe-58ad-4191-a55f-565f9014d16d
+ - id: 35a805f5-1344-4dfd-90f7-d98b51ac6844
type: project
attributes:
name: Project 2
@@ -8081,62 +8218,83 @@ paths:
received_funding: true
received_funding_amount_usd: '3000.0'
received_funding_investor: Hane, Lehner and Goyette
- relevant_links:
+ relevant_links:
language: en
account_language: en
geometry:
- type: Point
+ type: Polygon
coordinates:
- - 1.0
- - 2.0
+ - - - -7.256596802202454
+ - 39.42149705239956
+ - - -5.510236906689473
+ - 40.02677860935444
+ - - -4.408874148363334
+ - 39.419930008870296
+ - - -5.205992932301829
+ - 38.67169482742881
+ - - -6.402685625872827
+ - 38.39721372248553
+ - - -7.059852379049463
+ - 38.94985978831832
+ - - -7.256596802202454
+ - 39.42149705239956
verified: false
- created_at: '2022-10-26T08:16:09.566Z'
- updated_at: '2022-10-26T08:16:09.566Z'
- municipality_biodiversity_impact:
- municipality_climate_impact:
- municipality_water_impact:
- municipality_community_impact:
- municipality_total_impact:
- hydrobasin_biodiversity_impact:
- hydrobasin_climate_impact:
- hydrobasin_water_impact:
- hydrobasin_community_impact:
- hydrobasin_total_impact:
- priority_landscape_biodiversity_impact:
- priority_landscape_climate_impact:
- priority_landscape_water_impact:
- priority_landscape_community_impact:
- priority_landscape_total_impact:
+ created_at: '2023-11-23T10:22:47.590Z'
+ updated_at: '2023-11-23T10:22:47.590Z'
+ project_biodiversity_impact:
+ project_climate_impact:
+ project_water_impact:
+ project_community_impact:
+ project_total_impact:
+ municipality_biodiversity_impact:
+ municipality_climate_impact:
+ municipality_water_impact:
+ municipality_community_impact:
+ municipality_total_impact:
+ hydrobasin_biodiversity_impact:
+ hydrobasin_climate_impact:
+ hydrobasin_water_impact:
+ hydrobasin_community_impact:
+ hydrobasin_total_impact:
+ priority_landscape_biodiversity_impact:
+ priority_landscape_climate_impact:
+ priority_landscape_water_impact:
+ priority_landscape_community_impact:
+ priority_landscape_total_impact:
impact_calculated: false
- trusted: false
- latitude: 2.0
- longitude: 1.0
- favourite:
- funded:
+ positive_financial_returns: Et quaerat omnis. Harum voluptas atque.
+ last_year_sales_revenue: '10000.0'
+ climate_change_risks_details: Et quaerat omnis. Harum voluptas
+ atque.
+ climate_change_risks_identified: true
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
+ favourite:
+ funded:
relationships:
project_developer:
data:
- id: ac5e9b25-aeb6-4155-a305-ae943049653a
+ id: 7d98ab78-0856-4741-8749-ae98ced35dae
type: project_developer
country:
data:
- id: 13517c08-0043-48ca-b4e3-63d6f6521583
+ id: 6bd854c7-4b26-4bf6-9a4e-d9dc0f8504c3
type: location
municipality:
data:
- id: d29c92d7-ed32-438b-b26a-2798d9166d5d
+ id: eb041d1c-a33c-4fb4-b6b3-6734f90cb207
type: location
department:
data:
- id: c2c7964a-0c84-462d-ad8b-009c19e0362f
+ id: 8c22f4e1-2fa0-4c56-bb80-6461db9732c3
type: location
priority_landscape:
- data:
+ data:
involved_project_developers:
data: []
project_images:
data: []
- - id: 314fb266-41eb-4bf9-a950-f4d8a4885812
+ - id: fd8dee8f-84ff-4ddd-8db6-71b824616926
type: project
attributes:
name: Project 3
@@ -8180,62 +8338,84 @@ paths:
received_funding: true
received_funding_amount_usd: '3000.0'
received_funding_investor: Hilpert, Waters and Johnston
- relevant_links:
+ relevant_links:
language: en
account_language: en
geometry:
- type: Point
+ type: Polygon
coordinates:
- - 1.0
- - 2.0
+ - - - -7.256596802202454
+ - 39.42149705239956
+ - - -5.510236906689473
+ - 40.02677860935444
+ - - -4.408874148363334
+ - 39.419930008870296
+ - - -5.205992932301829
+ - 38.67169482742881
+ - - -6.402685625872827
+ - 38.39721372248553
+ - - -7.059852379049463
+ - 38.94985978831832
+ - - -7.256596802202454
+ - 39.42149705239956
verified: false
- created_at: '2022-10-26T08:16:09.691Z'
- updated_at: '2022-10-26T08:16:09.691Z'
- municipality_biodiversity_impact:
- municipality_climate_impact:
- municipality_water_impact:
- municipality_community_impact:
- municipality_total_impact:
- hydrobasin_biodiversity_impact:
- hydrobasin_climate_impact:
- hydrobasin_water_impact:
- hydrobasin_community_impact:
- hydrobasin_total_impact:
- priority_landscape_biodiversity_impact:
- priority_landscape_climate_impact:
- priority_landscape_water_impact:
- priority_landscape_community_impact:
- priority_landscape_total_impact:
+ created_at: '2023-11-23T10:22:47.647Z'
+ updated_at: '2023-11-23T10:22:47.647Z'
+ project_biodiversity_impact:
+ project_climate_impact:
+ project_water_impact:
+ project_community_impact:
+ project_total_impact:
+ municipality_biodiversity_impact:
+ municipality_climate_impact:
+ municipality_water_impact:
+ municipality_community_impact:
+ municipality_total_impact:
+ hydrobasin_biodiversity_impact:
+ hydrobasin_climate_impact:
+ hydrobasin_water_impact:
+ hydrobasin_community_impact:
+ hydrobasin_total_impact:
+ priority_landscape_biodiversity_impact:
+ priority_landscape_climate_impact:
+ priority_landscape_water_impact:
+ priority_landscape_community_impact:
+ priority_landscape_total_impact:
impact_calculated: false
- trusted: false
- latitude: 2.0
- longitude: 1.0
- favourite:
- funded:
+ positive_financial_returns: Dolores fugiat nesciunt. Ut laborum
+ dolores.
+ last_year_sales_revenue: '10000.0'
+ climate_change_risks_details: Dolores fugiat nesciunt. Ut laborum
+ dolores.
+ climate_change_risks_identified: true
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
+ favourite:
+ funded:
relationships:
project_developer:
data:
- id: 1140c237-9aa7-4523-9d0f-6ace0a22476d
+ id: 63048145-ae29-4685-8a86-0bda866380f1
type: project_developer
country:
data:
- id: b0f5615b-c897-4984-b50a-3aaf03005b34
+ id: 2910a7f1-c6bf-43f5-b69b-84cb55100b9c
type: location
municipality:
data:
- id: 350f9b85-94ac-47ee-8618-dbfa8520b9be
+ id: 5c0ed912-d12a-4be9-98b5-7d1863d21d89
type: location
department:
data:
- id: 499c837c-7078-41b7-9ab3-8197e38bd3b3
+ id: ae1c333a-54d6-4fb7-9162-42f2bf45ea45
type: location
priority_landscape:
- data:
+ data:
involved_project_developers:
data: []
project_images:
data: []
- - id: '09fdee73-05df-4f93-997d-baf47743f340'
+ - id: bdd5756f-b183-473b-9e74-2c9a628ad956
type: project
attributes:
name: Project 4
@@ -8279,62 +8459,82 @@ paths:
received_funding: true
received_funding_amount_usd: '3000.0'
received_funding_investor: Jacobson, Fritsch and Stanton
- relevant_links:
+ relevant_links:
language: en
account_language: en
geometry:
- type: Point
+ type: Polygon
coordinates:
- - 1.0
- - 2.0
+ - - - -7.256596802202454
+ - 39.42149705239956
+ - - -5.510236906689473
+ - 40.02677860935444
+ - - -4.408874148363334
+ - 39.419930008870296
+ - - -5.205992932301829
+ - 38.67169482742881
+ - - -6.402685625872827
+ - 38.39721372248553
+ - - -7.059852379049463
+ - 38.94985978831832
+ - - -7.256596802202454
+ - 39.42149705239956
verified: false
- created_at: '2022-10-26T08:16:09.794Z'
- updated_at: '2022-10-26T08:16:09.794Z'
- municipality_biodiversity_impact:
- municipality_climate_impact:
- municipality_water_impact:
- municipality_community_impact:
- municipality_total_impact:
- hydrobasin_biodiversity_impact:
- hydrobasin_climate_impact:
- hydrobasin_water_impact:
- hydrobasin_community_impact:
- hydrobasin_total_impact:
- priority_landscape_biodiversity_impact:
- priority_landscape_climate_impact:
- priority_landscape_water_impact:
- priority_landscape_community_impact:
- priority_landscape_total_impact:
+ created_at: '2023-11-23T10:22:47.708Z'
+ updated_at: '2023-11-23T10:22:47.708Z'
+ project_biodiversity_impact:
+ project_climate_impact:
+ project_water_impact:
+ project_community_impact:
+ project_total_impact:
+ municipality_biodiversity_impact:
+ municipality_climate_impact:
+ municipality_water_impact:
+ municipality_community_impact:
+ municipality_total_impact:
+ hydrobasin_biodiversity_impact:
+ hydrobasin_climate_impact:
+ hydrobasin_water_impact:
+ hydrobasin_community_impact:
+ hydrobasin_total_impact:
+ priority_landscape_biodiversity_impact:
+ priority_landscape_climate_impact:
+ priority_landscape_water_impact:
+ priority_landscape_community_impact:
+ priority_landscape_total_impact:
impact_calculated: false
- trusted: false
- latitude: 2.0
- longitude: 1.0
- favourite:
- funded:
+ positive_financial_returns: Autem et et. Voluptatem neque quibusdam.
+ last_year_sales_revenue: '10000.0'
+ climate_change_risks_details: Autem et et. Voluptatem neque quibusdam.
+ climate_change_risks_identified: true
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
+ favourite:
+ funded:
relationships:
project_developer:
data:
- id: 707784d2-95e9-43dc-89ff-821e825a11cb
+ id: 30b63c9f-ac26-44e8-a3ee-c690abc3b54b
type: project_developer
country:
data:
- id: 6d9fade3-242c-4247-bbd4-6896b89b26db
+ id: 603830c7-a1a1-4c88-9eef-dda87c667c9d
type: location
municipality:
data:
- id: 070c53ef-ab48-4b71-adca-ffb0db1e9e7e
+ id: 53a1cd8d-5e33-4986-b3cf-ef4d404681d3
type: location
department:
data:
- id: 3b6f7943-4aca-4149-96ca-4bc29368e4ea
+ id: b73ba041-22ae-4441-9f2d-dfba8193b91f
type: location
priority_landscape:
- data:
+ data:
involved_project_developers:
data: []
project_images:
data: []
- - id: d74c5bb7-d86b-42b7-b85d-2769172bb2e7
+ - id: 848527e8-114e-4c0b-80bf-bb2b901fe6c1
type: project
attributes:
name: Project 5
@@ -8378,62 +8578,84 @@ paths:
received_funding: true
received_funding_amount_usd: '3000.0'
received_funding_investor: Keebler, Kub and Zemlak
- relevant_links:
+ relevant_links:
language: en
account_language: en
geometry:
- type: Point
+ type: Polygon
coordinates:
- - 1.0
- - 2.0
+ - - - -7.256596802202454
+ - 39.42149705239956
+ - - -5.510236906689473
+ - 40.02677860935444
+ - - -4.408874148363334
+ - 39.419930008870296
+ - - -5.205992932301829
+ - 38.67169482742881
+ - - -6.402685625872827
+ - 38.39721372248553
+ - - -7.059852379049463
+ - 38.94985978831832
+ - - -7.256596802202454
+ - 39.42149705239956
verified: false
- created_at: '2022-10-26T08:16:09.909Z'
- updated_at: '2022-10-26T08:16:09.909Z'
- municipality_biodiversity_impact:
- municipality_climate_impact:
- municipality_water_impact:
- municipality_community_impact:
- municipality_total_impact:
- hydrobasin_biodiversity_impact:
- hydrobasin_climate_impact:
- hydrobasin_water_impact:
- hydrobasin_community_impact:
- hydrobasin_total_impact:
- priority_landscape_biodiversity_impact:
- priority_landscape_climate_impact:
- priority_landscape_water_impact:
- priority_landscape_community_impact:
- priority_landscape_total_impact:
+ created_at: '2023-11-23T10:22:47.766Z'
+ updated_at: '2023-11-23T10:22:47.766Z'
+ project_biodiversity_impact:
+ project_climate_impact:
+ project_water_impact:
+ project_community_impact:
+ project_total_impact:
+ municipality_biodiversity_impact:
+ municipality_climate_impact:
+ municipality_water_impact:
+ municipality_community_impact:
+ municipality_total_impact:
+ hydrobasin_biodiversity_impact:
+ hydrobasin_climate_impact:
+ hydrobasin_water_impact:
+ hydrobasin_community_impact:
+ hydrobasin_total_impact:
+ priority_landscape_biodiversity_impact:
+ priority_landscape_climate_impact:
+ priority_landscape_water_impact:
+ priority_landscape_community_impact:
+ priority_landscape_total_impact:
impact_calculated: false
- trusted: false
- latitude: 2.0
- longitude: 1.0
- favourite:
- funded:
+ positive_financial_returns: Porro soluta beatae. Quia ratione
+ facilis.
+ last_year_sales_revenue: '10000.0'
+ climate_change_risks_details: Porro soluta beatae. Quia ratione
+ facilis.
+ climate_change_risks_identified: true
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
+ favourite:
+ funded:
relationships:
project_developer:
data:
- id: 2d89fcaa-3464-4aef-b943-1db851d49f41
+ id: 31b4ce97-71d7-48fd-9029-2cc9f354ae4f
type: project_developer
country:
data:
- id: 5a6dced4-1569-49b7-a4ff-0eee884a5b79
+ id: 255c400d-0127-4935-92e3-2f2dadb82911
type: location
municipality:
data:
- id: ca7ac57a-b0bf-46c6-bdc2-46a76141e8e4
+ id: 89e08e5f-8f4b-4bb7-97f5-672b707c8146
type: location
department:
data:
- id: c16bb2e8-507d-4b90-8453-d7b6c1cd8eff
+ id: 1a09f6ea-bfc7-4795-862b-4df4e5c0c44e
type: location
priority_landscape:
- data:
+ data:
involved_project_developers:
data: []
project_images:
data: []
- - id: 9e8dc2e0-ccfa-415a-ad58-c2a3857d65c0
+ - id: 91b1baf4-4e2e-468d-8a70-8630082b7c92
type: project
attributes:
name: Project 6
@@ -8477,62 +8699,82 @@ paths:
received_funding: true
received_funding_amount_usd: '3000.0'
received_funding_investor: Becker LLC
- relevant_links:
+ relevant_links:
language: en
account_language: en
geometry:
- type: Point
+ type: Polygon
coordinates:
- - 1.0
- - 2.0
+ - - - -7.256596802202454
+ - 39.42149705239956
+ - - -5.510236906689473
+ - 40.02677860935444
+ - - -4.408874148363334
+ - 39.419930008870296
+ - - -5.205992932301829
+ - 38.67169482742881
+ - - -6.402685625872827
+ - 38.39721372248553
+ - - -7.059852379049463
+ - 38.94985978831832
+ - - -7.256596802202454
+ - 39.42149705239956
verified: false
- created_at: '2022-10-26T08:16:10.016Z'
- updated_at: '2022-10-26T08:16:10.016Z'
- municipality_biodiversity_impact:
- municipality_climate_impact:
- municipality_water_impact:
- municipality_community_impact:
- municipality_total_impact:
- hydrobasin_biodiversity_impact:
- hydrobasin_climate_impact:
- hydrobasin_water_impact:
- hydrobasin_community_impact:
- hydrobasin_total_impact:
- priority_landscape_biodiversity_impact:
- priority_landscape_climate_impact:
- priority_landscape_water_impact:
- priority_landscape_community_impact:
- priority_landscape_total_impact:
+ created_at: '2023-11-23T10:22:47.821Z'
+ updated_at: '2023-11-23T10:22:47.821Z'
+ project_biodiversity_impact:
+ project_climate_impact:
+ project_water_impact:
+ project_community_impact:
+ project_total_impact:
+ municipality_biodiversity_impact:
+ municipality_climate_impact:
+ municipality_water_impact:
+ municipality_community_impact:
+ municipality_total_impact:
+ hydrobasin_biodiversity_impact:
+ hydrobasin_climate_impact:
+ hydrobasin_water_impact:
+ hydrobasin_community_impact:
+ hydrobasin_total_impact:
+ priority_landscape_biodiversity_impact:
+ priority_landscape_climate_impact:
+ priority_landscape_water_impact:
+ priority_landscape_community_impact:
+ priority_landscape_total_impact:
impact_calculated: false
- trusted: false
- latitude: 2.0
- longitude: 1.0
- favourite:
- funded:
+ positive_financial_returns: Mollitia aut vel. Qui illum accusantium.
+ last_year_sales_revenue: '10000.0'
+ climate_change_risks_details: Mollitia aut vel. Qui illum accusantium.
+ climate_change_risks_identified: true
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
+ favourite:
+ funded:
relationships:
project_developer:
data:
- id: ab1ecf44-233d-40c2-b00f-65ceb74337d3
+ id: ffc80c1d-102e-4ec7-b3cf-17b88ee6ee6a
type: project_developer
country:
data:
- id: a2019ca6-afa7-401f-ab29-10c4e941a261
+ id: abe41571-05f8-4f26-9114-ec5eee097194
type: location
municipality:
data:
- id: 31498cc6-5800-4fe9-970e-8d7775120fc4
+ id: fc24f8ef-5e01-473c-86a3-c4bfe3824ee9
type: location
department:
data:
- id: 82adfdce-6e69-4568-a729-a6bf1848e6a4
+ id: da6a7817-de90-4257-9047-7d9e155ab99f
type: location
priority_landscape:
- data:
+ data:
involved_project_developers:
data: []
project_images:
data: []
- - id: ca5f0f65-21dd-44cf-a9f6-73eb1c922665
+ - id: 7c1b2519-44a7-4058-bbc9-93e6d8c14ec9
type: project
attributes:
name: Project 9
@@ -8575,62 +8817,82 @@ paths:
received_funding: true
received_funding_amount_usd: '3000.0'
received_funding_investor: Gleichner-Bartoletti
- relevant_links:
+ relevant_links:
language: en
account_language: pt
geometry:
- type: Point
+ type: Polygon
coordinates:
- - 1.0
- - 2.0
+ - - - -7.256596802202454
+ - 39.42149705239956
+ - - -5.510236906689473
+ - 40.02677860935444
+ - - -4.408874148363334
+ - 39.419930008870296
+ - - -5.205992932301829
+ - 38.67169482742881
+ - - -6.402685625872827
+ - 38.39721372248553
+ - - -7.059852379049463
+ - 38.94985978831832
+ - - -7.256596802202454
+ - 39.42149705239956
verified: false
- created_at: '2022-10-26T08:16:10.547Z'
- updated_at: '2022-10-26T08:16:10.547Z'
- municipality_biodiversity_impact:
- municipality_climate_impact:
- municipality_water_impact:
- municipality_community_impact:
- municipality_total_impact:
- hydrobasin_biodiversity_impact:
- hydrobasin_climate_impact:
- hydrobasin_water_impact:
- hydrobasin_community_impact:
- hydrobasin_total_impact:
- priority_landscape_biodiversity_impact:
- priority_landscape_climate_impact:
- priority_landscape_water_impact:
- priority_landscape_community_impact:
- priority_landscape_total_impact:
+ created_at: '2023-11-23T10:22:48.041Z'
+ updated_at: '2023-11-23T10:22:48.041Z'
+ project_biodiversity_impact:
+ project_climate_impact:
+ project_water_impact:
+ project_community_impact:
+ project_total_impact:
+ municipality_biodiversity_impact:
+ municipality_climate_impact:
+ municipality_water_impact:
+ municipality_community_impact:
+ municipality_total_impact:
+ hydrobasin_biodiversity_impact:
+ hydrobasin_climate_impact:
+ hydrobasin_water_impact:
+ hydrobasin_community_impact:
+ hydrobasin_total_impact:
+ priority_landscape_biodiversity_impact:
+ priority_landscape_climate_impact:
+ priority_landscape_water_impact:
+ priority_landscape_community_impact:
+ priority_landscape_total_impact:
impact_calculated: false
- trusted: false
- latitude: 2.0
- longitude: 1.0
- favourite:
- funded:
+ positive_financial_returns: Tempora excepturi et. Et quia sit.
+ last_year_sales_revenue: '10000.0'
+ climate_change_risks_details: Tempora excepturi et. Et quia sit.
+ climate_change_risks_identified: true
+ latitude: 39.21309022641362
+ longitude: -5.87810037515931
+ favourite:
+ funded:
relationships:
project_developer:
data:
- id: 5b84dd1c-7e6f-4ed0-a658-5547f56f83c5
+ id: 65283965-a26f-4866-954a-297393b662b3
type: project_developer
country:
data:
- id: 2b5fc2e8-71ca-4c6e-924d-e3342f646473
+ id: 9cf8203c-e06f-4c73-9e0c-e6756c8cc7fe
type: location
municipality:
data:
- id: b910e52a-427e-4c4b-a675-98ad5e576893
+ id: 5e86644c-9464-4f9f-9bbf-6deaf6c2bfb3
type: location
department:
data:
- id: 4e46067e-fe3c-4f4c-a6cb-86cd85342fdd
+ id: 625b7e05-0263-4715-ba39-788a6140a459
type: location
priority_landscape:
- data:
+ data:
involved_project_developers:
data: []
project_images:
data: []
- - id: ea54e608-d5bb-48a9-8f9a-a3ee9a3542b1
+ - id: a29a23f4-de7e-417c-b575-a7fcfbb6aa9c
type: project
attributes:
name: Yellow Banana
@@ -8674,7 +8936,7 @@ paths:
received_funding: true
received_funding_amount_usd: '3000.0'
received_funding_investor: Kutch-Spencer
- relevant_links:
+ relevant_links:
language: en
account_language: en
geometry:
@@ -8691,61 +8953,71 @@ paths:
- - 0.0
- 0.0
verified: false
- created_at: '2022-10-26T08:16:09.280Z'
- updated_at: '2022-10-26T08:16:09.280Z'
- municipality_biodiversity_impact:
- municipality_climate_impact:
- municipality_water_impact:
- municipality_community_impact:
- municipality_total_impact:
- hydrobasin_biodiversity_impact:
- hydrobasin_climate_impact:
- hydrobasin_water_impact:
- hydrobasin_community_impact:
- hydrobasin_total_impact:
- priority_landscape_biodiversity_impact:
- priority_landscape_climate_impact:
- priority_landscape_water_impact:
- priority_landscape_community_impact:
- priority_landscape_total_impact:
+ created_at: '2023-11-23T10:22:47.462Z'
+ updated_at: '2023-11-23T10:22:47.462Z'
+ project_biodiversity_impact:
+ project_climate_impact:
+ project_water_impact:
+ project_community_impact:
+ project_total_impact:
+ municipality_biodiversity_impact:
+ municipality_climate_impact:
+ municipality_water_impact:
+ municipality_community_impact:
+ municipality_total_impact:
+ hydrobasin_biodiversity_impact:
+ hydrobasin_climate_impact:
+ hydrobasin_water_impact:
+ hydrobasin_community_impact:
+ hydrobasin_total_impact:
+ priority_landscape_biodiversity_impact:
+ priority_landscape_climate_impact:
+ priority_landscape_water_impact:
+ priority_landscape_community_impact:
+ priority_landscape_total_impact:
impact_calculated: false
- trusted: false
+ positive_financial_returns: Enim repellat pariatur. Earum modi
+ eos.
+ last_year_sales_revenue: '10000.0'
+ climate_change_risks_details: Enim repellat pariatur. Earum modi
+ eos.
+ climate_change_risks_identified: true
latitude: 0.5
longitude: 0.5
- favourite:
- funded:
+ favourite:
+ funded:
relationships:
project_developer:
data:
- id: 6bbf8ef2-acf1-4056-97bf-9a62cb438525
+ id: 7af7fca5-c95a-41b6-9e1d-0f53cccc4a5b
type: project_developer
country:
data:
- id: c0ee0650-6f18-4a55-84f2-dffb8d89c1b3
+ id: a0ad0e76-6c79-4938-9af3-fb587cfbd47a
type: location
municipality:
data:
- id: 51e2d32e-cdcf-4d94-8850-4c768478a3bc
+ id: db1479cc-4d4a-409a-91b1-d12625fbdaaf
type: location
department:
data:
- id: c534c394-35dd-44be-bf72-f6791ffe3de4
+ id: 5ef28813-08e6-4e3d-b4d4-3f9e0ee67e6e
type: location
priority_landscape:
data:
- id: 123f92fb-a6e9-4c86-99cf-9ba25866bc5f
+ id: 505663cd-9f98-4932-983b-5786dd1f26e1
type: location
involved_project_developers:
data:
- - id: 1a61738f-1eb5-46bc-afbd-30260620f9c6
+ - id: 73b7b58b-4f19-455d-8e64-c2e3ea042a5b
type: project_developer
- - id: 0c9a5250-0eb8-4315-b600-87768a7248bd
+ - id: 1f855d95-2c8d-4981-a1f5-2ee8dc501ab1
type: project_developer
project_images:
data:
- - id: a1d1d114-0138-461c-83ce-190699fda73a
+ - id: 23cce0ac-8950-47bb-94e2-be6bc7b0fb6d
type: project_image
- - id: 204305ac-6058-4f36-b81a-75f44e5f7609
+ - id: ab61358c-e399-4e33-95d5-a075bdd766c6
type: project_image
meta:
page: 1
@@ -8815,7 +9087,7 @@ paths:
application/json:
example:
data:
- id: ea54e608-d5bb-48a9-8f9a-a3ee9a3542b1
+ id: a29a23f4-de7e-417c-b575-a7fcfbb6aa9c
type: project
attributes:
name: Yellow Banana
@@ -8859,7 +9131,7 @@ paths:
received_funding: true
received_funding_amount_usd: '3000.0'
received_funding_investor: Kutch-Spencer
- relevant_links:
+ relevant_links:
language: en
account_language: en
geometry:
@@ -8876,61 +9148,71 @@ paths:
- - 0.0
- 0.0
verified: false
- created_at: '2022-10-26T08:16:09.280Z'
- updated_at: '2022-10-26T08:16:09.280Z'
- municipality_biodiversity_impact:
- municipality_climate_impact:
- municipality_water_impact:
- municipality_community_impact:
- municipality_total_impact:
- hydrobasin_biodiversity_impact:
- hydrobasin_climate_impact:
- hydrobasin_water_impact:
- hydrobasin_community_impact:
- hydrobasin_total_impact:
- priority_landscape_biodiversity_impact:
- priority_landscape_climate_impact:
- priority_landscape_water_impact:
- priority_landscape_community_impact:
- priority_landscape_total_impact:
+ created_at: '2023-11-23T10:22:47.462Z'
+ updated_at: '2023-11-23T10:22:47.462Z'
+ project_biodiversity_impact:
+ project_climate_impact:
+ project_water_impact:
+ project_community_impact:
+ project_total_impact:
+ municipality_biodiversity_impact:
+ municipality_climate_impact:
+ municipality_water_impact:
+ municipality_community_impact:
+ municipality_total_impact:
+ hydrobasin_biodiversity_impact:
+ hydrobasin_climate_impact:
+ hydrobasin_water_impact:
+ hydrobasin_community_impact:
+ hydrobasin_total_impact:
+ priority_landscape_biodiversity_impact:
+ priority_landscape_climate_impact:
+ priority_landscape_water_impact:
+ priority_landscape_community_impact:
+ priority_landscape_total_impact:
impact_calculated: false
- trusted: false
+ positive_financial_returns: Enim repellat pariatur. Earum modi
+ eos.
+ last_year_sales_revenue: '10000.0'
+ climate_change_risks_details: Enim repellat pariatur. Earum modi
+ eos.
+ climate_change_risks_identified: true
latitude: 0.5
longitude: 0.5
- favourite:
- funded:
+ favourite:
+ funded:
relationships:
project_developer:
data:
- id: 6bbf8ef2-acf1-4056-97bf-9a62cb438525
+ id: 7af7fca5-c95a-41b6-9e1d-0f53cccc4a5b
type: project_developer
country:
data:
- id: c0ee0650-6f18-4a55-84f2-dffb8d89c1b3
+ id: a0ad0e76-6c79-4938-9af3-fb587cfbd47a
type: location
municipality:
data:
- id: 51e2d32e-cdcf-4d94-8850-4c768478a3bc
+ id: db1479cc-4d4a-409a-91b1-d12625fbdaaf
type: location
department:
data:
- id: c534c394-35dd-44be-bf72-f6791ffe3de4
+ id: 5ef28813-08e6-4e3d-b4d4-3f9e0ee67e6e
type: location
priority_landscape:
data:
- id: 123f92fb-a6e9-4c86-99cf-9ba25866bc5f
+ id: 505663cd-9f98-4932-983b-5786dd1f26e1
type: location
involved_project_developers:
data:
- - id: 1a61738f-1eb5-46bc-afbd-30260620f9c6
+ - id: 73b7b58b-4f19-455d-8e64-c2e3ea042a5b
type: project_developer
- - id: 0c9a5250-0eb8-4315-b600-87768a7248bd
+ - id: 1f855d95-2c8d-4981-a1f5-2ee8dc501ab1
type: project_developer
project_images:
data:
- - id: a1d1d114-0138-461c-83ce-190699fda73a
+ - id: 23cce0ac-8950-47bb-94e2-be6bc7b0fb6d
type: project_image
- - id: 204305ac-6058-4f36-b81a-75f44e5f7609
+ - id: ab61358c-e399-4e33-95d5-a075bdd766c6
type: project_image
schema:
type: object
@@ -8978,26 +9260,26 @@ paths:
application/json:
example:
data:
- id: e2faa8ea-3388-4a87-b30a-821349c2c4f8
+ id: 2a175cf4-3b3c-465c-9439-cd000cfebb6f
type: user
attributes:
first_name: Dawna
last_name: Block
email: user@example.com
role: light
- created_at: '2022-10-26T08:16:12.302Z'
+ created_at: '2023-11-23T10:22:48.842Z'
ui_language: en
- account_language:
+ account_language:
otp_required_for_login: false
confirmed: true
- approved:
- invitation:
+ approved:
+ invitation:
owner: false
avatar:
- analyzed:
- small:
- medium:
- original:
+ analyzed:
+ small:
+ medium:
+ original:
schema:
type: object
properties:
@@ -9041,26 +9323,26 @@ paths:
application/json:
example:
data:
- id: 1a5ddbf4-a549-48b4-8dc1-1f8c2f155918
+ id: 11bbccf3-4076-4874-a353-ef896d0de772
type: user
attributes:
first_name: Dawna
last_name: Block
email: user@example.com
role: light
- created_at: '2022-10-26T08:16:12.540Z'
+ created_at: '2023-11-23T10:22:48.953Z'
ui_language: en
- account_language:
+ account_language:
otp_required_for_login: false
confirmed: true
- approved:
- invitation:
+ approved:
+ invitation:
owner: false
avatar:
- analyzed:
- small:
- medium:
- original:
+ analyzed:
+ small:
+ medium:
+ original:
schema:
type: object
properties:
@@ -9115,7 +9397,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
requestBody:
@@ -9158,48 +9440,6 @@ paths:
required:
- email
- password
- "/api/v1/test_jobs/test_sync":
- post:
- summary: Tests sync processing
- tags:
- - Test Jobs
- security:
- - csrf: []
- parameters: []
- responses:
- '200':
- description: success
- requestBody:
- content:
- application/json:
- schema:
- type: object
- properties:
- email:
- type: string
- required:
- - email
- "/api/v1/test_jobs/test_async":
- post:
- summary: Tests async processing
- tags:
- - Test Jobs
- security:
- - csrf: []
- parameters: []
- responses:
- '200':
- description: success
- requestBody:
- content:
- application/json:
- schema:
- type: object
- properties:
- email:
- type: string
- required:
- - email
"/api/v1/user":
post:
summary: Creates/Registers user
@@ -9215,26 +9455,26 @@ paths:
application/json:
example:
data:
- id: b131af8c-a50b-4004-aa2a-95cd8c789071
+ id: aa6b5d06-e2f0-46e7-bf3c-aec432f931bd
type: user
attributes:
first_name: Jan
last_name: Kowalski
email: jankowalski@example.com
role: light
- created_at: '2022-10-26T08:16:13.507Z'
+ created_at: '2023-11-23T10:22:49.496Z'
ui_language: en
- account_language:
+ account_language:
otp_required_for_login: false
confirmed: true
- approved:
+ approved:
invitation: waiting
owner: false
avatar:
- analyzed:
- small:
- medium:
- original:
+ analyzed:
+ small:
+ medium:
+ original:
schema:
type: object
properties:
@@ -9304,33 +9544,33 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
content:
application/json:
example:
data:
- id: f980134d-a0ec-4f42-a692-0cba38bac0ae
+ id: 02cdb051-7414-42bb-864c-5d75f3f5045a
type: user
attributes:
first_name: New First Name
last_name: New Last Name
email: user@example.com
role: light
- created_at: '2022-10-26T08:16:13.372Z'
+ created_at: '2023-11-23T10:22:49.439Z'
ui_language: en
- account_language:
+ account_language:
otp_required_for_login: true
confirmed: true
- approved:
- invitation:
+ approved:
+ invitation:
owner: false
avatar:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
schema:
type: object
properties:
@@ -9374,33 +9614,33 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
content:
application/json:
example:
data:
- id: f980134d-a0ec-4f42-a692-0cba38bac0ae
+ id: 02cdb051-7414-42bb-864c-5d75f3f5045a
type: user
attributes:
first_name: Dawna
last_name: Block
email: user@example.com
role: light
- created_at: '2022-10-26T08:16:13.372Z'
+ created_at: '2023-11-23T10:22:49.439Z'
ui_language: en
- account_language:
+ account_language:
otp_required_for_login: false
confirmed: true
- approved:
- invitation:
+ approved:
+ invitation:
owner: false
avatar:
analyzed: false
- small:
- medium:
- original:
+ small:
+ medium:
+ original:
schema:
type: object
properties:
@@ -9423,7 +9663,7 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
'422':
@@ -9466,25 +9706,25 @@ paths:
example:
errors:
- title: You need to sign in or sign up before continuing.
- code:
+ code:
'200':
description: success
content:
application/json:
example:
- id: 84c61e76-bc4c-44b0-a1cb-da6b9c0bbe77
- key: ooeu43dsr6mkil2pie6bzsftvo3e
+ id: 13f9e9cf-d4b5-432f-bc45-00e4819183ab
+ key: j0phr23ndgpp3g41zq01p2po0cnh
filename: test.jpg
content_type: image/jpeg
metadata: {}
service_name: test
byte_size: 32326
checksum: QYeLAwqIj9HrwITqtTYaEw==
- created_at: '2022-10-26T08:16:14.227Z'
- signed_id: eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWs0TkdNMk1XVTNOaTFpWXpSakxUUTBZakF0WVRGallpMWtZVFppT1dNd1ltSmxOemNHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--246d3aa2c63136e58eb921ccf61cdcad42c13c89
- attachable_sgid: BAh7CEkiCGdpZAY6BkVUSSJWZ2lkOi8vYmFja2VuZC9BY3RpdmVTdG9yYWdlOjpCbG9iLzg0YzYxZTc2LWJjNGMtNDRiMC1hMWNiLWRhNmI5YzBiYmU3Nz9leHBpcmVzX2luBjsAVEkiDHB1cnBvc2UGOwBUSSIPYXR0YWNoYWJsZQY7AFRJIg9leHBpcmVzX2F0BjsAVDA=--de0722eb055e949e0ceebf1ee04c4c57ca42f3d5
+ created_at: '2023-11-23T10:22:50.361Z'
+ signed_id: eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWt4TTJZNVpUbGpaaTFrTkdJMUxUUXpNbVl0WW1NME5TMHdNR1UwT0RFNU1UZ3pZV0lHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--df3e12818c0fee6867788741b67319f00ff3dbd5
+ attachable_sgid: eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJbFpuYVdRNkx5OWlZV05yWlc1a0wwRmpkR2wyWlZOMGIzSmhaMlU2T2tKc2IySXZNVE5tT1dVNVkyWXRaRFJpTlMwME16Sm1MV0pqTkRVdE1EQmxORGd4T1RFNE0yRmlQMlY0Y0dseVpYTmZhVzRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImF0dGFjaGFibGUifX0=--2c8486987f1f335d9b1a980d82e1e81fad4d237a
direct_upload:
- url: http://www.example.com/backend/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDam9JYTJWNVNTSWhiMjlsZFRRelpITnlObTFyYVd3eWNHbGxObUo2YzJaMGRtOHpaUVk2QmtWVU9oRmpiMjUwWlc1MFgzUjVjR1ZKSWc5cGJXRm5aUzlxY0dWbkJqc0dWRG9UWTI5dWRHVnVkRjlzWlc1bmRHaHBBa1orT2cxamFHVmphM04xYlVraUhWRlpaVXhCZDNGSmFqbEljbmRKVkhGMFZGbGhSWGM5UFFZN0JsUTZFWE5sY25acFkyVmZibUZ0WlRvSmRHVnpkQT09IiwiZXhwIjoiMjAyMi0xMC0yNlQwODoyMToxNC4yMjlaIiwicHVyIjoiYmxvYl90b2tlbiJ9fQ==--b2a9b030e0802240b6343db2123fd082c19e86a2
+ url: http://www.example.com/backend/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDam9JYTJWNVNTSWhhakJ3YUhJeU0yNWtaM0J3TTJjME1YcHhNREZ3TW5Cdk1HTnVhQVk2QmtWVU9oRmpiMjUwWlc1MFgzUjVjR1ZKSWc5cGJXRm5aUzlxY0dWbkJqc0dWRG9UWTI5dWRHVnVkRjlzWlc1bmRHaHBBa1orT2cxamFHVmphM04xYlVraUhWRlpaVXhCZDNGSmFqbEljbmRKVkhGMFZGbGhSWGM5UFFZN0JsUTZFWE5sY25acFkyVmZibUZ0WlRvSmRHVnpkQT09IiwiZXhwIjoiMjAyMy0xMS0yM1QxMDoyNzo1MC4zNjJaIiwicHVyIjoiYmxvYl90b2tlbiJ9fQ==--30085f9fce8151e945195a9f0bef7be8b347ab2f
headers:
Content-Type: image/jpeg
schema:
@@ -9746,8 +9986,6 @@ components:
type: string
updated_at:
type: string
- trusted:
- type: boolean
verified:
type: boolean
relationships:
@@ -9844,8 +10082,6 @@ components:
type: number
category:
type: string
- trusted:
- type: boolean
verified:
type: boolean
created_at:
@@ -9873,6 +10109,21 @@ components:
favourite:
type: boolean
nullable: true
+ project_biodiversity_impact:
+ type: number
+ nullable: true
+ project_climate_impact:
+ type: number
+ nullable: true
+ project_water_impact:
+ type: number
+ nullable: true
+ project_community_impact:
+ type: number
+ nullable: true
+ project_total_impact:
+ type: number
+ nullable: true
municipality_biodiversity_impact:
type: number
nullable: true
@@ -10261,6 +10512,7 @@ components:
required:
- errors
servers:
+- url: "/"
- url: "/backend"
- url: "{scheme}://{host}"
variables:
diff --git a/frontend/components/project-map-pin/component.tsx b/frontend/components/project-map-pin/component.tsx
index 6ee30a744..607db2ca6 100644
--- a/frontend/components/project-map-pin/component.tsx
+++ b/frontend/components/project-map-pin/component.tsx
@@ -39,7 +39,7 @@ export const ProjectMapPin: FC = ({ category, interactive =
// icon={trusted ? TrustedMapPinIcon : MapPinIcon}
icon={MapPinIcon}
className={cx({
- 'fill-category-tourism text-category-tourism': category === 'tourism-and-recreation',
+ 'fill-category-tourism text-category-tourism': category === 'sustainable-tourism',
'fill-category-production text-category-production':
category === 'non-timber-forest-production',
'fill-category-agrosystems text-category-agrosystems':
diff --git a/frontend/containers/category-tag/category-tag-dot/component.tsx b/frontend/containers/category-tag/category-tag-dot/component.tsx
index d917a19d7..8dd36a177 100644
--- a/frontend/containers/category-tag/category-tag-dot/component.tsx
+++ b/frontend/containers/category-tag/category-tag-dot/component.tsx
@@ -14,7 +14,7 @@ export const CategoryTagDot: FC = ({
'w-8 h-8': size === 'large',
'w-4 h-4 mr-4 ': size === 'small',
'w-2 h-2 mr-2': size === 'smallest',
- 'bg-category-tourism': category === 'tourism-and-recreation',
+ 'bg-category-tourism': category === 'sustainable-tourism',
'bg-category-production': category === 'non-timber-forest-production',
'bg-category-agrosystems': category === 'sustainable-agrosystems',
'bg-category-forestry': category === 'forestry-and-agroforestry',
diff --git a/frontend/containers/category-tag/component.stories.tsx b/frontend/containers/category-tag/component.stories.tsx
index 0e6752e19..238fa99c7 100644
--- a/frontend/containers/category-tag/component.stories.tsx
+++ b/frontend/containers/category-tag/component.stories.tsx
@@ -14,6 +14,6 @@ const Template: Story = ({ children, ...rest }: CategoryTagPro
export const Default: Story = Template.bind({});
Default.args = {
- category: 'tourism-and-recreation',
- children: 'Tourism & Recreation',
+ category: 'sustainable-tourism',
+ children: 'Sustainable Tourism',
};
diff --git a/frontend/containers/impact-chart/component.stories.tsx b/frontend/containers/impact-chart/component.stories.tsx
index 2e1920452..4361e2bdc 100644
--- a/frontend/containers/impact-chart/component.stories.tsx
+++ b/frontend/containers/impact-chart/component.stories.tsx
@@ -29,23 +29,23 @@ const CompactTemplate: Story = (args) => (
export const Default = Template.bind({});
Default.args = {
impact: projectImpact(projectMock as unknown as ProjectType)[ImpactAreas.Municipality],
- category: 'tourism-and-recreation',
+ category: 'sustainable-tourism',
};
export const Placeholder = Template.bind({});
Placeholder.args = {
- category: 'tourism-and-recreation',
+ category: 'sustainable-tourism',
};
export const Compact = CompactTemplate.bind({});
Compact.args = {
compactMode: true,
impact: projectImpact(projectMock as unknown as ProjectType)[ImpactAreas.Municipality],
- category: 'tourism-and-recreation',
+ category: 'sustainable-tourism',
};
export const CompactPlaceholder = CompactTemplate.bind({});
CompactPlaceholder.args = {
compactMode: true,
- category: 'tourism-and-recreation',
+ category: 'sustainable-tourism',
};
diff --git a/frontend/containers/project-form/component.tsx b/frontend/containers/project-form/component.tsx
index 7d7777d3c..6f9187f4d 100644
--- a/frontend/containers/project-form/component.tsx
+++ b/frontend/containers/project-form/component.tsx
@@ -338,6 +338,8 @@ export const ProjectForm: FC = ({
diff --git a/frontend/containers/project-form/pages/other-information.tsx b/frontend/containers/project-form/pages/other-information.tsx
index ea5475e8b..bedb5b93f 100644
--- a/frontend/containers/project-form/pages/other-information.tsx
+++ b/frontend/containers/project-form/pages/other-information.tsx
@@ -1,17 +1,45 @@
-import React from 'react';
+import React, { ChangeEvent, useEffect, useState } from 'react';
+import { Controller } from 'react-hook-form';
import { FormattedMessage, useIntl } from 'react-intl';
+import cx from 'classnames';
+
import ErrorMessage from 'components/forms/error-message';
-import FieldInfo from 'components/forms/field-info';
+import Input from 'components/forms/input';
import Label from 'components/forms/label';
import Textarea from 'components/forms/textarea';
+import TextTag from 'components/tag';
import { ProjectForm } from 'types/project';
import { ProjectFormPagesProps } from '..';
-const OtherInformation = ({ register, errors }: ProjectFormPagesProps) => {
+const OtherInformation = ({
+ control,
+ getValues,
+ setValue,
+ register,
+ errors,
+}: ProjectFormPagesProps) => {
const { formatMessage } = useIntl();
+ const [defaultRisksIdentified, setDefaultRisksIdentified] = useState();
+
+ const risksIdentified = getValues('climate_change_risks_identified');
+ useEffect(() => {
+ if (typeof risksIdentified !== 'number') {
+ setDefaultRisksIdentified(risksIdentified);
+ }
+
+ if (!risksIdentified) {
+ setValue('climate_change_risks_details', '');
+ }
+ }, [getValues, setValue, risksIdentified]);
+
+ const handleChangeRisksIdentified = (e: ChangeEvent) => {
+ setDefaultRisksIdentified(!!Number(e.target.value));
+ setValue('climate_change_risks_identified', !!Number(e.target.value));
+ };
+
return (
@@ -19,8 +47,8 @@ const OtherInformation = ({ register, errors }: ProjectFormPagesProps
{chunk} ,
}}
@@ -32,13 +60,6 @@ const OtherInformation = ({ register, errors }: ProjectFormPagesProps
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
);
diff --git a/frontend/containers/tags-grid/component.stories.tsx b/frontend/containers/tags-grid/component.stories.tsx
index ee2029750..ea442a803 100644
--- a/frontend/containers/tags-grid/component.stories.tsx
+++ b/frontend/containers/tags-grid/component.stories.tsx
@@ -18,7 +18,7 @@ Default.args = {
title: 'Invests in',
type: 'category',
tags: [
- { id: 'tourism-and-recreation', name: 'Tourism & Recreation' },
+ { id: 'sustainable-tourism', name: 'Sustainable Tourism' },
{ id: 'non-timber-forest-production', name: 'Non-timber forest production' },
{ id: 'sustainable-agrosystems', name: 'Sustainable agrosystems' },
{ id: 'forestry-and-agroforestry', name: 'Forestry & agroforestry' },
diff --git a/frontend/lang/transifex/zu.json b/frontend/lang/transifex/zu.json
index 114026386..7560ae60e 100644
--- a/frontend/lang/transifex/zu.json
+++ b/frontend/lang/transifex/zu.json
@@ -2428,7 +2428,7 @@
"string": "Project financial instrument"
},
"hOp4Ue": {
- "string": "Tourism and recreation"
+ "string": "Sustainable Tourism"
},
"hPsrc0": {
"string": "insert your answer (max 600 characters)"
diff --git a/frontend/mockups/api/v1/account/project_developer.json b/frontend/mockups/api/v1/account/project_developer.json
index 71e4d07b5..2ad0b3519 100644
--- a/frontend/mockups/api/v1/account/project_developer.json
+++ b/frontend/mockups/api/v1/account/project_developer.json
@@ -13,7 +13,7 @@
"twitter": "https://twitter.com/pdorganizationtest1",
"mission": "Mission Test organization 1. This organization's mission is to find sustainable tourism solutions for the Amazon region. ",
"project_developer_type": "ngo",
- "categories": ["tourism-and-recreation"],
+ "categories": ["sustainable-tourism"],
"impacts": ["biodiversity", "climate", "water", "community"],
"language": "en",
"entity_legal_registration_number": "1234567890",
diff --git a/frontend/mockups/api/v1/enums.json b/frontend/mockups/api/v1/enums.json
index 1d9ebb311..da35c2eae 100644
--- a/frontend/mockups/api/v1/enums.json
+++ b/frontend/mockups/api/v1/enums.json
@@ -10,10 +10,10 @@
}
},
{
- "id": "tourism-and-recreation",
+ "id": "sustainable-tourism",
"type": "category",
"attributes": {
- "name": "Tourism and Recreation",
+ "name": "Sustainable Tourism",
"color": "#4492E5",
"description": "Accommodation, travel, transportation, hospitality, visitor experiences and eco-tourism projects."
}
diff --git a/frontend/mockups/filters.json b/frontend/mockups/filters.json
index bdf21d5d0..d8660ff9e 100644
--- a/frontend/mockups/filters.json
+++ b/frontend/mockups/filters.json
@@ -7,7 +7,7 @@
"description": "Agricultura sustentável e regenerativa, pesca e aquicultura, bem como a fabricação de subprodutos derivados."
},
{
- "id": "tourism-and-recreation",
+ "id": "sustainable-tourism",
"type": "category",
"name": "Turismo e Lazer",
"color": "#4492E5",
diff --git a/frontend/mockups/project.json b/frontend/mockups/project.json
index b26ff5bb0..5581431f4 100644
--- a/frontend/mockups/project.json
+++ b/frontend/mockups/project.json
@@ -90,7 +90,7 @@
"twitter": "",
"mission": "Lorem ipsum sit amet woof",
"project_developer_type": "academic",
- "categories": ["sustainable-agrosystems", "tourism-and-recreation"],
+ "categories": ["sustainable-agrosystems", "sustainable-tourism"],
"impacts": ["biodiversity", "community"],
"language": "en",
"entity_legal_registration_number": "212432423423",
@@ -139,7 +139,7 @@
"project_developer_type": "academic",
"categories": [
"sustainable-agrosystems",
- "tourism-and-recreation"
+ "sustainable-tourism"
],
"impacts": [
"biodiversity",
diff --git a/frontend/schemas/project.ts b/frontend/schemas/project.ts
index 68b46ea8b..e283963dd 100644
--- a/frontend/schemas/project.ts
+++ b/frontend/schemas/project.ts
@@ -117,6 +117,8 @@ export default (page: number) => {
}),
};
+ let patternTwoDigisAfterComma = /^\d+(\.\d{0,2})?$/;
+
const schemas = [
object().shape({
name: string().required(messages.name),
@@ -206,7 +208,26 @@ export default (page: number) => {
}),
object().shape({
description: string().max(600, maxTextLength).required(messages.description),
- relevant_links: string().nullable(),
+ relevant_links: string().max(600, maxTextLength).nullable(),
+ positive_financial_returns: string().max(600, maxTextLength).nullable(),
+ last_year_sales_revenue: number()
+ .test(
+ 'is-decimal',
+ 'The amount should be a decimal with maximum two digits after comma',
+ (val: any) => {
+ if (val != undefined) {
+ return patternTwoDigisAfterComma.test(val);
+ }
+ return true;
+ }
+ )
+ .min(0)
+ .max(999999999.99)
+ .nullable(true)
+ .transform((_, val) => (val !== '' ? Number(val) : null)),
+
+ climate_change_risks_identified: boolean().typeError(booleanField).required(booleanField),
+ climate_change_risks_details: string().max(600, maxTextLength),
}),
];
return schemas[page];
diff --git a/frontend/types/category.ts b/frontend/types/category.ts
index b24295098..aa136bc24 100644
--- a/frontend/types/category.ts
+++ b/frontend/types/category.ts
@@ -1,6 +1,6 @@
export type CategoryType =
| 'sustainable-agrosystems'
- | 'tourism-and-recreation'
+ | 'sustainable-tourism'
| 'forestry-and-agroforestry'
| 'non-timber-forest-production'
| 'human-capital-and-inclusion';
diff --git a/frontend/types/project.ts b/frontend/types/project.ts
index a0e0ed6ba..159728433 100644
--- a/frontend/types/project.ts
+++ b/frontend/types/project.ts
@@ -44,6 +44,10 @@ export type ProjectBase = {
received_funding_amount_usd?: number;
received_funding_investor?: string;
relevant_links?: string;
+ climate_change_risks_identified: boolean;
+ climate_change_risks_details?: string;
+ positive_financial_returns?: string;
+ last_year_sales_revenue?: number;
replicability: string;
sdgs: number[];
solution: string;
diff --git a/frontend/validations/project.ts b/frontend/validations/project.ts
index 385618186..b32d6708b 100644
--- a/frontend/validations/project.ts
+++ b/frontend/validations/project.ts
@@ -37,5 +37,12 @@ export const formPageInputs: (keyof ProjectForm)[][] = [
'received_funding_investor',
],
['replicability', 'sustainability', 'progress_impact_tracking'],
- ['description', 'relevant_links'],
+ [
+ 'description',
+ 'relevant_links',
+ 'positive_financial_returns',
+ 'last_year_sales_revenue',
+ 'climate_change_risks_identified',
+ 'climate_change_risks_details',
+ ],
];
diff --git a/frontend/yarn.lock b/frontend/yarn.lock
index 0b04a05d9..bed1d0b30 100644
--- a/frontend/yarn.lock
+++ b/frontend/yarn.lock
@@ -11515,17 +11515,10 @@ __metadata:
languageName: node
linkType: hard
-"caniuse-lite@npm:^1.0.30001109, caniuse-lite@npm:^1.0.30001297, caniuse-lite@npm:^1.0.30001312":
- version: 1.0.30001312
- resolution: "caniuse-lite@npm:1.0.30001312"
- checksum: 753fb9ea1e02e999430b323a71b5acab5120f3b5fc0161b01669f54a3ef5c5296240b6ae9b79b12a3742e3aed216aa9ee3d5398a23c16d08625ccd376b79545d
- languageName: node
- linkType: hard
-
-"caniuse-lite@npm:^1.0.30001406":
- version: 1.0.30001426
- resolution: "caniuse-lite@npm:1.0.30001426"
- checksum: e8b9c14ee33410d95b27da619f50648f373a7be712748970643f25d95fa80687b4755ba365f34a7a1cea00f9137193943aa6e742eedf0a4d7857f83809f49435
+"caniuse-lite@npm:^1.0.30001109, caniuse-lite@npm:^1.0.30001297, caniuse-lite@npm:^1.0.30001312, caniuse-lite@npm:^1.0.30001406":
+ version: 1.0.30001565
+ resolution: "caniuse-lite@npm:1.0.30001565"
+ checksum: 7621f358d0e1158557430a111ca5506008ae0b2c796039ef53aeebf4e2ba15e5241cb89def21ea3a633b6a609273085835b44a522165d871fa44067cdf29cccd
languageName: node
linkType: hard
diff --git a/infrastructure/README.md b/infrastructure/README.md
index 96467a67b..355b25c0f 100644
--- a/infrastructure/README.md
+++ b/infrastructure/README.md
@@ -25,7 +25,7 @@ will skip over the basics, and assume you are conformable using all of them.
## Structure
This project has 2 main sections, each of which with a folder named after it. Each of these sections has a
-Terraform project, that logically depends on their predecessors. There is a 4th component to this architecture,
+Terraform project, that logically depends on their predecessors. There is a 3rd component to this architecture,
which is handled by Github Actions
#### Remote state
diff --git a/infrastructure/base/.terraform.lock.hcl b/infrastructure/base/.terraform.lock.hcl
index 3cf1effee..67e20f5be 100644
--- a/infrastructure/base/.terraform.lock.hcl
+++ b/infrastructure/base/.terraform.lock.hcl
@@ -2,44 +2,42 @@
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/google" {
- version = "4.26.0"
- constraints = "~> 4.20"
+ version = "5.7.0"
+ constraints = "~> 5.7"
hashes = [
- "h1:vrB5NhkzFu+dFiXcxGK1waeSYkqRFW4ZySgiq2js9Nk=",
- "h1:xV+vg4tjH1G9GHYUkfuN3SVSC47G9NoQfQDbZmN2KCo=",
- "zh:142ce66a1fd0f916d95eaaf3d8edbc818749bb7db1fe3fb9985b1150a01b6656",
- "zh:17b9176fcf3109e64c57f61c32f98fc911777f4756da89f9c4bc2de9c0475592",
- "zh:466ecc7451d859cbbbd25d251d7246bf813e168e26df843600c1c949f2bd6eaf",
- "zh:57fcc1a9c26478356aee9ac34ba33b1a791f57d9dfd3409e421bedc94dbae938",
- "zh:68750e29336e44d36facfdff6b0cd296b32e24e2aaded8cfeb8837ed1b706212",
- "zh:8a2cf34a240c0bc0b04defc5bffc0bafabee323ec6d407f4ea0c12af171050e7",
- "zh:91d9c9e8e3e961799691536565b6c33d1bc965f85c52913847f3a3fd8accecf6",
- "zh:9a0c6b94467211f59d5069e3c79cb43dbb1d8fb0f61a9acfeccd24f5a0278918",
- "zh:9a0df22fac3aecc2f0623e843c87680a07c460501508c4e32b0cc9f6e473ca2a",
- "zh:bba9dfcf29f2ef541f9ae9cdc742e6c02f1262923f1d4c946c4b6e3d19e4346d",
- "zh:e33d35fa18ba4effafdf0cf97794498cb4407a9a7c8edb2cec8a825ca94eb0f3",
+ "h1:27EAcEv0G2mV1ohhDWsz/nx6l15+uOYkPBzJgASXRQo=",
+ "zh:0c0cf15cc034d5f92cc1cd5ee4615012553a674b69ee1802e46c4b87f1c339aa",
+ "zh:28e64a798320866c4dc84c323b66eef94ec98043dba016cf01d6adbe2dc85de4",
+ "zh:3b6e6443a9000354f93682d847737d6e9f702a77c53a492a39b200134b3e8dfd",
+ "zh:3ed6af130702d9da8fc14f94b3b2c9a93917cda31d50d934dd6de0ca48044572",
+ "zh:784a0feae2a48aa9a63fe6feb86ad29e8d35647fa29eb42303b799f09ee92060",
+ "zh:828e0198d99b7f9e53994470d6b51012566660a560da9c8266d1eaf2b140635c",
+ "zh:8dcb7537d95ec14e75ca71cfce62323682ce0fb453902dc9f890b7c524a915d3",
+ "zh:a7e760dc5707603091a0c3de0d47d6f8e51d8cce523b5c90587b05f113c5e09c",
+ "zh:b5c79a5e5b9bcaf0158f5f704d31cf90fb93826085151f06dfc3ef48276ed17a",
+ "zh:c44a2726dcfbf7d538aa0d5abd2473108f625d1d82485a340e62dfc04043288f",
+ "zh:f4da66ba04847138949a6a178b8836182f7960e9d069bfe76f1203d9af99cd22",
"zh:f569b65999264a9416862bca5cd2a6177d94ccb0424f3a4ef424428912b9cb3c",
]
}
provider "registry.terraform.io/hashicorp/google-beta" {
- version = "4.26.0"
- constraints = "~> 4.20"
+ version = "5.7.0"
+ constraints = "~> 5.7"
hashes = [
- "h1:/vQfEsILptD1/urOWC+TcQg89ifKDvI7weZEszGLI2E=",
- "h1:uuLM13A87Zdpq/I1FV2PjWmXwZRBkwupc+nkiJx2LH8=",
- "zh:0122996e6d27ee9c319bc7c90d61aa1365f3fbf30a39ed4ca48e12daad46a5f0",
- "zh:14163b2309a689c1cd336e4b7d946f155220845216d4d548f0e655ba8f2fd5f9",
- "zh:3c66947bc92c8eb9e44677d692ac42f28ad6a9279e7ae27a854278eb800c4097",
- "zh:4b29c58e3580ec571477b93afc9a13f940340fa889f1d21ae3ae4a5d9cbebc35",
- "zh:8557cff30ced68eb0d6c192f5209080c6c90c727d78eb36cbad61e1a37ff7a87",
- "zh:b2d34ed618c371cb7145a9f842a6d6b1cd069963cfa38b83b0fb24dae755ad1d",
- "zh:cbfcc05f7219d404986404b2a01633767d543fbe136e250a5e64dd48b56cb4d3",
- "zh:eff6cdb15c459dc237419498e42477c26cb5c6082edf821a6fd1199548e9c4c2",
- "zh:f495f6311dff0d908bad0e084ac09a11e8e45f67a5d85d196cb04dc43d270b9e",
+ "h1:6c1adMvZpeIv2oqXT0hoTCUO8LSq0UxWGJnPey56VKg=",
+ "zh:1720258635c34406db44e3d08df9cc02e6897f804d6d558e1c73772324df7b30",
+ "zh:1a385e9b3d7cda4d76b242f78086f33600c566386fde97d625f3bd39e1dcb1ff",
+ "zh:26e01a0059c3d9954d0af22ccc05bb21a5b8af7f91a790311cf8ba13e10a5646",
+ "zh:2acdab4240714cc31407324773280eeeb8ec9ab420404a3f3b8c0f25d73a5e00",
+ "zh:4836143995c83c925b040c8bc7d3958fa6743c2179a098e783bf919e17db16ab",
+ "zh:4ca384ea0153ba101af3ca97276f59e76586f935c99b444bd360a4009756af2d",
+ "zh:54cc3398e8c336bd3f836954f87d3a7ae8fc4bced070baac66a244af656163d4",
+ "zh:a3e5d9eacc27047ea0c3c00753da3966516dfc982dee180a3a5f4a405689447e",
+ "zh:cc2052e93d0b52151a2374aa49e56de823ff11dce0570fa7c4bbbcf89467670f",
+ "zh:d8dc64ade395715dbb41753bda72b1bce6348cd2011f95b1cea1b2c675770c58",
+ "zh:da1fe36816881dac4acd7ab37291365c4b92584b8689c7c745c7a5b6800049c0",
"zh:f569b65999264a9416862bca5cd2a6177d94ccb0424f3a4ef424428912b9cb3c",
- "zh:f750e6c18cca47bac08f7998998b4c9df570cabd66c52dd0faa0439670c4df31",
- "zh:fbca2a8537b2ea350761131e71ac529888b7949625055b2461a377f8838d3d98",
]
}
diff --git a/infrastructure/base/main.tf b/infrastructure/base/main.tf
index b66728c88..cf0a1956f 100644
--- a/infrastructure/base/main.tf
+++ b/infrastructure/base/main.tf
@@ -36,9 +36,7 @@ module "staging" {
backend_min_scale = 0
frontend_max_scale = 1
backend_max_scale = 1
- redirect_domain = var.redirect_domain
dns_zone_name = module.dns.dns_zone_name
- redirect_dns_zone_name = module.redirect_dns.dns_zone_name
subdomain = "staging"
uptime_alert_email = var.uptime_alert_email
from_email_address = var.from_email_address
@@ -70,15 +68,13 @@ module "production" {
frontend_min_scale = 1
backend_min_scale = 1
cors_origin = "https://${var.domain}"
- redirect_domain = var.redirect_domain
dns_zone_name = module.dns.dns_zone_name
- redirect_dns_zone_name = module.redirect_dns.dns_zone_name
uptime_alert_email = var.uptime_alert_email
from_email_address = var.from_email_address
instance_role = "production"
tag = "production"
- http_auth_username = ""
- http_auth_password = ""
+ http_auth_username = var.production_http_auth_username
+ http_auth_password = var.production_http_auth_password
klab_api_host = var.klab_api_host
klab_api_username = var.klab_api_username
klab_api_password = var.klab_api_password
@@ -91,12 +87,6 @@ module "dns" {
name = "hecoinvest"
}
-module "redirect_dns" {
- source = "./modules/dns"
- domain = var.redirect_domain
- name = "heco-redirect"
-}
-
module "sendgrid_dns_entries" {
source = "./modules/sendgrid_dns_entries"
domain = var.domain
diff --git a/infrastructure/base/modules/env/main.tf b/infrastructure/base/modules/env/main.tf
index e421ad3fb..cc2e95f3c 100644
--- a/infrastructure/base/modules/env/main.tf
+++ b/infrastructure/base/modules/env/main.tf
@@ -1,6 +1,5 @@
locals {
domain = var.subdomain == "" ? var.domain : "${var.subdomain}.${var.domain}"
- redirect_domain = var.subdomain == "" ? var.redirect_domain : "${var.subdomain}.${var.redirect_domain}"
}
module "network" {
@@ -101,6 +100,14 @@ module "nextauth_secret" {
use_random_value = true
}
+module "klab_api_password" {
+ source = "../secret_value"
+ region = var.gcp_region
+ key = "${var.project_name}_klab_api_password"
+ value = var.klab_api_password
+ use_random_value = false
+}
+
locals {
frontend_docker_build_args = {
TRANSIFEX_TOKEN = var.transifex_token
@@ -168,6 +175,15 @@ module "backend_build" {
"--region", var.gcp_region, "--max-instances", var.backend_max_scale
]
},
+ {
+ name = "gcr.io/google.com/cloudsdktool/cloud-sdk"
+ entrypoint = "gcloud"
+ args = [
+ "run", "services", "update-traffic", "${var.project_name}-jobs",
+ "--region", var.gcp_region,
+ "--to-latest"
+ ]
+ }
]
}
@@ -244,7 +260,10 @@ module "backend_cloudrun" {
}, length(module.http_auth_password) > 0 ? [{
name = "HTTP_AUTH_PASSWORD"
secret_name = module.http_auth_password[0].secret_name
- }] : []
+ }] : [], {
+ name = "KLAB_API_PASSWORD"
+ secret_name = module.klab_api_password.secret_name
+ }
])
env_vars = [
{
@@ -339,10 +358,6 @@ module "backend_cloudrun" {
name = "KLAB_API_USERNAME"
value = var.klab_api_username
},
- {
- name = "KLAB_API_PASSWORD"
- value = var.klab_api_password
- },
{
name = "KLAB_ENABLED"
value = var.klab_enabled
@@ -385,6 +400,9 @@ module "jobs_cloudrun" {
}, {
name = "ENCRYPTION_DERIVATION_SALT"
secret_name = module.rails_encryption_derivation_salt.secret_name
+ }, {
+ name = "KLAB_API_PASSWORD"
+ secret_name = module.klab_api_password.secret_name
}
]
env_vars = [
@@ -476,10 +494,6 @@ module "jobs_cloudrun" {
name = "KLAB_API_USERNAME"
value = var.klab_api_username
},
- {
- name = "KLAB_API_PASSWORD"
- value = var.klab_api_password
- },
{
name = "KLAB_ENABLED"
value = var.klab_enabled
@@ -567,8 +581,6 @@ module "load_balancer" {
frontend_cloud_run_name = module.frontend_cloudrun.name
domain = var.domain
dns_managed_zone_name = var.dns_zone_name
- redirect_domain = var.redirect_domain
- redirect_domain_dns_managed_zone_name = var.redirect_dns_zone_name
subdomain = var.subdomain
}
diff --git a/infrastructure/base/modules/env/variables.tf b/infrastructure/base/modules/env/variables.tf
index e5db785b0..c775e41a0 100644
--- a/infrastructure/base/modules/env/variables.tf
+++ b/infrastructure/base/modules/env/variables.tf
@@ -82,21 +82,11 @@ variable "dns_zone_name" {
description = "Name for the GCP DNS Zone"
}
-variable "redirect_dns_zone_name" {
- type = string
- description = "Name for the GCP redirect DNS Zone"
-}
-
variable "domain" {
type = string
description = "Base domain for the DNS zone"
}
-variable "redirect_domain" {
- type = string
- description = "Legacy domain to redirect"
-}
-
variable "subdomain" {
type = string
default = ""
diff --git a/infrastructure/base/modules/gcr/main.tf b/infrastructure/base/modules/gcr/main.tf
index 7096274c7..509f3f54f 100644
--- a/infrastructure/base/modules/gcr/main.tf
+++ b/infrastructure/base/modules/gcr/main.tf
@@ -11,4 +11,6 @@ resource "google_artifact_registry_repository" "repository" {
repository_id = var.name
description = "Docker image repository for ${var.name}"
format = "DOCKER"
+
+ cleanup_policy_dry_run = true
}
diff --git a/infrastructure/base/modules/load-balancer/main.tf b/infrastructure/base/modules/load-balancer/main.tf
index 818a09c2c..81e2ef6b0 100644
--- a/infrastructure/base/modules/load-balancer/main.tf
+++ b/infrastructure/base/modules/load-balancer/main.tf
@@ -7,7 +7,6 @@ resource "google_compute_global_address" "ip_address" {
locals {
domain = var.subdomain == "" ? var.domain : "${var.subdomain}.${var.domain}"
- redirect_domain = var.subdomain == "" ? var.redirect_domain : "${var.subdomain}.${var.redirect_domain}"
}
# ------------------------------------------------------------------------------
@@ -33,7 +32,7 @@ resource "google_compute_managed_ssl_certificate" "load-balancer-certificate" {
name = "${var.name}-lb-cert"
managed {
- domains = [local.domain, local.redirect_domain]
+ domains = [local.domain]
}
}
@@ -82,20 +81,6 @@ resource "google_compute_url_map" "load-balancer-url-map" {
service = google_compute_backend_service.backend_service.id
}
}
-
- host_rule {
- hosts = [local.redirect_domain]
- path_matcher = "redirect"
- }
-
- path_matcher {
- name = "redirect"
- default_url_redirect {
- strip_query = false
- host_redirect = local.domain
- https_redirect = true
- }
- }
}
resource "google_compute_region_network_endpoint_group" "cloudrun_backend_neg" {
@@ -148,12 +133,3 @@ resource "google_dns_record_set" "frontend-dns-record-set" {
rrdatas = [google_compute_global_address.ip_address.address]
}
-# DNS record
-resource "google_dns_record_set" "redirect-dns-record-set" {
- project = var.project
- name = "${local.redirect_domain}."
- type = "A"
- ttl = 3600
- managed_zone = var.redirect_domain_dns_managed_zone_name
- rrdatas = [google_compute_global_address.ip_address.address]
-}
diff --git a/infrastructure/base/modules/load-balancer/variables.tf b/infrastructure/base/modules/load-balancer/variables.tf
index b84ce9a4d..788e39020 100644
--- a/infrastructure/base/modules/load-balancer/variables.tf
+++ b/infrastructure/base/modules/load-balancer/variables.tf
@@ -39,12 +39,3 @@ variable "subdomain" {
description = "If set, it will be prepended to the domain to form a subdomain."
}
-variable "redirect_domain" {
- type = string
- description = "Legacy domain to redirect"
-}
-
-variable "redirect_domain_dns_managed_zone_name" {
- type = string
- description = "Name of the DNS Zone"
-}
diff --git a/infrastructure/base/variables.tf b/infrastructure/base/variables.tf
index dcdf57d05..2cf4ac13d 100644
--- a/infrastructure/base/variables.tf
+++ b/infrastructure/base/variables.tf
@@ -76,11 +76,6 @@ variable "uptime_alert_email" {
description = "Email address to which uptime alerts should be sent"
}
-variable "redirect_domain" {
- type = string
- description = "Legacy domain to redirect"
-}
-
variable "from_email_address" {
type = string
description = "Email address from which to send emails"
@@ -98,6 +93,18 @@ variable "staging_http_auth_password" {
default = ""
}
+variable "production_http_auth_username" {
+ type = string
+ description = "Http auth username (for production)"
+ default = ""
+}
+
+variable "production_http_auth_password" {
+ type = string
+ description = "Http auth password (for production)"
+ default = ""
+}
+
variable "klab_api_host" {
type = string
description = "Klab engine API host"
diff --git a/infrastructure/base/vars/terraform.tfvars b/infrastructure/base/vars/terraform.tfvars
index da63eb90b..03e2787ff 100644
--- a/infrastructure/base/vars/terraform.tfvars
+++ b/infrastructure/base/vars/terraform.tfvars
@@ -13,6 +13,5 @@ staging_project_name = "staging-heco"
production_project_name = "heco"
domain = "hecoinvest.org"
-redirect_domain = "heco.vizzuality.com"
google_analytics_key = "changeMe"
uptime_alert_email = "tiago.garcia@vizzuality.com"
diff --git a/infrastructure/base/versions.tf b/infrastructure/base/versions.tf
index 8885c7641..60e890b8b 100644
--- a/infrastructure/base/versions.tf
+++ b/infrastructure/base/versions.tf
@@ -2,12 +2,12 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
- version = "~> 4.20"
+ version = "~> 5.7"
}
google-beta = {
source = "hashicorp/google-beta"
- version = "~> 4.20"
+ version = "~> 5.7"
}
random = {
@@ -15,7 +15,7 @@ terraform {
version = "~> 3.1.0"
}
}
- required_version = "1.2.4"
+ required_version = "1.4.7"
}
provider "google" {