From 21254a7ec9751147fea7ab45f214b32b065d4b6d Mon Sep 17 00:00:00 2001 From: jonathan zollinger Date: Wed, 4 Mar 2026 10:09:30 -0700 Subject: [PATCH 1/3] refactor: add cli submodule --- .vscode/settings.json | 3 + cli/build.gradle.kts | 62 +- .../java/org/justserve}/JustServeCommand.java | 6 +- .../command/AssignOrgToProject.java | 7 +- .../org/justserve}/command/BaseCommand.java | 4 +- .../command/CommonOptionsMixin.java | 5 +- .../org/justserve}/command/ConsoleOutput.java | 2 +- .../justserve}/command/GetTempPassword.java | 7 +- .../org/justserve}/command/MakeOrgAdmin.java | 6 +- .../command/UnReassignProjects.java | 8 +- .../java/org/justserve/util/EmailParser.java | 1 - .../util/JustServeEmailParserError.java | 2 +- .../org/justserve}/util/JustServePrinter.java | 2 +- .../util/JustServeVersionProvider.java | 6 +- .../src}/main/resources/application.yml | 9 - .../cli/command/AssignOrgToProjectSpec.groovy | 0 .../cli/command/BaseCommandSpec.groovy | 4 +- .../cli/command/GetTempPasswordSpec.groovy | 10 - .../cli/command/MakeOrgAdminSpec.groovy | 0 .../cli/command/UnReassignProjectsSpec.groovy | 0 .../org/justserve/util/EmailParserSpec.groovy | 1 - .../justserve/util/TestEmailGenerator.groovy | 0 {src => cli/src}/test/resources/README.md | 0 .../src}/test/resources/SpockConfig.groovy | 0 .../src}/test/resources/application-test.yaml | 0 {src => cli/src}/test/resources/projects.yaml | 0 core/build.gradle.kts | 12 + core/gradle.properties | 0 core/settings.gradle.kts | 19 - core/src/main/resources/application.yml | 5 +- core/src/main/resources/logback.xml | 2 +- .../groovy/org/justserve/JustServeSpec.groovy | 6 +- gradle.properties | 2 +- settings.gradle | 16 +- src/main/resources/logback.xml | 14 - src/main/resources/schema.yml | 1589 - src/main/resources/swagger.json | 38188 ---------------- src/test/README.md | 2 - .../groovy/org/justserve/JustServeSpec.groovy | 211 - src/test/groovy/org/justserve/TestUser.groovy | 28 - .../client/BoundaryPermissionSpec.groovy | 46 - .../client/DynamicRoutingClientSpec.groovy | 40 - .../justserve/client/ImageClientSpec.groovy | 60 - .../client/OrganizationClientSpec.groovy | 107 - .../justserve/client/ProjectClientSpec.groovy | 97 - .../justserve/client/UserClientSpec.groovy | 75 - 46 files changed, 127 insertions(+), 40537 deletions(-) create mode 100644 .vscode/settings.json rename {src/main/java/org/justserve/cli => cli/src/main/java/org/justserve}/JustServeCommand.java (88%) rename {src/main/java/org/justserve/cli => cli/src/main/java/org/justserve}/command/AssignOrgToProject.java (93%) rename {src/main/java/org/justserve/cli => cli/src/main/java/org/justserve}/command/BaseCommand.java (95%) rename {src/main/java/org/justserve/cli => cli/src/main/java/org/justserve}/command/CommonOptionsMixin.java (82%) rename {src/main/java/org/justserve/cli => cli/src/main/java/org/justserve}/command/ConsoleOutput.java (95%) rename {src/main/java/org/justserve/cli => cli/src/main/java/org/justserve}/command/GetTempPassword.java (90%) rename {src/main/java/org/justserve/cli => cli/src/main/java/org/justserve}/command/MakeOrgAdmin.java (96%) rename {src/main/java/org/justserve/cli => cli/src/main/java/org/justserve}/command/UnReassignProjects.java (96%) rename {src => cli/src}/main/java/org/justserve/util/EmailParser.java (99%) rename {src/main/java/org/justserve/cli => cli/src/main/java/org/justserve}/util/JustServeEmailParserError.java (82%) rename {src/main/java/org/justserve/cli => cli/src/main/java/org/justserve}/util/JustServePrinter.java (99%) rename {src/main/java/org/justserve/cli => cli/src/main/java/org/justserve}/util/JustServeVersionProvider.java (81%) rename {src => cli/src}/main/resources/application.yml (51%) rename {src => cli/src}/test/groovy/org/justserve/cli/command/AssignOrgToProjectSpec.groovy (100%) rename {src => cli/src}/test/groovy/org/justserve/cli/command/BaseCommandSpec.groovy (96%) rename {src => cli/src}/test/groovy/org/justserve/cli/command/GetTempPasswordSpec.groovy (88%) rename {src => cli/src}/test/groovy/org/justserve/cli/command/MakeOrgAdminSpec.groovy (100%) rename {src => cli/src}/test/groovy/org/justserve/cli/command/UnReassignProjectsSpec.groovy (100%) rename {src => cli/src}/test/groovy/org/justserve/util/EmailParserSpec.groovy (98%) rename {src => cli/src}/test/groovy/org/justserve/util/TestEmailGenerator.groovy (100%) rename {src => cli/src}/test/resources/README.md (100%) rename {src => cli/src}/test/resources/SpockConfig.groovy (100%) rename {src => cli/src}/test/resources/application-test.yaml (100%) rename {src => cli/src}/test/resources/projects.yaml (100%) delete mode 100644 core/gradle.properties delete mode 100644 core/settings.gradle.kts delete mode 100644 src/main/resources/logback.xml delete mode 100644 src/main/resources/schema.yml delete mode 100644 src/main/resources/swagger.json delete mode 100644 src/test/README.md delete mode 100644 src/test/groovy/org/justserve/JustServeSpec.groovy delete mode 100644 src/test/groovy/org/justserve/TestUser.groovy delete mode 100644 src/test/groovy/org/justserve/client/BoundaryPermissionSpec.groovy delete mode 100644 src/test/groovy/org/justserve/client/DynamicRoutingClientSpec.groovy delete mode 100644 src/test/groovy/org/justserve/client/ImageClientSpec.groovy delete mode 100644 src/test/groovy/org/justserve/client/OrganizationClientSpec.groovy delete mode 100644 src/test/groovy/org/justserve/client/ProjectClientSpec.groovy delete mode 100644 src/test/groovy/org/justserve/client/UserClientSpec.groovy diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..1133129 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "java.configuration.updateBuildConfiguration": "automatic" +} \ No newline at end of file diff --git a/cli/build.gradle.kts b/cli/build.gradle.kts index 675821b..3cf1c76 100644 --- a/cli/build.gradle.kts +++ b/cli/build.gradle.kts @@ -1,13 +1,71 @@ import org.apache.tools.ant.filters.ReplaceTokens import java.util.* +plugins { + id("groovy") + id("io.micronaut.application") version "4.6.2" + id("com.gradleup.shadow") version "8.3.9" + id("org.graalvm.buildtools.native") version "0.10.6" +} + group = "org.justserve" -version = "0.0.8-SNAPSHOT" +version = project.properties["justserveCliVersion"]!! + +repositories { + mavenCentral() +} + +dependencies { + annotationProcessor("org.projectlombok:lombok") + annotationProcessor("info.picocli:picocli-codegen") + annotationProcessor("io.micronaut.serde:micronaut-serde-processor") + annotationProcessor("io.micronaut.validation:micronaut-validation") + implementation("io.micronaut.validation:micronaut-validation") + implementation("info.picocli:picocli") + implementation("info.picocli:picocli-jansi-graalvm:1.2.0") + implementation("org.fusesource.jansi:jansi:2.4.2") + implementation("info.picocli:picocli-shell-jline3:4.7.6") + implementation("org.jline:jline:3.30.5") + implementation("io.micronaut.picocli:micronaut-picocli") + implementation("org.simplejavamail:simple-java-mail:8.12.6") + implementation("io.micronaut.serde:micronaut-serde-jackson") + implementation("io.micronaut:micronaut-http-client") + implementation("org.simplejavamail:simple-java-mail:8.12.6") + implementation("org.jsoup:jsoup:1.21.2") + implementation(project(":core")) + testImplementation("net.datafaker:datafaker:2.5.1") + testImplementation("org.apache.commons:commons-lang3:3.20.0") + testImplementation(project(path = ":core", configuration = "testArchives")) + compileOnly("org.projectlombok:lombok") + runtimeOnly("ch.qos.logback:logback-classic") + runtimeOnly("org.yaml:snakeyaml") +} + + +application { + mainClass = "org.justserve.CliCommand" +} +java { + sourceCompatibility = JavaVersion.toVersion("21") + targetCompatibility = JavaVersion.toVersion("21") +} tasks.withType { val props = Properties() - file("gradle.properties").inputStream().use { props.load(it) } + file("../gradle.properties").inputStream().use { props.load(it) } filesMatching("**/application.yml") { filter(mapOf("tokens" to props), ReplaceTokens::class.java) } +} + +micronaut { + testRuntime("spock2") + processing { + incremental(true) + annotations("org.justserve.*") + } +} + +tasks.named("dockerfileNative") { + jdkVersion = "21" } \ No newline at end of file diff --git a/src/main/java/org/justserve/cli/JustServeCommand.java b/cli/src/main/java/org/justserve/JustServeCommand.java similarity index 88% rename from src/main/java/org/justserve/cli/JustServeCommand.java rename to cli/src/main/java/org/justserve/JustServeCommand.java index 28905de..62a5f23 100644 --- a/src/main/java/org/justserve/cli/JustServeCommand.java +++ b/cli/src/main/java/org/justserve/JustServeCommand.java @@ -1,8 +1,8 @@ -package org.justserve.cli; +package org.justserve; import io.micronaut.configuration.picocli.PicocliRunner; -import org.justserve.cli.command.*; -import org.justserve.cli.util.JustServeVersionProvider; +import org.justserve.command.*; +import org.justserve.util.JustServeVersionProvider; import picocli.CommandLine.Command; import picocli.CommandLine.ParameterException; import picocli.jansi.graalvm.AnsiConsole; diff --git a/src/main/java/org/justserve/cli/command/AssignOrgToProject.java b/cli/src/main/java/org/justserve/command/AssignOrgToProject.java similarity index 93% rename from src/main/java/org/justserve/cli/command/AssignOrgToProject.java rename to cli/src/main/java/org/justserve/command/AssignOrgToProject.java index 29f33e8..d7e2a73 100644 --- a/src/main/java/org/justserve/cli/command/AssignOrgToProject.java +++ b/cli/src/main/java/org/justserve/command/AssignOrgToProject.java @@ -1,4 +1,4 @@ -package org.justserve.cli.command; +package org.justserve.command; import io.micronaut.http.HttpResponse; import io.micronaut.http.HttpStatus; @@ -12,8 +12,9 @@ import java.util.UUID; -import static org.justserve.cli.util.JustServePrinter.printError; -import static org.justserve.cli.util.JustServePrinter.printNormal; +import static org.justserve.util.JustServePrinter.printError; +import static org.justserve.util.JustServePrinter.printNormal; + @Slf4j @Command(name = "assignOrgToProject", description = "Assigns an organization to a project", mixinStandardHelpOptions = true) diff --git a/src/main/java/org/justserve/cli/command/BaseCommand.java b/cli/src/main/java/org/justserve/command/BaseCommand.java similarity index 95% rename from src/main/java/org/justserve/cli/command/BaseCommand.java rename to cli/src/main/java/org/justserve/command/BaseCommand.java index 61451ee..18bb55b 100644 --- a/src/main/java/org/justserve/cli/command/BaseCommand.java +++ b/cli/src/main/java/org/justserve/command/BaseCommand.java @@ -1,4 +1,4 @@ -package org.justserve.cli.command; +package org.justserve.command; import io.micronaut.context.annotation.Value; import io.micronaut.core.annotation.NonNull; @@ -10,7 +10,7 @@ import java.io.PrintWriter; import java.util.Optional; -import static org.justserve.cli.util.JustServePrinter.printError; +import static org.justserve.util.JustServePrinter.printError; import static picocli.CommandLine.Help.Ansi.AUTO; @Command diff --git a/src/main/java/org/justserve/cli/command/CommonOptionsMixin.java b/cli/src/main/java/org/justserve/command/CommonOptionsMixin.java similarity index 82% rename from src/main/java/org/justserve/cli/command/CommonOptionsMixin.java rename to cli/src/main/java/org/justserve/command/CommonOptionsMixin.java index ce4a634..b3c929d 100644 --- a/src/main/java/org/justserve/cli/command/CommonOptionsMixin.java +++ b/cli/src/main/java/org/justserve/command/CommonOptionsMixin.java @@ -1,7 +1,6 @@ -package org.justserve.cli.command; +package org.justserve.command; import io.micronaut.core.annotation.ReflectiveAccess; -import org.justserve.cli.util.JustServeVersionProvider; import picocli.CommandLine.Command; import picocli.CommandLine.Option; @@ -20,7 +19,7 @@ * @author Jonathan Zollinger * @version 0.0.1 */ -@Command(mixinStandardHelpOptions = true, versionProvider = JustServeVersionProvider.class) +@Command(mixinStandardHelpOptions = true, versionProvider = org.justserve.util.JustServeVersionProvider.class) @SuppressWarnings("checkstyle:VisibilityModifier") public class CommonOptionsMixin { diff --git a/src/main/java/org/justserve/cli/command/ConsoleOutput.java b/cli/src/main/java/org/justserve/command/ConsoleOutput.java similarity index 95% rename from src/main/java/org/justserve/cli/command/ConsoleOutput.java rename to cli/src/main/java/org/justserve/command/ConsoleOutput.java index 00c03b0..7c47ac3 100644 --- a/src/main/java/org/justserve/cli/command/ConsoleOutput.java +++ b/cli/src/main/java/org/justserve/command/ConsoleOutput.java @@ -1,4 +1,4 @@ -package org.justserve.cli.command; +package org.justserve.command; public interface ConsoleOutput { ConsoleOutput NOOP = new ConsoleOutput() { diff --git a/src/main/java/org/justserve/cli/command/GetTempPassword.java b/cli/src/main/java/org/justserve/command/GetTempPassword.java similarity index 90% rename from src/main/java/org/justserve/cli/command/GetTempPassword.java rename to cli/src/main/java/org/justserve/command/GetTempPassword.java index 72d9fea..82f6b97 100644 --- a/src/main/java/org/justserve/cli/command/GetTempPassword.java +++ b/cli/src/main/java/org/justserve/command/GetTempPassword.java @@ -1,4 +1,4 @@ -package org.justserve.cli.command; +package org.justserve.command; import io.micronaut.http.HttpResponse; import io.micronaut.http.client.exceptions.HttpClientResponseException; @@ -10,12 +10,13 @@ import picocli.CommandLine.Command; import picocli.CommandLine.Option; -import static org.justserve.cli.util.JustServePrinter.printError; -import static org.justserve.cli.util.JustServePrinter.printNormal; +import static org.justserve.util.JustServePrinter.printError; +import static org.justserve.util.JustServePrinter.printNormal; @Command(name = "getTempPassword", description = "get a temporary password for a user") public class GetTempPassword extends BaseCommand implements Runnable { + @Email @Option(names = {"-e", "--email"}, description = "email for the user whose temporary password will be generated") String email; diff --git a/src/main/java/org/justserve/cli/command/MakeOrgAdmin.java b/cli/src/main/java/org/justserve/command/MakeOrgAdmin.java similarity index 96% rename from src/main/java/org/justserve/cli/command/MakeOrgAdmin.java rename to cli/src/main/java/org/justserve/command/MakeOrgAdmin.java index 0702cd3..9fe10dd 100644 --- a/src/main/java/org/justserve/cli/command/MakeOrgAdmin.java +++ b/cli/src/main/java/org/justserve/command/MakeOrgAdmin.java @@ -1,4 +1,4 @@ -package org.justserve.cli.command; +package org.justserve.command; import io.micronaut.core.annotation.Nullable; import io.micronaut.http.HttpResponse; @@ -17,8 +17,8 @@ import java.util.*; import java.util.stream.Collectors; -import static org.justserve.cli.util.JustServePrinter.printError; -import static org.justserve.cli.util.JustServePrinter.printNormal; +import static org.justserve.util.JustServePrinter.printError; +import static org.justserve.util.JustServePrinter.printNormal; @Slf4j @Command(name = "makeOrgAdmin", description = "make a user an admin for the provided organization(s). " + diff --git a/src/main/java/org/justserve/cli/command/UnReassignProjects.java b/cli/src/main/java/org/justserve/command/UnReassignProjects.java similarity index 96% rename from src/main/java/org/justserve/cli/command/UnReassignProjects.java rename to cli/src/main/java/org/justserve/command/UnReassignProjects.java index 5038402..c8ba5b9 100644 --- a/src/main/java/org/justserve/cli/command/UnReassignProjects.java +++ b/cli/src/main/java/org/justserve/command/UnReassignProjects.java @@ -1,4 +1,4 @@ -package org.justserve.cli.command; +package org.justserve.command; import io.micronaut.http.HttpResponse; import io.micronaut.http.HttpStatus; @@ -7,12 +7,12 @@ import jakarta.inject.Provider; import jakarta.mail.MessagingException; import lombok.extern.slf4j.Slf4j; -import org.justserve.cli.util.JustServeEmailParserError; import org.justserve.client.ProjectClient; import org.justserve.model.GetProjectRequest; import org.justserve.model.Project; import org.justserve.model.ReassignProjectRequest; import org.justserve.util.EmailParser; +import org.justserve.util.JustServeEmailParserError; import picocli.CommandLine.Command; import picocli.CommandLine.Option; @@ -23,8 +23,8 @@ import java.util.Set; import java.util.UUID; -import static org.justserve.cli.util.JustServePrinter.printError; -import static org.justserve.cli.util.JustServePrinter.printNormal; +import static org.justserve.util.JustServePrinter.printError; +import static org.justserve.util.JustServePrinter.printNormal; @Slf4j @Command(name = "unReassignProjects", description = "Reassigns projects from an email file to a user", mixinStandardHelpOptions = true) diff --git a/src/main/java/org/justserve/util/EmailParser.java b/cli/src/main/java/org/justserve/util/EmailParser.java similarity index 99% rename from src/main/java/org/justserve/util/EmailParser.java rename to cli/src/main/java/org/justserve/util/EmailParser.java index 9688f79..4fb4e13 100644 --- a/src/main/java/org/justserve/util/EmailParser.java +++ b/cli/src/main/java/org/justserve/util/EmailParser.java @@ -9,7 +9,6 @@ import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; -import org.justserve.cli.util.JustServeEmailParserError; import java.io.ByteArrayInputStream; import java.io.IOException; diff --git a/src/main/java/org/justserve/cli/util/JustServeEmailParserError.java b/cli/src/main/java/org/justserve/util/JustServeEmailParserError.java similarity index 82% rename from src/main/java/org/justserve/cli/util/JustServeEmailParserError.java rename to cli/src/main/java/org/justserve/util/JustServeEmailParserError.java index 66809e6..ea8c7f2 100644 --- a/src/main/java/org/justserve/cli/util/JustServeEmailParserError.java +++ b/cli/src/main/java/org/justserve/util/JustServeEmailParserError.java @@ -1,4 +1,4 @@ -package org.justserve.cli.util; +package org.justserve.util; public class JustServeEmailParserError extends Exception { public JustServeEmailParserError(String message) { diff --git a/src/main/java/org/justserve/cli/util/JustServePrinter.java b/cli/src/main/java/org/justserve/util/JustServePrinter.java similarity index 99% rename from src/main/java/org/justserve/cli/util/JustServePrinter.java rename to cli/src/main/java/org/justserve/util/JustServePrinter.java index 4c1a78f..80624a2 100644 --- a/src/main/java/org/justserve/cli/util/JustServePrinter.java +++ b/cli/src/main/java/org/justserve/util/JustServePrinter.java @@ -1,4 +1,4 @@ -package org.justserve.cli.util; +package org.justserve.util; import org.fusesource.jansi.Ansi; diff --git a/src/main/java/org/justserve/cli/util/JustServeVersionProvider.java b/cli/src/main/java/org/justserve/util/JustServeVersionProvider.java similarity index 81% rename from src/main/java/org/justserve/cli/util/JustServeVersionProvider.java rename to cli/src/main/java/org/justserve/util/JustServeVersionProvider.java index f67d90a..6d3b4b5 100644 --- a/src/main/java/org/justserve/cli/util/JustServeVersionProvider.java +++ b/cli/src/main/java/org/justserve/util/JustServeVersionProvider.java @@ -1,10 +1,10 @@ -package org.justserve.cli.util; +package org.justserve.util; import io.micronaut.context.annotation.Value; import picocli.CommandLine; -import static org.justserve.cli.util.JustServePrinter.styleEmphasis; -import static org.justserve.cli.util.JustServePrinter.styleTitle; +import static org.justserve.util.JustServePrinter.styleEmphasis; +import static org.justserve.util.JustServePrinter.styleTitle; public class JustServeVersionProvider implements CommandLine.IVersionProvider { diff --git a/src/main/resources/application.yml b/cli/src/main/resources/application.yml similarity index 51% rename from src/main/resources/application.yml rename to cli/src/main/resources/application.yml index f3b2fe0..1bafcb1 100644 --- a/src/main/resources/application.yml +++ b/cli/src/main/resources/application.yml @@ -2,17 +2,8 @@ micronaut: application: name: justserve-cli version: "@justserveCliVersion@" - http: - services: - justserve: - url: https://www.justserve.org - client: - read-timeout: 20s justserve: token: ${:i-need-to-be-defined} -jackson: - deserialization: - ACCEPT_EMPTY_STRING_AS_NULL_OBJECT: true logger: levels: # org.justserve.auth.JustServeClientFilter: DEBUG \ No newline at end of file diff --git a/src/test/groovy/org/justserve/cli/command/AssignOrgToProjectSpec.groovy b/cli/src/test/groovy/org/justserve/cli/command/AssignOrgToProjectSpec.groovy similarity index 100% rename from src/test/groovy/org/justserve/cli/command/AssignOrgToProjectSpec.groovy rename to cli/src/test/groovy/org/justserve/cli/command/AssignOrgToProjectSpec.groovy diff --git a/src/test/groovy/org/justserve/cli/command/BaseCommandSpec.groovy b/cli/src/test/groovy/org/justserve/cli/command/BaseCommandSpec.groovy similarity index 96% rename from src/test/groovy/org/justserve/cli/command/BaseCommandSpec.groovy rename to cli/src/test/groovy/org/justserve/cli/command/BaseCommandSpec.groovy index 1cc84d0..e9eca9e 100644 --- a/src/test/groovy/org/justserve/cli/command/BaseCommandSpec.groovy +++ b/cli/src/test/groovy/org/justserve/cli/command/BaseCommandSpec.groovy @@ -2,8 +2,8 @@ package org.justserve.cli.command import io.micronaut.configuration.picocli.PicocliRunner import io.micronaut.context.ApplicationContext +import org.justserve.JustServeCommand import org.justserve.JustServeSpec -import org.justserve.cli.JustServeCommand import spock.lang.Execution import spock.lang.Shared @@ -21,7 +21,7 @@ class BaseCommandSpec extends JustServeSpec { def setupSpec() { def props = new Properties() - new File('gradle.properties').withInputStream { stream -> + new File('../gradle.properties').withInputStream { stream -> props.load(stream) } ansi = "\\u001B\\[[;\\d]*m" diff --git a/src/test/groovy/org/justserve/cli/command/GetTempPasswordSpec.groovy b/cli/src/test/groovy/org/justserve/cli/command/GetTempPasswordSpec.groovy similarity index 88% rename from src/test/groovy/org/justserve/cli/command/GetTempPasswordSpec.groovy rename to cli/src/test/groovy/org/justserve/cli/command/GetTempPasswordSpec.groovy index a4bf523..65ffe81 100644 --- a/src/test/groovy/org/justserve/cli/command/GetTempPasswordSpec.groovy +++ b/cli/src/test/groovy/org/justserve/cli/command/GetTempPasswordSpec.groovy @@ -1,11 +1,8 @@ package org.justserve.cli.command import io.micronaut.context.ApplicationContext -import net.datafaker.Faker -import org.justserve.TestUser import spock.lang.Execution import spock.lang.Retry -import spock.lang.Shared import spock.lang.Unroll import static org.spockframework.runtime.model.parallel.ExecutionMode.SAME_THREAD @@ -14,13 +11,6 @@ import static org.spockframework.runtime.model.parallel.ExecutionMode.SAME_THREA @Retry class GetTempPasswordSpec extends BaseCommandSpec { - @Shared - TestUser readOnlyUser - - def setupSpec() { - readOnlyUser = new TestUser(new Faker(Locale.of("en-us"))) - readOnlyUser.uuid = createUser(readOnlyUser).body().getId() - } @Unroll("getting temp password with '#flag' and '#email' returns ") def "commands to query temporary password should behave as expected with or without authentication"() { diff --git a/src/test/groovy/org/justserve/cli/command/MakeOrgAdminSpec.groovy b/cli/src/test/groovy/org/justserve/cli/command/MakeOrgAdminSpec.groovy similarity index 100% rename from src/test/groovy/org/justserve/cli/command/MakeOrgAdminSpec.groovy rename to cli/src/test/groovy/org/justserve/cli/command/MakeOrgAdminSpec.groovy diff --git a/src/test/groovy/org/justserve/cli/command/UnReassignProjectsSpec.groovy b/cli/src/test/groovy/org/justserve/cli/command/UnReassignProjectsSpec.groovy similarity index 100% rename from src/test/groovy/org/justserve/cli/command/UnReassignProjectsSpec.groovy rename to cli/src/test/groovy/org/justserve/cli/command/UnReassignProjectsSpec.groovy diff --git a/src/test/groovy/org/justserve/util/EmailParserSpec.groovy b/cli/src/test/groovy/org/justserve/util/EmailParserSpec.groovy similarity index 98% rename from src/test/groovy/org/justserve/util/EmailParserSpec.groovy rename to cli/src/test/groovy/org/justserve/util/EmailParserSpec.groovy index e708e63..dfedd4b 100644 --- a/src/test/groovy/org/justserve/util/EmailParserSpec.groovy +++ b/cli/src/test/groovy/org/justserve/util/EmailParserSpec.groovy @@ -4,7 +4,6 @@ import io.micronaut.core.io.ResourceResolver import io.micronaut.test.extensions.spock.annotation.MicronautTest import jakarta.inject.Inject import org.jsoup.nodes.Document -import org.justserve.cli.util.JustServeEmailParserError import spock.lang.Shared import spock.lang.Specification diff --git a/src/test/groovy/org/justserve/util/TestEmailGenerator.groovy b/cli/src/test/groovy/org/justserve/util/TestEmailGenerator.groovy similarity index 100% rename from src/test/groovy/org/justserve/util/TestEmailGenerator.groovy rename to cli/src/test/groovy/org/justserve/util/TestEmailGenerator.groovy diff --git a/src/test/resources/README.md b/cli/src/test/resources/README.md similarity index 100% rename from src/test/resources/README.md rename to cli/src/test/resources/README.md diff --git a/src/test/resources/SpockConfig.groovy b/cli/src/test/resources/SpockConfig.groovy similarity index 100% rename from src/test/resources/SpockConfig.groovy rename to cli/src/test/resources/SpockConfig.groovy diff --git a/src/test/resources/application-test.yaml b/cli/src/test/resources/application-test.yaml similarity index 100% rename from src/test/resources/application-test.yaml rename to cli/src/test/resources/application-test.yaml diff --git a/src/test/resources/projects.yaml b/cli/src/test/resources/projects.yaml similarity index 100% rename from src/test/resources/projects.yaml rename to cli/src/test/resources/projects.yaml diff --git a/core/build.gradle.kts b/core/build.gradle.kts index 6e1d99f..5012338 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -1,7 +1,11 @@ +import org.apache.tools.ant.filters.ReplaceTokens +import java.util.* + plugins { id("groovy") id("io.micronaut.library") version "4.5.3" id("io.micronaut.openapi") version "4.5.3" + id("com.github.hauner.jarTest") version "1.1.0" } version = project.properties["justserveCliVersion"]!! @@ -56,3 +60,11 @@ micronaut { annotations("org.justserve.*") } } + +tasks.withType { + val props = Properties() + file("../gradle.properties").inputStream().use { props.load(it) } + filesMatching("**/application.yml") { + filter(mapOf("tokens" to props), ReplaceTokens::class.java) + } +} \ No newline at end of file diff --git a/core/gradle.properties b/core/gradle.properties deleted file mode 100644 index e69de29..0000000 diff --git a/core/settings.gradle.kts b/core/settings.gradle.kts deleted file mode 100644 index 646e87c..0000000 --- a/core/settings.gradle.kts +++ /dev/null @@ -1,19 +0,0 @@ -pluginManagement { - repositories { - gradlePluginPortal() - mavenCentral() - } -} - -enableFeaturePreview 'TYPESAFE_PROJECT_ACCESSORS' - -rootProject.name="justserve" - -include "core" -include "cli" - -dependencyResolutionManagement { - repositories { - mavenCentral() - } -} diff --git a/core/src/main/resources/application.yml b/core/src/main/resources/application.yml index f3b2fe0..7f5c4c2 100644 --- a/core/src/main/resources/application.yml +++ b/core/src/main/resources/application.yml @@ -1,7 +1,6 @@ micronaut: application: - name: justserve-cli - version: "@justserveCliVersion@" + name: justserve devkit core http: services: justserve: @@ -9,7 +8,7 @@ micronaut: client: read-timeout: 20s justserve: - token: ${:i-need-to-be-defined} + token: jackson: deserialization: ACCEPT_EMPTY_STRING_AS_NULL_OBJECT: true diff --git a/core/src/main/resources/logback.xml b/core/src/main/resources/logback.xml index 2d77bda..66538dd 100644 --- a/core/src/main/resources/logback.xml +++ b/core/src/main/resources/logback.xml @@ -8,7 +8,7 @@ - + diff --git a/core/src/test/groovy/org/justserve/JustServeSpec.groovy b/core/src/test/groovy/org/justserve/JustServeSpec.groovy index 119cb9f..f8d11d5 100644 --- a/core/src/test/groovy/org/justserve/JustServeSpec.groovy +++ b/core/src/test/groovy/org/justserve/JustServeSpec.groovy @@ -102,8 +102,8 @@ class JustServeSpec extends Specification { ctx.stop() } - def createUser(UserClient client = noAuthUserClient) { - HttpResponse response = null + HttpResponse createUser(UserClient client = noAuthUserClient) { + HttpResponse response = null def tries = 0 while ((null == response || HttpStatus.OK != response.status()) && tries < 5) { try { @@ -120,7 +120,7 @@ class JustServeSpec extends Specification { return response } - private static def createUserFromFaker(UserClient client, TestUser user, String uniqueEmailInput = null) { + private static HttpResponse createUserFromFaker(UserClient client, TestUser user, String uniqueEmailInput = null) { String email = uniqueEmailInput ?: RandomStringUtils.insecure().nextAlphanumeric(20) + "@fake.com" MultipartBody requestBody = MultipartBody.builder() .addPart("firstName", user.firstName) diff --git a/gradle.properties b/gradle.properties index ef6d0f1..c118158 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ micronautVersion=4.8.3 -justserveCliVersion=0.0.8-SNAPSHOT +justserveCliVersion=0.1.0-SNAPSHOT org.gradle.console=rich diff --git a/settings.gradle b/settings.gradle index 69953bb..646e87c 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,5 +1,19 @@ +pluginManagement { + repositories { + gradlePluginPortal() + mavenCentral() + } +} + +enableFeaturePreview 'TYPESAFE_PROJECT_ACCESSORS' + rootProject.name="justserve" include "core" include "cli" -include 'cli' \ No newline at end of file + +dependencyResolutionManagement { + repositories { + mavenCentral() + } +} diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml deleted file mode 100644 index 144bb8f..0000000 --- a/src/main/resources/logback.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - %cyan(%d{HH:mm:ss.SSS}) %gray([%thread]) %highlight(%-5level) %magenta(%logger{36}) - %msg%n - - - - - - - \ No newline at end of file diff --git a/src/main/resources/schema.yml b/src/main/resources/schema.yml deleted file mode 100644 index 04b0316..0000000 --- a/src/main/resources/schema.yml +++ /dev/null @@ -1,1589 +0,0 @@ -openapi: 3.0.1 -info: - title: JustServe HttpClient - description: API for automating tasks within JustServe - contact: - name: Jonathan Zollinger - version: v0.0.5 - tags: - - DynamicRouting - - Image - - User - - Organization - - Project -paths: - /api/v1/images: - post: - tags: [ Image ] - description: Upload an image - operationId: uploadImage - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ImageUploadRequest' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/ImageUploadResponse' - /api/v1/organizations: - post: - tags: [ Organization ] - description: Create a new organization - operationId: createOrganization - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/OrganizationCreateRequest' - responses: - '200': - description: OK - content: - application/json: - schema: - type: null - /api/v1/organizations/search: - post: - description: Search for an organization near a given location. - operationId: searchByLocation - tags: [ Organization ] - requestBody: - content: { application/json: { schema: { $ref: '#/components/schemas/OrganizationSearchRequest' } } } - responses: - 200: - description: OK - content: { application/json: { schema: { $ref: '#/components/schemas/OrganizationSearchResponse' } } } - /api/v1/organizations/{organizationId}/owners: - get: - tags: [ Organization ] - description: get the owners for a given organization - operationId: getOrgOwners - parameters: - - name: organizationId - in: path - required: true - schema: { type: string, format: uuid } - responses: - 200: - description: OK - content: { application/json: { schema: { type: array, items: { $ref: '#/components/schemas/UserSlimSearchResult' } } } } - /api/v2/projects/search: - post: - tags: [ Project ] - description: search active projects - operationId: searchProjects - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ProjectSearchRequest' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/ProjectSearchResponse' - /api/v1/projects/{id}/{locale}: - post: - tags: [ Project ] - description: Get project details for a given project - operationId: getProject - parameters: - - name: id - in: path - required: true - schema: { type: string, format: uuid } - - name: locale - in: path - required: true - schema: { type: string } - requestBody: - content: - application/json: - schema: - type: object - properties: - latitude: - type: string - longitude: - type: string - postalCode: - type: string - lang: - type: string - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/Project' - /api/v1/projects/{projectId}/users/reassignAndDelete: - put: - tags: [ Project ] - description: Reassigns multiple projects to a new user. - operationId: reassignProject - parameters: - - name: projectId - in: path - description: ID of the project to be reassigned - required: true - schema: { type: string, format: uuid } - requestBody: - content: - application/json: - schema: - type: object - properties: - assignId: { type: string, format: UUID, description: "UUID of the new owner of the project" } - deleteId: { type: string, format: UUID, description: "UUID of the previous owner of the project" } - additionalProperties: false - responses: - '200': - description: OK - content: - application/json: - schema: - type: null - /api/v1/projects/{id}/organization/{organizationId}/assign: - put: - tags: [ Project ] - description: Assigns an organization to a project. - operationId: assignOrganizationToProject - parameters: - - name: id - in: path - description: ID of the project - required: true - schema: { type: string, format: uuid } - - name: organizationId - in: path - description: ID of the organization to assign - required: true - schema: { type: string, format: uuid } - responses: - '200': - description: OK - content: - application/json: - schema: - type: null - /api/v1/users: - post: - description: Register a new user on JustServe - operationId: createUser - tags: - - User - parameters: - - name: FirstName - in: query - required: true - schema: - maxLength: 50 - minLength: 1 - type: string - - name: LastName - in: query - required: true - schema: - maxLength: 50 - minLength: 1 - type: string - - name: Email - in: query - required: true - schema: - pattern: "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$" - type: string - - name: Password - in: query - required: true - schema: - maxLength: 100 - minLength: 8 - type: string - format: password - - name: Postal - in: query - schema: - type: string - - name: Language - description: language locale, ie 'en-us' - in: query - schema: - type: string - - name: Country - in: query - schema: - type: string - - name: CountryCode - in: query - schema: - type: string - responses: - '200': - description: OK - content: - application/json: - schema: - type: object - properties: - access_token: - type: string - token_type: - type: string - expires_in: - type: number - refresh_token: - type: string - id: { type: string, format: uuid } - email: - type: string - remaining_attempts: - type: number - promptFacebookUserForZip: - type: boolean - roles: { } - expiration: - type: string - secure: - type: boolean - issuedDT: - type: string - .issued: - type: string - .expires: - type: string - statusCode: - type: number - responseText: { } - contentType: { } - /api/v1/users/hash: - post: - operationId: getTempPassword - tags: - - User - description: "retrieves a temporary password for the given user" - requestBody: { content: { application/json: { schema: { $ref: '#/components/schemas/UserHashRequest' } } } } - responses: - '200': - description: OK - content: { application/json: { schema: { type: string } } } - '400': - description: Bad Request - '500': - description: Internal Server Error - /api/v1/users/securitycontext/bearer: - get: - description: "Retrieves the admin context for a given user (ie org ID's, church unit id's, role levels, etc). if no user is provided, it will return the context for the currently authenticated user" - operationId: getAdminContext - tags: - - User - parameters: - - name: userId - in: query - schema: - type: string - format: uuid - responses: - '200': - description: OK - content: { application/json: { schema: { $ref: '#/components/schemas/SecurityContext' } } } - '401': # No failures for unfound endpoints. querying ID "this is a bad ID" returns the current user's bearer context. - description: Unauthorized - content: { application/json: { schema: { $ref: '#/components/schemas/ProblemDetails' } } } - /api/v1/users/slimSearch: - post: - operationId: userSearchSlim - tags: - - User - description: "performs a 'slim search' for users based on the provided criteria" - requestBody: { content: { application/json: { schema: { $ref: '#/components/schemas/UserSearchRequest' } } } } - responses: - '200': - description: OK - content: - application/json: - schema: { $ref: '#/components/schemas/UserSlimSearchResults' } - '400': - description: Bad Request - content: { application/json: { schema: { $ref: '#/components/schemas/ProblemDetails' } } } - '500': - description: Internal Server Error - content: { application/json: { schema: { $ref: '#/components/schemas/ProblemDetails' } } } - /api/v1/routing/{url}: - get: - operationId: getOrgIdFromSlug - tags: - - DynamicRouting - parameters: [ { name: url, in: path, required: true, schema: { type: string } } ] - responses: - '200': - description: OK - content: { application/json: { schema: { $ref: '#/components/schemas/DynamicRoutingDataResponse' } } } - '404': - description: Not Found - content: { application/json: { schema: { $ref: '#/components/schemas/ProblemDetails' } } } - -components: - schemas: - BoundaryUpdateRequest: - type: object - properties: - id: - description: | - When reassigning to a specialist, this is the specialist's church geography ID. - Sometimes the security context endpoint will include this information, otherwise you can look up the church ID with - api/v1/locations/lds/{CDOL-id}. - type: string - nullable: true - boundaryType: - $ref: '#/components/schemas/BoundaryType' - updateInfo: - type: array - items: - $ref: '#/components/schemas/BoundaryUserInfo' - nullable: true - additionalProperties: false - BoundaryUserInfo: - type: object - properties: - addCivicGeographyIds: - type: array - items: { type: string, format: uuid } - removeCivicGeographyIds: - type: array - items: { type: string, format: uuid } - nullable: true - role: { $ref: '#/components/schemas/Role' } - userId: { type: string, format: uuid } - add: { type: boolean, nullable: true } - additionalProperties: false - BoundaryType: - type: integer - format: int32 - enum: - - 0 - - 1 - x-enum-varnames: - - LdsGeography - - Organization - ChurchCivicGeographyUserRole: - type: object - properties: - churchGeographyId: { type: string, format: uuid } - unitId: - type: string - nullable: true - civicGeographyId: { type: string, format: uuid } - role: - $ref: '#/components/schemas/Role' - additionalProperties: false - ChurchGeographyUserRole: - type: object - properties: - churchGeographyId: { type: string, format: uuid } - unitId: - type: string - nullable: true - role: - $ref: '#/components/schemas/Role' - additionalProperties: false - Time.DayOfWeek: - enum: [ 0, 1, 2, 3, 4, 5, 6 ] - x-enum-varnames: - - Sunday - - Monday - - Tuesday - - Wednesday - - Thursday - - Friday - - Saturday - type: integer - format: int32 - Time.TimeOfDay: - enum: [ 0,1,2,3 ] - x-enum-varnames: - - None - - Morning - - Afternoon - - Evening - type: integer - format: int32 - DistanceType: - type: string - enum: - - None - - Miles - - Kilometers - DynamicRoutingDataResponse: - type: object - properties: - id: { type: string, format: uuid } - dynamicRouteType: - description: "The type of entity the route points to." - type: integer - format: int32 - enum: [ 0, 1 ] - x-enum-varnames: - - Organization - - DisasterRelief - additionalProperties: false - ImageUploadRequest: - type: object - properties: - base64: { type: string } - height: { type: integer, format: int32 } - width: { type: integer, format: int32 } - squareWrapper: { type: boolean } - x: { type: integer, format: int32 } - y: { type: integer, format: int32 } - ImageUploadResponse: - type: object - properties: - attachmentId: { type: string, format: uuid } - full: { type: string } - displayFileName: { type: string } - thumb: { type: string } - OrganizationCreateRequest: - type: object - properties: - banner: { type: string, nullable: true } - logo: { type: string, nullable: true } - contactEmail: { type: string } - contactName: { type: string } - contactPhone: { type: string } - description: { type: string } - locationString: { type: string } - name: { type: string } - public: { type: boolean } - url: - type: string - description: The vanity URL slug for the organization's public page ('my-cool-org' not 'https.../orgs/my-cool-org' - volunteerCenterInfo: { type: string, nullable: true } - website: { type: string, nullable: true } - additionalProperties: false - OrganizationUserRole: - type: object - properties: - organizationId: { type: string, format: uuid } - role: - $ref: '#/components/schemas/Role' - additionalProperties: false - OrganizationSearchResponse: - type: object - properties: - count: - type: integer - format: int32 - organizations: - type: array - items: - $ref: "#/components/schemas/OrganizationSlimResponse" - nullable: true - location: - $ref: "#/components/schemas/Location" - isLocationSupported: - type: boolean - additionalProperties: false - ProjectSearchRequest: - type: object - properties: - latitude: { type: number, format: double } - longitude: { type: number, format: double } - searchType: { $ref: '#/components/schemas/SearchLocationType' } - radius: { type: integer, format: int32 } - radiusType: { $ref: '#/components/schemas/DistanceType' } - start: { type: string, format: date-time } - page: { type: integer, format: int32 } - size: { type: integer, format: int32 } - sortBy: { type: string, nullable: true } - language: { type: string, nullable: true } - browserLocale: { type: string, nullable: true } - getProjectSearchOrderBy: { $ref: '#/components/schemas/ProjectSearchOrderBy' } - keywords: { type: string, nullable: true } - location: { type: string, nullable: true } - end: { type: string, format: date-time } - suitableAllAges: { type: boolean } - groupProject: { type: boolean } - volunteerRemotely: { type: boolean } - volunteerFromAnywhere: { type: boolean } - itemDonations: { type: boolean } - wheelchairAccessible: { type: boolean } - indoors: { type: boolean } - onGoing: { type: boolean } - dtl: { type: boolean } - skills: { type: array, items: { type: integer, format: int32 }, nullable: true } - interests: { type: array, items: { type: integer, format: int32 }, nullable: true } - userInitiatedSearch: { type: boolean } - includeOrgInfo: { type: boolean } - includeFilledProjects: { type: boolean } - disasterRecoveryProjectsOnly: { type: boolean } - daysOfWeek: { type: array, items: { $ref: '#/components/schemas/Time.DayOfWeek' }, nullable: true } - timesOfDay: { type: array, items: { $ref: '#/components/schemas/Time.TimeOfDay' }, nullable: true } - publishedOnly: { type: boolean } - additionalProperties: false - ProjectSearchResponse: - type: object - properties: - pageNumber: { type: integer, format: int32 } - pageSize: { type: integer, format: int32 } - items: - type: array - items: { $ref: '#/components/schemas/ProjectCard' } - nullable: true - pageCount: { type: integer, format: int32, nullable: true, readOnly: true } - itemCount: { type: integer, format: int32, nullable: true } - searchLatitude: { type: number, format: double } - searchLongitude: { type: number, format: double } - additionalProperties: false - ProjectCard: - type: object - properties: - id: { type: string, format: uuid } - statusId: { type: integer, format: int32 } - projectTypeId: { type: integer, format: int32 } - title: { type: string, nullable: true } - shortDescription: { type: string, nullable: true } - imagePath: { type: string, nullable: true } - organizationName: { type: string, nullable: true } - suitableAllAges: { type: boolean } - groupProjects: { type: boolean } - volunteerRemotely: { type: boolean } - volunteerFromAnywhere: { type: boolean } - itemDonations: { type: boolean } - wheelchairAccessible: { type: boolean } - indoors: { type: boolean } - forYouthGroups: { type: boolean } - totalNextOpportunities: { type: integer, format: int32, nullable: true } - regionSelected: { type: boolean } - nextOpportunity: { $ref: '#/components/schemas/ProjectCardOpportunity' } - location: { $ref: '#/components/schemas/ProjectCardLocation' } - countryCode: { type: string, nullable: true } - boundaries: - type: array - items: { $ref: '#/components/schemas/RegionCivicGeography' } - nullable: true - additionalProperties: false - ProjectCardOpportunity: - type: object - properties: - projectEventId: { type: string, format: uuid } - start: { type: string, nullable: true } - end: { type: string, nullable: true } - volunteersNeeded: { type: integer, format: int32, nullable: true } - timezone: { type: string, nullable: true } - additionalProperties: false - ProjectCardLocation: - type: object - properties: - city: { type: string, nullable: true } - state: { type: string, nullable: true } - postal: { type: string, nullable: true } - latitude: { type: number, format: double } - longitude: { type: number, format: double } - additionalProperties: false - RegionCivicGeography: - type: object - properties: - type: { $ref: '#/components/schemas/GeographyType' } - name: { type: string, nullable: true } - id: { type: string, nullable: true } - additionalProperties: false - GeographyType: - enum: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 ] - x-enum-varnames: - - All - - Area - - Mission - - CC - - Stake - - Country - - State - - County - - City - - Zipcode - - Neighborhood - - National - - None - type: integer - format: int32 - SearchLocationType: - enum: [ 0, 1, 2, 3 ] - x-enum-varnames: - - Radius - - State - - Regional - - None - type: integer - format: int32 - ProjectSearchOrderBy: - enum: [ 0, 1, 2, 3, 4, 5, 6, 7 ] - x-enum-varnames: - - None - - Relativity - - Recent - - Title - - TitleReverse - - Created - - NextOpportunity - - Distance - type: integer - format: int32 - UserHashRequest: - description: | - A request containing either the email or the userid for a user. - type: object - oneOf: - - $ref: '#/components/schemas/UserHashRequestByEmail' - UserHashRequestByEmail: - type: object - description: "A request to get a user hash using their email." - required: [ email ] - properties: - email: - type: string - description: "The email address of the user." - additionalProperties: false - UserHashRequestByUserId: - type: object - description: "A request to get a user hash using their unique ID." - required: [ userid ] - properties: - userid: - type: string - description: "The unique ID of the user." - additionalProperties: false - UserSearchRequest: - description: | - search query used in a few different endpoints - required: [ value, page, size ] - type: object - properties: - value: { minLength: 1, type: string } - page: - description: "the page number to retrieve" - type: integer - format: int32 - size: - description: "the number of results per page" - type: integer - format: int32 - orderBy: - type: string - nullable: true - additionalProperties: false - UserSlimSearchResults: - description: | - Return object for the user slim search endpoint - type: object - properties: - count: { type: integer, format: int32 } - users: - type: array - items: { $ref: '#/components/schemas/UserSlimSearchResult' } - nullable: true - additionalProperties: false - UserSearchResults: - deprecated: true - description: | - Return object for the user search endpoint - type: object - properties: - count: { type: integer, format: int32 } - users: - type: array - items: { $ref: '#/components/schemas/UserSearchResult' } - UserSearchResult: - deprecated: true - type: object - properties: - id: { type: string } - firstName: { type: string, nullable: true } - lastName: { type: string, nullable: true } - userName: { type: string, nullable: true } - language: { type: string, nullable: true } - address: { type: string, nullable: true } - neighborhood: { type: string, nullable: true } - city: { type: string, nullable: true } - state: { type: string, nullable: true } - postal: { type: string, nullable: true } - country: { type: string, nullable: true } - countryCode: { type: string, nullable: true } - isActive: { type: boolean } - skills: { type: array, items: { type: string }, nullable: true } - interests: { type: array, items: { type: string }, nullable: true } - tools: { type: array, items: { type: string }, nullable: true } - email: { type: string, nullable: true } - phone: { type: string, nullable: true } - keywords: { type: string, nullable: true } - adminRole: { $ref: '#/components/schemas/Role' } - organizations: { type: array, items: { $ref: '#/components/schemas/Organization' }, nullable: true } - permissions: { type: array, items: { type: string }, nullable: true } - assignedAreas: { type: array, items: string, nullable: true } - churchBoundaries: { type: array, items: string, nullable: true } - civicBoundaries: { type: array, items: string, nullable: true } - manageableAdmin: { type: boolean } - showsSensitiveInfo: { type: boolean } - distance: { type: integer, format: int32 } - relativityScore: { type: number, format: double } - volunteerProjects: { type: array, items: { $ref: '#/components/schemas/ProjectSlimResponse' } } - additionalProperties: false - ProjectSlimResponse: - type: object - properties: - id: { type: string, format: uuid} - title: { type: string, nullable: true } - description: { type: string, nullable: true } - projectExpired: { type: boolean } - orgAuthorizationPending: { type: boolean, nullable: true } - status: { $ref: '#/components/schemas/ProjectStatus' } - startDate: { type: string, format: date-time, nullable: true } - endDate: { type: string, format: date-time, nullable: true } - locations: - type: array - items: { $ref: '#/components/schemas/Location' } - nullable: true - lastChangeReason: { type: string, nullable: true } - needsAttention: { type: boolean, nullable: true } - isActive: { type: boolean, nullable: true } - isUnlistedProject: { type: boolean } - isDirectlyOwnedOrSponsored: { type: boolean } - isOwnedOrRepresentedViaOrganization: { type: boolean } - isIndividualProject: { type: boolean } - projectOwnerName: { type: string, nullable: true } - projectOwnerUserId: { type: string, format: uuid, nullable: true } - relativityScore: { type: number, format: double } - additionalProperties: false - ProjectStatus: - type: string - enum: - - None - - Published - - Submitted - - Draft - - Template - - OnHold - - Cancelled - - Declined - UserSlimSearchResult: - description: | - high level information for a given user - type: object - properties: - id: { type: string, format: uuid } - firstName: { type: string, nullable: true } - lastName: { type: string, nullable: true } - userName: { type: string, nullable: true } - email: { type: string, nullable: true, description: "partially obfuscated email for user" } - state: { type: string, nullable: true } - adminRole: { $ref: '#/components/schemas/Role' } - adminRoleName: { type: string, nullable: true } - permissions: { type: array, items: { type: string }, nullable: true } - organizationName: { type: string, nullable: true } - churchBoundaryName: { type: string, nullable: true } - showsSensitiveInfo: { type: boolean } - additionalProperties: false - Organization: - type: object - properties: - id: { type: string, format: uuid } - language: { type: string, nullable: true } - organizationType: { $ref: '#/components/schemas/OrganizationType' } - endorsements: { type: array, items: { $ref: '#/components/schemas/Endorsement' }, nullable: true } - owners: { type: array, items: { type: string }, nullable: true } - representatives: { type: array, items: { $ref: '#/components/schemas/OrgRepresentative' }, nullable: true } - name: { type: string, nullable: true } - description: { type: string, nullable: true } - status: { $ref: '#/components/schemas/OrganizationStatus' } - activationDate: { type: string, format: date-time, nullable: true } - firstStartTime: { type: string, format: date-time, nullable: true } - finalEndTime: { type: string, format: date-time, nullable: true } - website: { type: string, nullable: true } - autoRedirect: { type: boolean } - url: { type: string, nullable: true } - internalURL: { type: string, nullable: true } - location: { $ref: '#/components/schemas/Location' } - logo: { type: string, nullable: true } - banner: { type: string, nullable: true } - facebookPath: { type: string, nullable: true } - googlePath: { type: string, nullable: true } - twitterPath: { type: string, nullable: true } - youTubePath: { type: string, nullable: true } - instagramPath: { type: string, nullable: true } - linkedInPath: { type: string, nullable: true } - contactName: { type: string, nullable: true } - contactPhone: { type: string, nullable: true } - contactEmail: { type: string, nullable: true } - linkedProjects: - type: array - items: { type: string } - nullable: true - created: { type: string, format: date-time } - updated: { type: string, format: date-time } - createdBy: { type: string, nullable: true } - updatedBy: { type: string, nullable: true } - deleted: { type: boolean } - deletedOn: { type: string, format: date-time, nullable: true } - deletedBy: { type: string, format: uuid, nullable: true } - aboutUs: { type: string, nullable: true } - volunteerCenterInfo: { $ref: '#/components/schemas/VolunteerCenterInfo' } - projectsData: - type: array - items: { $ref: '#/components/schemas/ProjectSlimResponse' } - nullable: true - totalProjectCount: { type: integer, format: int32 } - userCanEndorse: { type: boolean } - relativityScore: { type: number, format: double } - volunteerCenterParents: - type: array - items: { $ref: '#/components/schemas/OrganizationSlimResponse' } - nullable: true - additionalProperties: false - OrganizationSearchRequest: - type: object - properties: - keywords: { type: string, nullable: true } - location: - description: | - The full or partial geographic name for the organization search. - This can be a full street address, including street, city, state, and - country, or a specific location name (e.g., 'Far West, UT'). - For best results, provide the most specific, full address - available, including Zip codes. Partial queries perform best - when matching a whole location name (e.g., 'Zionsv' for 'Zionsville') - rather than a partial street name. - type: string - nullable: true - radius: { default: 75, type: integer, format: int32 } - sortBy: { type: string, nullable: true } - page: { default: 0, type: integer, format: int32 } - size: { default: 5, type: integer, format: int32 } - additionalProperties: false - OrganizationStatus: - type: string - enum: - - None - - Active - - Inactive - - Pending - - Rejected - OrganizationSlimResponse: - type: object - properties: - id: { type: string, format: uuid, nullable: true } - organizationType: { $ref: '#/components/schemas/OrganizationType' } - title: { type: string, nullable: true } - logo: { type: string, nullable: true } - url: { type: string, nullable: true, description: "this provides only the url slug" } - internalURL: { type: string, nullable: true, description: "this currently returns null when an org is searched for by location" } - website: { type: string, nullable: true } - description: { type: string, nullable: true } - contactName: { type: string, nullable: true } - contactPhone: { type: string, nullable: true } - contactEmail: { type: string, nullable: true } - isIndividualProject: { type: boolean } - status: { $ref: '#/components/schemas/OrganizationStatus' } - OrganizationType: - type: integer - format: int32 - enum: - - 0 - - 1 - - 2 - - 3 - x-enum-varnames: - - None - - Organization - - VolunteerCenter - - DisasterRelief - Endorsement: - type: object - properties: - id: { type: string } - organizationId: { type: string } - userid: { type: string } - created: { type: string, format: date-time } - updated: { type: string, format: date-time } - createdBy: { type: string, nullable: true } - updatedBy: { type: string, nullable: true } - deleted: { type: boolean } - deletedOn: { type: string, format: date-time, nullable: true } - deletedBy: { type: string, format: uuid, nullable: true } - additionalProperties: false - OrgRepresentative: - type: object - properties: - id: { type: string } - organizationId: { type: string } - userid: { type: string } - created: { type: string, format: date-time } - updated: { type: string, format: date-time } - createdBy: { type: string, nullable: true } - updatedBy: { type: string, nullable: true } - deleted: { type: boolean } - deletedOn: { type: string, format: date-time, nullable: true } - deletedBy: { type: string, format: uuid, nullable: true } - additionalProperties: false - OrganizationCivicGeographyUserRole: - type: object - properties: - organizationId: { type: string, format: uuid } - role: - $ref: '#/components/schemas/Role' - civicGeographyId: { type: string, format: uuid } - additionalProperties: false - Location: - type: object - properties: { latitude: { type: number, format: double }, - longitude: { type: number, format: double } } - additionalProperties: false - LocationWithRadius: - type: object, - properties: - mapId: { type: string, nullable: true } - fullDisplayAddress: { type: string, nullable: true } - address: { type: string, nullable: true } - suite: { type: string, nullable: true } - city: { type: string, nullable: true } - civicCityId: { type: string, format: uuid, nullable: true } - neighborhood: { type: string, nullable: true } - county: { type: string, nullable: true } - state: { type: string, nullable: true } - postal: { type: string, nullable: true } - country: { type: string, nullable: true } - countryCode: { type: string, nullable: true } - missionId: { type: string, nullable: true } - ccId: { type: string, nullable: true } - stakeId: { type: string, nullable: true } - areaId: { type: string, nullable: true } - latitude: { type: number, format: double } - longitude: { type: number, format: double } - maxLatitude: { type: number, format: double } - minLatitude: { type: number, format: double } - maxLongitude: { type: number, format: double } - minLongitude: { type: number, format: double } - geoCodeOverride: { type: boolean } - timezone: { type: string, nullable: true } - radiusType: { $ref: '#/components/schemas/DistanceType' } - countryCode2Char: { type: string, nullable: true } - additionalProperties: false - VolunteerCenterInfo: - type: object - properties: - parentOrganizationId: { type: string } - parentOrganizationName: { type: string, nullable: true } - childOrganizationIds: - type: array - items: { type: string } - nullable: true - Role: - type: string - enum: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ] - x-enum-varnames: [ - "none", - "city", - "county", - "state", - "country", - "orgAdmin", - "orgLeadAdmin", - "stakeAdmin", - "stakeLeadAdmin", - "ccAdmin", - "ccLeadAdmin", - "missionAdmin", - "missionLeadAdmin", - "nationalAdmin", - "nationalLeadAdmin", - "areaAdmin", - "areaLeadAdmin", - "globalAdmin", - "globalLeadAdmin", - "developer" - ] - ProblemDetails: - type: object - properties: - type: - type: string - format: uri - nullable: true - title: - type: string - nullable: true - status: - type: integer - format: int32 - nullable: true - traceId: { type: string, nullable: true } - SecurityContext: - type: object - properties: - userId: { type: string, format: uuid } - userRepresentativeForOrganizations: - type: array - items: { type: string, format: uuid, nullable: true } - churchGeographies: - type: object - additionalProperties: - $ref: '#/components/schemas/ChurchGeographyUserRole' - nullable: true - civicGeographies: - type: object - additionalProperties: - $ref: '#/components/schemas/ChurchCivicGeographyUserRole' - nullable: true - organizationRoles: - type: object - additionalProperties: - $ref: '#/components/schemas/OrganizationUserRole' - nullable: true - organizationCivicGeographyUserRoles: - type: array - items: - $ref: '#/components/schemas/OrganizationCivicGeographyUserRole' - nullable: true - additionalProperties: false - Project: - type: object - properties: - id: - type: string - projectOwners: - type: array - items: - type: object - properties: - id: - type: string - ownerType: - type: number - required: - - id - - ownerType - projectOwnerLocation: - type: object - properties: - mapId: {} - fullDisplayAddress: - type: string - address: {} - suite: {} - city: - type: string - civicCityId: - type: string - neighborhood: {} - county: - type: string - state: - type: string - postal: - type: string - country: - type: string - countryCode: - type: string - locationVisibilityId: - type: number - missionId: - type: string - ccId: - type: string - stakeId: - type: string - areaId: - type: string - latitude: - type: number - longitude: - type: number - maxLatitude: - type: number - minLatitude: - type: number - maxLongitude: - type: number - minLongitude: - type: number - geoCodeOverride: - type: boolean - timezone: {} - required: - - mapId - - fullDisplayAddress - - address - - suite - - city - - civicCityId - - neighborhood - - county - - state - - postal - - country - - countryCode - - locationVisibilityId - - missionId - - ccId - - stakeId - - areaId - - latitude - - longitude - - maxLatitude - - minLatitude - - maxLongitude - - minLongitude - - geoCodeOverride - - timezone - ownerLog: - type: array - items: {} - projectType: - type: number - status: - type: number - publishDate: - type: string - language: - type: string - country: - type: string - title: - type: string - shortDescription: - type: string - longDescription: - type: string - logo: - type: string - attachments: - type: array - items: {} - attachmentInfo: - type: array - items: {} - applicant: - type: object - properties: - submitterUserId: - type: string - firstName: - type: string - lastName: - type: string - email: - type: string - phone: - type: string - postal: - type: string - applicantPostal: - type: string - applicantCity: - type: string - applicantCountry: - type: string - applicantCountryCode: - type: string - assignmentLevel: - type: number - assignedOn: - type: string - required: - - submitterUserId - - firstName - - lastName - - email - - phone - - postal - - applicantPostal - - applicantCity - - applicantCountry - - applicantCountryCode - - assignmentLevel - - assignedOn - contact: - type: object - properties: - name: {} - phone: {} - email: {} - required: - - name - - phone - - email - sponsor: - type: object - properties: - name: - type: string - email: - type: string - phone: - type: string - userId: - type: string - required: - - name - - email - - phone - - userId - representative: - type: object - properties: - name: {} - email: {} - userId: {} - required: - - name - - email - - userId - organization: - type: object - properties: - authorization: - type: boolean - organizationAuthorization: {} - name: {} - description: {} - url: {} - internalUrl: {} - organizationId: { type: string, format: uuid } - reviewedBy: {} - reviewedOn: {} - linked: - type: boolean - logo: {} - required: - - authorization - - organizationAuthorization - - name - - description - - url - - internalUrl - - organizationId - - reviewedBy - - reviewedOn - - linked - - logo - suitableAllAges: - type: boolean - groupProject: - type: boolean - volunteerRemotely: - type: boolean - itemDonations: - type: boolean - wheelchairAccessible: - type: boolean - indoors: - type: boolean - forYouthGroups: - type: boolean - volunteerFromAnywhere: - type: boolean - regionSelected: - type: boolean - temporaryFakeDistanceScore: - type: number - fakeDistanceScoreUpdate: - type: string - skills: - type: array - items: {} - interests: - type: array - items: {} - tools: - type: array - items: {} - projectSkills: - type: array - items: {} - projectInterests: - type: array - items: {} - projectTools: - type: array - items: {} - externalVolunteerURL: - type: string - isExternalProject: - type: boolean - isUnlistedProject: - type: boolean - archivedProject: - type: boolean - isActive: - type: boolean - externalVolunteerCount: - type: number - externalVolunteers: - type: array - items: - type: string - allEventsFilled: - type: boolean - daysOfWeek: - type: array - items: {} - timesOfDay: - type: array - items: {} - waiverURL: {} - dtl: - type: array - items: {} - onGoing: - type: array - items: - type: object - properties: - id: - type: string - start: - type: string - renewDate: - type: string - end: - type: string - schedule: - type: string - scheduleLanguage: - type: object - properties: {} - required: [] - specialDirections: {} - specialDirectionsLanguage: - type: object - properties: {} - required: [] - locationName: - type: string - locationLink: - type: string - location: - type: object - properties: - mapId: {} - fullDisplayAddress: - type: string - address: {} - suite: {} - city: - type: string - civicCityId: {} - neighborhood: {} - county: {} - state: {} - postal: {} - country: - type: string - countryCode: {} - locationVisibilityId: - type: number - missionId: {} - ccId: {} - stakeId: {} - areaId: {} - latitude: - type: number - longitude: - type: number - maxLatitude: - type: number - minLatitude: - type: number - maxLongitude: - type: number - minLongitude: - type: number - geoCodeOverride: - type: boolean - timezone: - type: string - required: - - mapId - - fullDisplayAddress - - address - - suite - - city - - civicCityId - - neighborhood - - county - - state - - postal - - country - - countryCode - - locationVisibilityId - - missionId - - ccId - - stakeId - - areaId - - latitude - - longitude - - maxLatitude - - minLatitude - - maxLongitude - - minLongitude - - geoCodeOverride - - timezone - interested: - type: array - items: {} - contacts: - type: array - items: - type: object - properties: - name: - type: string - phone: - type: string - email: - type: string - required: - - name - - phone - - email - boundaries: - type: array - items: {} - required: - - id - - start - - renewDate - - end - - schedule - - scheduleLanguage - - specialDirections - - specialDirectionsLanguage - - locationName - - locationLink - - location - - interested - - contacts - - boundaries - recurring: {} - lastChangeReason: {} - escalated: {} - created: - type: string - updated: - type: string - createdBy: - type: string - deleted: - type: boolean - deletedOn: {} - deletedBy: {} - firstStartDateTimeOffset: - type: string - lastEndDateTimeOffset: - type: string - cbfName: - type: string - cblName: - type: string - updatedBy: - type: string - ubfName: - type: string - ublName: - type: string - volunteerCentersData: - type: array - items: {} - relativityScore: - type: number - projectOwnerName: - type: string - projectOwnerLastName: - type: string - projectOwnerUserId: - type: string - format: uuid - projectLocationType: - type: number - underReview: - type: boolean - required: - - id - - projectOwners - - projectOwnerLocation - - ownerLog - - projectType - - status - - publishDate - - language - - country - - title - - shortDescription - - longDescription - - logo - - attachments - - attachmentInfo - - applicant - - contact - - sponsor - - representative - - organization - - suitableAllAges - - groupProject - - volunteerRemotely - - itemDonations - - wheelchairAccessible - - indoors - - forYouthGroups - - volunteerFromAnywhere - - regionSelected - - temporaryFakeDistanceScore - - fakeDistanceScoreUpdate - - skills - - interests - - tools - - projectSkills - - projectInterests - - projectTools - - externalVolunteerURL - - isExternalProject - - isUnlistedProject - - archivedProject - - isActive - - externalVolunteerCount - - externalVolunteers - - allEventsFilled - - daysOfWeek - - timesOfDay - - waiverURL - - dtl - - onGoing - - recurring - - lastChangeReason - - escalated - - created - - updated - - createdBy - - deleted - - deletedOn - - deletedBy - - firstStartDateTimeOffset - - lastEndDateTimeOffset - - cbfName - - cblName - - updatedBy - - ubfName - - ublName - - volunteerCentersData - - relativityScore - - projectOwnerName - - projectOwnerLastName - - projectOwnerUserId - - projectLocationType - - underReview diff --git a/src/main/resources/swagger.json b/src/main/resources/swagger.json deleted file mode 100644 index 528fc83..0000000 --- a/src/main/resources/swagger.json +++ /dev/null @@ -1,38188 +0,0 @@ -{ - "openapi": "3.0.1", - "info": { - "title": "JustServe API", - "description": "Some services require authentication - visit the root application and sign in - then return here to perform authenticated service calls", - "version": "v1" - }, - "paths": { - "/api/v1/project/{projectId}/attachment": { - "post": { - "tags": [ - "Attachment" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.AttachmentUploadModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.AttachmentUploadModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.AttachmentUploadModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.AttachmentUploadModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.AttachmentResult" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.AttachmentResult" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.AttachmentResult" - } - } - } - } - } - } - }, - "/api/v1/project/{projectId}/attachment/{id}": { - "delete": { - "tags": [ - "Attachment" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoolResult" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoolResult" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoolResult" - } - } - } - } - } - } - }, - "/api/v1/project/{projectId}/attachment/remove/{id}": { - "delete": { - "tags": [ - "Attachment" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoolResult" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoolResult" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoolResult" - } - } - } - } - } - } - }, - "/api/v1/attachment/{id}/info": { - "get": { - "tags": [ - "Attachment" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.AttachmentSlim" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.AttachmentSlim" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.AttachmentSlim" - } - } - } - } - } - } - }, - "/api/v1/attachment/{attachmentId}": { - "get": { - "tags": [ - "Attachment" - ], - "parameters": [ - { - "name": "attachmentId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/project/{projectId}/attachment/add/{attachmentId}": { - "post": { - "tags": [ - "Attachment" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "attachmentId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectAttachment" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectAttachment" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectAttachment" - } - } - } - } - } - } - }, - "/api/v1/boundaries/users/{userId}": { - "get": { - "tags": [ - "BoundaryPermission" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "churchLeadsOnly", - "in": "query", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoundaryDataResponse" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoundaryDataResponse" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoundaryDataResponse" - } - } - } - } - } - } - } - }, - "/api/v1/boundaries/org/{organizationId}/children": { - "get": { - "tags": [ - "BoundaryPermission" - ], - "parameters": [ - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoundaryDataResponse" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoundaryDataResponse" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoundaryDataResponse" - } - } - } - } - } - } - } - }, - "/api/v1/boundaries/church/{ldsGeographyId}/children": { - "get": { - "tags": [ - "BoundaryPermission" - ], - "parameters": [ - { - "name": "ldsGeographyId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "churchLeadsOnly", - "in": "query", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoundaryDataResponse" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoundaryDataResponse" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoundaryDataResponse" - } - } - } - } - } - } - } - }, - "/api/v1/boundaries/users/{userId}/organizations": { - "get": { - "tags": [ - "BoundaryPermission" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoundaryDataResponse" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoundaryDataResponse" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoundaryDataResponse" - } - } - } - } - } - } - } - }, - "/api/v1/boundaries/civic/{id}/users/{userId}": { - "put": { - "tags": [ - "BoundaryPermission" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/boundaries/rep/{targetAdminUserId}/org/{organizationId}": { - "put": { - "tags": [ - "BoundaryPermission" - ], - "parameters": [ - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "targetAdminUserId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/boundaries/{userId}/removeall": { - "put": { - "tags": [ - "BoundaryPermission" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/boundaries/getorglead/{orgId}": { - "get": { - "tags": [ - "BoundaryPermission" - ], - "parameters": [ - { - "name": "orgId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserResultLimited" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserResultLimited" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserResultLimited" - } - } - } - } - } - } - }, - "/api/v1/boundaries/getchurchlead/{id}": { - "get": { - "tags": [ - "BoundaryPermission" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/boundaries/getjsrep/{orgId}": { - "get": { - "tags": [ - "BoundaryPermission" - ], - "parameters": [ - { - "name": "orgId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserResultLimited" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserResultLimited" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserResultLimited" - } - } - } - } - } - } - }, - "/api/v1/boundaries/update": { - "put": { - "tags": [ - "BoundaryPermission" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.BoundaryUpdateDeleteViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.BoundaryUpdateDeleteViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.BoundaryUpdateDeleteViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.BoundaryUpdateDeleteViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/boundaries/church/{roleid}/{userid}/{churchgeographyid}": { - "put": { - "tags": [ - "BoundaryPermission" - ], - "parameters": [ - { - "name": "roleid", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Role" - } - }, - { - "name": "userid", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "churchgeographyid", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - "application/*+json": { - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/boundaries/church/{userid}": { - "delete": { - "tags": [ - "BoundaryPermission" - ], - "parameters": [ - { - "name": "userid", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/boundaries/org/{roleid}/{userid}/{organizationId}": { - "put": { - "tags": [ - "BoundaryPermission" - ], - "parameters": [ - { - "name": "roleid", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Role" - } - }, - { - "name": "userid", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - "application/*+json": { - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/boundaries/org/{userid}/{organizationId}": { - "delete": { - "tags": [ - "BoundaryPermission" - ], - "parameters": [ - { - "name": "userid", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/churchGeographies/{churchGeographyId}/adminLabelEnums": { - "get": { - "tags": [ - "ChurchGeography" - ], - "parameters": [ - { - "name": "churchGeographyId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "page", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "size", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 25 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Geographies.ChurchGeographyAdminLabelEnum, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Geographies.ChurchGeographyAdminLabelEnum, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Geographies.ChurchGeographyAdminLabelEnum, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - } - } - } - } - } - }, - "/api/v1/churchGeographies/adminLabelEnums": { - "post": { - "tags": [ - "ChurchGeography" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ChurchGeographyAdminLabelEnumRequest" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ChurchGeographyAdminLabelEnumRequest" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ChurchGeographyAdminLabelEnumRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ChurchGeographyAdminLabelEnumRequest" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - }, - "put": { - "tags": [ - "ChurchGeography" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ChurchGeographyAdminLabelEnumUpdateRequest" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ChurchGeographyAdminLabelEnumUpdateRequest" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ChurchGeographyAdminLabelEnumUpdateRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ChurchGeographyAdminLabelEnumUpdateRequest" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/churchGeographies/adminLabelEnums/{churchGeographyAdminLabelEnumId}": { - "delete": { - "tags": [ - "ChurchGeography" - ], - "parameters": [ - { - "name": "churchGeographyAdminLabelEnumId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/churchGeographies/{unitIdOrChurchGeographyId}/upsert": { - "put": { - "tags": [ - "ChurchGeography" - ], - "parameters": [ - { - "name": "unitIdOrChurchGeographyId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/churchGeographies/{areaUnitId}/updateArea": { - "put": { - "tags": [ - "ChurchGeography" - ], - "parameters": [ - { - "name": "areaUnitId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/churchGeographies/updateAllAreas": { - "put": { - "tags": [ - "ChurchGeography" - ], - "parameters": [ - { - "name": "areaUnitId", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/corus/allarticles": { - "get": { - "tags": [ - "Corus" - ], - "parameters": [ - { - "name": "lang", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isPreview", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ArticlesDataSet" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ArticlesDataSet" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ArticlesDataSet" - } - } - } - } - } - } - }, - "/api/v1/corus/get-article-by-id": { - "get": { - "tags": [ - "Corus" - ], - "parameters": [ - { - "name": "lang", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "Id", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ArticlesDataSet" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ArticlesDataSet" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ArticlesDataSet" - } - } - } - } - } - } - }, - "/api/v1/corus/allchapters": { - "get": { - "tags": [ - "Corus" - ], - "parameters": [ - { - "name": "lang", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isPreview", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ChaptersDataSet" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ChaptersDataSet" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ChaptersDataSet" - } - } - } - } - } - } - }, - "/api/v1/corus/training/allchapters": { - "get": { - "tags": [ - "Corus" - ], - "parameters": [ - { - "name": "lang", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isPreview", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ChaptersDataSet" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ChaptersDataSet" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ChaptersDataSet" - } - } - } - } - } - } - }, - "/api/v1/corus/getchapter": { - "get": { - "tags": [ - "Corus" - ], - "parameters": [ - { - "name": "lang", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "ChapterId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "corusPage", - "in": "query", - "schema": { - "$ref": "#/components/schemas/JustServe.API.Controllers.CorusController+CorusPage" - } - }, - { - "name": "isPreview", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ChaptersDataSet" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ChaptersDataSet" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ChaptersDataSet" - } - } - } - } - } - } - }, - "/api/v1/corus/getpage": { - "get": { - "tags": [ - "Corus" - ], - "parameters": [ - { - "name": "lang", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "PageId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "corusPage", - "in": "query", - "schema": { - "$ref": "#/components/schemas/JustServe.API.Controllers.CorusController+CorusPage" - } - }, - { - "name": "isPreview", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.PagesDataSet" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.PagesDataSet" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.PagesDataSet" - } - } - } - } - } - } - }, - "/api/v1/corus/media": { - "get": { - "tags": [ - "Corus" - ], - "parameters": [ - { - "name": "lang", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "id", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "size", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "corusPage", - "in": "query", - "schema": { - "$ref": "#/components/schemas/JustServe.API.Controllers.CorusController+CorusPage" - } - }, - { - "name": "isPreview", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/corus/media/{size}/{id}": { - "get": { - "tags": [ - "Corus" - ], - "parameters": [ - { - "name": "lang", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "size", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "corusPage", - "in": "query", - "schema": { - "$ref": "#/components/schemas/JustServe.API.Controllers.CorusController+CorusPage" - } - }, - { - "name": "isPreview", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/routing/{url}": { - "get": { - "tags": [ - "DynamicRouting" - ], - "parameters": [ - { - "name": "url", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.DynamicRoutingDataResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.DynamicRoutingDataResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.DynamicRoutingDataResponse" - } - } - } - } - } - } - }, - "/api/v1/email/contact/leadName": { - "post": { - "tags": [ - "Email" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ContactUsReciepientViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ContactUsReciepientViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ContactUsReciepientViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ContactUsReciepientViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/email/contact": { - "post": { - "tags": [ - "Email" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ContactUsViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ContactUsViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ContactUsViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ContactUsViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/email/announcement": { - "post": { - "tags": [ - "Email" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ProjectAnnouncementViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ProjectAnnouncementViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ProjectAnnouncementViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ProjectAnnouncementViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/canary": { - "get": { - "tags": [ - "Health" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.HealthCheckResponse" - } - } - } - } - } - } - }, - "/api/v1/loglevels": { - "get": { - "tags": [ - "Health" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/images/crop": { - "post": { - "tags": [ - "Image" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CropViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CropViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CropViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CropViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CropedImageResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CropedImageResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CropedImageResponse" - } - } - } - } - } - } - }, - "/api/v1/images": { - "post": { - "tags": [ - "Image" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ImageUploadRequest" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ImageUploadRequest" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ImageUploadRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ImageUploadRequest" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ImageUploadResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ImageUploadResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ImageUploadResponse" - } - } - } - } - } - } - }, - "/api/v1/languages": { - "get": { - "tags": [ - "Language" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.LocaleNames" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.LocaleNames" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.LocaleNames" - } - } - } - } - } - } - } - }, - "/api/v1/locations/user/{userId}/admin": { - "post": { - "tags": [ - "Locations" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationMapsObject" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationMapsObject" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationMapsObject" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationMapsObject" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoolResult" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoolResult" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoolResult" - } - } - } - } - } - } - }, - "/api/v1/locations/{language}": { - "get": { - "tags": [ - "Locations" - ], - "parameters": [ - { - "name": "language", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CountryStatePair" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CountryStatePair" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CountryStatePair" - } - } - } - } - } - } - } - }, - "/api/v1/locations/chidren/{parentId}/{locale}": { - "get": { - "tags": [ - "Locations" - ], - "parameters": [ - { - "name": "parentId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "locale", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CivicChildResult" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CivicChildResult" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CivicChildResult" - } - } - } - } - } - } - } - }, - "/api/v1/locations/{language}/countries": { - "get": { - "tags": [ - "Locations" - ], - "parameters": [ - { - "name": "language", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "/api/v1/locations/{language}/address/{address}": { - "get": { - "tags": [ - "Locations" - ], - "parameters": [ - { - "name": "language", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "address", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - } - } - } - } - } - } - }, - "/api/v1/locations/{language}/countries/postal": { - "get": { - "tags": [ - "Locations" - ], - "parameters": [ - { - "name": "language", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.CountryNameInfo" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.CountryNameInfo" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.CountryNameInfo" - } - } - } - } - } - } - } - }, - "/api/v1/locations/countrycodes": { - "get": { - "tags": [ - "Locations" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.CountryInfo" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.CountryInfo" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.CountryInfo" - } - } - } - } - } - } - } - }, - "/api/v1/locations/{language}/countries/all": { - "get": { - "tags": [ - "Locations" - ], - "parameters": [ - { - "name": "language", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "SupportedCountriesOnly", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "excludeSupportedCountries", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.CountryNameInfo" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.CountryNameInfo" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.CountryNameInfo" - } - } - } - } - } - } - } - }, - "/api/v1/locations/{language}/countries/all/{excludeSupportedCountries}": { - "get": { - "tags": [ - "Locations" - ], - "parameters": [ - { - "name": "language", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "SupportedCountriesOnly", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "excludeSupportedCountries", - "in": "path", - "required": true, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.CountryNameInfo" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.CountryNameInfo" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.CountryNameInfo" - } - } - } - } - } - } - } - }, - "/api/v1/locations/lds/{id}/name": { - "get": { - "tags": [ - "Locations" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/locations/lds/{id}": { - "get": { - "tags": [ - "Locations" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.LDSGeography" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.LDSGeography" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.LDSGeography" - } - } - } - } - } - } - }, - "/api/v1/locations/geocode": { - "post": { - "tags": [ - "Locations" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationString" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationString" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationString" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationString" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.LocationRad" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.LocationRad" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.LocationRad" - } - } - } - } - } - } - }, - "/api/v1/locations/geocode/suggestions": { - "post": { - "tags": [ - "Locations" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationString" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationString" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationString" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationString" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.SuggestionResponse" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.SuggestionResponse" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.SuggestionResponse" - } - } - } - } - } - } - } - }, - "/api/v1/locations/registration-age": { - "get": { - "tags": [ - "Locations" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "/api/v1/locations/get-country-launch-info": { - "get": { - "tags": [ - "Locations" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "/api/v1/locations/get-country-launch-info/{updateCache}": { - "get": { - "tags": [ - "Locations" - ], - "parameters": [ - { - "name": "updateCache", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "/api/v1/metrics/raw/church/{unitId}": { - "post": { - "tags": [ - "Metrics" - ], - "parameters": [ - { - "name": "unitId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Metrics" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Metrics" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Metrics" - } - } - } - } - } - } - } - }, - "/api/v1/metrics/church/{unitId}/{lang}": { - "get": { - "tags": [ - "Metrics" - ], - "parameters": [ - { - "name": "unitId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/metrics/church/{unitId}/date/{date}": { - "get": { - "tags": [ - "Metrics" - ], - "parameters": [ - { - "name": "date", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "unitId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/metrics/church/{unitId}/excel/{lang}": { - "get": { - "tags": [ - "Metrics" - ], - "parameters": [ - { - "name": "unitId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string", - "default": "en-us" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/mobile/v1/user/login": { - "post": { - "tags": [ - "Mobile" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.LogInModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.LogInModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.LogInModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.LogInModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileUserResponseModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileUserResponseModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileUserResponseModel" - } - } - } - } - } - } - }, - "/api/mobile/v1/user/logout": { - "get": { - "tags": [ - "Mobile" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "boolean" - } - }, - "application/json": { - "schema": { - "type": "boolean" - } - }, - "text/json": { - "schema": { - "type": "boolean" - } - } - } - } - } - } - }, - "/api/mobile/v1/user/token/{token}": { - "post": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "token", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.RefreshTokenModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.RefreshTokenModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.RefreshTokenModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.RefreshTokenModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileUserResponseModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileUserResponseModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileUserResponseModel" - } - } - } - } - } - } - }, - "/api/mobile/v1/user/register": { - "post": { - "tags": [ - "Mobile" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.UserRegistrationModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.UserRegistrationModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.UserRegistrationModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.UserRegistrationModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileUserResponseModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileUserResponseModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileUserResponseModel" - } - } - } - } - } - } - }, - "/api/mobile/v1/user/recovery": { - "post": { - "tags": [ - "Mobile" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.RecoverAccountViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.RecoverAccountViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.RecoverAccountViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.RecoverAccountViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/mobile/v1/user/activation/{token}": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "token", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/mobile/v1/users/test/{userId}/activate": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/mobile/v1/users/test/{userId}/activationEmailLink": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/mobile/v1/user/{userId}": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.MobileUser" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.MobileUser" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.MobileUser" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "post": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileUpdateUserModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileUpdateUserModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileUpdateUserModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileUpdateUserModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileUpdateUserModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileUpdateUserModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileUpdateUserModel" - } - } - } - } - } - } - }, - "/api/mobile/v1/user/{userId}/accountInformation": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Personalsettings" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Personalsettings" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Personalsettings" - } - } - } - } - } - } - }, - "/api/mobile/v1/user/{userId}/personal": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Personalsettings" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Personalsettings" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Personalsettings" - } - } - } - } - } - } - }, - "/api/mobile/v1/user/{userId}/location": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileLocationSlim" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileLocationSlim" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileLocationSlim" - } - } - } - } - } - } - }, - "/api/mobile/v1/user/{userId}/projectOptions": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Projectsearchpreferences" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Projectsearchpreferences" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Projectsearchpreferences" - } - } - } - } - } - } - }, - "/api/mobile/v1/user/{userId}/contactOptions": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Notificationsettings" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Notificationsettings" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Notificationsettings" - } - } - } - } - } - } - }, - "/api/mobile/v1/user/{userId}/interests": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "lang", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string" - } - }, - "application/json": { - "schema": { - "type": "string" - } - }, - "text/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/mobile/v1/user/{userId}/interests/{lang}": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string" - } - }, - "application/json": { - "schema": { - "type": "string" - } - }, - "text/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/mobile/v1/user/{userId}/skills": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "lang", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/user/{userId}/skills/{lang}": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/user/{userId}/tools": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "lang", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/user/{userId}/tools/{lang}": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/user/{userId}/favoriteProjects": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - } - } - } - } - } - }, - "/api/mobile/v2/user/{userId}/favoriteProjects": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/user/{userId}/favoriteOrganizations": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrg" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrg" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrg" - } - } - } - } - } - } - } - }, - "/api/mobile/v2/user/{userId}/favoriteOrganizations": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrg" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrg" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrg" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/user/{userId}/volunteeredProjects": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - } - } - } - } - } - }, - "/api/mobile/v2/user/{userId}/volunteeredProjects": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/user/{userId}/notifications/dismiss/completeprofile": { - "put": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "notificationId", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/user/{userId}/notifications/dismiss/{notificationId}": { - "put": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "notificationId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/projects/search": { - "post": { - "tags": [ - "Mobile" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectSearchRequestModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectSearchRequestModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectSearchRequestModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectSearchRequestModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProjectSearchResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProjectSearchResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProjectSearchResponse" - } - } - } - } - } - } - }, - "/api/mobile/v2/projects/search": { - "post": { - "tags": [ - "Mobile" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectSearchRequestModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectSearchRequestModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectSearchRequestModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectSearchRequestModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProjectSearchResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProjectSearchResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProjectSearchResponse" - } - } - } - } - } - } - }, - "/api/mobile/v1/projects/{projectId}/user/{userId}/favorite": { - "put": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.MobileUser" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.MobileUser" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.MobileUser" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.MobileUser" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.MobileUser" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.MobileUser" - } - } - } - } - } - } - }, - "/api/mobile/v1/projects": { - "post": { - "tags": [ - "Mobile" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileStringList" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileStringList" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileStringList" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileStringList" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - } - } - } - } - } - }, - "/api/mobile/v2/projects": { - "post": { - "tags": [ - "Mobile" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileStringList" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileStringList" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileStringList" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileStringList" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/projects/{id}/event/{eventId}/volunteer/{userId}": { - "put": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "eventId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectVolunteerModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectVolunteerModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectVolunteerModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectVolunteerModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "eventId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - } - } - } - } - } - } - }, - "/api/mobile/v1/projects/{id}/volunteer/{userId}/recurring/{volunteeredRecurrenceId}": { - "put": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "volunteeredRecurrenceId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VolunteerRecurringViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VolunteerRecurringViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VolunteerRecurringViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VolunteerRecurringViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/mobile/v1/projects/searchByTitle": { - "post": { - "tags": [ - "Mobile" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectFAYT" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectFAYT" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectFAYT" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectFAYT" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.FAYTResponse" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.FAYTResponse" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.FAYTResponse" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/projects/{projectId}/volunteer/external": { - "put": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/mobile/v2/organizations/search": { - "post": { - "tags": [ - "Mobile" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileOrgSearchModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileOrgSearchModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileOrgSearchModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileOrgSearchModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrgSearchResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrgSearchResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrgSearchResponse" - } - } - } - } - } - } - }, - "/api/mobile/v1/organizations/search": { - "post": { - "tags": [ - "Mobile" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileOrgSearchModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileOrgSearchModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileOrgSearchModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileOrgSearchModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrgSearchResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrgSearchResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrgSearchResponse" - } - } - } - } - } - } - }, - "/api/mobile/v1/organizations": { - "post": { - "tags": [ - "Mobile" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileStringList" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileStringList" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileStringList" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileStringList" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrg" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrg" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrg" - } - } - } - } - } - } - } - }, - "/api/mobile/v2/organizations": { - "post": { - "tags": [ - "Mobile" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileStringList" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileStringList" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileStringList" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileStringList" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrg" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrg" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrg" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/organizations/{orgId}/user/{userId}/favorite": { - "put": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "orgId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - } - } - } - } - } - }, - "delete": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "orgId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/organizations/searchByTitle": { - "post": { - "tags": [ - "Mobile" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectFAYT" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectFAYT" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectFAYT" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.MobileProjectFAYT" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.SearchResponseWithRelativityScore" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.SearchResponseWithRelativityScore" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.SearchResponseWithRelativityScore" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/search/LocationSearchSuggestions": { - "post": { - "tags": [ - "Mobile" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationString" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationString" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationString" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationString" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/languages": { - "get": { - "tags": [ - "Mobile" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.LocaleNames" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.LocaleNames" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.LocaleNames" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/options/{bcp47Language}/{countryCode}": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "bcp47Language", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "refreshCache", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "countryCode", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOptions" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOptions" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOptions" - } - } - } - } - } - } - }, - "/api/mobile/v1/options/{bcp47Language}/{refreshCache}/{countryCode}": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "bcp47Language", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "refreshCache", - "in": "path", - "required": true, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "countryCode", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOptions" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOptions" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOptions" - } - } - } - } - } - } - }, - "/api/mobile/v1/options/{bcp47Language}/skills/{countryCode}": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "bcp47Language", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "countryCode", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.SkillInfo" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.SkillInfo" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.SkillInfo" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/options/{bcp47Language}/interests": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "bcp47Language", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.IdandName" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.IdandName" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.IdandName" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/options/{bcp47Language}/countries": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "bcp47Language", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileCountryNameInfo" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileCountryNameInfo" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileCountryNameInfo" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/options/{bcp47Language}/tools": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "bcp47Language", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.IdandName" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.IdandName" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.IdandName" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/options/{bcp47Language}/radiusOptions": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "bcp47Language", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - } - } - } - } - } - } - }, - "/api/mobile/v1/volunteer/privacy/{bcp47Language}": { - "get": { - "tags": [ - "Mobile" - ], - "parameters": [ - { - "name": "bcp47Language", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string" - } - }, - "application/json": { - "schema": { - "type": "string" - } - }, - "text/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/v1/newsletter/projects/search": { - "post": { - "tags": [ - "Newsletter" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchProjectsNewsletterModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchProjectsNewsletterModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchProjectsNewsletterModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchProjectsNewsletterModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectTiny" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectTiny" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectTiny" - } - } - } - } - } - } - } - }, - "/api/v1/newsletter/projects/admin/{userId}": { - "get": { - "tags": [ - "Newsletter" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - } - } - } - } - } - }, - "/api/v1/newsletter/project/volunteered/{userId}": { - "get": { - "tags": [ - "Newsletter" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - } - } - } - } - } - }, - "/api/v1/newsletter/user/{userId}": { - "get": { - "tags": [ - "Newsletter" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserNewsletter" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserNewsletter" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserNewsletter" - } - } - } - } - } - } - }, - "/api/v1/newsletter/d365user/{userId}": { - "get": { - "tags": [ - "Newsletter" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.MSDynamicsFormattedUserV2" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.MSDynamicsFormattedUserV2" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.MSDynamicsFormattedUserV2" - } - } - } - } - } - } - }, - "/api/v1/notifications/users/{userId}": { - "get": { - "tags": [ - "Notification" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.UserNotification" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.UserNotification" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.UserNotification" - } - } - } - } - } - } - } - }, - "/api/v1/notifications/users/banner/geo": { - "post": { - "tags": [ - "Notification" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationString" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationString" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationString" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LocationString" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.CustomNotificationResult" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.CustomNotificationResult" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.CustomNotificationResult" - } - } - } - } - } - } - } - }, - "/api/v1/notifications/{notificationId}/seen": { - "put": { - "tags": [ - "Notification" - ], - "parameters": [ - { - "name": "notificationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/notifications/users/{userId}/clearall": { - "delete": { - "tags": [ - "Notification" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.UserNotification" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.UserNotification" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.UserNotification" - } - } - } - } - } - } - } - }, - "/api/v1/notifications/createcustom": { - "put": { - "tags": [ - "Notification" - ], - "parameters": [ - { - "name": "notificationId", - "in": "query", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CustomNotificationModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CustomNotificationModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CustomNotificationModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CustomNotificationModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.CustomNotification" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.CustomNotification" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.CustomNotification" - } - } - } - } - } - } - }, - "/api/v1/notifications/updatecustom/{notificationId}": { - "put": { - "tags": [ - "Notification" - ], - "parameters": [ - { - "name": "notificationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CustomNotificationModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CustomNotificationModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CustomNotificationModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CustomNotificationModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.CustomNotification" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.CustomNotification" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.CustomNotification" - } - } - } - } - } - } - }, - "/api/v1/notifications/ActiveBannerNotifications": { - "get": { - "tags": [ - "Notification" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.CustomNotification" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.CustomNotification" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.CustomNotification" - } - } - } - } - } - } - } - }, - "/api/v1/notifications/custom/{customNotificationId}": { - "get": { - "tags": [ - "Notification" - ], - "parameters": [ - { - "name": "customNotificationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.CustomNotification" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.CustomNotification" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.CustomNotification" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Notification" - ], - "parameters": [ - { - "name": "customNotificationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/organizations": { - "post": { - "tags": [ - "Organization" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OrganizationCreateRequest" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OrganizationCreateRequest" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OrganizationCreateRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OrganizationCreateRequest" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/v1/organizations/url/validate": { - "post": { - "tags": [ - "Organization" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VanityURLValidationModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VanityURLValidationModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VanityURLValidationModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VanityURLValidationModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoolResult" - } - } - } - } - } - } - }, - "/api/v1/organizations/{id}": { - "put": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OrganizationUpdateRequest" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OrganizationUpdateRequest" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OrganizationUpdateRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OrganizationUpdateRequest" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - }, - "get": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Organization" - } - } - } - } - } - } - }, - "/api/v1/organizations/{id}/{includeEndorsementData}": { - "get": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "includeEndorsementData", - "in": "path", - "required": true, - "schema": { - "type": "boolean", - "default": true - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Organization" - } - } - } - } - } - } - }, - "/api/v1/organizations/{id}/projects": { - "post": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OrganizationProjectSearchRequest" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OrganizationProjectSearchRequest" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OrganizationProjectSearchRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OrganizationProjectSearchRequest" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectsView" - } - } - } - } - } - } - }, - "/api/v2/organizations/{id}/projects": { - "get": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "keywords", - "in": "query", - "schema": { - "type": "string", - "default": "" - } - }, - { - "name": "page", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "size", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - } - } - } - } - } - }, - "/api/v1/organizations/{id}/{includeProjects}": { - "delete": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "includeProjects", - "in": "path", - "required": true, - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/organizations/{id}/announcements": { - "post": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CreateUpdateAnnouncementViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CreateUpdateAnnouncementViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CreateUpdateAnnouncementViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CreateUpdateAnnouncementViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/v1/organizations/{id}/announcements/{announcementId}": { - "put": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "announcementId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CreateUpdateAnnouncementViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CreateUpdateAnnouncementViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CreateUpdateAnnouncementViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CreateUpdateAnnouncementViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "announcementId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/organizations/{organizationId}/announcements": { - "get": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/organizations/{organizationId}/follow/user/{userId}": { - "put": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/organizations/{id}/associate/project/{projectId}": { - "put": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/organizations/search": { - "post": { - "tags": [ - "Organization" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchOrganizationsViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchOrganizationsViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchOrganizationsViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchOrganizationsViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.OrganizationSearchResponse" - } - } - } - } - } - } - }, - "/api/v1/organizations/users/{userId}": { - "get": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.OrganizationSlim" - } - } - } - } - } - } - } - }, - "/api/v1/organizations/users/{userId}/assigned": { - "get": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.OrganizationSlim" - } - } - } - } - } - } - } - }, - "/api/v1/organizations/{organizationId}/owners": { - "get": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSlim" - } - } - } - } - } - } - } - }, - "/api/v1/organizations/admin/search": { - "post": { - "tags": [ - "Organization" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.AdminSearchOrganizationsViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.AdminSearchOrganizationsViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.AdminSearchOrganizationsViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.AdminSearchOrganizationsViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.OrganizationSearchResults" - } - } - } - } - } - } - }, - "/api/v1/organizations/changeType": { - "post": { - "tags": [ - "Organization" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OrganizationTypeModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OrganizationTypeModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OrganizationTypeModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OrganizationTypeModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/organizations/vc/{id}/AddCause": { - "post": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/organizations/vc/{id}/causes": { - "post": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/organizations/vc/{id}/causes/{causeId}": { - "delete": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "causeId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "get": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "causeId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - } - } - } - } - }, - "post": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "causeId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - }, - "put": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "causeId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/organizations/vc/{url}/causes/{causeId}": { - "get": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "url", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "causeId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Cause" - } - } - } - } - } - } - }, - "/api/v1/organizations/vc/{id}/endorsements": { - "get": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.EndorsementOrgInfoSlim" - } - } - } - } - } - } - } - }, - "/api/v1/organizations/vc/{id}/endorsements/{organizationId}": { - "delete": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/organizations/endorsements/{id}/approve/{organizationId}/{approved}": { - "post": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "approved", - "in": "path", - "required": true, - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/organizations/vc/{id}/endorsements/{organizationId}/approve": { - "post": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "approved", - "in": "query", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/organizations/vc/{id}/endorsements/{organizationId}/reject": { - "post": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/organizations/endorsements/{requestingOrganizationId}/request/{requestedOrganizationId}": { - "post": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "requestingOrganizationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "requestedOrganizationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/organizations/{organizationId}/liteInformation": { - "get": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.OrganizationLite" - } - } - } - } - } - } - }, - "/api/v2/organizations/user/{userId}/count": { - "get": { - "tags": [ - "Organization" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "integer", - "format": "int32" - } - } - } - } - } - } - }, - "/api/v1/privacyterms/{lang}/date": { - "get": { - "tags": [ - "PolicyTerms" - ], - "parameters": [ - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.PrivacyTermsDates" - } - } - } - } - } - } - }, - "/api/v1/privacyterms/{lang}/date/{overrideCache}": { - "get": { - "tags": [ - "PolicyTerms" - ], - "parameters": [ - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "overrideCache", - "in": "path", - "required": true, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.PrivacyTermsDates" - } - } - } - } - } - } - }, - "/api/v1/terms/{lang}/date": { - "get": { - "tags": [ - "PolicyTerms" - ], - "parameters": [ - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/v1/terms/{lang}/date/{overrideCache}": { - "get": { - "tags": [ - "PolicyTerms" - ], - "parameters": [ - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "overrideCache", - "in": "path", - "required": true, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/v1/privacy/{lang}/date": { - "get": { - "tags": [ - "PolicyTerms" - ], - "parameters": [ - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/v1/privacy/{lang}/date/{overrideCache}": { - "get": { - "tags": [ - "PolicyTerms" - ], - "parameters": [ - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "overrideCache", - "in": "path", - "required": true, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/v1/terms/{lang}": { - "get": { - "tags": [ - "PolicyTerms" - ], - "parameters": [ - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.PrivacyTerms" - } - } - } - } - } - } - }, - "/api/v1/terms/{lang}/{overrideSaved}": { - "get": { - "tags": [ - "PolicyTerms" - ], - "parameters": [ - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "overrideSaved", - "in": "path", - "required": true, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.PrivacyTerms" - } - } - } - } - } - } - }, - "/api/v1/privacy/{lang}": { - "get": { - "tags": [ - "PolicyTerms" - ], - "parameters": [ - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.PrivacyTerms" - } - } - } - } - } - } - }, - "/api/v1/privacy/{lang}/{overrideSaved}": { - "get": { - "tags": [ - "PolicyTerms" - ], - "parameters": [ - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "overrideSaved", - "in": "path", - "required": true, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.PrivacyTerms" - } - } - } - } - } - } - }, - "/api/exceptions/400/custom": { - "get": { - "tags": [ - "ProblemDetails" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/exceptions/400/vanilla": { - "get": { - "tags": [ - "ProblemDetails" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/exceptions/400": { - "get": { - "tags": [ - "ProblemDetails" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/exceptions/401": { - "get": { - "tags": [ - "ProblemDetails" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/exceptions/403": { - "get": { - "tags": [ - "ProblemDetails" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/exceptions/404": { - "get": { - "tags": [ - "ProblemDetails" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/exceptions/417": { - "get": { - "tags": [ - "ProblemDetails" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/exceptions/422": { - "get": { - "tags": [ - "ProblemDetails" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/exceptions/500": { - "get": { - "tags": [ - "ProblemDetails" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/exceptions/500/custom": { - "get": { - "tags": [ - "ProblemDetails" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/exceptions/501": { - "get": { - "tags": [ - "ProblemDetails" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/exceptions/504": { - "get": { - "tags": [ - "ProblemDetails" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/{projectId}/status/{status}": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectStatus" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - } - } - } - }, - "/api/v1/projects/{projectId}/calendar": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CalendarProjectResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CalendarProjectResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CalendarProjectResponse" - } - } - } - } - } - } - }, - "/api/v1/projects": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "organizationId", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - } - } - } - }, - "/api/v1/projects/organization/{organizationId}": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - } - } - } - }, - "/api/v1/projects/user/{userId}": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSlim" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSlim" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSlim" - } - } - } - } - } - } - } - }, - "/api/v2/projects/user/{userId}/count": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "integer", - "format": "int32" - } - }, - "application/json": { - "schema": { - "type": "integer", - "format": "int32" - } - }, - "text/json": { - "schema": { - "type": "integer", - "format": "int32" - } - } - } - } - } - } - }, - "/api/v1/projects/user/{userId}/all": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchAdminProjectsViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchAdminProjectsViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchAdminProjectsViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchAdminProjectsViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectsSlimSearchResults" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectsSlimSearchResults" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectsSlimSearchResults" - } - } - } - } - }, - "deprecated": true - } - }, - "/api/v1/projects/user/{userId}/pendingTemplateOrDraft": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchAdminProjectsViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchAdminProjectsViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchAdminProjectsViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchAdminProjectsViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectsSlimSearchResults" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectsSlimSearchResults" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectsSlimSearchResults" - } - } - } - } - } - } - }, - "/api/v1/projects/{projectId}": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "lang", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LatLongPostal" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LatLongPostal" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LatLongPostal" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LatLongPostal" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - } - } - }, - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "lang", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "userSearchLat", - "in": "query", - "schema": { - "type": "number", - "format": "double", - "default": 999 - } - }, - { - "name": "userSearchLong", - "in": "query", - "schema": { - "type": "number", - "format": "double", - "default": 999 - } - }, - { - "name": "userPostalCode", - "in": "query", - "schema": { - "type": "string", - "default": "" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - } - } - } - }, - "/api/v1/projects/{projectId}/{lang}": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LatLongPostal" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LatLongPostal" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LatLongPostal" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.LatLongPostal" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - } - } - }, - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userSearchLat", - "in": "query", - "schema": { - "type": "number", - "format": "double", - "default": 999 - } - }, - { - "name": "userSearchLong", - "in": "query", - "schema": { - "type": "number", - "format": "double", - "default": 999 - } - }, - { - "name": "userPostalCode", - "in": "query", - "schema": { - "type": "string", - "default": "" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - } - } - } - }, - "/api/v1/projects/{id}/volunteers/csv": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string", - "format": "binary" - } - }, - "application/json": { - "schema": { - "type": "string", - "format": "binary" - } - }, - "text/json": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - } - } - } - }, - "/api/v1/projects/{projectId}/volunteers": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectVolunteersInterested" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectVolunteersInterested" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectVolunteersInterested" - } - } - } - } - } - } - }, - "/api/v1/projects/{projectId}/summary": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "lang", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectResponse" - } - } - } - } - } - } - }, - "/api/v1/projects/{projectId}/summary/{lang}": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectResponse" - } - } - } - } - } - } - }, - "/api/v1/projects/{projectId}/users": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.User" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.User" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.User" - } - } - } - } - } - } - } - }, - "/api/v1/projects/{id}/status/{status}": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectStatus" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.StatusChangeViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.StatusChangeViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.StatusChangeViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.StatusChangeViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/{id}/unlist/{unlisted}": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "unlisted", - "in": "path", - "required": true, - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/{id}": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "organizationId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "sendUpdate", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/{id}/organization/{organizationId}": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "sendUpdate", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - } - } - } - }, - "/api/v1/projects/{id}/{sendUpdate}": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "organizationId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "sendUpdate", - "in": "path", - "required": true, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - } - } - } - }, - "/api/v1/projects/{id}/organization/{organizationId}/{sendUpdate}": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "sendUpdate", - "in": "path", - "required": true, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - } - } - } - }, - "/api/v1/projects/{id}/users/{userId}": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/{id}/organization/{organizationId}/assign": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "organizationId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/{id}/users/reassignAndDelete": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.ReassignDelete" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.ReassignDelete" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.ReassignDelete" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.ReassignDelete" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/{id}/organization/reassignAndDelete": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.ReassignDelete" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.ReassignDelete" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.ReassignDelete" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.ReassignDelete" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/admin/search": { - "post": { - "tags": [ - "Projects" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchAdminProjectsViewModelv2" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchAdminProjectsViewModelv2" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchAdminProjectsViewModelv2" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchAdminProjectsViewModelv2" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectsSlimSearchResults" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectsSlimSearchResults" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectsSlimSearchResults" - } - } - } - } - } - } - }, - "/api/v2/projects/search": { - "post": { - "tags": [ - "Projects" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchProjectsViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchProjectsViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchProjectsViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchProjectsViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationProjectSearchResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationProjectSearchResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationProjectSearchResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - } - } - } - } - } - }, - "/api/v1/projects/{id}/user/{userId}/favorite": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/user/{userId}/sponsored": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectsAndIdList" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectsAndIdList" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectsAndIdList" - } - } - } - } - } - } - }, - "/api/v1/projects/{id}/volunteer/{userId}": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VolunteerViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VolunteerViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VolunteerViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VolunteerViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/{projectId}/volunteer/{volunteerUserId}/recurring/{projectEventId}": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "volunteerUserId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "projectEventId", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VolunteerRecurringViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VolunteerRecurringViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VolunteerRecurringViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VolunteerRecurringViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/{id}/ongoing/{ongoingId}/interest/{userId}": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "ongoingId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OngoingInterestViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OngoingInterestViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OngoingInterestViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.OngoingInterestViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/{projectId}/volunteer/manual/{projectEventId}": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "projectEventId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VolunteerManualModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VolunteerManualModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VolunteerManualModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.VolunteerManualModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.VolunteerDetails" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.VolunteerDetails" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.VolunteerDetails" - } - } - } - } - } - } - }, - "/api/v1/projects/{id}/recurring/volunteer/{userId}/{eventId}": { - "delete": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "dtlId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "eventId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/{id}/dtl/{dtlId}/volunteer/{userId}/{eventId}": { - "delete": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "dtlId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "eventId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/{id}/ongoing/{ongoingId}/interest/{interestedId}": { - "delete": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "ongoingId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "interestedId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v2/projects/{projectId}/volunteers/{volunteerId}": { - "delete": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "volunteerId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/{id}/volunteer/external": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/{id}/dtl/{dtlId}/timeslot/{timeSlotId}/user/{userId}": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "dtlId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "timeSlotId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HoursServedItemViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HoursServedItemViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HoursServedItemViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HoursServedItemViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/{projectId}/ongoing/{ongoingId}/user/{userId}": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "ongoingId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HoursServedViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HoursServedViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HoursServedViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HoursServedViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/{id}/target/{targetId}/hours": { - "put": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "targetId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HoursServedBulkModel" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HoursServedBulkModel" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HoursServedBulkModel" - } - } - }, - "application/*+json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HoursServedBulkModel" - } - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/projects/skills/{language}/{countryCode}": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "language", - "in": "path", - "required": true, - "schema": { - "type": "string", - "default": "en-us" - } - }, - { - "name": "countryCode", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "/api/v1/projects/allfilters/{language}/{countryCode}": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "language", - "in": "path", - "required": true, - "schema": { - "type": "string", - "default": "en-us" - } - }, - { - "name": "countryCode", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "/api/v1/projects/allProjectfilters/{language}/{countryCode}": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "language", - "in": "path", - "required": true, - "schema": { - "type": "string", - "default": "en-us" - } - }, - { - "name": "countryCode", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "/api/v1/projects/organization/search/{id}": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "size", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - }, - { - "name": "includeExpired", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSearchResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSearchResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSearchResponse" - } - } - } - } - } - } - }, - "/api/v1/projects/organization/search/{id}/{includeExpired}": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "size", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - }, - { - "name": "includeExpired", - "in": "path", - "required": true, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSearchResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSearchResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSearchResponse" - } - } - } - } - } - } - }, - "/api/v1/projects/organization/search/{id}/{page}/{size}": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "size", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - }, - { - "name": "includeExpired", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSearchResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSearchResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSearchResponse" - } - } - } - } - } - } - }, - "/api/v1/projects/organization/search/{id}/{page}/{size}/{includeExpired}": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "size", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - }, - { - "name": "includeExpired", - "in": "path", - "required": true, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSearchResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSearchResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSearchResponse" - } - } - } - } - } - } - }, - "/api/v1/projects/{id}/user/{adminId}/authorized/{authorize}": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "adminId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "authorize", - "in": "path", - "required": true, - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - } - } - } - }, - "/api/v1/projects/createFromTemplate/{id}": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Project" - } - } - } - } - } - } - }, - "/api/v1/projects/{id}/dtl/{dtlId}/volunteer/{userId}/{timeSlotId}/printvalidation": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "dtlId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "projectEventId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "timeSlotId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/GetTopCityProjectCounts/{browserLocale}": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "browserLocale", - "in": "path", - "required": true, - "schema": { - "type": "string", - "default": "en-US" - } - }, - { - "name": "refreshCache", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CountryCountsResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CountryCountsResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CountryCountsResponse" - } - } - } - } - } - } - }, - "/api/v1/GetTopCityProjectCounts/{browserLocale}/{refreshCache}": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "browserLocale", - "in": "path", - "required": true, - "schema": { - "type": "string", - "default": "en-US" - } - }, - { - "name": "refreshCache", - "in": "path", - "required": true, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CountryCountsResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CountryCountsResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CountryCountsResponse" - } - } - } - } - } - } - }, - "/api/v1/GetTopCityOrgCounts/{browserLocale}": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "browserLocale", - "in": "path", - "required": true, - "schema": { - "type": "string", - "default": "en-US" - } - }, - { - "name": "refreshCache", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CountryCountsResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CountryCountsResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CountryCountsResponse" - } - } - } - } - } - } - }, - "/api/v1/GetTopCityOrgCounts/{browserLocale}/{refreshCache}": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "browserLocale", - "in": "path", - "required": true, - "schema": { - "type": "string", - "default": "en-US" - } - }, - { - "name": "refreshCache", - "in": "path", - "required": true, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CountryCountsResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CountryCountsResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CountryCountsResponse" - } - } - } - } - } - } - }, - "/api/v1/projects/HomepageSearch": { - "post": { - "tags": [ - "Projects" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HomepageProjectRequest" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HomepageProjectRequest" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HomepageProjectRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HomepageProjectRequest" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.HomepageProjectInfo" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.HomepageProjectInfo" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.HomepageProjectInfo" - } - } - } - } - } - } - }, - "/api/v1/projects/searchByTitle": { - "post": { - "tags": [ - "Projects" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchProjectsGlobalViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchProjectsGlobalViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchProjectsGlobalViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchProjectsGlobalViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.SearchResponseObject" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.SearchResponseObject" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.SearchResponseObject" - } - } - } - } - } - } - } - }, - "/api/v1/projects/admin/{userId}/search/{page}/{size}": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "page", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "size", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "status", - "in": "query", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - } - }, - { - "name": "title", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "loc", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "locMod", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "start", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "startMod", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "end", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "endMod", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "org", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "ldesc", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "unlisted", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "expired", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "user", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "uEmail", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "userMods", - "in": "query", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - } - }, - { - "name": "uEmailMods", - "in": "query", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.ProjectAdmin, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.ProjectAdmin, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.ProjectAdmin, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - } - } - } - } - } - }, - "/api/v1/projects/{projectId}/ownerLog": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Logging.ProjectOwnerLog" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Logging.ProjectOwnerLog" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Logging.ProjectOwnerLog" - } - } - } - } - } - } - } - }, - "/api/v1/projects/clone": { - "post": { - "tags": [ - "Projects" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CloneProjectRequest" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CloneProjectRequest" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CloneProjectRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.CloneProjectRequest" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string", - "format": "uuid" - } - }, - "application/json": { - "schema": { - "type": "string", - "format": "uuid" - } - }, - "text/json": { - "schema": { - "type": "string", - "format": "uuid" - } - } - } - } - } - } - }, - "/api/v1/projects/{projectId}/basicInformation": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectBasicInformation" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectBasicInformation" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectBasicInformation" - } - } - } - } - } - } - }, - "/api/v2/projects/volunteers/search": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "ProjectId", - "in": "query", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "From", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "To", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "ProjectEventId", - "in": "query", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "VolunteerName", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "VolunteerEmail", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "VolunteerPhone", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "Note", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "Skills", - "in": "query", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - } - }, - { - "name": "GroupSize", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "GroupSizeModifier", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "Page", - "in": "query", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "Size", - "in": "query", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.VolunteerLiteDetails, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.VolunteerLiteDetails, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.VolunteerLiteDetails, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - } - } - } - } - } - }, - "/api/v1/projects/{projectId}/events/search": { - "get": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "ProjectId", - "in": "query", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "ProjectEventId", - "in": "query", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "FromTime", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "ToTime", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "From", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "To", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "VolunteerResponsibility", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "ProjectEventStatus", - "in": "query", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - } - }, - { - "name": "Page", - "in": "query", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "Size", - "in": "query", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.ProjectEventCustom, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.ProjectEventCustom, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.ProjectEventCustom, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - } - } - } - } - } - }, - "/api/v2/projects/{projectId}/events/{projectEventId}/volunteers/{projectVolunteerId}/hours": { - "post": { - "tags": [ - "Projects" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "projectEventId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "projectVolunteerId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.UpsertProjectVolunteerHoursRequest" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.UpsertProjectVolunteerHoursRequest" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.UpsertProjectVolunteerHoursRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.UpsertProjectVolunteerHoursRequest" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/downloads/en-us/PD60006060-JustServe-Benefits-For-Teens-Who-Serve-ENG.pdf": { - "get": { - "tags": [ - "Redirects" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/downloads/en-us/PD60006367-JustServe-Styleguide-Short-ENG.pdf": { - "get": { - "tags": [ - "Redirects" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/downloads/en-us/PD60012420-JustServe-Life-Benefits-of-Service-ENG.pdf": { - "get": { - "tags": [ - "Redirects" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/resources/all/{lang}": { - "get": { - "tags": [ - "Resource" - ], - "parameters": [ - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Resource" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Resource" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Resource" - } - } - } - } - } - } - } - }, - "/api/v1/stories/search": { - "post": { - "tags": [ - "Stories" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.StoriesSearchViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.StoriesSearchViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.StoriesSearchViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.StoriesSearchViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.StoryLimited" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.StoryLimited" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.StoryLimited" - } - } - } - } - } - } - } - }, - "/api/v1/stories/{successStoryId}": { - "get": { - "tags": [ - "Stories" - ], - "parameters": [ - { - "name": "successStoryId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Story" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Story" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Story" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Stories" - ], - "parameters": [ - { - "name": "successStoryId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "put": { - "tags": [ - "Stories" - ], - "parameters": [ - { - "name": "successStoryId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SuccessStoryViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SuccessStoryViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SuccessStoryViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SuccessStoryViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/stories": { - "post": { - "tags": [ - "Stories" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SuccessStoryViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SuccessStoryViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SuccessStoryViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SuccessStoryViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/stories/admin/{userId}": { - "post": { - "tags": [ - "Stories" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchAdminStoriesViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchAdminStoriesViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchAdminStoriesViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchAdminStoriesViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.StorySearchResults" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.StorySearchResults" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.StorySearchResults" - } - } - } - } - } - } - }, - "/api/v1/timezones/all": { - "get": { - "tags": [ - "TimeZone" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.TimeZone.TimeZoneEnum" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.TimeZone.TimeZoneEnum" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.TimeZone.TimeZoneEnum" - } - } - } - } - } - } - } - }, - "/api/v1/timezones/name": { - "get": { - "tags": [ - "TimeZone" - ], - "parameters": [ - { - "name": "iana", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.TimeZone.TimeZoneEnum" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.TimeZone.TimeZoneEnum" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.TimeZone.TimeZoneEnum" - } - } - } - } - } - } - }, - "/api/v1/timezones/coordinates": { - "get": { - "tags": [ - "TimeZone" - ], - "parameters": [ - { - "name": "latitude", - "in": "query", - "schema": { - "type": "number", - "format": "double" - } - }, - { - "name": "longitude", - "in": "query", - "schema": { - "type": "number", - "format": "double" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.TimeZone.TimeZoneEnum" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.TimeZone.TimeZoneEnum" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.TimeZone.TimeZoneEnum" - } - } - } - } - } - } - }, - "/api/v1/token": { - "post": { - "tags": [ - "Token" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/users/activation/{token}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "token", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/users/{userId}/activate": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/users/{targetUserId}/password": { - "put": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "targetUserId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ChangePasswordViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ChangePasswordViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ChangePasswordViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ChangePasswordViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/users/{id}/lang/{lang}": { - "put": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "lang", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string" - } - }, - "application/json": { - "schema": { - "type": "string" - } - }, - "text/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/clean": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/users/{userId}/recordofservice": { - "post": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RecordOfService" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RecordOfService" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RecordOfService" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RecordOfService" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string" - } - }, - "application/json": { - "schema": { - "type": "string" - } - }, - "text/json": { - "schema": { - "type": "string" - } - } - } - } - } - }, - "put": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RecordOfService" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RecordOfService" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RecordOfService" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RecordOfService" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/users/{userId}/recordofservice/{recordOfServiceId}": { - "delete": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "recordOfServiceId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/users/{userId}": { - "delete": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserResult" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserResult" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserResult" - } - } - } - } - } - }, - "put": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.UpdateUserModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.UpdateUserModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.UpdateUserModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.UpdateUserModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v2/users/{userId}/activeProjects/{page}/{size}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "page", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "size", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectCard" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectCard" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectCard" - } - } - } - } - } - } - } - }, - "/api/v2/users/{userId}/activeProjects": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "page", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "size", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectCard" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectCard" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectCard" - } - } - } - } - } - } - } - }, - "/api/v1/users/arealeads": { - "get": { - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/boundaries/civic": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "option", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "geographyId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "childType", - "in": "query", - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CivicGeographyLimited" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CivicGeographyLimited" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CivicGeographyLimited" - } - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/boundaries/civic/{option}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "option", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "geographyId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "childType", - "in": "query", - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CivicGeographyLimited" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CivicGeographyLimited" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CivicGeographyLimited" - } - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/boundaries/civic/{option}/{geographyId}/{childType}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "option", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "geographyId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "childType", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CivicGeographyLimited" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CivicGeographyLimited" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CivicGeographyLimited" - } - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/boundaries/church/{option}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "option", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "churchGeographyId", - "in": "query", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "childType", - "in": "query", - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.LDSGeographyLimited" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.LDSGeographyLimited" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.LDSGeographyLimited" - } - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/boundaries/church": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "option", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "churchGeographyId", - "in": "query", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "childType", - "in": "query", - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.LDSGeographyLimited" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.LDSGeographyLimited" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.LDSGeographyLimited" - } - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/boundaries/church/{option}/{churchGeographyId}/{childType}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "option", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "churchGeographyId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "childType", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.LDSGeographyLimited" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.LDSGeographyLimited" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.LDSGeographyLimited" - } - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/bounded": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "showLeads", - "in": "query", - "schema": { - "type": "boolean", - "default": true - } - }, - { - "name": "showFull", - "in": "query", - "schema": { - "type": "boolean", - "default": true - } - }, - { - "name": "levels", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 1 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserResultBounded" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserResultBounded" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserResultBounded" - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/claims": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "/api/v1/users/zendeskToken": { - "get": { - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "/api/v1/users/hash": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.DailyUserHashModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.DailyUserHashModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.DailyUserHashModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.DailyUserHashModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v2/users/{userId}/draftProjects": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "page", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "size", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - } - } - } - } - } - }, - "/api/v2/users/{userId}/draftProjects/{page}/{size}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "page", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "size", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - } - } - } - } - } - }, - "/api/v2/users/{userId}/recommendedProjects": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "page", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "size", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/favoriteOrganizations": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.OrganizationResult" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.OrganizationResult" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.OrganizationResult" - } - } - } - } - } - } - } - }, - "/api/v2/users/{userId}/favoriteProjects": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "page", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "size", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - } - } - } - } - } - }, - "/api/v2/users/{userId}/favoriteProjects/{page}/{size}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "page", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "size", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - } - } - } - } - } - }, - "/api/v1/unsubscribe/contactpreferences/{token}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "token", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ActionResult`1[[JustServe.Entities.UserNotificationPreference, JustServe.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ActionResult`1[[JustServe.Entities.UserNotificationPreference, JustServe.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ActionResult`1[[JustServe.Entities.UserNotificationPreference, JustServe.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - } - } - } - } - } - }, - "/api/v2/users/{userId}/pastProjects": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "page", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "size", - "in": "query", - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - } - } - } - } - } - }, - "/api/v2/users/{userId}/pastProjects/{page}/{size}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "page", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "default": 0 - } - }, - { - "name": "size", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32", - "default": 10 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/recordofservice/{year}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "year", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RecordOfService" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RecordOfService" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RecordOfService" - } - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/limited": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserResultLimited" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserResultLimited" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserResultLimited" - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/name": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Name" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Name" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Name" - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/volunteeredProjects": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectPreview" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectPreview" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectPreview" - } - } - } - } - } - } - } - }, - "/api/v1/users/recovery": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.RecoverAccountViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.RecoverAccountViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.RecoverAccountViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.RecoverAccountViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/users": { - "post": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "FirstName", - "in": "query", - "required": true, - "schema": { - "maxLength": 50, - "minLength": 1, - "type": "string" - } - }, - { - "name": "LastName", - "in": "query", - "required": true, - "schema": { - "maxLength": 50, - "minLength": 1, - "type": "string" - } - }, - { - "name": "Email", - "in": "query", - "required": true, - "schema": { - "pattern": "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$", - "type": "string" - } - }, - { - "name": "Password", - "in": "query", - "required": true, - "schema": { - "maxLength": 100, - "minLength": 8, - "type": "string", - "format": "password" - } - }, - { - "name": "Postal", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "City", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "Language", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "ClientId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "ClientSecret", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "Latitude", - "in": "query", - "schema": { - "type": "number", - "format": "double" - } - }, - { - "name": "Longitude", - "in": "query", - "schema": { - "type": "number", - "format": "double" - } - }, - { - "name": "Country", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "CountryCode", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "AppleToken", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "AppleAuthCode", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "GoogleToken", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "FacebookToken", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "UserName", - "in": "query", - "schema": { - "type": "string", - "deprecated": true - } - }, - { - "name": "CountryCodeAlpha3", - "in": "query", - "schema": { - "type": "string", - "deprecated": true - } - }, - { - "name": "State", - "in": "query", - "schema": { - "type": "string", - "deprecated": true - } - }, - { - "name": "Address", - "in": "query", - "schema": { - "type": "string", - "deprecated": true - } - }, - { - "name": "DistanceUnits", - "in": "query", - "schema": { - "type": "string", - "deprecated": true - } - }, - { - "name": "Clock", - "in": "query", - "schema": { - "type": "string", - "deprecated": true - } - }, - { - "name": "Skills", - "in": "query", - "schema": { - "type": "array", - "items": { - "type": "string" - }, - "deprecated": true - } - }, - { - "name": "Interests", - "in": "query", - "schema": { - "type": "array", - "items": { - "type": "string" - }, - "deprecated": true - } - }, - { - "name": "Tools", - "in": "query", - "schema": { - "type": "array", - "items": { - "type": "string" - }, - "deprecated": true - } - }, - { - "name": "DaysAvailable", - "in": "query", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/System.DayOfWeek" - }, - "deprecated": true - } - }, - { - "name": "TimesAvailable", - "in": "query", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.TimeOfDay" - }, - "deprecated": true - } - }, - { - "name": "DisasterReliefRegistrationSeen", - "in": "query", - "schema": { - "type": "boolean", - "deprecated": true - } - }, - { - "name": "DonateToDisasterReliefChecked", - "in": "query", - "schema": { - "type": "boolean", - "deprecated": true - } - }, - { - "name": "VolunteerForDisasterReliefChecked", - "in": "query", - "schema": { - "type": "boolean", - "deprecated": true - } - }, - { - "name": "DisasterReliefAvailabilityDate", - "in": "query", - "schema": { - "type": "string", - "format": "date-time", - "deprecated": true - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string" - } - }, - "application/json": { - "schema": { - "type": "string" - } - }, - "text/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/v1/users/activation/resend": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ResendActivationEmail" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ResendActivationEmail" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ResendActivationEmail" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ResendActivationEmail" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string" - } - }, - "application/json": { - "schema": { - "type": "string" - } - }, - "text/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/v1/users/recovery/{token}": { - "post": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "token", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ResetPasswordViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ResetPasswordViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ResetPasswordViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ResetPasswordViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/users/search/admins/reps": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - } - } - } - } - } - }, - "/api/v1/users/search/admins": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - } - } - } - } - } - }, - "/api/v1/users/search": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - } - } - } - } - } - }, - "/api/v1/users/search/limited": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResults" - } - } - } - } - } - } - }, - "/api/v1/users/slimSearch": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.SearchUsersViewModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSlimSearchResults" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSlimSearchResults" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSlimSearchResults" - } - } - } - } - } - } - }, - "/api/v1/users/signout": { - "get": { - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/users/{id}/unlock": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string" - } - }, - "application/json": { - "schema": { - "type": "string" - } - }, - "text/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/v1/unsubscribe/{token}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "token", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "generalMarketingOptIn", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "volunteerNewsletter", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "disasterRecovery", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/users/{userId}/keywords": { - "put": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "type": "string" - } - }, - "application/json": { - "schema": { - "type": "string" - } - }, - "text/json": { - "schema": { - "type": "string" - } - }, - "application/*+json": { - "schema": { - "type": "string" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/users/{userId}/location": { - "put": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "City", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "Postal", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "CountryCode", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/users/{id}/whatsnew": { - "put": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string" - } - }, - "application/json": { - "schema": { - "type": "string" - } - }, - "text/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/boundaries/check": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserLocationCheckResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserLocationCheckResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserLocationCheckResponse" - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/assignments/check": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserLocationCheckResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserLocationCheckResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserLocationCheckResponse" - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/adminInfo": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.AdminLiteInfo" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.AdminLiteInfo" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.AdminLiteInfo" - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/adminPendingProjects": { - "post": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.AdminPendingProjectsSearchRequest" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.AdminPendingProjectsSearchRequest" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.AdminPendingProjectsSearchRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.AdminPendingProjectsSearchRequest" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.UserPendingProject, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.UserPendingProject, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.UserPendingProject, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/adminPendingProjectCounts": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.AdminPendingProjectCounts" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.AdminPendingProjectCounts" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.AdminPendingProjectCounts" - } - } - } - } - } - } - }, - "/api/v1/users/quickSearch": { - "post": { - "tags": [ - "User" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.QuickSearchCreateRequest" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.QuickSearchCreateRequest" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.QuickSearchCreateRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.QuickSearchCreateRequest" - } - } - } - }, - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/users/quickSearch/searchType/{searchType}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "searchType", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.QuickSearchType" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.QuickSearchTitle" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.QuickSearchTitle" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.QuickSearchTitle" - } - } - } - } - } - } - } - }, - "/api/v1/users/quickSearch/{quickSearchId}/searchParameter": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "quickSearchId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string" - } - }, - "application/json": { - "schema": { - "type": "string" - } - }, - "text/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/v1/users/quickSearch/{quickSearchId}": { - "delete": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "quickSearchId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string" - } - }, - "application/json": { - "schema": { - "type": "string" - } - }, - "text/json": { - "schema": { - "type": "string" - } - } - } - } - } - } - }, - "/api/v1/users/securitycontext/bearer": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "query", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.SecurityContext" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.SecurityContext" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.SecurityContext" - } - } - } - } - } - } - }, - "/api/v1/users/securitycontext/bearer/{userId}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.SecurityContext" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.SecurityContext" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.SecurityContext" - } - } - } - } - } - } - }, - "/api/v1/users/securitycontext/optional": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "query", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.SecurityContext" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.SecurityContext" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.SecurityContext" - } - } - } - } - } - } - }, - "/api/v1/users/securitycontext/optional/{userId}": { - "get": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.SecurityContext" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.SecurityContext" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.SecurityContext" - } - } - } - } - } - } - }, - "/api/v1/users/{userId}/churchGeographyAdminLabelEnums/{churchGeographyAdminLabelEnumId}": { - "post": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "churchGeographyAdminLabelEnumId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - }, - "delete": { - "tags": [ - "User" - ], - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "churchGeographyAdminLabelEnumId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/api/v1/widget/user/{id}": { - "get": { - "tags": [ - "Widget" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Widget" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Widget" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Widget" - } - } - } - } - } - } - } - }, - "/api/v1/widget/projects/search": { - "post": { - "tags": [ - "Widget" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetProjectSearchModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetProjectSearchModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetProjectSearchModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetProjectSearchModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.WidgetProjectResults" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.WidgetProjectResults" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.WidgetProjectResults" - } - } - } - } - } - } - }, - "/api/v1/widget/projects/all": { - "post": { - "tags": [ - "Widget" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.VolunteerMatchProject, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.VolunteerMatchProject, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.VolunteerMatchProject, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" - } - } - } - } - } - } - }, - "/api/v1/contact/projects/all": { - "post": { - "tags": [ - "Widget" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.MSDynamicsProjectResults" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.MSDynamicsProjectResults" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.MSDynamicsProjectResults" - } - } - } - } - } - } - }, - "/api/v1/contact/users/all": { - "post": { - "tags": [ - "Widget" - ], - "parameters": [ - { - "name": "NewsletterOnly", - "in": "query", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.MSDynamicsUserResults" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.MSDynamicsUserResults" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.MSDynamicsUserResults" - } - } - } - } - } - } - }, - "/api/v1/contact/users/all/newsletterOnly/{NewsletterOnly}": { - "post": { - "tags": [ - "Widget" - ], - "parameters": [ - { - "name": "NewsletterOnly", - "in": "path", - "required": true, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.MSDynamicsUserResults" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.MSDynamicsUserResults" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.MSDynamicsUserResults" - } - } - } - } - } - } - }, - "/api/v1/contact/dynamics": { - "post": { - "tags": [ - "Widget" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.DynamicsNewsletterInfoAllUsers" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.DynamicsNewsletterInfoAllUsers" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.DynamicsNewsletterInfoAllUsers" - } - } - } - } - } - } - }, - "/api/v1/contact/dynamics/metadata": { - "post": { - "tags": [ - "Widget" - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.WidgetRequestModel" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.DynamicsNewsletterInfoMetadata" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.DynamicsNewsletterInfoMetadata" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.DynamicsNewsletterInfoMetadata" - } - } - } - } - } - } - }, - "/api/v1/contact/projectFilterTranslations": { - "get": { - "tags": [ - "Widget" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectFiltersTranslation" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectFiltersTranslation" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectFiltersTranslation" - } - } - } - } - } - } - } - } - }, - "components": { - "schemas": { - "JustServe.API.Controllers.CorusController+CorusPage": { - "enum": [ - "HelpCenter", - "Training", - "Articles" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Authentication.BoundaryAdminBounded": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Role" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Authentication.BoundaryPermissionBounded": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "boundary": { - "type": "string", - "nullable": true - }, - "admins": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.BoundaryAdminBounded" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Authentication.ChurchCivicGeographyUserRole": { - "type": "object", - "properties": { - "churchGeographyId": { - "type": "string", - "format": "uuid" - }, - "unitId": { - "type": "string", - "nullable": true - }, - "role": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Role" - }, - "civicGeographyId": { - "type": "string", - "format": "uuid" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Authentication.ChurchGeographyUserRole": { - "type": "object", - "properties": { - "churchGeographyId": { - "type": "string", - "format": "uuid" - }, - "unitId": { - "type": "string", - "nullable": true - }, - "role": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Role" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Authentication.CivicGeoBounded": { - "type": "object", - "properties": { - "civicGeographyId": { - "type": "string", - "nullable": true - }, - "civicGeographyName": { - "type": "string", - "nullable": true - }, - "civicGeographyType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Authentication.OrganizationCivicGeographyUserRole": { - "type": "object", - "properties": { - "organizationId": { - "type": "string", - "format": "uuid" - }, - "role": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Role" - }, - "civicGeographyId": { - "type": "string", - "format": "uuid" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Authentication.OrganizationUserRole": { - "type": "object", - "properties": { - "organizationId": { - "type": "string", - "format": "uuid" - }, - "role": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Role" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Authentication.SecurityContext": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "userRepresentativeForOrganizations": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "nullable": true - }, - "churchGeographies": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.ChurchGeographyUserRole" - }, - "nullable": true - }, - "civicGeographies": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.ChurchCivicGeographyUserRole" - }, - "nullable": true - }, - "organizationRoles": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.OrganizationUserRole" - }, - "nullable": true - }, - "organizationCivicGeographyUserRoles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.OrganizationCivicGeographyUserRole" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Authentication.Token": { - "type": "object", - "properties": { - "accessToken": { - "type": "string", - "nullable": true - }, - "tokenType": { - "type": "string", - "nullable": true - }, - "refreshToken": { - "type": "string", - "nullable": true - }, - "clientId": { - "type": "string", - "nullable": true - }, - "expiresIn": { - "type": "integer", - "format": "int32" - }, - "issued": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Corus.Article": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "introduction": { - "type": "string", - "nullable": true - }, - "body": { - "type": "string", - "nullable": true - }, - "permalink": { - "type": "string", - "nullable": true - }, - "media": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.Media" - }, - "nullable": true - }, - "createdDate": { - "type": "string", - "format": "date-time" - }, - "createdByUser": { - "type": "string", - "nullable": true - }, - "modifiedDate": { - "type": "string", - "format": "date-time" - }, - "modifiedByUser": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Corus.ArticleChapter": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "body": { - "type": "string", - "nullable": true - }, - "createdDate": { - "type": "string", - "format": "date-time" - }, - "createdByUser": { - "type": "string", - "nullable": true - }, - "modifiedDate": { - "type": "string", - "format": "date-time" - }, - "modifiedByUser": { - "type": "string", - "nullable": true - }, - "pages": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ArticlePage" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Corus.ArticlePage": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "pageType": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "body": { - "type": "string", - "nullable": true - }, - "permalink": { - "type": "string", - "nullable": true - }, - "media": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.Media" - }, - "nullable": true - }, - "createdDate": { - "type": "string", - "format": "date-time" - }, - "createdByUser": { - "type": "string", - "nullable": true - }, - "modifiedDate": { - "type": "string", - "format": "date-time" - }, - "modifiedByUser": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Corus.ArticlesDataSet": { - "type": "object", - "properties": { - "article": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.Article" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Corus.ChaptersDataSet": { - "type": "object", - "properties": { - "articleChapters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ArticleChapter" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Corus.Media": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "filename": { - "type": "string", - "nullable": true - }, - "type": { - "type": "string", - "nullable": true - }, - "placementType": { - "type": "string", - "nullable": true - }, - "size": { - "type": "string", - "nullable": true - }, - "options": { - "type": "string", - "nullable": true - }, - "altCaption": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Corus.PagesDataSet": { - "type": "object", - "properties": { - "pages": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Corus.ArticlePage" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Enums.AdminProjectSearchFilter": { - "enum": [ - "None", - "All", - "Location", - "Administrator", - "Keyword", - "Label", - "Email", - "Organization", - "Contact" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.AdminSearchOrderBy": { - "enum": [ - "None", - "Relativity", - "Recent", - "Title", - "OwnerName", - "CityState", - "Created" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.AdminSubordinateFilterModifier": { - "enum": [ - "AdminOnly", - "SubordinatesOnly", - "Both" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.AttachmentType": { - "enum": [ - "Other", - "Image", - "Thumbnail", - "MainImage", - "Banner", - "Document", - "Pdf", - "Spreadsheet", - "Presentation" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.BoundaryType": { - "enum": [ - "LdsGeography", - "Organization" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.DefaultSection": { - "enum": [ - "Organizations", - "Projects", - "Questions", - "AboutUs", - "Give" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.DistanceType": { - "enum": [ - "None", - "Miles", - "Kilometers" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.DynamicRouteType": { - "enum": [ - "Organization", - "DisasterRelief" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.EndorsementStatus": { - "enum": [ - "Approved", - "RequestedByOrg", - "RequestedByVolunteerCenter", - "Rejected", - "Deleted" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.GeographyType": { - "enum": [ - "All", - "Area", - "Mission", - "CC", - "Stake", - "Country", - "State", - "County", - "City", - "Zipcode", - "Neighborhood", - "National", - "None" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.Lang": { - "enum": [ - "None", - "EN", - "GB", - "ES", - "FR", - "PT", - "HU", - "DE" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.NotificationLevel": { - "enum": [ - "None", - "Action", - "Information" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.NotificationStatus": { - "enum": [ - "Unseen", - "Seen" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.NotificationType": { - "enum": [ - "ProjectApprovalNotification", - "ProjectExpirationNotification", - "ProjectEscalatedNotification", - "ProjectEscalatedToAnotherUserNotification", - "ChurchAdminChangedNotification", - "OrganizationAdminAddedNotification", - "Unused2", - "ProjectChangedNotification", - "ProjectFinishedSuccessStoryNotification", - "ProjectUpcomingNotification", - "Unused3", - "ProjectOccurredNotification", - "NewNearbyProjectNotification", - "Unused4", - "NewFavoritedProjectNotification", - "NewSuccessStoryNotification", - "Unused5", - "AccountUpdatedNotification", - "Unused6", - "ProfileCompletionNotification", - "AnnouncementCustomNotification", - "WhatsNewCustomNotification", - "DisasterRecoveryCustomNotificaiton", - "BannerCustomNotification", - "Unknown" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.OrganizationStatus": { - "enum": [ - "None", - "Active", - "Pending", - "Inactive" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.OrganizationType": { - "enum": [ - "None", - "Organization", - "VolunteerCenter", - "DisasterRelief", - "NonProfit", - "GovCity", - "GovCounty", - "GovState", - "GovNational", - "Corporation", - "ClubAffiliated", - "ClubJustServe", - "Religious", - "Service", - "Disaster", - "CampaignNational", - "CampaignGlobal" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.OwnerType": { - "enum": [ - "User", - "Organization" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.PrivacyTermsType": { - "enum": [ - "None", - "PrivacyPolicy", - "TermsOfUse" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.ProjectEventStatus": { - "enum": [ - "Active", - "OnHold", - "Cancelled" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.ProjectLocationType": { - "enum": [ - "None", - "SingleLocation", - "Regional", - "Remote" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.ProjectSearchOrderBy": { - "enum": [ - "None", - "Relativity", - "Recent", - "Title", - "TitleReverse", - "Created", - "NextOpportunity", - "Distance" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.ProjectSignupType": { - "enum": [ - "JustServeSignUp", - "Redirect" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.ProjectStatus": { - "enum": [ - "None", - "Published", - "Submitted", - "Draft", - "Template", - "OnHold", - "Cancelled", - "Declined" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.ProjectTimeType": { - "enum": [ - "SingleDay", - "MultipleDays", - "Recurring", - "Ongoing" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.ProjectType": { - "enum": [ - "None", - "DTL", - "Ongoing", - "Recurring", - "MultipleDTL" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.QuickSearchType": { - "enum": [ - "AdminProject", - "AdminUser" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.RecurringType": { - "enum": [ - "None", - "Weekly", - "Monthly", - "DayOfMonth" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.Role": { - "enum": [ - "none", - "city", - "county", - "state", - "country", - "orgAdmin", - "orgLeadAdmin", - "stakeAdmin", - "stakeLeadAdmin", - "ccAdmin", - "ccLeadAdmin", - "missionAdmin", - "missionLeadAdmin", - "nationalAdmin", - "nationalLeadAdmin", - "areaAdmin", - "areaLeadAdmin", - "globalAdmin", - "globalLeadAdmin", - "developer" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.SearchFilter": { - "enum": [ - "None", - "All", - "Location", - "Administrator", - "Keyword", - "Label", - "Email" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.SearchLocationType": { - "enum": [ - "Radius", - "State", - "Regional", - "None" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.SortByFilterModifier": { - "enum": [ - "Ascending", - "Descending" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Enums.TimeOfDay": { - "enum": [ - "None", - "Morning", - "Afternoon", - "Evening" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Geographies.ChurchGeoTranslation": { - "type": "object", - "properties": { - "churchGeoName": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Geographies.ChurchGeographyAdminLabelEnum": { - "type": "object", - "properties": { - "adminLabelId": { - "type": "string", - "format": "uuid" - }, - "adminLabelName": { - "type": "string", - "nullable": true - }, - "adminLabelDescription": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Geographies.CountryInfo": { - "type": "object", - "properties": { - "twoCharCode": { - "type": "string", - "nullable": true - }, - "threeCharCode": { - "type": "string", - "nullable": true - }, - "countryPhone": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Geographies.CountryNameInfo": { - "type": "object", - "properties": { - "usePostal": { - "type": "boolean" - }, - "countryName": { - "type": "string", - "nullable": true - }, - "twoCharCode": { - "type": "string", - "nullable": true - }, - "threeCharCode": { - "type": "string", - "nullable": true - }, - "countryPhone": { - "type": "string", - "nullable": true - }, - "countryId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Geographies.GeographyBounded": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - }, - "civicCountryId": { - "type": "string", - "nullable": true - }, - "civicStateId": { - "type": "string", - "nullable": true - }, - "civicCountyId": { - "type": "string", - "nullable": true - }, - "civicCityId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Geographies.LDSGeography": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - }, - "boundaryUpdated": { - "type": "string", - "format": "date-time" - }, - "unitId": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "churchGeoTranslations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.ChurchGeoTranslation" - }, - "nullable": true - }, - "areaId": { - "type": "string", - "nullable": true - }, - "missionId": { - "type": "string", - "nullable": true - }, - "ccId": { - "type": "string", - "nullable": true - }, - "stakeId": { - "type": "string", - "nullable": true - }, - "active": { - "type": "boolean" - }, - "country": { - "type": "string", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double" - }, - "longitude": { - "type": "number", - "format": "double" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.ImagePairDetails": { - "type": "object", - "properties": { - "full": { - "type": "string", - "nullable": true - }, - "thumb": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.LocaleNames": { - "type": "object", - "properties": { - "bcp47": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Locations.Location": { - "type": "object", - "properties": { - "mapId": { - "type": "string", - "nullable": true - }, - "fullDisplayAddress": { - "type": "string", - "nullable": true - }, - "address": { - "type": "string", - "nullable": true - }, - "suite": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "civicCityId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "neighborhood": { - "type": "string", - "nullable": true - }, - "county": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "postal": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "countryCode": { - "type": "string", - "nullable": true - }, - "missionId": { - "type": "string", - "nullable": true - }, - "ccId": { - "type": "string", - "nullable": true - }, - "stakeId": { - "type": "string", - "nullable": true - }, - "areaId": { - "type": "string", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double" - }, - "longitude": { - "type": "number", - "format": "double" - }, - "maxLatitude": { - "type": "number", - "format": "double" - }, - "minLatitude": { - "type": "number", - "format": "double" - }, - "maxLongitude": { - "type": "number", - "format": "double" - }, - "minLongitude": { - "type": "number", - "format": "double" - }, - "geoCodeOverride": { - "type": "boolean" - }, - "timezone": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Locations.LocationRad": { - "type": "object", - "properties": { - "mapId": { - "type": "string", - "nullable": true - }, - "fullDisplayAddress": { - "type": "string", - "nullable": true - }, - "address": { - "type": "string", - "nullable": true - }, - "suite": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "civicCityId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "neighborhood": { - "type": "string", - "nullable": true - }, - "county": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "postal": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "countryCode": { - "type": "string", - "nullable": true - }, - "missionId": { - "type": "string", - "nullable": true - }, - "ccId": { - "type": "string", - "nullable": true - }, - "stakeId": { - "type": "string", - "nullable": true - }, - "areaId": { - "type": "string", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double" - }, - "longitude": { - "type": "number", - "format": "double" - }, - "maxLatitude": { - "type": "number", - "format": "double" - }, - "minLatitude": { - "type": "number", - "format": "double" - }, - "maxLongitude": { - "type": "number", - "format": "double" - }, - "minLongitude": { - "type": "number", - "format": "double" - }, - "geoCodeOverride": { - "type": "boolean" - }, - "timezone": { - "type": "string", - "nullable": true - }, - "radiusType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.DistanceType" - }, - "countryCode2Char": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Logging.ProjectOwnerLog": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "format": "uuid" - }, - "ownerUserId": { - "type": "string", - "format": "uuid" - }, - "ownerUserFirstName": { - "type": "string", - "nullable": true - }, - "ownerUserLastName": { - "type": "string", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updatedBy": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Logging.SearchLog": { - "type": "object", - "properties": { - "searchedOn": { - "type": "string", - "format": "date-time" - }, - "keywords": { - "type": "string", - "nullable": true - }, - "location": { - "type": "string", - "nullable": true - }, - "radius": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Logging.SignInLog": { - "type": "object", - "properties": { - "signedInOn": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Logging.UserHistory": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "userLocation": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - }, - "signInLogs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Logging.SignInLog" - }, - "nullable": true - }, - "searchLogs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Logging.SearchLog" - }, - "nullable": true - }, - "volunteerLogs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Logging.VolunteerLog" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Logging.VolunteerLog": { - "type": "object", - "properties": { - "volunteeredOn": { - "type": "string", - "format": "date-time" - }, - "projectId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Notifications.CustomNotification": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "locationId": { - "type": "string", - "nullable": true - }, - "locationName": { - "type": "string", - "nullable": true - }, - "geography": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.GeographyLimited" - }, - "geographyType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.NotificationType" - }, - "level": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.NotificationLevel" - }, - "title": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "lang": { - "type": "string", - "nullable": true - }, - "redirectLink": { - "type": "string", - "nullable": true - }, - "startDate": { - "type": "string", - "format": "date-time" - }, - "endDate": { - "type": "string", - "format": "date-time" - }, - "isAdminOnly": { - "type": "boolean" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "updated": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "string", - "nullable": true - }, - "updatedBy": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Notifications.CustomNotificationResult": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "locationId": { - "type": "string", - "nullable": true - }, - "locationName": { - "type": "string", - "nullable": true - }, - "geography": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.GeographyLimited" - }, - "geographyType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.NotificationType" - }, - "level": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.NotificationLevel" - }, - "title": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "lang": { - "type": "string", - "nullable": true - }, - "redirectLink": { - "type": "string", - "nullable": true - }, - "startDate": { - "type": "string", - "format": "date-time" - }, - "endDate": { - "type": "string", - "format": "date-time" - }, - "isAdminOnly": { - "type": "boolean" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "updated": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "string", - "nullable": true - }, - "updatedBy": { - "type": "string", - "nullable": true - }, - "userNotificationId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Notifications.Notification": { - "type": "object", - "properties": { - "notificationId": { - "type": "string", - "nullable": true - }, - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.NotificationType" - }, - "level": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.NotificationLevel" - }, - "status": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.NotificationStatus" - }, - "createdDate": { - "type": "string", - "format": "date-time" - }, - "showDate": { - "type": "string", - "format": "date-time" - }, - "showEndDate": { - "type": "string", - "format": "date-time" - }, - "title": { - "type": "string", - "nullable": true - }, - "boundaryId": { - "type": "string", - "nullable": true - }, - "adminId": { - "type": "string", - "nullable": true - }, - "projectId": { - "type": "string", - "nullable": true - }, - "projectEventId": { - "type": "string", - "nullable": true - }, - "dtlId": { - "type": "string", - "nullable": true - }, - "timeSlotId": { - "type": "string", - "nullable": true - }, - "volunteeredRecurrenceId": { - "type": "string", - "nullable": true - }, - "successStoryId": { - "type": "string", - "nullable": true - }, - "organizationId": { - "type": "string", - "nullable": true - }, - "boundaryAdminUserId": { - "type": "string", - "nullable": true - }, - "customTitle": { - "type": "string", - "nullable": true - }, - "customDesc": { - "type": "string", - "nullable": true - }, - "customNotificationId": { - "type": "string", - "nullable": true - }, - "redirectLink": { - "type": "string", - "nullable": true - }, - "userId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Notifications.UserNotification": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "userId": { - "type": "string", - "nullable": true - }, - "notifications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Notifications.Notification" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Organizations.Cause": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "imageName": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "projects": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Organizations.Endorsement": { - "type": "object", - "properties": { - "organizationId": { - "type": "string", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time" - }, - "endorsementStatus": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.EndorsementStatus" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Organizations.OrgRepresentative": { - "type": "object", - "properties": { - "representativeUserId": { - "type": "string", - "format": "uuid" - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Organizations.Organization": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "organizationType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OrganizationType" - }, - "endorsements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Endorsement" - }, - "nullable": true - }, - "owners": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "representatives": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.OrgRepresentative" - }, - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OrganizationStatus" - }, - "activationDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "firstStartTime": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "finalEndTime": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "website": { - "type": "string", - "nullable": true - }, - "autoRedirect": { - "type": "boolean" - }, - "url": { - "type": "string", - "nullable": true - }, - "internalURL": { - "type": "string", - "nullable": true - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - }, - "logo": { - "type": "string", - "nullable": true - }, - "banner": { - "type": "string", - "nullable": true - }, - "facebookPath": { - "type": "string", - "nullable": true - }, - "googlePath": { - "type": "string", - "nullable": true - }, - "twitterPath": { - "type": "string", - "nullable": true - }, - "youTubePath": { - "type": "string", - "nullable": true - }, - "instagramPath": { - "type": "string", - "nullable": true - }, - "linkedInPath": { - "type": "string", - "nullable": true - }, - "contactName": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "linkedProjects": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time" - }, - "updated": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "string", - "nullable": true - }, - "updatedBy": { - "type": "string", - "nullable": true - }, - "deleted": { - "type": "boolean" - }, - "deletedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "aboutUs": { - "type": "string", - "nullable": true - }, - "volunteerCenterInfo": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.VolunteerCenterInfo" - }, - "projectsData": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSlim" - }, - "nullable": true - }, - "totalProjectCount": { - "type": "integer", - "format": "int32" - }, - "userCanEndorse": { - "type": "boolean" - }, - "relativityScore": { - "type": "number", - "format": "double" - }, - "volunteerCenterParents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.OrganizationSlim" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Organizations.OrganizationBounded": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "endorsements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Endorsement" - }, - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "url": { - "type": "string", - "nullable": true - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - }, - "status": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OrganizationStatus" - }, - "isLead": { - "type": "boolean" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OrganizationType" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Organizations.VolunteerCenterInfo": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "associatedProjects": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "defaultSection": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.DefaultSection" - }, - "organizationsEnabled": { - "type": "boolean" - }, - "projectsEnabled": { - "type": "boolean" - }, - "questionsEnabled": { - "type": "boolean" - }, - "aboutUsEnabled": { - "type": "boolean" - }, - "giveEnabled": { - "type": "boolean" - }, - "about": { - "type": "string", - "nullable": true - }, - "endorsedOrganizationsData": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.OrganizationResult" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Pagination.PaginationProjectSearchResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": { - "type": "object", - "properties": { - "pageNumber": { - "type": "integer", - "format": "int32" - }, - "pageSize": { - "type": "integer", - "format": "int32" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectCard" - }, - "nullable": true - }, - "pageCount": { - "type": "integer", - "format": "int32", - "nullable": true, - "readOnly": true - }, - "itemCount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "searchLatitude": { - "type": "number", - "format": "double" - }, - "searchLongitude": { - "type": "number", - "format": "double" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Pagination.PaginationResult`1[[JustServe.Contracts.Responses.ProjectCard, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { - "type": "object", - "properties": { - "pageNumber": { - "type": "integer", - "format": "int32" - }, - "pageSize": { - "type": "integer", - "format": "int32" - }, - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectCard" - }, - "pageCount": { - "type": "integer", - "format": "int32", - "nullable": true, - "readOnly": true - }, - "itemCount": { - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Geographies.ChurchGeographyAdminLabelEnum, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": { - "type": "object", - "properties": { - "pageNumber": { - "type": "integer", - "format": "int32" - }, - "pageSize": { - "type": "integer", - "format": "int32" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.ChurchGeographyAdminLabelEnum" - }, - "nullable": true - }, - "pageCount": { - "type": "integer", - "format": "int32", - "nullable": true, - "readOnly": true - }, - "itemCount": { - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.ProjectAdmin, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": { - "type": "object", - "properties": { - "pageNumber": { - "type": "integer", - "format": "int32" - }, - "pageSize": { - "type": "integer", - "format": "int32" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectAdmin" - }, - "nullable": true - }, - "pageCount": { - "type": "integer", - "format": "int32", - "nullable": true, - "readOnly": true - }, - "itemCount": { - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.ProjectEventCustom, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": { - "type": "object", - "properties": { - "pageNumber": { - "type": "integer", - "format": "int32" - }, - "pageSize": { - "type": "integer", - "format": "int32" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectEventCustom" - }, - "nullable": true - }, - "pageCount": { - "type": "integer", - "format": "int32", - "nullable": true, - "readOnly": true - }, - "itemCount": { - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.UserPendingProject, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": { - "type": "object", - "properties": { - "pageNumber": { - "type": "integer", - "format": "int32" - }, - "pageSize": { - "type": "integer", - "format": "int32" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserPendingProject" - }, - "nullable": true - }, - "pageCount": { - "type": "integer", - "format": "int32", - "nullable": true, - "readOnly": true - }, - "itemCount": { - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.VolunteerLiteDetails, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": { - "type": "object", - "properties": { - "pageNumber": { - "type": "integer", - "format": "int32" - }, - "pageSize": { - "type": "integer", - "format": "int32" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.VolunteerLiteDetails" - }, - "nullable": true - }, - "pageCount": { - "type": "integer", - "format": "int32", - "nullable": true, - "readOnly": true - }, - "itemCount": { - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Pagination.PaginationResult`1[[System.Collections.Generic.IEnumerable`1[[JustServe.Contracts.Responses.VolunteerMatchProject, JustServe.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": { - "type": "object", - "properties": { - "pageNumber": { - "type": "integer", - "format": "int32" - }, - "pageSize": { - "type": "integer", - "format": "int32" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.VolunteerMatchProject" - }, - "nullable": true - }, - "pageCount": { - "type": "integer", - "format": "int32", - "nullable": true, - "readOnly": true - }, - "itemCount": { - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.PrivacyTerms": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.PrivacyTermsType" - }, - "language": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "html": { - "type": "string", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time" - }, - "publishedDate": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.AdminInfo": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "nullable": true - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.Applicant": { - "type": "object", - "properties": { - "submitterUserId": { - "type": "string", - "nullable": true - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "postal": { - "type": "string", - "nullable": true - }, - "applicantPostal": { - "type": "string", - "nullable": true - }, - "applicantCity": { - "type": "string", - "nullable": true - }, - "applicantCountry": { - "type": "string", - "nullable": true - }, - "applicantCountryCode": { - "type": "string", - "nullable": true - }, - "assignmentLevel": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - }, - "assignedOn": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.Contact": { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.DTL": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "timeSlots": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.TimeSlot" - }, - "nullable": true - }, - "locationName": { - "type": "string", - "nullable": true - }, - "locationLink": { - "type": "string", - "nullable": true - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - }, - "specialDirections": { - "type": "string", - "nullable": true - }, - "specialDirectionsLanguage": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true - }, - "boundaries": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RegionCivicGeography" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.OnGoing": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "start": { - "type": "string", - "format": "date-time" - }, - "renewDate": { - "type": "string", - "format": "date-time" - }, - "end": { - "type": "string", - "format": "date-time" - }, - "schedule": { - "type": "string", - "nullable": true - }, - "scheduleLanguage": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true - }, - "specialDirections": { - "type": "string", - "nullable": true - }, - "specialDirectionsLanguage": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true - }, - "locationName": { - "type": "string", - "nullable": true - }, - "locationLink": { - "type": "string", - "nullable": true - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - }, - "interested": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.OngoingInterestRO" - }, - "nullable": true - }, - "contacts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Contact" - }, - "nullable": true - }, - "boundaries": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RegionCivicGeography" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.OngoingHoursServed": { - "type": "object", - "properties": { - "servedOn": { - "type": "string", - "format": "date-time" - }, - "hoursServed": { - "type": "number", - "format": "double" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.OngoingInterestRO": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "nullable": true - }, - "interestedId": { - "type": "string", - "nullable": true - }, - "volunteerId": { - "type": "string", - "nullable": true - }, - "interestedLanguage": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "schedule": { - "type": "string", - "nullable": true - }, - "date": { - "type": "string", - "format": "date-time" - }, - "groupSize": { - "type": "integer", - "format": "int32" - }, - "hoursServed": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.OngoingHoursServed" - }, - "nullable": true - }, - "adminReportedHours": { - "type": "number", - "format": "double" - }, - "interestedOn": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.Org": { - "type": "object", - "properties": { - "authorization": { - "type": "boolean" - }, - "organizationAuthorization": { - "type": "boolean", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "url": { - "type": "string", - "nullable": true - }, - "internalUrl": { - "type": "string", - "nullable": true - }, - "organizationId": { - "type": "string", - "nullable": true - }, - "reviewedBy": { - "type": "string", - "nullable": true - }, - "reviewedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "linked": { - "type": "boolean" - }, - "logo": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.Project": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "projectOwners": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.ProjectOwner" - }, - "nullable": true - }, - "projectOwnerLocation": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - }, - "ownerLog": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Logging.ProjectOwnerLog" - }, - "nullable": true - }, - "projectType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectType" - }, - "status": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectStatus" - }, - "publishDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "shortDescription": { - "type": "string", - "nullable": true - }, - "longDescription": { - "type": "string", - "nullable": true - }, - "logo": { - "type": "string", - "nullable": true - }, - "attachments": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "attachmentInfo": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.AttachmentInfo" - }, - "nullable": true - }, - "applicant": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Applicant" - }, - "contact": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Contact" - }, - "sponsor": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Sponsor" - }, - "representative": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Representative" - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Org" - }, - "suitableAllAges": { - "type": "boolean" - }, - "groupProject": { - "type": "boolean" - }, - "volunteerRemotely": { - "type": "boolean" - }, - "itemDonations": { - "type": "boolean" - }, - "wheelchairAccessible": { - "type": "boolean" - }, - "indoors": { - "type": "boolean" - }, - "forYouthGroups": { - "type": "boolean" - }, - "volunteerFromAnywhere": { - "type": "boolean" - }, - "regionSelected": { - "type": "boolean" - }, - "temporaryFakeDistanceScore": { - "type": "number", - "format": "double" - }, - "fakeDistanceScoreUpdate": { - "type": "string", - "format": "date-time" - }, - "skills": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "interests": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "tools": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "projectSkills": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "projectInterests": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "projectTools": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "externalVolunteerURL": { - "type": "string", - "nullable": true - }, - "isExternalProject": { - "type": "boolean" - }, - "isUnlistedProject": { - "type": "boolean" - }, - "archivedProject": { - "type": "boolean" - }, - "isActive": { - "type": "boolean" - }, - "externalVolunteerCount": { - "type": "integer", - "format": "int32" - }, - "externalVolunteers": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - }, - "nullable": true - }, - "allEventsFilled": { - "type": "boolean" - }, - "daysOfWeek": { - "type": "array", - "items": { - "$ref": "#/components/schemas/System.DayOfWeek" - }, - "nullable": true - }, - "timesOfDay": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.TimeOfDay" - }, - "nullable": true - }, - "waiverURL": { - "type": "string", - "nullable": true - }, - "dtl": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.DTL" - }, - "nullable": true - }, - "onGoing": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.OnGoing" - }, - "nullable": true - }, - "recurring": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Recurring" - }, - "lastChangeReason": { - "type": "string", - "nullable": true - }, - "escalated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time" - }, - "updated": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "string", - "nullable": true - }, - "deleted": { - "type": "boolean" - }, - "deletedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "firstStartDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "lastEndDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "cbfName": { - "type": "string", - "nullable": true - }, - "cblName": { - "type": "string", - "nullable": true - }, - "updatedBy": { - "type": "string", - "nullable": true - }, - "ubfName": { - "type": "string", - "nullable": true - }, - "ublName": { - "type": "string", - "nullable": true - }, - "volunteerCentersData": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.OrganizationSlim" - }, - "nullable": true - }, - "relativityScore": { - "type": "number", - "format": "double" - }, - "projectOwnerName": { - "type": "string", - "nullable": true - }, - "projectOwnerLastName": { - "type": "string", - "nullable": true - }, - "projectOwnerUserId": { - "type": "string", - "nullable": true - }, - "projectLocationType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectLocationType" - }, - "underReview": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.ProjectBounded": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "projectOwners": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.ProjectOwner" - }, - "nullable": true - }, - "locations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - }, - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectStatus" - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Org" - }, - "createdBy": { - "type": "string", - "nullable": true - }, - "cbfName": { - "type": "string", - "nullable": true - }, - "cblName": { - "type": "string", - "nullable": true - }, - "startDate": { - "type": "string", - "format": "date-time" - }, - "endDate": { - "type": "string", - "format": "date-time" - }, - "isActive": { - "type": "boolean" - }, - "isUnlistedProject": { - "type": "boolean" - }, - "ongoing": { - "type": "boolean" - }, - "isDirectlyOwnedOrSponsored": { - "type": "boolean" - }, - "isOwnedOrRepresentedViaOrganization": { - "type": "boolean" - }, - "volunteersNeeded": { - "type": "integer", - "format": "int32" - }, - "volunteersAcquired": { - "type": "integer", - "format": "int32" - }, - "projectOwnerName": { - "type": "string", - "nullable": true - }, - "projectOwnerUserId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.ProjectOwner": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "ownerType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OwnerType" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.ReassignDelete": { - "type": "object", - "properties": { - "assignId": { - "type": "string", - "nullable": true - }, - "deleteId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.RecordOfService": { - "required": [ - "userId" - ], - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "userId": { - "minLength": 1, - "type": "string" - }, - "projectId": { - "type": "string", - "nullable": true - }, - "projectName": { - "type": "string", - "nullable": true - }, - "organizationName": { - "type": "string", - "nullable": true - }, - "volunteeredOn": { - "type": "string", - "format": "date-time" - }, - "hoursServed": { - "type": "number", - "format": "double" - }, - "deleted": { - "type": "boolean" - }, - "deletedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedBy": { - "type": "string", - "format": "uuid", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.Recurring": { - "type": "object", - "properties": { - "recurrenceId": { - "type": "string", - "nullable": true - }, - "start": { - "type": "string", - "format": "date-time" - }, - "end": { - "type": "string", - "format": "date-time" - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - }, - "locationName": { - "type": "string", - "nullable": true - }, - "specialDirections": { - "type": "string", - "nullable": true - }, - "recurringTimes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RecurringTime" - }, - "nullable": true - }, - "boundaries": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RegionCivicGeography" - }, - "nullable": true - }, - "volunteeredRecurrences": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.VolunteeredRecurrence" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.RecurringTime": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "startTime": { - "type": "string", - "format": "date-time" - }, - "endTime": { - "type": "string", - "format": "date-time" - }, - "recurringType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.RecurringType" - }, - "volunteersCapped": { - "type": "boolean" - }, - "groupsCapped": { - "type": "boolean" - }, - "groupLimit": { - "type": "integer", - "format": "int32" - }, - "totalVolunteersNeeded": { - "type": "integer", - "format": "int32" - }, - "contacts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Contact" - }, - "nullable": true - }, - "sunday": { - "type": "boolean" - }, - "monday": { - "type": "boolean" - }, - "tuesday": { - "type": "boolean" - }, - "wednesday": { - "type": "boolean" - }, - "thursday": { - "type": "boolean" - }, - "friday": { - "type": "boolean" - }, - "saturday": { - "type": "boolean" - }, - "firstWeek": { - "type": "boolean" - }, - "secondWeek": { - "type": "boolean" - }, - "thirdWeek": { - "type": "boolean" - }, - "fourthWeek": { - "type": "boolean" - }, - "fifthWeek": { - "type": "boolean" - }, - "lastWeek": { - "type": "boolean" - }, - "daysOfMonth": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.RegionCivicGeography": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - }, - "name": { - "type": "string", - "nullable": true - }, - "id": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.Representative": { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "userId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.Sponsor": { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "userId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.TimeSlot": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "start": { - "type": "string", - "format": "date-time" - }, - "end": { - "type": "string", - "format": "date-time" - }, - "startFormatted": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "endFormatted": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "timezone": { - "type": "string", - "nullable": true - }, - "shiftTitle": { - "type": "string", - "nullable": true - }, - "volunteersCapped": { - "type": "boolean" - }, - "groupsCapped": { - "type": "boolean" - }, - "groupLimit": { - "type": "integer", - "format": "int32" - }, - "existingVolunteers": { - "type": "integer", - "format": "int32" - }, - "totalVolunteersNeeded": { - "type": "integer", - "format": "int32" - }, - "eventCapReached": { - "type": "boolean" - }, - "contacts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.Contact" - }, - "nullable": true - }, - "volunteers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.VolunteerRO" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.VolunteerRO": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "nullable": true - }, - "volunteerId": { - "type": "string", - "nullable": true - }, - "volunteerLanguage": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "groupSize": { - "type": "integer", - "format": "int32" - }, - "hoursServed": { - "type": "number", - "format": "double" - }, - "adminReportedHours": { - "type": "number", - "format": "double" - }, - "hoursUpdated": { - "type": "boolean" - }, - "skills": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "volunteeredOn": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Projects.VolunteeredRecurrence": { - "type": "object", - "properties": { - "volunteeredRecurrenceId": { - "type": "string", - "nullable": true - }, - "recurringTimeId": { - "type": "string", - "nullable": true - }, - "start": { - "type": "string", - "format": "date-time" - }, - "end": { - "type": "string", - "format": "date-time" - }, - "eventCapReached": { - "type": "boolean" - }, - "volunteers": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.AdminPendingProjectsSearchRequest": { - "required": [ - "adminSubordinateFilterModifier", - "page", - "size" - ], - "type": "object", - "properties": { - "page": { - "type": "integer", - "format": "int32" - }, - "size": { - "type": "integer", - "format": "int32" - }, - "adminSubordinateFilterModifier": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.AdminSubordinateFilterModifier" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.AdminSearchOrganizationsViewModel": { - "type": "object", - "properties": { - "activeOnly": { - "type": "boolean" - }, - "filter": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.SearchFilter" - }, - "filterValue": { - "type": "string", - "nullable": true - }, - "getLinkedProjects": { - "type": "boolean" - }, - "includeAll": { - "type": "boolean" - }, - "includeManaged": { - "type": "boolean" - }, - "includeOrgOwnerInfo": { - "type": "boolean" - }, - "orderBy": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.AdminSearchOrderBy" - }, - "page": { - "type": "integer", - "format": "int32" - }, - "reverse": { - "type": "boolean" - }, - "size": { - "type": "integer", - "format": "int32" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OrganizationType" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.AdminUserSearchRequest": { - "required": [ - "page", - "size" - ], - "type": "object", - "properties": { - "page": { - "type": "integer", - "format": "int32" - }, - "size": { - "type": "integer", - "format": "int32" - }, - "ldsGeographyId": { - "type": "string", - "format": "uuid" - }, - "boundaryName": { - "type": "string", - "nullable": true - }, - "showChildren": { - "type": "boolean" - }, - "name": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "civicBoundaryId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "civicBoundaryName": { - "type": "string", - "nullable": true - }, - "civicBoundaryChildren": { - "type": "boolean" - }, - "city": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "zip": { - "type": "string", - "nullable": true - }, - "org": { - "type": "string", - "nullable": true - }, - "isSpecialist": { - "type": "boolean" - }, - "isCommunity": { - "type": "boolean" - }, - "isNonAdmin": { - "type": "boolean" - }, - "isLeadOnly": { - "type": "boolean" - }, - "isOrg": { - "type": "boolean" - }, - "specialist": { - "type": "string", - "nullable": true - }, - "community": { - "type": "string", - "nullable": true - }, - "nonAdmin": { - "type": "string", - "nullable": true - }, - "leadOnly": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.AttachmentUploadModel": { - "type": "object", - "properties": { - "base64": { - "type": "string", - "nullable": true - }, - "fileName": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.BoundaryUpdateDeleteViewModel": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "boundaryType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.BoundaryType" - }, - "updateInfo": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.BoundaryUserInfoModel" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.BoundaryUserInfoModel": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "nullable": true - }, - "role": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Role" - }, - "addCivicGeographyIds": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "removeCivicGeographyIds": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "deleteUser": { - "type": "boolean" - }, - "setRep": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.ChangePasswordViewModel": { - "required": [ - "newPassword" - ], - "type": "object", - "properties": { - "existingPassword": { - "type": "string", - "nullable": true - }, - "newPassword": { - "maxLength": 100, - "minLength": 8, - "type": "string", - "format": "password" - }, - "confirmPassword": { - "type": "string", - "format": "password", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.ChurchGeographyAdminLabelEnumRequest": { - "type": "object", - "properties": { - "churchGeographyId": { - "type": "string", - "format": "uuid" - }, - "name": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "languageId": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.ChurchGeographyAdminLabelEnumUpdateRequest": { - "type": "object", - "properties": { - "churchGeographyAdminLabelEnumId": { - "type": "string", - "format": "uuid" - }, - "churchGeographyId": { - "type": "string", - "format": "uuid" - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.CloneProjectRequest": { - "type": "object", - "properties": { - "projectIdToClone": { - "type": "string", - "format": "uuid" - }, - "userIdToAssign": { - "type": "string", - "format": "uuid" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.ContactUsReciepientViewModel": { - "type": "object", - "properties": { - "country": { - "type": "string", - "nullable": true - }, - "postal": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.ContactUsViewModel": { - "required": [ - "body", - "country", - "email", - "name" - ], - "type": "object", - "properties": { - "name": { - "maxLength": 150, - "minLength": 1, - "type": "string" - }, - "email": { - "maxLength": 150, - "minLength": 1, - "type": "string" - }, - "body": { - "maxLength": 300, - "minLength": 1, - "type": "string" - }, - "country": { - "minLength": 1, - "type": "string" - }, - "postal": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.CreateUpdateAnnouncementViewModel": { - "type": "object", - "properties": { - "title": { - "type": "string", - "nullable": true - }, - "content": { - "type": "string", - "nullable": true - }, - "url": { - "type": "string", - "nullable": true - }, - "pictures": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "videos": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.CropViewModel": { - "type": "object", - "properties": { - "base64": { - "type": "string", - "nullable": true - }, - "x": { - "type": "integer", - "format": "int32" - }, - "y": { - "type": "integer", - "format": "int32" - }, - "height": { - "type": "integer", - "format": "int32" - }, - "width": { - "type": "integer", - "format": "int32" - }, - "maxWidth": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "maxHeight": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "squareWrapper": { - "type": "boolean", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.CustomNotificationModel": { - "type": "object", - "properties": { - "locationId": { - "type": "string", - "nullable": true - }, - "geographyType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.NotificationType" - }, - "level": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.NotificationLevel" - }, - "title": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "lang": { - "type": "string", - "nullable": true - }, - "redirectLink": { - "type": "string", - "nullable": true - }, - "startDate": { - "type": "string", - "format": "date-time" - }, - "endDate": { - "type": "string", - "format": "date-time" - }, - "isAdminOnly": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.DTLVolunteer": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "timeSlots": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.TimeSlotVolunteer" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.DailyUserHashModel": { - "type": "object", - "properties": { - "email": { - "type": "string", - "nullable": true - }, - "userId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.HomepageProjectRequest": { - "type": "object", - "properties": { - "locationSearchText": { - "type": "string", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double" - }, - "latitude": { - "type": "number", - "format": "double" - }, - "browserLocale": { - "type": "string", - "nullable": true - }, - "countryCode": { - "type": "string", - "nullable": true - }, - "refreshCache": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.HoursServedBulkModel": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "hours": { - "type": "number", - "format": "double" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.HoursServedItemViewModel": { - "required": [ - "hours" - ], - "type": "object", - "properties": { - "hours": { - "type": "number", - "format": "double" - }, - "when": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.HoursServedViewModel": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.HoursServedItemViewModel" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.ImageUploadRequest": { - "type": "object", - "properties": { - "base64": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.LatLongPostal": { - "type": "object", - "properties": { - "longitude": { - "type": "number", - "format": "double" - }, - "latitude": { - "type": "number", - "format": "double" - }, - "postalCode": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.LocationMapsObject": { - "type": "object", - "properties": { - "address": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "county": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "postal": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "countryCode": { - "type": "string", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double" - }, - "latitude": { - "type": "number", - "format": "double" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.LocationString": { - "required": [ - "location" - ], - "type": "object", - "properties": { - "location": { - "minLength": 1, - "type": "string" - }, - "lang": { - "type": "string", - "nullable": true - }, - "countryCode": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.Mobile.LogInModel": { - "type": "object", - "properties": { - "grantType": { - "type": "string", - "nullable": true - }, - "username": { - "type": "string", - "nullable": true - }, - "password": { - "type": "string", - "nullable": true - }, - "clientId": { - "type": "string", - "nullable": true - }, - "clientSecret": { - "type": "string", - "nullable": true - }, - "refreshToken": { - "type": "string", - "nullable": true - }, - "facebookToken": { - "type": "string", - "nullable": true - }, - "googleToken": { - "type": "string", - "nullable": true - }, - "appleToken": { - "type": "string", - "nullable": true - }, - "appleAuthCode": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.Mobile.MobileOrgSearchModel": { - "type": "object", - "properties": { - "latitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "location": { - "type": "string", - "nullable": true - }, - "keywords": { - "type": "string", - "nullable": true - }, - "organizationType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OrganizationType" - }, - "searchRadius": { - "type": "integer", - "format": "int32" - }, - "distanceUnits": { - "type": "string", - "nullable": true - }, - "sortBy": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "page": { - "type": "integer", - "format": "int32" - }, - "size": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.Mobile.MobileProjectFAYT": { - "type": "object", - "properties": { - "keywords": { - "type": "string", - "nullable": true - }, - "location": { - "type": "string", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "radius": { - "type": "number", - "format": "double", - "nullable": true - }, - "distanceType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.DistanceType" - }, - "language": { - "type": "string", - "nullable": true - }, - "volunteerFromAnywhere": { - "type": "boolean", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.Mobile.MobileProjectSearchRequestModel": { - "type": "object", - "properties": { - "latitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "location": { - "type": "string", - "nullable": true - }, - "keywords": { - "type": "string", - "nullable": true - }, - "searchRadius": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "distanceUnits": { - "type": "string", - "nullable": true - }, - "startDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "endDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "projectOptions": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.ProjectOptions" - }, - "projectType": { - "type": "string", - "nullable": true - }, - "skillIds": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "interestIds": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "sortBy": { - "type": "string", - "nullable": true - }, - "page": { - "type": "integer", - "format": "int32" - }, - "size": { - "type": "integer", - "format": "int32" - }, - "days": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "times": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "getProjectSearchOrderBy": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectSearchOrderBy" - }, - "getProjectType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectType" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.Mobile.MobileProjectVolunteerModel": { - "type": "object", - "properties": { - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "schedule": { - "type": "string", - "nullable": true - }, - "date": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "groupSize": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "skills": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "details": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.Mobile.MobileStringList": { - "required": [ - "ids" - ], - "type": "object", - "properties": { - "ids": { - "minItems": 1, - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.Mobile.MobileUpdateUserModel": { - "type": "object", - "properties": { - "personal": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Personalsettings" - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileLocationSlim" - }, - "projectOptions": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Projectsearchpreferences" - }, - "contactOptions": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Notificationsettings" - }, - "interests": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Interests" - }, - "skills": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Skills" - }, - "tools": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Tools" - }, - "daysOfTheWeek": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.DaysOfTheWeek" - }, - "timesOfDay": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.TimesOfDay" - }, - "favoriteOrganizations": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Favoriteorganizations" - }, - "favoriteProjects": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Favoriteprojects" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.Mobile.ProjectOptions": { - "type": "object", - "properties": { - "suitableForAllAges": { - "type": "boolean", - "nullable": true - }, - "groupProject": { - "type": "boolean", - "nullable": true - }, - "volunteerFromHome": { - "type": "boolean", - "nullable": true - }, - "itemDonations": { - "type": "boolean", - "nullable": true - }, - "wheelchairAccessible": { - "type": "boolean", - "nullable": true - }, - "indoors": { - "type": "boolean", - "nullable": true - }, - "forYouthGroups": { - "type": "boolean", - "nullable": true - }, - "volunteerFromAnywhere": { - "type": "boolean", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.Mobile.RefreshTokenModel": { - "type": "object", - "properties": { - "clientId": { - "type": "string", - "nullable": true - }, - "clientSecret": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.OngoingInterestViewModel": { - "required": [ - "date", - "schedule" - ], - "type": "object", - "properties": { - "schedule": { - "minLength": 1, - "type": "string" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true, - "deprecated": true - }, - "postal": { - "type": "string", - "nullable": true, - "deprecated": true - }, - "city": { - "type": "string", - "nullable": true, - "deprecated": true - }, - "skills": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "comments": { - "type": "string", - "nullable": true - }, - "groupSize": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.OrganizationCreateRequest": { - "type": "object", - "properties": { - "autoRedirect": { - "type": "boolean" - }, - "banner": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "contactName": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "facebookPath": { - "type": "string", - "nullable": true - }, - "instagramPath": { - "type": "string", - "nullable": true - }, - "linkedInPath": { - "type": "string", - "nullable": true - }, - "locationString": { - "type": "string", - "nullable": true - }, - "logo": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "twitterPath": { - "type": "string", - "nullable": true - }, - "url": { - "type": "string", - "nullable": true - }, - "website": { - "type": "string", - "nullable": true - }, - "youTubePath": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.OrganizationProjectSearchRequest": { - "type": "object", - "properties": { - "includeAdminInfo": { - "type": "boolean" - }, - "isDisasterRecovery": { - "type": "boolean" - }, - "page": { - "type": "integer", - "format": "int32" - }, - "size": { - "type": "integer", - "format": "int32" - }, - "projectType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectType" - }, - "keywords": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "volunteerCauseId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.OrganizationTypeModel": { - "type": "object", - "properties": { - "organizationType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OrganizationType" - }, - "organizationId": { - "type": "string", - "format": "uuid" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.OrganizationUpdateRequest": { - "type": "object", - "properties": { - "autoRedirect": { - "type": "boolean" - }, - "banner": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "contactName": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "facebookPath": { - "type": "string", - "nullable": true - }, - "instagramPath": { - "type": "string", - "nullable": true - }, - "linkedInPath": { - "type": "string", - "nullable": true - }, - "locationString": { - "type": "string", - "nullable": true - }, - "logo": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "twitterPath": { - "type": "string", - "nullable": true - }, - "website": { - "type": "string", - "nullable": true - }, - "youTubePath": { - "type": "string", - "nullable": true - }, - "organizationType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OrganizationType" - }, - "volunteerCenterInfo": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.VolunteerCenterInfo" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.ProjectAnnouncementViewModel": { - "required": [ - "message", - "objectId", - "projectId", - "senderId", - "userIds" - ], - "type": "object", - "properties": { - "senderId": { - "minLength": 1, - "type": "string" - }, - "projectId": { - "minLength": 1, - "type": "string" - }, - "objectId": { - "minLength": 1, - "type": "string" - }, - "message": { - "minLength": 1, - "type": "string" - }, - "subject": { - "type": "string", - "nullable": true - }, - "userIds": { - "type": "array", - "items": { - "type": "string" - } - }, - "volunteerIds": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "isDisaster": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.ProjectLocationFilterValues": { - "required": [ - "filterValue" - ], - "type": "object", - "properties": { - "filterValue": { - "minLength": 1, - "type": "string" - }, - "address": { - "type": "string", - "nullable": true - }, - "postalCode": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "neighborhood": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "projectLocationType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectLocationType" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.ProjectSearchRequestV2": { - "required": [ - "page", - "size" - ], - "type": "object", - "properties": { - "page": { - "type": "integer", - "format": "int32" - }, - "size": { - "type": "integer", - "format": "int32" - }, - "projectTitleFilterValue": { - "type": "string", - "nullable": true - }, - "projectLocationFilterValues": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ProjectLocationFilterValues" - }, - "organizationNameFilterValue": { - "type": "string", - "nullable": true - }, - "projectUserNameFilterValues": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ProjectUserNameEmailFilterValues" - }, - "projectUserEmailFilterValues": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ProjectUserNameEmailFilterValues" - }, - "projectLongDescriptionFilterValue": { - "type": "string", - "nullable": true - }, - "startDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "startDateFilterModifier": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "endDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "endDateFilterModifier": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "projectStatusFilterValues": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "isUnlistedProject": { - "type": "boolean", - "nullable": true - }, - "isExpiredProject": { - "type": "boolean", - "nullable": true - }, - "sortBy": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.SortByFilterModifier" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.ProjectUserNameEmailFilterValues": { - "required": [ - "filterValue", - "userNameEmailFilterModifiers" - ], - "type": "object", - "properties": { - "filterValue": { - "minLength": 1, - "type": "string" - }, - "userNameEmailFilterModifiers": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.QuickSearchCreateRequest": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "searchType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.QuickSearchType" - }, - "adminProjectSearchParameters": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.ProjectSearchRequestV2" - }, - "adminUserSearchParameters": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.AdminUserSearchRequest" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.RecoverAccountViewModel": { - "required": [ - "email" - ], - "type": "object", - "properties": { - "email": { - "minLength": 1, - "type": "string", - "format": "email" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.ResendActivationEmail": { - "required": [ - "email" - ], - "type": "object", - "properties": { - "email": { - "minLength": 1, - "type": "string" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.ResetPasswordViewModel": { - "required": [ - "newPassword" - ], - "type": "object", - "properties": { - "newPassword": { - "maxLength": 100, - "minLength": 8, - "type": "string", - "format": "password" - }, - "confirmPassword": { - "type": "string", - "format": "password", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.SearchAdminProjectsViewModel": { - "type": "object", - "properties": { - "title": { - "type": "string", - "nullable": true - }, - "keyword": { - "type": "string", - "nullable": true - }, - "organization": { - "type": "string", - "nullable": true - }, - "adminName": { - "type": "string", - "nullable": true - }, - "submitter": { - "type": "string", - "nullable": true - }, - "location": { - "type": "string", - "nullable": true - }, - "page": { - "type": "integer", - "format": "int32" - }, - "size": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.SearchAdminProjectsViewModelv2": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.AdminProjectSearchFilter" - }, - "userId": { - "type": "string", - "nullable": true - }, - "filterValue": { - "type": "string", - "nullable": true - }, - "includeManaged": { - "type": "boolean" - }, - "includeOrgs": { - "type": "boolean" - }, - "page": { - "type": "integer", - "format": "int32" - }, - "size": { - "type": "integer", - "format": "int32" - }, - "orderBy": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.AdminSearchOrderBy" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.SearchAdminStoriesViewModel": { - "type": "object", - "properties": { - "filterValue": { - "type": "string", - "nullable": true - }, - "filter": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.SearchFilter" - }, - "includeManaged": { - "type": "boolean" - }, - "page": { - "type": "integer", - "format": "int32" - }, - "size": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.SearchOrganizationsViewModel": { - "type": "object", - "properties": { - "latitude": { - "type": "number", - "format": "double" - }, - "longitude": { - "type": "number", - "format": "double" - }, - "keywords": { - "type": "string", - "nullable": true - }, - "location": { - "type": "string", - "nullable": true - }, - "radius": { - "type": "integer", - "format": "int32" - }, - "radiusType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.DistanceType" - }, - "sortBy": { - "type": "string", - "nullable": true - }, - "page": { - "type": "integer", - "format": "int32" - }, - "size": { - "type": "integer", - "format": "int32" - }, - "organizationType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OrganizationType" - }, - "lang": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.SearchProjectsGlobalViewModel": { - "type": "object", - "properties": { - "keywords": { - "type": "string", - "nullable": true - }, - "page": { - "type": "integer", - "format": "int32" - }, - "size": { - "type": "integer", - "format": "int32" - }, - "language": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.SearchProjectsNewsletterModel": { - "type": "object", - "properties": { - "latitude": { - "type": "number", - "format": "double" - }, - "longitude": { - "type": "number", - "format": "double" - }, - "searchType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.SearchLocationType" - }, - "radius": { - "type": "integer", - "format": "int32" - }, - "radiusType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.DistanceType" - }, - "start": { - "type": "string", - "format": "date-time" - }, - "page": { - "type": "integer", - "format": "int32" - }, - "size": { - "type": "integer", - "format": "int32" - }, - "sortBy": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "browserLocale": { - "type": "string", - "nullable": true - }, - "getProjectSearchOrderBy": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectSearchOrderBy" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.SearchProjectsViewModel": { - "type": "object", - "properties": { - "latitude": { - "type": "number", - "format": "double" - }, - "longitude": { - "type": "number", - "format": "double" - }, - "searchType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.SearchLocationType" - }, - "radius": { - "type": "integer", - "format": "int32" - }, - "radiusType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.DistanceType" - }, - "start": { - "type": "string", - "format": "date-time" - }, - "page": { - "type": "integer", - "format": "int32" - }, - "size": { - "type": "integer", - "format": "int32" - }, - "sortBy": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "browserLocale": { - "type": "string", - "nullable": true - }, - "getProjectSearchOrderBy": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectSearchOrderBy" - }, - "keywords": { - "type": "string", - "nullable": true - }, - "location": { - "type": "string", - "nullable": true - }, - "end": { - "type": "string", - "format": "date-time" - }, - "suitableAllAges": { - "type": "boolean" - }, - "groupProject": { - "type": "boolean" - }, - "volunteerRemotely": { - "type": "boolean" - }, - "volunteerFromAnywhere": { - "type": "boolean" - }, - "itemDonations": { - "type": "boolean" - }, - "wheelchairAccessible": { - "type": "boolean" - }, - "indoors": { - "type": "boolean" - }, - "onGoing": { - "type": "boolean" - }, - "dtl": { - "type": "boolean" - }, - "skills": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "interests": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "userInitiatedSearch": { - "type": "boolean" - }, - "includeOrgInfo": { - "type": "boolean" - }, - "includeFilledProjects": { - "type": "boolean" - }, - "disasterRecoveryProjectsOnly": { - "type": "boolean" - }, - "daysOfWeek": { - "type": "array", - "items": { - "$ref": "#/components/schemas/System.DayOfWeek" - }, - "nullable": true - }, - "timesOfDay": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.TimeOfDay" - }, - "nullable": true - }, - "publishedOnly": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.SearchUsersViewModel": { - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "minLength": 1, - "type": "string" - }, - "page": { - "type": "integer", - "format": "int32" - }, - "size": { - "type": "integer", - "format": "int32" - }, - "orderBy": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.StatusChangeViewModel": { - "type": "object", - "properties": { - "reason": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.StoriesSearchViewModel": { - "type": "object", - "properties": { - "search": { - "type": "string", - "nullable": true - }, - "locationSearch": { - "type": "string", - "nullable": true - }, - "countryCode": { - "type": "string", - "nullable": true - }, - "page": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "size": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "radiusType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.DistanceType" - }, - "lang": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.SuccessStoryViewModel": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "body": { - "type": "string", - "nullable": true - }, - "images": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.ImagePairDetails" - }, - "nullable": true - }, - "mainImage": { - "$ref": "#/components/schemas/JustServe.Contracts.ImagePairDetails" - }, - "videos": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "videoURL": { - "type": "string", - "nullable": true - }, - "location": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.TimeSlotVolunteer": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "groupSize": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.UpdateUserModel": { - "type": "object", - "properties": { - "firstName": { - "maxLength": 50, - "minLength": 1, - "type": "string", - "nullable": true - }, - "lastName": { - "maxLength": 50, - "minLength": 1, - "type": "string", - "nullable": true - }, - "address": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "neighborhood": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "postal": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "countryCode": { - "type": "string", - "nullable": true - }, - "userName": { - "maxLength": 200, - "minLength": 5, - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "generalEmailOptIn": { - "type": "boolean", - "nullable": true - }, - "generalMarketingOptIn": { - "type": "boolean", - "nullable": true - }, - "volunteerNewsletter": { - "type": "boolean", - "nullable": true - }, - "includeSponsorAdminInfo": { - "type": "boolean", - "nullable": true - }, - "volunteerNewsletterRadius": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "adminNewsletter": { - "type": "boolean", - "nullable": true - }, - "skills": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "interests": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "tools": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "userSkills": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "userInterests": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "userTools": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "otherSkills": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "otherInterests": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "otherTools": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "suitableAllAges": { - "type": "boolean", - "nullable": true - }, - "groupProject": { - "type": "boolean", - "nullable": true - }, - "projectFiltersOpen": { - "type": "boolean", - "nullable": true - }, - "volunteerRemotely": { - "type": "boolean", - "nullable": true - }, - "itemDonations": { - "type": "boolean", - "nullable": true - }, - "wheelchairAccessible": { - "type": "boolean", - "nullable": true - }, - "indoors": { - "type": "boolean", - "nullable": true - }, - "disasterReliefRegistrationSeen": { - "type": "boolean", - "nullable": true - }, - "donateToDisasterReliefChecked": { - "type": "boolean", - "nullable": true - }, - "volunteerForDisasterReliefChecked": { - "type": "boolean", - "nullable": true - }, - "disasterReliefAvailabilityDate": { - "type": "string", - "format": "date-time" - }, - "keywords": { - "type": "string", - "nullable": true - }, - "timePref": { - "type": "integer", - "format": "int32" - }, - "radiusType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.DistanceType" - }, - "daysAvailable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/System.DayOfWeek" - }, - "nullable": true - }, - "timesAvailable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.TimeOfDay" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.UpsertProjectVolunteerHoursRequest": { - "type": "object", - "properties": { - "adminReportedHours": { - "type": "number", - "format": "double", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.VanityURLValidationModel": { - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "minLength": 1, - "type": "string" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.VolunteerManualModel": { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "volunteerLanguage": { - "type": "string", - "nullable": true - }, - "groupSize": { - "type": "integer", - "format": "int32" - }, - "email": { - "type": "string", - "nullable": true - }, - "adminReportedHours": { - "type": "number", - "format": "double" - }, - "phone": { - "type": "string", - "nullable": true - }, - "volunteerComments": { - "type": "string", - "nullable": true - }, - "skills": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "volunteerRecurringDate": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.VolunteerRecurringViewModel": { - "type": "object", - "properties": { - "skills": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "startTime": { - "type": "string", - "format": "date-time" - }, - "endTime": { - "type": "string", - "format": "date-time" - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "groupSize": { - "type": "integer", - "format": "int32" - }, - "volunteerComments": { - "type": "string", - "nullable": true - }, - "schedule": { - "type": "string", - "nullable": true - }, - "dateInterested": { - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.VolunteerViewModel": { - "type": "object", - "properties": { - "skills": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "dtl": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.DTLVolunteer" - }, - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "postal": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "removeExcludedShifts": { - "type": "boolean" - }, - "volunteerComments": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.WidgetProjectSearchModel": { - "type": "object", - "properties": { - "key": { - "type": "string", - "nullable": true - }, - "keywordSearch": { - "type": "string", - "nullable": true - }, - "locationSearch": { - "type": "string", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double" - }, - "longitude": { - "type": "number", - "format": "double" - }, - "locationSearchRadius": { - "type": "integer", - "format": "int32" - }, - "organizationId": { - "type": "string", - "nullable": true - }, - "stakeUnitId": { - "type": "string", - "nullable": true - }, - "includeOrgData": { - "type": "boolean" - }, - "page": { - "type": "integer", - "format": "int32" - }, - "size": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Requests.WidgetRequestModel": { - "type": "object", - "properties": { - "key": { - "type": "string", - "nullable": true - }, - "lastUpdatedDate": { - "type": "string", - "format": "date-time" - }, - "page": { - "type": "integer", - "format": "int32" - }, - "size": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.AdminLiteInfo": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "displayCity": { - "type": "string", - "nullable": true - }, - "displayState": { - "type": "string", - "nullable": true - }, - "displayPostalCode": { - "type": "string", - "nullable": true - }, - "displayCountry": { - "type": "string", - "nullable": true - }, - "adminRoleId": { - "type": "integer", - "format": "int32" - }, - "adminLead": { - "type": "boolean" - }, - "adminBoundaryName": { - "type": "string", - "nullable": true - }, - "boundaryUnitId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "orgId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "orgName": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.AdminPendingProjectCounts": { - "type": "object", - "properties": { - "pendingProjectCounts": { - "type": "integer", - "format": "int32" - }, - "organizationPendingProjectCounts": { - "type": "integer", - "format": "int32" - }, - "totalPendingProjectCounts": { - "type": "integer", - "format": "int32" - }, - "subordinatesPendingProjectCounts": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserPendingProjectCounts" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.AttachmentInfo": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "mimeType": { - "type": "string", - "nullable": true - }, - "fileName": { - "type": "string", - "nullable": true - }, - "hostedFileLocation": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.AttachmentResult": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "fileName": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.AttachmentSlim": { - "type": "object", - "properties": { - "mimeType": { - "type": "string", - "nullable": true - }, - "fileName": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.BoolResult": { - "type": "object", - "properties": { - "result": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.BoundaryDataResponse": { - "type": "object", - "properties": { - "boundaryPermissionId": { - "type": "string", - "nullable": true - }, - "adminId": { - "type": "string", - "nullable": true - }, - "adminFirstName": { - "type": "string", - "nullable": true - }, - "adminLastName": { - "type": "string", - "nullable": true - }, - "boundaryName": { - "type": "string", - "nullable": true - }, - "justServeRepUserId": { - "type": "string", - "nullable": true - }, - "boundaryType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.BoundaryType" - }, - "organizationType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OrganizationType" - }, - "roleId": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Role" - }, - "isLead": { - "type": "boolean" - }, - "isVacant": { - "type": "boolean" - }, - "isParent": { - "type": "boolean" - }, - "displayChildren": { - "type": "boolean" - }, - "ldsGeographyId": { - "type": "string", - "nullable": true - }, - "geographyType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - }, - "organizationId": { - "type": "string", - "nullable": true - }, - "civicGeographies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.CivicGeoBounded" - }, - "nullable": true - }, - "boundaryChildren": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.BoundaryDataResponse" - }, - "nullable": true - }, - "boundaryChildrenCount": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.CalendarProjectResponse": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "nullable": true - }, - "projectName": { - "type": "string", - "nullable": true - }, - "locationAndDates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectLocationDates" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.CityCountsResponse": { - "type": "object", - "properties": { - "cityName": { - "type": "string", - "nullable": true - }, - "civicCityId": { - "type": "string", - "nullable": true - }, - "cityCount": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.CivicChildResult": { - "type": "object", - "properties": { - "parentCivicId": { - "type": "string", - "format": "uuid" - }, - "civicId": { - "type": "string", - "format": "uuid" - }, - "name": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.CivicGeographyLimited": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - }, - "manageable": { - "type": "boolean", - "nullable": true - }, - "id": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "countryCode": { - "type": "string", - "nullable": true - }, - "civicCountryId": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "civicStateId": { - "type": "string", - "nullable": true - }, - "county": { - "type": "string", - "nullable": true - }, - "civicCountyId": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "civicCityId": { - "type": "string", - "nullable": true - }, - "neighborhood": { - "type": "string", - "nullable": true - }, - "civicNeighborhoodId": { - "type": "string", - "nullable": true - }, - "zipcode": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.CountryCountsResponse": { - "type": "object", - "properties": { - "countryTranslatedName": { - "type": "string", - "nullable": true - }, - "civicCountryId": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "stateCounts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.StateCountsResponse" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.CountryStatePair": { - "type": "object", - "properties": { - "countryInfo": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.CountryInfo" - }, - "country": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "county": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.CropedImageResponse": { - "type": "object", - "properties": { - "attachmentId": { - "type": "string", - "format": "uuid" - }, - "full": { - "type": "string", - "nullable": true - }, - "displayFilename": { - "type": "string", - "nullable": true - }, - "thumb": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.DynamicRoutingDataResponse": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "dynamicRouteType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.DynamicRouteType" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.EndorsementOrgInfoSlim": { - "type": "object", - "properties": { - "organizationId": { - "type": "string", - "nullable": true - }, - "endorsementStatus": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.EndorsementStatus" - }, - "updated": { - "type": "string", - "format": "date-time" - }, - "orgName": { - "type": "string", - "nullable": true - }, - "orgURL": { - "type": "string", - "nullable": true - }, - "orgInternalURL": { - "type": "string", - "nullable": true - }, - "orgLocation": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - }, - "logo": { - "type": "string", - "nullable": true - }, - "organizationType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OrganizationType" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.GeographyLimited": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - }, - "manageable": { - "type": "boolean", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.HealthCheckResponse": { - "type": "object", - "properties": { - "assemblyVersion": { - "type": "string", - "nullable": true - }, - "environment": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.HomepageProjectInfo": { - "type": "object", - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ImageUploadResponse": { - "type": "object", - "properties": { - "attachmentId": { - "type": "string", - "format": "uuid" - }, - "full": { - "type": "string", - "nullable": true - }, - "displayFilename": { - "type": "string", - "nullable": true - }, - "thumb": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.LDSGeographyLimited": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - }, - "manageable": { - "type": "boolean", - "nullable": true - }, - "id": { - "type": "string", - "nullable": true - }, - "ldsGeographyId": { - "type": "string", - "nullable": true - }, - "unitId": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "areaId": { - "type": "string", - "nullable": true - }, - "missionId": { - "type": "string", - "nullable": true - }, - "ccId": { - "type": "string", - "nullable": true - }, - "stakeId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.MSDynamicsFormattedUserV2": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "emailWeeklyNewsletter": { - "type": "boolean", - "nullable": true - }, - "emailProjectSponsorUpdates": { - "type": "boolean", - "nullable": true - }, - "emailProjectVolunteerUpdates": { - "type": "boolean", - "nullable": true - }, - "emailDREffort": { - "type": "boolean", - "nullable": true - }, - "emailDRCauses": { - "type": "boolean", - "nullable": true - }, - "lastUpdated": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "postalCode": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "address": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "suitableAllAges": { - "type": "boolean", - "nullable": true - }, - "groupProject": { - "type": "boolean", - "nullable": true - }, - "volunteerRemotely": { - "type": "boolean", - "nullable": true - }, - "itemDonations": { - "type": "boolean", - "nullable": true - }, - "wheelchairAccessible": { - "type": "boolean", - "nullable": true - }, - "indoors": { - "type": "boolean", - "nullable": true - }, - "skills": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "interests": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "tools": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "unsubscribeKey": { - "type": "string", - "nullable": true - }, - "deleted": { - "type": "boolean" - }, - "lastSignIn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "generalMarketingOptin": { - "type": "boolean", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.MSDynamicsProjectResults": { - "type": "object", - "properties": { - "totalResults": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.MSDynamicsUserResults": { - "type": "object", - "properties": { - "totalResults": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.DaysOfTheWeek": { - "type": "object", - "properties": { - "modified": { - "type": "string", - "format": "date-time" - }, - "ids": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.FAYTResponse": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "relativityScore": { - "type": "number", - "format": "double" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.Favoriteorganizations": { - "type": "object", - "properties": { - "ids": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "modified": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.Favoriteprojects": { - "type": "object", - "properties": { - "ids": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "modified": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.IdandName": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.Interests": { - "type": "object", - "properties": { - "modified": { - "type": "string", - "format": "date-time" - }, - "ids": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.MobileAttachment": { - "type": "object", - "properties": { - "locationURL": { - "type": "string", - "nullable": true - }, - "fileType": { - "type": "string", - "nullable": true - }, - "fileName": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.MobileContact": { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.MobileCountryNameInfo": { - "type": "object", - "properties": { - "usePostal": { - "type": "boolean" - }, - "countryName": { - "type": "string", - "nullable": true - }, - "countryCodeAlpha3": { - "type": "string", - "nullable": true - }, - "countryPhone": { - "type": "string", - "nullable": true - }, - "loginAge": { - "type": "string", - "nullable": true - }, - "inEuropeanUnion": { - "type": "boolean" - }, - "useMetricUnits": { - "type": "boolean" - }, - "twelveHourClock": { - "type": "boolean" - }, - "hideStateGeography": { - "type": "boolean" - }, - "hideCountyGeography": { - "type": "boolean" - }, - "houseNumAfterStreet": { - "type": "boolean" - }, - "states": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.MobileLocation": { - "type": "object", - "properties": { - "address": { - "type": "string", - "nullable": true - }, - "suite": { - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "neighborhood": { - "nullable": true - }, - "county": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "postal": { - "type": "string", - "nullable": true - }, - "countryCodeAlpha3": { - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double" - }, - "longitude": { - "type": "number", - "format": "double" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.MobileLocationObject": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "startLocal": { - "type": "string", - "format": "date-time" - }, - "endLocal": { - "type": "string", - "format": "date-time" - }, - "start": { - "type": "string", - "format": "date-time" - }, - "end": { - "type": "string", - "format": "date-time" - }, - "projectType": { - "type": "string", - "nullable": true - }, - "isVolunteersCapped": { - "type": "boolean" - }, - "isGroupsCapped": { - "type": "boolean" - }, - "groupLimit": { - "type": "integer", - "format": "int32" - }, - "volunteerLimit": { - "type": "integer", - "format": "int32" - }, - "volunteersNeeded": { - "type": "integer", - "format": "int32" - }, - "locationName": { - "type": "string", - "nullable": true - }, - "volunteerResponsibilities": { - "type": "string", - "nullable": true - }, - "isVolunteered": { - "type": "boolean" - }, - "ongoingProjectScheduleInformation": { - "type": "string", - "nullable": true - }, - "ongoingAvailabilitySchedule": { - "type": "string", - "nullable": true - }, - "ongoingAvailabilityDate": { - "type": "string", - "nullable": true - }, - "eventContact": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileContact" - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileLocation" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.MobileLocationSlim": { - "type": "object", - "properties": { - "modified": { - "type": "string", - "format": "date-time" - }, - "city": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "postalCode": { - "type": "string", - "nullable": true - }, - "countryCodeAlpha3": { - "type": "string", - "nullable": true - }, - "address": { - "type": "string", - "nullable": true - }, - "distanceUnits": { - "type": "string", - "nullable": true - }, - "clock": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.MobileOptions": { - "type": "object", - "properties": { - "languages": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.LocaleNames" - }, - "nullable": true - }, - "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.SkillInfo" - }, - "nullable": true - }, - "interests": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.IdandName" - }, - "nullable": true - }, - "countries": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileCountryNameInfo" - }, - "nullable": true - }, - "tools": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.IdandName" - }, - "nullable": true - }, - "daysOfTheWeek": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.IdandName" - }, - "nullable": true - }, - "timesOfDay": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.IdandName" - }, - "nullable": true - }, - "radiusOptions": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "copyrightYear": { - "type": "string", - "nullable": true - }, - "privacyUpdateDate": { - "type": "string", - "format": "date-time" - }, - "privacyURL": { - "type": "string", - "nullable": true - }, - "termsUpdateDate": { - "type": "string", - "format": "date-time" - }, - "termsURL": { - "type": "string", - "nullable": true - }, - "aboutURL": { - "type": "string", - "nullable": true - }, - "successStoriesURL": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.MobileOrg": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "organizationType": { - "type": "string", - "nullable": true - }, - "externalWebsiteUrl": { - "type": "string", - "nullable": true - }, - "justServeWebsiteUrl": { - "type": "string", - "nullable": true - }, - "logoUrl": { - "type": "string", - "nullable": true - }, - "bannerUrl": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "facebookUrl": { - "type": "string", - "nullable": true - }, - "googleUrl": { - "type": "string", - "nullable": true - }, - "twitterUrl": { - "type": "string", - "nullable": true - }, - "youTubeUrl": { - "type": "string", - "nullable": true - }, - "instagramUrl": { - "type": "string", - "nullable": true - }, - "linkedInUrl": { - "type": "string", - "nullable": true - }, - "owners": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOwner" - }, - "nullable": true - }, - "contact": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileContact" - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileLocation" - }, - "upcomingProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileUpcomingProject" - }, - "nullable": true - }, - "activeProjects": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "projectsOwned": { - "type": "integer", - "format": "int32" - }, - "endorsedOrgsCount": { - "type": "integer", - "format": "int32" - }, - "updated": { - "type": "string", - "format": "date-time" - }, - "isFavorite": { - "type": "boolean" - }, - "announcementTitle": { - "type": "string", - "nullable": true - }, - "announcementImage": { - "type": "string", - "nullable": true - }, - "announcementDescription": { - "type": "string", - "nullable": true - }, - "announcementLink": { - "type": "string", - "nullable": true - }, - "relativityScore": { - "type": "number", - "format": "double" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.MobileOrgSearchResponse": { - "type": "object", - "properties": { - "organizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileOrg" - }, - "nullable": true - }, - "totalElements": { - "type": "integer", - "format": "int32" - }, - "pageSize": { - "type": "integer", - "format": "int32" - }, - "firstPage": { - "type": "boolean" - }, - "lastPage": { - "type": "boolean" - }, - "totalPages": { - "type": "integer", - "format": "int32" - }, - "currentPage": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.MobileOwner": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.MobileProject": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "projectStatus": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectStatus" - }, - "projectType": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "isActive": { - "type": "boolean" - }, - "updated": { - "type": "string", - "format": "date-time" - }, - "projectImage": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "longDescription": { - "type": "string", - "nullable": true - }, - "attachments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileAttachment" - }, - "nullable": true - }, - "projectOptions": { - "$ref": "#/components/schemas/JustServe.Contracts.Requests.Mobile.ProjectOptions" - }, - "firstStartDate": { - "type": "string", - "format": "date-time" - }, - "lastEndDate": { - "type": "string", - "format": "date-time" - }, - "nextOpportunity": { - "type": "string", - "format": "date-time" - }, - "relatedSkills": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "relatedInterests": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "events": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileLocationObject" - }, - "nullable": true - }, - "organizationId": { - "type": "string", - "nullable": true - }, - "organizationName": { - "type": "string", - "nullable": true - }, - "orgDescription": { - "type": "string", - "nullable": true - }, - "orgExternalURL": { - "type": "string", - "nullable": true - }, - "orgURL": { - "type": "string", - "nullable": true - }, - "orgContactName": { - "type": "string", - "nullable": true - }, - "orgContactEmail": { - "type": "string", - "nullable": true - }, - "orgContactPhone": { - "type": "string", - "nullable": true - }, - "orgImageLogo": { - "type": "string", - "nullable": true - }, - "volunteerCenterId": { - "type": "string", - "nullable": true - }, - "volunteerCenterName": { - "type": "string", - "nullable": true - }, - "volunteerCenterLogo": { - "type": "string", - "nullable": true - }, - "projectCreated": { - "type": "string", - "format": "date-time" - }, - "isFavorite": { - "type": "boolean" - }, - "isVolunteered": { - "type": "boolean" - }, - "distanceScore": { - "type": "number", - "format": "double" - }, - "relativityScore": { - "type": "number", - "format": "double" - }, - "justServeWebsiteUrl": { - "type": "string", - "nullable": true - }, - "externalVolunteerURL": { - "type": "string", - "nullable": true - }, - "isExternalProject": { - "type": "boolean" - }, - "days": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "times": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "multipleTimes": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.MobileProjectSearchResponse": { - "type": "object", - "properties": { - "projects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileProject" - }, - "nullable": true - }, - "totalElements": { - "type": "integer", - "format": "int32" - }, - "totalElementsUnfiltered": { - "type": "integer", - "format": "int32" - }, - "pageSize": { - "type": "integer", - "format": "int32" - }, - "firstPage": { - "type": "boolean" - }, - "lastPage": { - "type": "boolean" - }, - "totalPages": { - "type": "integer", - "format": "int32" - }, - "currentPage": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.MobileUpcomingProject": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "projectImage": { - "type": "string", - "nullable": true - }, - "projectType": { - "type": "string", - "nullable": true - }, - "nextOpportunityVolunteersNeeded": { - "type": "integer", - "format": "int32" - }, - "nextOpportunityEventId": { - "type": "string", - "nullable": true - }, - "nextOpportunityStart": { - "type": "string", - "format": "date-time" - }, - "nextOpportunityEnd": { - "type": "string", - "format": "date-time" - }, - "nextOpportunityLocation": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.MobileUserResponseModel": { - "type": "object", - "properties": { - "statusCode": { - "type": "integer", - "format": "int32" - }, - "responseText": { - "type": "string", - "nullable": true - }, - "contentType": { - "type": "string", - "nullable": true - }, - "token": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.Token" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.MobileUser" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.Notificationsettings": { - "type": "object", - "properties": { - "modified": { - "type": "string", - "format": "date-time" - }, - "weeklyUpdates": { - "type": "boolean" - }, - "weeklyUpdatesRadius": { - "type": "integer", - "format": "int32" - }, - "statusEmails": { - "type": "boolean" - }, - "contactHelpDisasterRecovery": { - "type": "boolean" - }, - "contactDonateDisasterRelief": { - "type": "boolean" - }, - "notifyUpcomingVolunteeredProjects": { - "type": "boolean" - }, - "notifyUpcomingVolunteeredProjectsDaysPrior": { - "type": "integer", - "format": "int32" - }, - "notifyByMobilePhone": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.Projectsearchpreferences": { - "type": "object", - "properties": { - "modified": { - "type": "string", - "format": "date-time" - }, - "suitableForAllAges": { - "type": "boolean" - }, - "groupProject": { - "type": "boolean" - }, - "projectFiltersOpen": { - "type": "boolean" - }, - "volunteerFromHome": { - "type": "boolean" - }, - "volunteerFromAnywhere": { - "type": "boolean" - }, - "itemDonations": { - "type": "boolean" - }, - "wheelchairAccessible": { - "type": "boolean" - }, - "indoors": { - "type": "boolean" - }, - "forYouthGroups": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.SkillInfo": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "category": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.Skills": { - "type": "object", - "properties": { - "modified": { - "type": "string", - "format": "date-time" - }, - "ids": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.TimesOfDay": { - "type": "object", - "properties": { - "modified": { - "type": "string", - "format": "date-time" - }, - "ids": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Mobile.Tools": { - "type": "object", - "properties": { - "modified": { - "type": "string", - "format": "date-time" - }, - "ids": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Name": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "nullable": true - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.OnGoingSlim": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "start": { - "type": "string", - "format": "date-time" - }, - "end": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.OrganizationLite": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "name": { - "type": "string", - "nullable": true - }, - "logo": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "contactName": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "url": { - "type": "string", - "nullable": true - }, - "ownerUserId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "ownerUserName": { - "type": "string", - "nullable": true - }, - "leadAdminUserId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "leadAdminUserName": { - "type": "string", - "nullable": true - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.OrganizationLocationLite" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.OrganizationLocationLite": { - "type": "object", - "properties": { - "displayAddress": { - "type": "string", - "nullable": true - }, - "displayAddress2": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "zipCode": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.OrganizationResult": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "organizationOwners": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSlim" - }, - "nullable": true - }, - "organizationType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OrganizationType" - }, - "language": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "website": { - "type": "string", - "nullable": true - }, - "url": { - "type": "string", - "nullable": true - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - }, - "logo": { - "type": "string", - "nullable": true - }, - "banner": { - "type": "string", - "nullable": true - }, - "facebookPath": { - "type": "string", - "nullable": true - }, - "googlePath": { - "type": "string", - "nullable": true - }, - "twitterPath": { - "type": "string", - "nullable": true - }, - "youTubePath": { - "type": "string", - "nullable": true - }, - "instagramPath": { - "type": "string", - "nullable": true - }, - "linkedInPath": { - "type": "string", - "nullable": true - }, - "contactName": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "linkedProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSlim" - }, - "nullable": true - }, - "projectsOwned": { - "type": "integer", - "format": "int32" - }, - "endorsedOrgsCount": { - "type": "integer", - "format": "int32" - }, - "orgIds": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "associatedProjectIds": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time" - }, - "updated": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "string", - "nullable": true - }, - "updatedBy": { - "type": "string", - "nullable": true - }, - "distanceScore": { - "type": "number", - "format": "double" - }, - "relativityScore": { - "type": "number", - "format": "double" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.OrganizationSearchResponse": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "format": "int32" - }, - "organizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.OrganizationResult" - }, - "nullable": true - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.LocationRad" - }, - "isLocationSupported": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.OrganizationSearchResults": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "organizationList": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.OrganizationResult" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.OrganizationSlim": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "organizationType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OrganizationType" - }, - "title": { - "type": "string", - "nullable": true - }, - "logo": { - "type": "string", - "nullable": true - }, - "url": { - "type": "string", - "nullable": true - }, - "internalURL": { - "type": "string", - "nullable": true - }, - "website": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "contactName": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "isIndividualProject": { - "type": "boolean" - }, - "status": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OrganizationStatus" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.Personalsettings": { - "type": "object", - "properties": { - "modified": { - "type": "string", - "format": "date-time" - }, - "username": { - "type": "string", - "nullable": true - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.PrivacyTermsDates": { - "type": "object", - "properties": { - "privacyDate": { - "type": "string", - "nullable": true - }, - "termsDate": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectAdmin": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "status": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectStatus" - }, - "projectType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectType" - }, - "title": { - "type": "string", - "nullable": true - }, - "parsedLocation": { - "type": "string", - "nullable": true - }, - "longDescription": { - "type": "string", - "nullable": true - }, - "isExpiredProject": { - "type": "boolean" - }, - "isUnlistedProject": { - "type": "boolean" - }, - "startDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "endDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "signupType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectSignupType" - }, - "locationType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectLocationType" - }, - "submitterId": { - "type": "string", - "format": "uuid" - }, - "submitterName": { - "type": "string", - "nullable": true - }, - "submitterEmail": { - "type": "string", - "nullable": true - }, - "ownerId": { - "type": "string", - "format": "uuid" - }, - "ownerName": { - "type": "string", - "nullable": true - }, - "ownerEmail": { - "type": "string", - "nullable": true - }, - "sponsorId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "sponsorName": { - "type": "string", - "nullable": true - }, - "sponsorEmail": { - "type": "string", - "nullable": true - }, - "organizationId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "organizationName": { - "type": "string", - "nullable": true - }, - "organizationUrl": { - "type": "string", - "nullable": true - }, - "ownerLog": { - "type": "string", - "nullable": true - }, - "timeType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectTimeType" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectAttributes": { - "type": "object", - "properties": { - "suitableForAllAges": { - "type": "boolean" - }, - "groupProject": { - "type": "boolean" - }, - "itemDonations": { - "type": "boolean" - }, - "wheelchairAccessible": { - "type": "boolean" - }, - "indoors": { - "type": "boolean" - }, - "forYouthGroups": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectBasicInformation": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "title": { - "type": "string", - "nullable": true - }, - "startDateTimeOffset": { - "type": "string", - "format": "date-time" - }, - "endDateTimeOffset": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectCard": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "statusId": { - "type": "integer", - "format": "int32" - }, - "projectTypeId": { - "type": "integer", - "format": "int32" - }, - "title": { - "type": "string", - "nullable": true - }, - "shortDescription": { - "type": "string", - "nullable": true - }, - "imagePath": { - "type": "string", - "nullable": true - }, - "organizationName": { - "type": "string", - "nullable": true - }, - "suitableAllAges": { - "type": "boolean" - }, - "groupProjects": { - "type": "boolean" - }, - "volunteerRemotely": { - "type": "boolean" - }, - "volunteerFromAnywhere": { - "type": "boolean" - }, - "itemDonations": { - "type": "boolean" - }, - "wheelchairAccessible": { - "type": "boolean" - }, - "indoors": { - "type": "boolean" - }, - "forYouthGroups": { - "type": "boolean" - }, - "totalNextOpportunities": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "regionSelected": { - "type": "boolean" - }, - "nextOpportunity": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectCardOpportunity" - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectCardLocation" - }, - "countryCode": { - "type": "string", - "nullable": true - }, - "boundaries": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RegionCivicGeography" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectCardLocation": { - "type": "object", - "properties": { - "city": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "postal": { - "type": "string", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double" - }, - "longitude": { - "type": "number", - "format": "double" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectCardOpportunity": { - "type": "object", - "properties": { - "projectEventId": { - "type": "string", - "format": "uuid" - }, - "start": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "end": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "volunteersNeeded": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "timezone": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectDate": { - "type": "object", - "properties": { - "dtlId": { - "type": "string", - "nullable": true - }, - "timeSlotId": { - "type": "string", - "nullable": true - }, - "ongoingId": { - "type": "string", - "nullable": true - }, - "volunteeredRecurrenceId": { - "type": "string", - "nullable": true - }, - "recurringTimeId": { - "type": "string", - "nullable": true - }, - "startDate": { - "type": "string", - "format": "date-time" - }, - "endDate": { - "type": "string", - "format": "date-time" - }, - "needed": { - "type": "integer", - "format": "int32" - }, - "volunteered": { - "type": "integer", - "format": "int32" - }, - "totalVolunteersNeeded": { - "type": "integer", - "format": "int32" - }, - "groupLimit": { - "type": "integer", - "format": "int32" - }, - "eventCapReached": { - "type": "boolean" - }, - "volunteerResponsibilities": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectEventCustom": { - "type": "object", - "properties": { - "projectEventId": { - "type": "string", - "format": "uuid" - }, - "projectEventStartDateTime": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "projectEventStartDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "projectEventTimeString": { - "type": "string", - "nullable": true - }, - "volunteerResponsibility": { - "type": "string", - "nullable": true - }, - "projectEventStatus": { - "type": "integer", - "format": "int32" - }, - "currentVolunteers": { - "type": "integer", - "format": "int32" - }, - "totalVolunteersNeeded": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "volunteerCap": { - "type": "boolean" - }, - "groupLimit": { - "type": "integer", - "format": "int32" - }, - "groupCap": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectFiltersTranslation": { - "type": "object", - "properties": { - "language": { - "type": "string", - "nullable": true - }, - "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.keyvalue" - }, - "nullable": true - }, - "interests": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.keyvalue" - }, - "nullable": true - }, - "tools": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.keyvalue" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectLocationDates": { - "type": "object", - "properties": { - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - }, - "projectDates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectDate" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectPreview": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "imagePath": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "start": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "end": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "ongoing": { - "type": "boolean" - }, - "remote": { - "type": "boolean" - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - }, - "boundaries": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.RegionCivicGeography" - }, - "nullable": true - }, - "volunteersNeeded": { - "type": "integer", - "format": "int32" - }, - "multipleTimes": { - "type": "boolean" - }, - "organizationName": { - "type": "string", - "nullable": true - }, - "organizationURL": { - "type": "string", - "nullable": true - }, - "isSponsor": { - "type": "boolean" - }, - "underReview": { - "type": "boolean" - }, - "projectAttributes": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectAttributes" - }, - "projectType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectType" - }, - "dtlId": { - "type": "string", - "nullable": true - }, - "timeSlotId": { - "type": "string", - "nullable": true - }, - "ongoingId": { - "type": "string", - "nullable": true - }, - "volunteeredRecurrenceId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectResponse": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "projectType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectType" - }, - "status": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectStatus" - }, - "title": { - "type": "string", - "nullable": true - }, - "imagePath": { - "type": "string", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "start": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "startFormatted": { - "type": "string", - "format": "date-time" - }, - "end": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "endFormatted": { - "type": "string", - "format": "date-time" - }, - "nextOpportunityEventId": { - "type": "string", - "nullable": true - }, - "nextOpportunityStart": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "nextOpportunityEnd": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "timeSlots": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.TimeSlotSlim" - }, - "nullable": true - }, - "onGoing": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.OnGoingSlim" - }, - "nullable": true - }, - "adminInfo": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.AdminInfo" - }, - "nullable": true - }, - "shortDescription": { - "type": "string", - "nullable": true - }, - "distanceScore": { - "type": "number", - "format": "double" - }, - "relativityScore": { - "type": "number", - "format": "double" - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.LocationRad" - }, - "locations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.LocationRad" - }, - "nullable": true - }, - "multipleLocations": { - "type": "boolean" - }, - "multipleTimes": { - "type": "boolean" - }, - "ongoing": { - "type": "boolean" - }, - "remote": { - "type": "boolean" - }, - "linkedOrganization": { - "type": "string", - "nullable": true - }, - "organizationName": { - "type": "string", - "nullable": true - }, - "organizationURL": { - "type": "string", - "nullable": true - }, - "organizationExternalURL": { - "type": "string", - "nullable": true - }, - "organizationLogo": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "isActive": { - "type": "boolean" - }, - "isIndividualProject": { - "type": "boolean" - }, - "isDirectlyOwnedOrSponsored": { - "type": "boolean" - }, - "isOwnedOrRepresentedViaOrganization": { - "type": "boolean" - }, - "updated": { - "type": "string", - "format": "date-time" - }, - "projectOwnerName": { - "type": "string", - "nullable": true - }, - "projectOwnerUserId": { - "type": "string", - "nullable": true - }, - "volunteerFromAnywhere": { - "type": "boolean" - }, - "volunteersNeeded": { - "type": "integer", - "format": "int32" - }, - "underReview": { - "type": "boolean" - }, - "projectAttributes": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectAttributes" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectSearchResponse": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "format": "int32" - }, - "projects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectResponse" - }, - "nullable": true - }, - "searchLatitude": { - "type": "number", - "format": "double" - }, - "searchLongitude": { - "type": "number", - "format": "double" - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.LocationRad" - }, - "isLocationSupported": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectSlim": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "projectExpired": { - "type": "boolean" - }, - "orgAuthorizationPending": { - "type": "boolean", - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectStatus" - }, - "startDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "endDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "locations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - }, - "nullable": true - }, - "lastChangeReason": { - "type": "string", - "nullable": true - }, - "needsAttention": { - "type": "boolean", - "nullable": true - }, - "isActive": { - "type": "boolean", - "nullable": true - }, - "isUnlistedProject": { - "type": "boolean" - }, - "isDirectlyOwnedOrSponsored": { - "type": "boolean" - }, - "isOwnedOrRepresentedViaOrganization": { - "type": "boolean" - }, - "isIndividualProject": { - "type": "boolean" - }, - "projectOwnerName": { - "type": "string", - "nullable": true - }, - "projectOwnerUserId": { - "type": "string", - "nullable": true - }, - "relativityScore": { - "type": "number", - "format": "double" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectTiny": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "format": "uuid" - }, - "skillIds": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "interestIds": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectVolunteerHeader": { - "type": "object", - "properties": { - "shiftTitle": { - "type": "string", - "nullable": true - }, - "id": { - "type": "string", - "nullable": true - }, - "dtlId": { - "type": "string", - "nullable": true - }, - "time": { - "type": "string", - "nullable": true - }, - "timeFormatted": { - "type": "string", - "format": "date-time" - }, - "volunteersTotal": { - "type": "integer", - "format": "int32" - }, - "volunteersNeeded": { - "type": "integer", - "format": "int32" - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - }, - "volunteers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.VolunteerDetails" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectVolunteersInterested": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "groupProject": { - "type": "boolean" - }, - "isOngoing": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectVolunteerHeader" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectsAndIdList": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "format": "int32" - }, - "ids": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "projects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectResponse" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectsSlimSearchResults": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "format": "int32" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSlim" - }, - "projects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSlim" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ProjectsView": { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "id": { - "type": "string", - "nullable": true - }, - "logo": { - "type": "string", - "nullable": true - }, - "url": { - "type": "string", - "nullable": true - }, - "totalProjectCount": { - "type": "integer", - "format": "int32" - }, - "projects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectResponse" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.QuickSearchTitle": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "title": { - "type": "string", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ReportableProjectSub": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "onGoing": { - "type": "boolean" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "hours": { - "type": "number", - "format": "double" - }, - "timeSlotId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.ReportedHours": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "nullable": true - }, - "logo": { - "type": "string", - "nullable": true - }, - "sub": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ReportableProjectSub" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.SearchResponseObject": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "customField": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.SearchResponseWithRelativityScore": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "customField": { - "type": "string", - "nullable": true - }, - "relativityScore": { - "type": "number", - "format": "double" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.StateCountsResponse": { - "type": "object", - "properties": { - "stateName": { - "type": "string", - "nullable": true - }, - "civicStateId": { - "type": "string", - "nullable": true - }, - "cityCounts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.CityCountsResponse" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.StoryLimited": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "projectId": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "introduction": { - "type": "string", - "nullable": true - }, - "body": { - "type": "string", - "nullable": true - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.LocationRad" - }, - "relativityScore": { - "type": "number", - "format": "double" - }, - "image": { - "$ref": "#/components/schemas/JustServe.Contracts.ImagePairDetails" - }, - "videoURL": { - "type": "string", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time" - }, - "created": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.StoryMinimal": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "projectTitle": { - "type": "string", - "nullable": true - }, - "projectId": { - "type": "string", - "nullable": true - }, - "projectExpired": { - "type": "boolean" - }, - "posted": { - "type": "string", - "format": "date-time" - }, - "ownerId": { - "type": "string", - "nullable": true - }, - "ownerName": { - "type": "string", - "nullable": true - }, - "projectIsActive": { - "type": "boolean" - }, - "relativityScore": { - "type": "number", - "format": "double" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.StorySearchResults": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "format": "int32" - }, - "stories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.StoryMinimal" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.SuggestionResponse": { - "type": "object", - "properties": { - "location": { - "type": "string", - "nullable": true - }, - "locationData": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.LocationRad" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.TimeSlotSlim": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "start": { - "type": "string", - "format": "date-time" - }, - "startFormatted": { - "type": "string", - "format": "date-time" - }, - "end": { - "type": "string", - "format": "date-time" - }, - "endFormatted": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.UpdatedBy": { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "boundaryName": { - "type": "string", - "nullable": true - }, - "role": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Role" - }, - "isLead": { - "type": "boolean" - }, - "updatedDate": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.UserLocationCheckResponse": { - "type": "object", - "properties": { - "internationalCivicAdmin": { - "type": "boolean" - }, - "internationalLDSAdmin": { - "type": "boolean" - }, - "internationalAdmin": { - "type": "boolean" - }, - "usaCivicAdmin": { - "type": "boolean" - }, - "usaldsAdmin": { - "type": "boolean" - }, - "usaAdmin": { - "type": "boolean" - }, - "utahLDSAdmin": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.UserNewsletter": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "volunteerNewsletter": { - "type": "boolean" - }, - "username": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double" - }, - "latitude": { - "type": "number", - "format": "double" - }, - "interests": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "skills": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "tools": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "isDeleted": { - "type": "boolean" - }, - "locale": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.UserPendingProject": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "format": "uuid" - }, - "projectTitle": { - "type": "string", - "nullable": true - }, - "projectLocation": { - "type": "string", - "nullable": true - }, - "projectSubmittedDate": { - "type": "string", - "format": "date-time" - }, - "projectHoursSinceSubmitted": { - "type": "integer", - "format": "int32" - }, - "projectOwnerId": { - "type": "string", - "format": "uuid" - }, - "projectOwnerName": { - "type": "string", - "nullable": true - }, - "projectSubmitterId": { - "type": "string", - "format": "uuid" - }, - "projectSubmitterName": { - "type": "string", - "nullable": true - }, - "projectSignupType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectSignupType" - }, - "projectType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectType" - }, - "projectLocationType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectLocationType" - }, - "projectMultipleTimes": { - "type": "boolean", - "nullable": true - }, - "projectExternalRedirect": { - "type": "boolean" - }, - "projectOwnerLog": { - "type": "string", - "nullable": true - }, - "unlisted": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.UserPendingProjectCounts": { - "type": "object", - "properties": { - "pendingProjectCounts": { - "type": "integer", - "format": "int32" - }, - "organizationPendingProjectCounts": { - "type": "integer", - "format": "int32" - }, - "totalPendingProjectCounts": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.UserResult": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "userName": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "address": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "postal": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "countryCode": { - "type": "string", - "nullable": true - }, - "countryCode2Char": { - "type": "string", - "nullable": true - }, - "stakeUnitNumber": { - "type": "string", - "nullable": true - }, - "areaUnitNumber": { - "type": "string", - "nullable": true - }, - "areaName": { - "type": "string", - "nullable": true - }, - "areaGeographyId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "isActive": { - "type": "boolean" - }, - "trainedDate": { - "type": "string", - "format": "date-time" - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "keywords": { - "type": "string", - "nullable": true - }, - "interests": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "skills": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "tools": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "userSkills": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "userInterests": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "userTools": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "otherSkills": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "otherInterests": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "otherTools": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "suitableAllAges": { - "type": "boolean" - }, - "groupProject": { - "type": "boolean" - }, - "projectFiltersOpen": { - "type": "boolean" - }, - "volunteerRemotely": { - "type": "boolean" - }, - "itemDonations": { - "type": "boolean" - }, - "wheelchairAccessible": { - "type": "boolean" - }, - "indoors": { - "type": "boolean" - }, - "forYouthGroups": { - "type": "boolean" - }, - "sponsorRole": { - "type": "boolean" - }, - "timePref": { - "type": "integer", - "format": "int32" - }, - "permissions": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "permissionsText": { - "type": "string", - "nullable": true - }, - "isAdmin": { - "type": "boolean" - }, - "isSuperAdmin": { - "type": "boolean" - }, - "assignedLDSAreas": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "generalEmailOptIn": { - "type": "boolean" - }, - "generalMarketingOptIn": { - "type": "boolean", - "nullable": true - }, - "volunteerNewsletter": { - "type": "boolean" - }, - "includeSponsorAdminInfo": { - "type": "boolean" - }, - "volunteerNewsletterRadius": { - "type": "integer", - "format": "int32" - }, - "radiusType": { - "type": "integer", - "format": "int32" - }, - "adminNewsletter": { - "type": "boolean" - }, - "viewedWhatsNew": { - "type": "boolean" - }, - "favoriteProjects": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "favoriteOrganizations": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "volunteeredProjects": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "volunteeredTimeSlots": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectResponse" - }, - "nullable": true - }, - "reportedHours": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ReportedHours" - }, - "nullable": true - }, - "ownsDrafts": { - "type": "integer", - "format": "int32" - }, - "ownsProjects": { - "type": "integer", - "format": "int32" - }, - "disasterReliefRegistrationSeen": { - "type": "boolean", - "nullable": true - }, - "donateToDisasterReliefChecked": { - "type": "boolean", - "nullable": true - }, - "volunteerForDisasterReliefChecked": { - "type": "boolean", - "nullable": true - }, - "daysAvailable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/System.DayOfWeek" - }, - "nullable": true - }, - "timesAvailable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.TimeOfDay" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.UserResultBounded": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "role": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Role" - }, - "isLead": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "keywords": { - "type": "string", - "nullable": true - }, - "isActive": { - "type": "boolean" - }, - "updatedBy": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UpdatedBy" - }, - "permissions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Authentication.BoundaryPermissionBounded" - }, - "nullable": true - }, - "civicBoundaries": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.GeographyBounded" - }, - "nullable": true - }, - "churchBoundaries": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Geographies.GeographyBounded" - }, - "nullable": true - }, - "organizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.OrganizationBounded" - }, - "nullable": true - }, - "pendingOrganizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.ProjectBounded" - }, - "nullable": true - }, - "pendingProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.ProjectBounded" - }, - "nullable": true - }, - "activeProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.ProjectBounded" - }, - "nullable": true - }, - "historicalProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.ProjectBounded" - }, - "nullable": true - }, - "draftProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.ProjectBounded" - }, - "nullable": true - }, - "templateProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Projects.ProjectBounded" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.UserResultLimited": { - "type": "object", - "properties": { - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "email": { - "type": "string", - "nullable": true - }, - "userId": { - "type": "string", - "nullable": true - }, - "projects": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSlim" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.UserSearchResult": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "userName": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "address": { - "type": "string", - "nullable": true - }, - "neighborhood": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "postal": { - "type": "string", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "countryCode": { - "type": "string", - "nullable": true - }, - "isActive": { - "type": "boolean" - }, - "skills": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "interests": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "tools": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "keywords": { - "type": "string", - "nullable": true - }, - "adminRole": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Role" - }, - "organizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Organizations.Organization" - }, - "nullable": true - }, - "permissions": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "assignedAreas": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "churchBoundaries": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "civicBoundaries": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "manageableAdmin": { - "type": "boolean" - }, - "showsSensitiveInfo": { - "type": "boolean" - }, - "distance": { - "type": "integer", - "format": "int32" - }, - "relativityScore": { - "type": "number", - "format": "double" - }, - "volunteerProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.ProjectSlim" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.UserSearchResults": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "format": "int32" - }, - "users": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSearchResult" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.UserSlim": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true, - "deprecated": true - }, - "email": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.UserSlimSearchResult": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "userName": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "adminRole": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Role" - }, - "adminRoleName": { - "type": "string", - "nullable": true - }, - "permissions": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "organizationName": { - "type": "string", - "nullable": true - }, - "churchBoundaryName": { - "type": "string", - "nullable": true - }, - "showsSensitiveInfo": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.UserSlimSearchResults": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "format": "int32" - }, - "users": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.UserSlimSearchResult" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.VolunteerDetails": { - "type": "object", - "properties": { - "volunteerId": { - "type": "string", - "nullable": true - }, - "userId": { - "type": "string", - "nullable": true - }, - "facebook": { - "type": "boolean" - }, - "name": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "volunteerLanguage": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "hoursServed": { - "type": "number", - "format": "double" - }, - "adminReportedHours": { - "type": "number", - "format": "double" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "dateFormatted": { - "type": "string", - "format": "date-time" - }, - "volunteeredOn": { - "type": "string", - "format": "date-time" - }, - "groupSize": { - "type": "integer", - "format": "int32" - }, - "neighborhood": { - "type": "string", - "nullable": true - }, - "volunteerNotes": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "state": { - "type": "string", - "nullable": true - }, - "postal": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.VolunteerLiteDetails": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "volunteerId": { - "type": "string", - "format": "uuid" - }, - "name": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "hoursServed": { - "type": "number", - "format": "double" - }, - "adminReportedHours": { - "type": "number", - "format": "double" - }, - "groupSize": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "volunteerDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "projectEventId": { - "type": "string", - "format": "uuid" - }, - "projectEventStartDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "projectEventStartDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "projectEventEndDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "projectEventEndDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "note": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.VolunteerMatchProject": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "nullable": true - }, - "link": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "shortDescription": { - "type": "string", - "nullable": true - }, - "longDescription": { - "type": "string", - "nullable": true - }, - "image": { - "type": "string", - "nullable": true - }, - "location": { - "type": "string", - "nullable": true - }, - "suitableAllAges": { - "type": "boolean" - }, - "groupProjects": { - "type": "boolean" - }, - "volunteerRemotely": { - "type": "boolean" - }, - "volunteerFromAnywhere": { - "type": "boolean" - }, - "itemDonations": { - "type": "boolean" - }, - "wheelchairAccessible": { - "type": "boolean" - }, - "indoors": { - "type": "boolean" - }, - "forYouthGroups": { - "type": "boolean" - }, - "skills": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "interests": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "inPerson": { - "type": "boolean" - }, - "lastUpdated": { - "type": "string", - "nullable": true - }, - "updateStatus": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.WidgetProjectStatus" - }, - "orgId": { - "type": "string", - "nullable": true - }, - "orgName": { - "type": "string", - "nullable": true - }, - "orgURL": { - "type": "string", - "nullable": true - }, - "shifts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.VolunteerMatchProjectShift" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.VolunteerMatchProjectShift": { - "type": "object", - "properties": { - "start": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "end": { - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.WidgetProjectResults": { - "type": "object", - "properties": { - "totalResults": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Responses.WidgetProjectStatus": { - "enum": [ - "Active", - "Inactive" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Responses.keyvalue": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "value": { - "type": "string", - "nullable": true - }, - "lang": { - "type": "string", - "nullable": true - }, - "category": { - "type": "string", - "nullable": true - }, - "current": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Story": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "projectId": { - "type": "string", - "nullable": true - }, - "projectTitle": { - "type": "string", - "nullable": true - }, - "isProjectActive": { - "type": "boolean" - }, - "language": { - "type": "string", - "nullable": true - }, - "ownerId": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "introduction": { - "type": "string", - "nullable": true - }, - "body": { - "type": "string", - "nullable": true - }, - "images": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.ImagePairDetails" - }, - "nullable": true - }, - "mainImage": { - "$ref": "#/components/schemas/JustServe.Contracts.ImagePairDetails" - }, - "videos": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "videoUrl": { - "type": "string", - "nullable": true - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "updated": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "string", - "nullable": true - }, - "updatedBy": { - "type": "string", - "nullable": true - }, - "appendedIntro": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Users.DynamicsNewsletterInfo": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "nullable": true - }, - "emailProjectData": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.ProjectIdAndDynamicsType" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Users.DynamicsNewsletterInfoAllUsers": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "runDate": { - "type": "string", - "format": "date-time" - }, - "userNewsletterInfo": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.DynamicsNewsletterInfo" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Users.DynamicsNewsletterInfoMetadata": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "runDate": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Users.FavoriteOrganization": { - "type": "object", - "properties": { - "organizationId": { - "type": "string", - "nullable": true - }, - "favoritedOrgOn": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Users.FavoriteProject": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "nullable": true - }, - "favoritedProjectOn": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Users.MobileUser": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "nullable": true - }, - "shouldPromptUserForZip": { - "type": "boolean" - }, - "userVerified": { - "type": "boolean" - }, - "showProfileIncompleteNotification": { - "type": "boolean" - }, - "personal": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Personalsettings" - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.MobileLocationSlim" - }, - "projectOptions": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Projectsearchpreferences" - }, - "contactOptions": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Notificationsettings" - }, - "interests": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Interests" - }, - "skills": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Skills" - }, - "tools": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Tools" - }, - "daysOfTheWeek": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.DaysOfTheWeek" - }, - "timesOfDay": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.TimesOfDay" - }, - "favoriteOrganizations": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Favoriteorganizations" - }, - "favoriteProjects": { - "$ref": "#/components/schemas/JustServe.Contracts.Responses.Mobile.Favoriteprojects" - }, - "volunteeredEvents": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Users.NotificationPreferences": { - "type": "object", - "properties": { - "notifyUpcomingVolunteeredProjects": { - "type": "boolean" - }, - "notifyUpcomingVolunteeredProjectsDaysPrior": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Users.ProjectIdAndDynamicsType": { - "type": "object", - "properties": { - "sectionType": { - "type": "string", - "nullable": true - }, - "projectId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Users.User": { - "required": [ - "firstName" - ], - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "firstName": { - "minLength": 1, - "type": "string" - }, - "lastName": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "userName": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "keywords": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Locations.Location" - }, - "unsubscribeDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "facebookId": { - "type": "string", - "nullable": true - }, - "facebookZipCodeNotified": { - "type": "boolean" - }, - "googleUserId": { - "type": "string", - "nullable": true - }, - "appleUserId": { - "type": "string", - "nullable": true - }, - "generalEmailOptIn": { - "type": "boolean" - }, - "generalMarketingOptIn": { - "type": "boolean", - "nullable": true - }, - "volunteerNewsletter": { - "type": "boolean" - }, - "receiveTexts": { - "type": "boolean" - }, - "includeSponsorAdminInfo": { - "type": "boolean" - }, - "volunteerNewsletterRadius": { - "type": "integer", - "format": "int32" - }, - "radiusType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.DistanceType" - }, - "adminNewsletter": { - "type": "boolean" - }, - "adminNewsletterLastNotified": { - "type": "string", - "format": "date-time" - }, - "favoriteOrganizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.FavoriteOrganization" - }, - "nullable": true - }, - "favoriteProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.FavoriteProject" - }, - "nullable": true - }, - "roles": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "claims": { - "type": "array", - "items": { - "$ref": "#/components/schemas/System.Security.Claims.Claim" - }, - "nullable": true - }, - "isActive": { - "type": "boolean" - }, - "lockoutCount": { - "type": "integer", - "format": "int32" - }, - "trainedDate": { - "type": "string", - "format": "date-time" - }, - "lockoutDateTime": { - "type": "string", - "format": "date-time" - }, - "skills": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true, - "deprecated": true - }, - "interests": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true, - "deprecated": true - }, - "tools": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true, - "deprecated": true - }, - "userSkills": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "userInterests": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "userTools": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "daysAvailableList": { - "type": "array", - "items": { - "$ref": "#/components/schemas/System.DayOfWeek" - }, - "nullable": true - }, - "timesAvailableList": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.TimeOfDay" - }, - "nullable": true - }, - "suitableAllAges": { - "type": "boolean" - }, - "groupProject": { - "type": "boolean" - }, - "projectFiltersOpen": { - "type": "boolean" - }, - "volunteerRemotely": { - "type": "boolean" - }, - "itemDonations": { - "type": "boolean" - }, - "wheelchairAccessible": { - "type": "boolean" - }, - "indoors": { - "type": "boolean" - }, - "sponsorRole": { - "type": "boolean" - }, - "timePref": { - "type": "integer", - "format": "int32" - }, - "password": { - "type": "string", - "nullable": true - }, - "salt": { - "type": "string", - "nullable": true - }, - "createProjectRoleGranted": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "viewedWhatsNewDate": { - "type": "string", - "format": "date-time" - }, - "lastNotified": { - "type": "string", - "format": "date-time" - }, - "activationEmailLastNotified": { - "type": "string", - "format": "date-time" - }, - "activationEmailReminderCount": { - "type": "integer", - "format": "int32" - }, - "lastSignIn": { - "type": "string", - "format": "date-time" - }, - "userHistory": { - "$ref": "#/components/schemas/JustServe.Contracts.Logging.UserHistory" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "updated": { - "type": "string", - "format": "date-time" - }, - "deleted": { - "type": "boolean" - }, - "deletedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "personalInfoModifiedDate": { - "type": "string", - "format": "date-time" - }, - "notificationSettingsModifiedDate": { - "type": "string", - "format": "date-time" - }, - "searchPreferencesModifiedDate": { - "type": "string", - "format": "date-time" - }, - "locationModifiedDate": { - "type": "string", - "format": "date-time" - }, - "skillsModifiedDate": { - "type": "string", - "format": "date-time" - }, - "interestsModifiedDate": { - "type": "string", - "format": "date-time" - }, - "toolsModifiedDate": { - "type": "string", - "format": "date-time" - }, - "favProjectsModifiedDate": { - "type": "string", - "format": "date-time" - }, - "favOrgsModifiedDate": { - "type": "string", - "format": "date-time" - }, - "daysAvailableModifiedDate": { - "type": "string", - "format": "date-time" - }, - "timesAvailableModifiedDate": { - "type": "string", - "format": "date-time" - }, - "notificationPreferences": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.NotificationPreferences" - }, - "disasterReliefRegistrationSeen": { - "type": "boolean" - }, - "donateToDisasterReliefChecked": { - "type": "boolean" - }, - "volunteerForDisasterReliefChecked": { - "type": "boolean" - }, - "disasterReliefAvailabilityDate": { - "type": "string", - "format": "date-time" - }, - "forYouthGroups": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Users.UserRegistrationModel": { - "required": [ - "email", - "firstName", - "lastName", - "password" - ], - "type": "object", - "properties": { - "firstName": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "lastName": { - "maxLength": 50, - "minLength": 1, - "type": "string" - }, - "email": { - "minLength": 1, - "pattern": "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$", - "type": "string" - }, - "password": { - "maxLength": 100, - "minLength": 8, - "type": "string", - "format": "password" - }, - "postal": { - "type": "string", - "nullable": true - }, - "city": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "clientId": { - "type": "string", - "nullable": true - }, - "clientSecret": { - "type": "string", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "country": { - "type": "string", - "nullable": true - }, - "countryCode": { - "type": "string", - "nullable": true - }, - "appleToken": { - "type": "string", - "nullable": true - }, - "appleAuthCode": { - "type": "string", - "nullable": true - }, - "googleToken": { - "type": "string", - "nullable": true - }, - "facebookToken": { - "type": "string", - "nullable": true - }, - "userName": { - "type": "string", - "nullable": true, - "deprecated": true - }, - "countryCodeAlpha3": { - "type": "string", - "nullable": true, - "deprecated": true - }, - "state": { - "type": "string", - "nullable": true, - "deprecated": true - }, - "address": { - "type": "string", - "nullable": true, - "deprecated": true - }, - "distanceUnits": { - "type": "string", - "nullable": true, - "deprecated": true - }, - "clock": { - "type": "string", - "nullable": true, - "deprecated": true - }, - "skills": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true, - "deprecated": true - }, - "interests": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true, - "deprecated": true - }, - "tools": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true, - "deprecated": true - }, - "daysAvailable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/System.DayOfWeek" - }, - "nullable": true, - "deprecated": true - }, - "timesAvailable": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.TimeOfDay" - }, - "nullable": true, - "deprecated": true - }, - "disasterReliefRegistrationSeen": { - "type": "boolean", - "deprecated": true - }, - "donateToDisasterReliefChecked": { - "type": "boolean", - "deprecated": true - }, - "volunteerForDisasterReliefChecked": { - "type": "boolean", - "deprecated": true - }, - "disasterReliefAvailabilityDate": { - "type": "string", - "format": "date-time", - "deprecated": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.CustomNotification": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.NotificationType" - }, - "levelId": { - "type": "integer", - "format": "int32" - }, - "level": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.NotificationLevel" - }, - "title": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "languageId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "language": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Lang" - }, - "redirectLink": { - "type": "string", - "nullable": true - }, - "startDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "endDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "adminOnly": { - "type": "boolean", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "projectEventId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "createdByNavigation": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.User" - }, - "updatedByNavigation": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.User" - }, - "projectEvent": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectEvent" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Geographies.ChurchBoundaryCivic": { - "type": "object", - "properties": { - "churchGeographyUserRoleId": { - "type": "string", - "format": "uuid" - }, - "civicGeographyId": { - "type": "string", - "format": "uuid" - }, - "civicGeography": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Geographies.ChurchGeography": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "unitId": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "areaUnitId": { - "type": "string", - "nullable": true - }, - "missionUnitId": { - "type": "string", - "nullable": true - }, - "ccUnitId": { - "type": "string", - "nullable": true - }, - "stakeUnitId": { - "type": "string", - "nullable": true - }, - "active": { - "type": "boolean", - "nullable": true - }, - "countryId": { - "type": "string", - "format": "uuid" - }, - "stakeLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "stakeLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "mapId": { - "type": "string", - "nullable": true - }, - "country": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - }, - "countryInfo": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CountryInfo" - }, - "areaUnit": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.ChurchGeography" - }, - "missionUnit": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.ChurchGeography" - }, - "ccUnit": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.ChurchGeography" - }, - "parentUnit": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.ChurchGeography" - }, - "childrenUnits": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.ChurchGeography" - }, - "nullable": true - }, - "notifications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.CustomNotification" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Geographies.ChurchGeographyAdminLabelEnum": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "churchGeographyId": { - "type": "string", - "format": "uuid" - }, - "name": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "deleted": { - "type": "boolean" - }, - "languageId": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Geographies.CivicGeography": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - }, - "cityId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "countyId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "stateId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "countryId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "mapId": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "code": { - "type": "string", - "nullable": true - }, - "city": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - }, - "country": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - }, - "county": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - }, - "state": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - }, - "countryInfo": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CountryInfo" - }, - "parent": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - }, - "nullable": true - }, - "translations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeographyTranslation" - }, - "nullable": true - }, - "notifications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.CustomNotification" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Geographies.CivicGeographyTranslation": { - "type": "object", - "properties": { - "civicGeographyId": { - "type": "string", - "format": "uuid" - }, - "languageId": { - "type": "integer", - "format": "int32" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "countryId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "code": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Geographies.CountryInfo": { - "type": "object", - "properties": { - "countryId": { - "type": "string", - "format": "uuid" - }, - "defaultLanguageId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "isLaunched": { - "type": "boolean", - "nullable": true - }, - "countryCode2": { - "type": "string", - "nullable": true - }, - "countryCode3": { - "type": "string", - "nullable": true - }, - "phoneCode": { - "type": "string", - "nullable": true - }, - "usePostal": { - "type": "boolean", - "nullable": true - }, - "useMetricUnits": { - "type": "boolean", - "nullable": true - }, - "twelveHourClock": { - "type": "boolean", - "nullable": true - }, - "hideStateData": { - "type": "boolean", - "nullable": true - }, - "hideCountyData": { - "type": "boolean", - "nullable": true - }, - "legalLogInAge": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "inEuropeanUnion": { - "type": "boolean", - "nullable": true - }, - "houseNumAfterStreet": { - "type": "boolean", - "nullable": true - }, - "postalValidationRegex": { - "type": "string", - "nullable": true - }, - "country": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - }, - "areaUnits": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.ChurchGeography" - }, - "nullable": true - }, - "postals": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.PostalGeography" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Geographies.PostalGeography": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "zipcode": { - "type": "string", - "nullable": true - }, - "countryId": { - "type": "string", - "format": "uuid" - }, - "latitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "createdOn": { - "type": "string", - "format": "date-time" - }, - "mapId": { - "type": "string", - "nullable": true - }, - "country": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - }, - "countryInfo": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CountryInfo" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Organizations.Organization": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "languageId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "language": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Lang" - }, - "name": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "statusId": { - "type": "integer", - "format": "int32" - }, - "status": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OrganizationStatus" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.OrganizationType" - }, - "defaultId": { - "type": "integer", - "format": "int32" - }, - "default": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.DefaultSection" - }, - "activationDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "website": { - "type": "string", - "nullable": true - }, - "autoRedirect": { - "type": "boolean", - "nullable": true - }, - "url": { - "type": "string", - "nullable": true - }, - "internalUrl": { - "type": "string", - "nullable": true - }, - "logo": { - "type": "string", - "nullable": true - }, - "banner": { - "type": "string", - "nullable": true - }, - "facebookPath": { - "type": "string", - "nullable": true - }, - "twitterPath": { - "type": "string", - "nullable": true - }, - "youtubePath": { - "type": "string", - "nullable": true - }, - "instagramPath": { - "type": "string", - "nullable": true - }, - "linkedinPath": { - "type": "string", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "aboutUs": { - "type": "string", - "nullable": true - }, - "contactName": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "deleted": { - "type": "boolean" - }, - "deletedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "parentId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "isVerified": { - "type": "boolean" - }, - "createdByNavigation": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - }, - "deletedByNavigation": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - }, - "updatedByNavigation": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - }, - "representatives": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - }, - "nullable": true - }, - "userFavoriteOrganizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.UserFavoriteOrganization" - }, - "nullable": true - }, - "organizationGroups": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Organizations.OrganizationGroup" - }, - "nullable": true - }, - "organizationUserRoles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Organizations.OrganizationUserRole" - }, - "nullable": true - }, - "projects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.Project" - }, - "nullable": true - }, - "location": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Organizations.OrganizationLocation" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Tags.Tag" - }, - "nullable": true - }, - "parent": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Organizations.Organization" - }, - "children": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Organizations.Organization" - }, - "nullable": true - }, - "attachments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Organizations.OrganizationAttachment" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Organizations.OrganizationAttachment": { - "type": "object", - "properties": { - "attachmentId": { - "type": "string", - "format": "uuid" - }, - "mimetype": { - "type": "string", - "nullable": true - }, - "hostedFilename": { - "type": "string", - "nullable": true - }, - "hostedThumbnailFilename": { - "type": "string", - "nullable": true - }, - "fileExtension": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "hostedFolderPath": { - "type": "string", - "nullable": true - }, - "fileDisplayName": { - "type": "string", - "nullable": true - }, - "attachmentTypeId": { - "type": "integer", - "format": "int32" - }, - "attachmentType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.AttachmentType" - }, - "createdByNavigation": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - }, - "organizationId": { - "type": "string", - "format": "uuid" - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Organizations.Organization" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Organizations.OrganizationGroup": { - "type": "object", - "properties": { - "organizationId": { - "type": "string", - "format": "uuid" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "unlisted": { - "type": "boolean", - "nullable": true - }, - "defaultId": { - "type": "integer", - "format": "int32" - }, - "organizationEnabled": { - "type": "boolean", - "nullable": true - }, - "projectsEnabled": { - "type": "boolean", - "nullable": true - }, - "questionsEnabled": { - "type": "boolean", - "nullable": true - }, - "aboutUsEnabled": { - "type": "boolean", - "nullable": true - }, - "giveEnabled": { - "type": "boolean", - "nullable": true - }, - "about": { - "type": "string", - "nullable": true - }, - "contactName": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Organizations.Organization" - }, - "projects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.Project" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Organizations.OrganizationLocation": { - "type": "object", - "properties": { - "organizationId": { - "type": "string", - "format": "uuid" - }, - "displayAddress": { - "type": "string", - "nullable": true - }, - "displayAddress2": { - "type": "string", - "nullable": true - }, - "displayPostalCode": { - "type": "string", - "nullable": true - }, - "displayCity": { - "type": "string", - "nullable": true - }, - "displayNeighborhood": { - "type": "string", - "nullable": true - }, - "displayCounty": { - "type": "string", - "nullable": true - }, - "displayState": { - "type": "string", - "nullable": true - }, - "displayCountry": { - "type": "string", - "nullable": true - }, - "displayCountryCode": { - "type": "string", - "nullable": true - }, - "civicGeographyId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "churchGeographyId": { - "type": "string", - "format": "uuid" - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "churchGeography": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.ChurchGeography" - }, - "civicGeography": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Organizations.Organization" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Organizations.OrganizationUserRole": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "organizationId": { - "type": "string", - "format": "uuid" - }, - "userId": { - "type": "string", - "format": "uuid" - }, - "roleId": { - "type": "integer", - "format": "int32" - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Organizations.Organization" - }, - "role": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Role" - }, - "updatedByNavigation": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.User" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.User" - }, - "civicGeographies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Projects.Project": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "statusId": { - "type": "integer", - "format": "int32" - }, - "publishDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "shortDescription": { - "type": "string", - "nullable": true - }, - "longDescription": { - "type": "string", - "nullable": true - }, - "logo": { - "type": "string", - "nullable": true - }, - "contactName": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "sponsorUserId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "sponsorTypeId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "representativeUserId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "waiverUrl": { - "type": "string", - "nullable": true - }, - "lastChangeReason": { - "type": "string", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "suitableAllAges": { - "type": "boolean", - "nullable": true - }, - "groupProjects": { - "type": "boolean", - "nullable": true - }, - "volunteerRemotely": { - "type": "boolean", - "nullable": true - }, - "volunteerFromAnywhere": { - "type": "boolean", - "nullable": true - }, - "itemDonations": { - "type": "boolean", - "nullable": true - }, - "wheelchairAccessible": { - "type": "boolean", - "nullable": true - }, - "indoors": { - "type": "boolean", - "nullable": true - }, - "forYouthGroups": { - "type": "boolean", - "nullable": true - }, - "unlisted": { - "type": "boolean", - "nullable": true - }, - "languageId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "externalVolunteerUrl": { - "type": "string", - "nullable": true - }, - "external": { - "type": "boolean", - "nullable": true - }, - "archived": { - "type": "boolean", - "nullable": true - }, - "deleted": { - "type": "boolean" - }, - "deletedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "regionSelected": { - "type": "boolean" - }, - "firstStartDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "lastEndDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "countryCode": { - "type": "string", - "nullable": true - }, - "multipleTimes": { - "type": "boolean", - "nullable": true - }, - "allEventsFilled": { - "type": "boolean", - "nullable": true - }, - "locationTypeId": { - "type": "integer", - "format": "int32" - }, - "nextOpportunity": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectEvent" - }, - "totalNextOpportunities": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "createdByNavigation": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - }, - "deletedByNavigation": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - }, - "representativeUser": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - }, - "sponsorUser": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - }, - "updatedByNavigation": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - }, - "projectApproval": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectApproval" - }, - "projectRecurring": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectRecurring" - }, - "projectAttachments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectAttachment" - }, - "nullable": true - }, - "projectDayOfWeeks": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectDayOfWeek" - }, - "nullable": true - }, - "projectEventLocation": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectEventLocation" - }, - "projectEventRegions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - }, - "nullable": true - }, - "projectEvents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectEvent" - }, - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Tags.Tag" - }, - "nullable": true - }, - "projectTimeOfDays": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectTimeOfDay" - }, - "nullable": true - }, - "projectUserOwners": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectUserOwner" - }, - "nullable": true - }, - "organizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Organizations.Organization" - }, - "nullable": true - }, - "organizationGroups": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Organizations.OrganizationGroup" - }, - "nullable": true - }, - "successStories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Stories.SuccessStory" - }, - "nullable": true - }, - "userFavoriteProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.UserFavoriteProject" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Projects.ProjectApproval": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "format": "uuid" - }, - "applicantUserId": { - "type": "string", - "format": "uuid" - }, - "assignedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "approverUserId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "levelId": { - "type": "integer", - "format": "int32" - }, - "level": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.GeographyType" - }, - "escalateDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "applicantUser": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - }, - "approverUser": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Projects.ProjectAttachment": { - "type": "object", - "properties": { - "attachmentId": { - "type": "string", - "format": "uuid" - }, - "mimetype": { - "type": "string", - "nullable": true - }, - "hostedFilename": { - "type": "string", - "nullable": true - }, - "hostedThumbnailFilename": { - "type": "string", - "nullable": true - }, - "fileExtension": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "hostedFolderPath": { - "type": "string", - "nullable": true - }, - "fileDisplayName": { - "type": "string", - "nullable": true - }, - "attachmentTypeId": { - "type": "integer", - "format": "int32" - }, - "attachmentType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.AttachmentType" - }, - "createdByNavigation": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.Project" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Projects.ProjectDayOfWeek": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "format": "uuid" - }, - "dayOfWeekId": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Projects.ProjectEvent": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "start": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "end": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "renewDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "shiftTitle": { - "type": "string", - "nullable": true - }, - "volunteerCap": { - "type": "boolean" - }, - "groupCap": { - "type": "boolean" - }, - "groupLimit": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "totalVolunteersNeeded": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "locationName": { - "type": "string", - "nullable": true - }, - "locationLink": { - "type": "string", - "nullable": true - }, - "specialDirections": { - "type": "string", - "nullable": true - }, - "qrCodeImageLocation": { - "type": "string", - "nullable": true - }, - "schedule": { - "type": "string", - "nullable": true - }, - "projectEventLocationId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "projectRecurringTimeId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "deletedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "deleted": { - "type": "boolean" - }, - "contactName": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "eventCapReached": { - "type": "boolean", - "nullable": true - }, - "startDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "endDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "timezone": { - "type": "string", - "nullable": true - }, - "timeZoneEnumId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "statusId": { - "type": "integer", - "format": "int32" - }, - "status": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.ProjectEventStatus" - }, - "volunteersNeeded": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "deletedByNavigation": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.User" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.Project" - }, - "projectEventLocation": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectEventLocation" - }, - "projectRecurringTime": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectRecurringTime" - }, - "projectEventRegions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - }, - "nullable": true - }, - "projectVolunteers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectVolunteer" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Projects.ProjectEventLocation": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "displayAddress": { - "type": "string", - "nullable": true - }, - "displayAddress2": { - "type": "string", - "nullable": true - }, - "displayPostalCode": { - "type": "string", - "nullable": true - }, - "displayCity": { - "type": "string", - "nullable": true - }, - "displayNeighborhood": { - "type": "string", - "nullable": true - }, - "displayCounty": { - "type": "string", - "nullable": true - }, - "displayState": { - "type": "string", - "nullable": true - }, - "displayCountry": { - "type": "string", - "nullable": true - }, - "displayCountryCode": { - "type": "string", - "nullable": true - }, - "locationName": { - "type": "string", - "nullable": true - }, - "locationDetails": { - "type": "string", - "nullable": true - }, - "civicGeographyId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "churchGeographyId": { - "type": "string", - "format": "uuid" - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "maxLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "timezone": { - "type": "string", - "nullable": true - }, - "timeZoneEnumId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "churchGeography": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.ChurchGeography" - }, - "civicGeography": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.Project" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Projects.ProjectRecurring": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "startDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "endDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "startDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "endDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "specialDirections": { - "type": "string", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.Project" - }, - "projectRecurringTimes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectRecurringTime" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Projects.ProjectRecurringTime": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "projectRecurringId": { - "type": "string", - "format": "uuid" - }, - "recurringTypeEnumId": { - "type": "integer", - "format": "int32" - }, - "recurringType": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.RecurringType" - }, - "startTime": { - "type": "string", - "format": "time", - "nullable": true - }, - "endTime": { - "type": "string", - "format": "time", - "nullable": true - }, - "volunteersCapped": { - "type": "boolean" - }, - "groupsCapped": { - "type": "boolean" - }, - "groupLimit": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "volunteersNeeded": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "sunday": { - "type": "boolean" - }, - "monday": { - "type": "boolean" - }, - "tuesday": { - "type": "boolean" - }, - "wednesday": { - "type": "boolean" - }, - "thursday": { - "type": "boolean" - }, - "friday": { - "type": "boolean" - }, - "saturday": { - "type": "boolean" - }, - "firstWeek": { - "type": "boolean" - }, - "secondWeek": { - "type": "boolean" - }, - "thirdWeek": { - "type": "boolean" - }, - "fourthWeek": { - "type": "boolean" - }, - "fifthWeek": { - "type": "boolean" - }, - "lastWeek": { - "type": "boolean" - }, - "projectEventLocationId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "projectEventRegionId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "contactName": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "startTimeFormatted": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "endTimeFormatted": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "specialDirections": { - "type": "string", - "nullable": true - }, - "locationName": { - "type": "string", - "nullable": true - }, - "locationLink": { - "type": "string", - "nullable": true - }, - "projectEventLocation": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectEventLocation" - }, - "projectEventRegions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - }, - "nullable": true - }, - "projectRecurring": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectRecurring" - }, - "projectEvents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectEvent" - }, - "nullable": true - }, - "recurringDaysOfMonths": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Projects.ProjectTimeOfDay": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "format": "uuid" - }, - "timeOfDayId": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Projects.ProjectUserOwner": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.Project" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Projects.ProjectVolunteer": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "userId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "projectEventId": { - "type": "string", - "format": "uuid" - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "languageId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "groupSize": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "schedule": { - "type": "string", - "nullable": true - }, - "dateInterested": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "volunteerDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deleted": { - "type": "boolean" - }, - "deletedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "note": { - "type": "string", - "nullable": true - }, - "userAddedHours": { - "type": "number", - "format": "double", - "nullable": true - }, - "adminReportedHours": { - "type": "number", - "format": "double", - "nullable": true - }, - "deletedByNavigation": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.User" - }, - "projectEvent": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectEvent" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Contracts.Users.User" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Stories.SuccessStory": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "projectId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "languageId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "introduction": { - "type": "string", - "nullable": true - }, - "body": { - "type": "string", - "nullable": true - }, - "videoUrl": { - "type": "string", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "appendedInto": { - "type": "boolean", - "nullable": true - }, - "language": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Lang" - }, - "createdByNavigation": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.Project" - }, - "updatedByNavigation": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Tags.Tag": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "tagTypeId": { - "type": "integer", - "format": "int32" - }, - "tagType": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Tags.TagType" - }, - "translations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Tags.TagTranslation" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Tags.TagTranslation": { - "type": "object", - "properties": { - "tagId": { - "type": "integer", - "format": "int32" - }, - "languageId": { - "type": "integer", - "format": "int32" - }, - "tagTypeId": { - "type": "integer", - "format": "int32" - }, - "tagType": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Tags.TagType" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "tag": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Tags.Tag" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Tags.TagType": { - "enum": [ - "None", - "Skills", - "Interests", - "Tools", - "MetaKeyword" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Contracts.Vanilla.TimeZone.TimeZoneEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "timeZoneId": { - "type": "string", - "nullable": true - }, - "timeZoneName": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Users.ChurchGeographyUserRole": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "churchGeographyId": { - "type": "string", - "format": "uuid" - }, - "userId": { - "type": "string", - "format": "uuid" - }, - "roleId": { - "type": "integer", - "format": "int32" - }, - "role": { - "$ref": "#/components/schemas/JustServe.Contracts.Enums.Role" - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "churchGeography": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.ChurchGeography" - }, - "churchBoundaryCivics": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.ChurchBoundaryCivic" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Users.User": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "languageId": { - "type": "integer", - "format": "int32" - }, - "radiusTypeId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "active": { - "type": "boolean", - "nullable": true - }, - "unsubscribeDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "lockoutCount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "lockoutDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "activationEmailLastNotified": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "activationEmailReminderCount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "lastSignIn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "sponsorRole": { - "type": "boolean", - "nullable": true - }, - "viewedWhatsNewDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "personalInfoModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "notificationSettingsModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "searchPreferencesModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "locationModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "skillsModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "interestsModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "toolsModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "favoriteProjectModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "favoriteOrganizationModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "adminKeywords": { - "type": "string", - "nullable": true - }, - "clockPreference": { - "type": "integer", - "format": "int32" - }, - "createProjectRoleGranted": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deleted": { - "type": "boolean" - }, - "deletedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "churchGeographyUserRole": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.ChurchGeographyUserRole" - }, - "userLocation": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.UserLocation" - }, - "userNotificationPreference": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.UserNotificationPreference" - }, - "userAuthentication": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.UserAuthentication" - }, - "organizationUserRoles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Organizations.OrganizationUserRole" - }, - "nullable": true - }, - "userChurchGeographyAdminLabels": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.UserChurchGeographyAdminLabel" - }, - "nullable": true - }, - "projectUserOwners": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectUserOwner" - }, - "nullable": true - }, - "projectVolunteers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.ProjectVolunteer" - }, - "nullable": true - }, - "favoriteProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.UserFavoriteProject" - }, - "nullable": true - }, - "favoriteOrganizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.UserFavoriteOrganization" - }, - "nullable": true - }, - "representativeOrganizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Organizations.Organization" - }, - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Tags.Tag" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Users.UserAuthentication": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "username": { - "type": "string", - "nullable": true - }, - "hasFacebookId": { - "type": "boolean" - }, - "hasGoogleUserId": { - "type": "boolean" - }, - "hasAppleUserId": { - "type": "boolean" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Users.UserChurchGeographyAdminLabel": { - "type": "object", - "properties": { - "churchGeographyAdminLabelEnumId": { - "type": "string", - "format": "uuid" - }, - "userId": { - "type": "string", - "format": "uuid" - }, - "churchGeographyAdminLabelEnum": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.ChurchGeographyAdminLabelEnum" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Users.UserFavoriteOrganization": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "organizationId": { - "type": "string", - "format": "uuid" - }, - "favoritedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Organizations.Organization" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Users.UserFavoriteProject": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "favoritedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Projects.Project" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Users.UserLocation": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "displayAddress": { - "type": "string", - "nullable": true - }, - "displayAddress2": { - "type": "string", - "nullable": true - }, - "displayPostalCode": { - "type": "string", - "nullable": true - }, - "displayCity": { - "type": "string", - "nullable": true - }, - "displayNeighborhood": { - "type": "string", - "nullable": true - }, - "displayCounty": { - "type": "string", - "nullable": true - }, - "displayState": { - "type": "string", - "nullable": true - }, - "displayCountry": { - "type": "string", - "nullable": true - }, - "displayCountryCode": { - "type": "string", - "nullable": true - }, - "civicGeographyId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "churchGeographyId": { - "type": "string", - "format": "uuid" - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "churchGeography": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.ChurchGeography" - }, - "civicGeography": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Geographies.CivicGeography" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Vanilla.Users.UserNotificationPreference": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "generalNotificationOptIn": { - "type": "boolean", - "nullable": true - }, - "volunteerNewsletterRadius": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "volunteerNewsletter": { - "type": "boolean", - "nullable": true - }, - "recieveTexts": { - "type": "boolean", - "nullable": true - }, - "includeSponsorAdminInfo": { - "type": "boolean", - "nullable": true - }, - "notifyUpcomingVolunteeredProjects": { - "type": "boolean", - "nullable": true - }, - "notifyUpcommingVolunteeredProjectsDaysPrior": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "disasterReliefRegistrationSeen": { - "type": "boolean", - "nullable": true - }, - "donateDisasterReliefChecked": { - "type": "boolean", - "nullable": true - }, - "disasterReliefAvailability": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "volunteerForDisasterReliefChecked": { - "type": "boolean", - "nullable": true - }, - "generalMarketingOptIn": { - "type": "boolean", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/JustServe.Contracts.Vanilla.Users.User" - } - }, - "additionalProperties": false - }, - "JustServe.Contracts.Widget": { - "type": "object", - "properties": { - "id": { - "type": "string", - "nullable": true - }, - "ownerId": { - "type": "string", - "nullable": true - }, - "key": { - "type": "string", - "nullable": true - }, - "applicationName": { - "type": "string", - "nullable": true - }, - "applicationPath": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "analyticsURLTag": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ApprovalLevelEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "projectApprovals": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectApproval" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.Attachment": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "mimetype": { - "type": "string", - "nullable": true - }, - "hostedFilename": { - "type": "string", - "nullable": true - }, - "hostedThumbnailFilename": { - "type": "string", - "nullable": true - }, - "fileExtension": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "hostedFolderPath": { - "type": "string", - "nullable": true - }, - "fileDisplayName": { - "type": "string", - "nullable": true - }, - "organizationAnnouncementAttachments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationAnnouncementAttachment" - }, - "nullable": true - }, - "organizationAttachments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationAttachment" - }, - "nullable": true - }, - "organizationGroupAttachments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroupAttachment" - }, - "nullable": true - }, - "projectAttachments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectAttachment" - }, - "nullable": true - }, - "successStoryCarousels": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStoryCarousel" - }, - "nullable": true - }, - "successStoryMedia": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStoryMedium" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.AttachmentTypeEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "organizationAttachments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationAttachment" - }, - "nullable": true - }, - "projectAttachments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectAttachment" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.Cause": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "organizationGroupId": { - "type": "string", - "format": "uuid" - }, - "name": { - "type": "string", - "nullable": true - }, - "imgName": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "organizationGroup": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroup" - }, - "causeProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CauseProject" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.CauseProject": { - "type": "object", - "properties": { - "causeId": { - "type": "string", - "format": "uuid" - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "cause": { - "$ref": "#/components/schemas/JustServe.Entities.Cause" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ChurchBoundaryCivic": { - "type": "object", - "properties": { - "churchGeographyUserRoleId": { - "type": "string", - "format": "uuid" - }, - "civicGeographyId": { - "type": "string", - "format": "uuid" - }, - "churchGeographyUserRole": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeographyUserRole" - }, - "civicGeography": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ChurchGeography": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "unitId": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "areaUnitId": { - "type": "string", - "nullable": true - }, - "missionUnitId": { - "type": "string", - "nullable": true - }, - "ccUnitId": { - "type": "string", - "nullable": true - }, - "stakeUnitId": { - "type": "string", - "nullable": true - }, - "active": { - "type": "boolean", - "nullable": true - }, - "countryId": { - "type": "string", - "format": "uuid" - }, - "stakeLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "stakeLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "mapId": { - "type": "string", - "nullable": true - }, - "coordinates": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "area": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Polygon" - }, - "country": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeographyTypeEnum" - }, - "churchGeographyUserRoles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeographyUserRole" - }, - "nullable": true - }, - "customNotificationChurchGeographies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CustomNotificationChurchGeography" - }, - "nullable": true - }, - "organizationLocations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationLocation" - }, - "nullable": true - }, - "projectEventLocations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEventLocation" - }, - "nullable": true - }, - "successStoryLocations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStoryLocation" - }, - "nullable": true - }, - "userLocations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserLocation" - }, - "nullable": true - }, - "metrics": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Metrics" - }, - "nullable": true - }, - "churchGeographyAdminLabelEnums": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeographyAdminLabelEnum" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ChurchGeographyAdminLabelEnum": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "churchGeographyId": { - "type": "string", - "format": "uuid" - }, - "name": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "deleted": { - "type": "boolean" - }, - "languageId": { - "type": "integer", - "format": "int32" - }, - "churchGeography": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeography" - }, - "userChurchGeographyAdminLabelEnums": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserChurchGeographyAdminLabel" - }, - "nullable": true - }, - "language": { - "$ref": "#/components/schemas/JustServe.Entities.SupportedLanguage" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ChurchGeographyTypeEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "churchGeographies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeography" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ChurchGeographyUserRole": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "churchGeographyId": { - "type": "string", - "format": "uuid" - }, - "userId": { - "type": "string", - "format": "uuid" - }, - "roleId": { - "type": "integer", - "format": "int32" - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "churchGeography": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeography" - }, - "createdByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "role": { - "$ref": "#/components/schemas/JustServe.Entities.RoleEnum" - }, - "updatedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "churchBoundaryCivics": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchBoundaryCivic" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.CivicGeography": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "cityId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "countyId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "stateId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "countryId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "mapId": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "code": { - "type": "string", - "nullable": true - }, - "coordinates": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "area": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Polygon" - }, - "city": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "country": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "county": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "state": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeographyTypeEnum" - }, - "countryInfo": { - "$ref": "#/components/schemas/JustServe.Entities.CountryInfo" - }, - "churchBoundaryCivics": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchBoundaryCivic" - }, - "nullable": true - }, - "churchGeographies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeography" - }, - "nullable": true - }, - "civicGeographyTranslationCivicGeographies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeographyTranslation" - }, - "nullable": true - }, - "civicGeographyTranslationCountries": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeographyTranslation" - }, - "nullable": true - }, - "customNotificationRegions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CustomNotificationRegion" - }, - "nullable": true - }, - "inverseCity": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "nullable": true - }, - "inverseCountry": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "nullable": true - }, - "inverseCounty": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "nullable": true - }, - "inverseState": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "nullable": true - }, - "organizationBoundaryCivics": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationBoundaryCivic" - }, - "nullable": true - }, - "organizationLocations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationLocation" - }, - "nullable": true - }, - "projectEventLocations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEventLocation" - }, - "nullable": true - }, - "projectEventRegions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEventRegion" - }, - "nullable": true - }, - "projectSearchStringCaches": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectSearchStringCache" - }, - "nullable": true - }, - "successStoryLocations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStoryLocation" - }, - "nullable": true - }, - "userLocations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserLocation" - }, - "nullable": true - }, - "metrics": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Metrics" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.CivicGeographyTranslation": { - "type": "object", - "properties": { - "civicGeographyId": { - "type": "string", - "format": "uuid" - }, - "languageId": { - "type": "integer", - "format": "int32" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "countryId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "code": { - "type": "string", - "nullable": true - }, - "civicGeography": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "country": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "language": { - "$ref": "#/components/schemas/JustServe.Entities.SupportedLanguage" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeographyTypeEnum" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.CivicGeographyTypeEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "civicGeographies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "nullable": true - }, - "civicGeographyTranslations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeographyTranslation" - }, - "nullable": true - }, - "projectEventRegions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEventRegion" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.CountryInfo": { - "type": "object", - "properties": { - "countryId": { - "type": "string", - "format": "uuid" - }, - "defaultLanguageId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "isLaunched": { - "type": "boolean", - "nullable": true - }, - "countryCode2": { - "type": "string", - "nullable": true - }, - "countryCode3": { - "type": "string", - "nullable": true - }, - "phoneCode": { - "type": "string", - "nullable": true - }, - "usePostal": { - "type": "boolean", - "nullable": true - }, - "useMetricUnits": { - "type": "boolean", - "nullable": true - }, - "twelveHourClock": { - "type": "boolean", - "nullable": true - }, - "hideStateData": { - "type": "boolean", - "nullable": true - }, - "hideCountyData": { - "type": "boolean", - "nullable": true - }, - "legalLogInAge": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "inEuropeanUnion": { - "type": "boolean", - "nullable": true - }, - "houseNumAfterStreet": { - "type": "boolean", - "nullable": true - }, - "postalValidationRegex": { - "type": "string", - "nullable": true - }, - "country": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "defaultLanguage": { - "$ref": "#/components/schemas/JustServe.Entities.SupportedLanguage" - }, - "localeCountryInfos": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.LocaleCountryInfo" - }, - "nullable": true - }, - "postalGeographies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.PostalGeography" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.CustomNotification": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "levelId": { - "type": "integer", - "format": "int32" - }, - "title": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "languageId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "redirectLink": { - "type": "string", - "nullable": true - }, - "startDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "endDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "adminOnly": { - "type": "boolean", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "projectEventId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "createdByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "language": { - "$ref": "#/components/schemas/JustServe.Entities.SupportedLanguage" - }, - "level": { - "$ref": "#/components/schemas/JustServe.Entities.NotificationLevelEnum" - }, - "projectEvent": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEvent" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Entities.NotificationTypeEnum" - }, - "updatedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "customNotificationChurchGeographies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CustomNotificationChurchGeography" - }, - "nullable": true - }, - "customNotificationRegions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CustomNotificationRegion" - }, - "nullable": true - }, - "userNotifications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserNotification" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.CustomNotificationChurchGeography": { - "type": "object", - "properties": { - "churchGeographyId": { - "type": "string", - "format": "uuid" - }, - "customNotificationId": { - "type": "string", - "format": "uuid" - }, - "churchGeography": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeography" - }, - "customNotification": { - "$ref": "#/components/schemas/JustServe.Entities.CustomNotification" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.CustomNotificationRegion": { - "type": "object", - "properties": { - "civicGeographyId": { - "type": "string", - "format": "uuid" - }, - "customNotificationId": { - "type": "string", - "format": "uuid" - }, - "civicGeography": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "customNotification": { - "$ref": "#/components/schemas/JustServe.Entities.CustomNotification" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.DayOfWeekEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "projectDayOfWeeks": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectDayOfWeek" - }, - "nullable": true - }, - "userDayOfWeeks": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserDayOfWeek" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.DistanceEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "users": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.EmailLog": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "userId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "sentFromEmail": { - "type": "string", - "nullable": true - }, - "sentToEmail": { - "type": "string", - "nullable": true - }, - "subject": { - "type": "string", - "nullable": true - }, - "languageId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "language": { - "$ref": "#/components/schemas/JustServe.Entities.SupportedLanguage" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Entities.EmailTypeEnum" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.EmailTypeEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "emailLogs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.EmailLog" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.EndorsementStatusEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "organizationEndorsements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationEndorsement" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.Language": { - "type": "object", - "properties": { - "languageId": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "iso6391Code": { - "type": "string", - "nullable": true - }, - "iso6392bCode": { - "type": "string", - "nullable": true - }, - "iso6392tCode": { - "type": "string", - "nullable": true - }, - "locales": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Locale" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.Locale": { - "type": "object", - "properties": { - "localeId": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "languageId": { - "type": "integer", - "format": "int32" - }, - "fallbackLocaleId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "value": { - "type": "string", - "nullable": true - }, - "translationExists": { - "type": "boolean" - }, - "defaultLocale": { - "type": "boolean" - }, - "metaName": { - "type": "string", - "nullable": true - }, - "language": { - "$ref": "#/components/schemas/JustServe.Entities.Language" - }, - "localeMobile": { - "$ref": "#/components/schemas/JustServe.Entities.LocaleMobile" - }, - "localeCountryInfos": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.LocaleCountryInfo" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.LocaleCountryInfo": { - "type": "object", - "properties": { - "localeId": { - "type": "integer", - "format": "int32" - }, - "countryId": { - "type": "string", - "format": "uuid" - }, - "country": { - "$ref": "#/components/schemas/JustServe.Entities.CountryInfo" - }, - "locale": { - "$ref": "#/components/schemas/JustServe.Entities.Locale" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.LocaleMobile": { - "type": "object", - "properties": { - "localeMobileId": { - "type": "integer", - "format": "int32" - }, - "localeId": { - "type": "integer", - "format": "int32" - }, - "locale": { - "$ref": "#/components/schemas/JustServe.Entities.Locale" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.LocationTypeEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "projects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.MetricDateTypeEnum": { - "enum": [ - "Month", - "Day" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Entities.MetricTypeEnum": { - "enum": [ - "TotalUsers", - "ActiveUsers", - "NewUsers", - "TotalProjects", - "ActiveProjects", - "NewProjects", - "ProjectSignUps", - "ProjectRedirects", - "TotalOrganizations", - "OrganizationsWithActiveProjects", - "NewOrganizations" - ], - "type": "integer", - "format": "int32" - }, - "JustServe.Entities.Metrics": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "dateTypeId": { - "$ref": "#/components/schemas/JustServe.Entities.MetricDateTypeEnum" - }, - "metricTypeId": { - "$ref": "#/components/schemas/JustServe.Entities.MetricTypeEnum" - }, - "churchGeographyId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "civicGeographyId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "organizationId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "date": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "month": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "year": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "count": { - "type": "integer", - "format": "int32" - }, - "updated": { - "type": "string", - "format": "date-time" - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "churchGeography": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeography" - }, - "civicGeography": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "createdByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "updatedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.NotificationLevelEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "customNotifications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CustomNotification" - }, - "nullable": true - }, - "userNotifications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserNotification" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.NotificationStatusEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "userNotifications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserNotification" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.NotificationTypeEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "customNotifications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CustomNotification" - }, - "nullable": true - }, - "userNotifications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserNotification" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.Organization": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "languageId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "statusId": { - "type": "integer", - "format": "int32" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "defaultId": { - "type": "integer", - "format": "int32" - }, - "activationDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "website": { - "type": "string", - "nullable": true - }, - "autoRedirect": { - "type": "boolean", - "nullable": true - }, - "url": { - "type": "string", - "nullable": true - }, - "internalUrl": { - "type": "string", - "nullable": true - }, - "logo": { - "type": "string", - "nullable": true - }, - "banner": { - "type": "string", - "nullable": true - }, - "facebookPath": { - "type": "string", - "nullable": true - }, - "twitterPath": { - "type": "string", - "nullable": true - }, - "youtubePath": { - "type": "string", - "nullable": true - }, - "instagramPath": { - "type": "string", - "nullable": true - }, - "linkedinPath": { - "type": "string", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "aboutUs": { - "type": "string", - "nullable": true - }, - "contactName": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "deleted": { - "type": "boolean" - }, - "deletedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "parentOrganizationId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "isVerified": { - "type": "boolean" - }, - "createdByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "deletedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "language": { - "$ref": "#/components/schemas/JustServe.Entities.SupportedLanguage" - }, - "status": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationStatusEnum" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationTypeEnum" - }, - "updatedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "organizationGroup": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroup" - }, - "organizationLocation": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationLocation" - }, - "organizationRepresentative": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationRepresentative" - }, - "organizationAnnouncements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationAnnouncement" - }, - "nullable": true - }, - "organizationAttachments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationAttachment" - }, - "nullable": true - }, - "organizationEndorsements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationEndorsement" - }, - "nullable": true - }, - "organizationTags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationTag" - }, - "nullable": true - }, - "organizationUserRoles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationUserRole" - }, - "nullable": true - }, - "projectInOrganizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectInOrganization" - }, - "nullable": true - }, - "userFavoriteOrganizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserFavoriteOrganization" - }, - "nullable": true - }, - "userNotifications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserNotification" - }, - "nullable": true - }, - "metrics": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Metrics" - }, - "nullable": true - }, - "parentOrganization": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "childOrganizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationAnnouncement": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "organizationId": { - "type": "string", - "format": "uuid" - }, - "title": { - "type": "string", - "nullable": true - }, - "content": { - "type": "string", - "nullable": true - }, - "url": { - "type": "string", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "createdByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "updatedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "organizationAnnouncementAttachments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationAnnouncementAttachment" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationAnnouncementAttachment": { - "type": "object", - "properties": { - "organizationAnnouncementId": { - "type": "string", - "format": "uuid" - }, - "attachmentId": { - "type": "string", - "format": "uuid" - }, - "attachment": { - "$ref": "#/components/schemas/JustServe.Entities.Attachment" - }, - "organizationAnnouncement": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationAnnouncement" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationAttachment": { - "type": "object", - "properties": { - "organizationId": { - "type": "string", - "format": "uuid" - }, - "attachmentId": { - "type": "string", - "format": "uuid" - }, - "attachmentTypeId": { - "type": "integer", - "format": "int32" - }, - "attachment": { - "$ref": "#/components/schemas/JustServe.Entities.Attachment" - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "attachmentType": { - "$ref": "#/components/schemas/JustServe.Entities.AttachmentTypeEnum" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationBoundaryCivic": { - "type": "object", - "properties": { - "organizationUserRoleId": { - "type": "string", - "format": "uuid" - }, - "civicGeographyId": { - "type": "string", - "format": "uuid" - }, - "civicGeography": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "organizationUserRole": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationUserRole" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationEndorsement": { - "type": "object", - "properties": { - "organizationId": { - "type": "string", - "format": "uuid" - }, - "organizationGroupId": { - "type": "string", - "format": "uuid" - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "statusId": { - "type": "integer", - "format": "int32" - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "organizationGroup": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroup" - }, - "status": { - "$ref": "#/components/schemas/JustServe.Entities.EndorsementStatusEnum" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationGroup": { - "type": "object", - "properties": { - "organizationId": { - "type": "string", - "format": "uuid" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "unlisted": { - "type": "boolean", - "nullable": true - }, - "defaultId": { - "type": "integer", - "format": "int32" - }, - "organizationEnabled": { - "type": "boolean", - "nullable": true - }, - "projectsEnabled": { - "type": "boolean", - "nullable": true - }, - "questionsEnabled": { - "type": "boolean", - "nullable": true - }, - "aboutUsEnabled": { - "type": "boolean", - "nullable": true - }, - "giveEnabled": { - "type": "boolean", - "nullable": true - }, - "about": { - "type": "string", - "nullable": true - }, - "contactName": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "default": { - "$ref": "#/components/schemas/JustServe.Entities.SectionEnum" - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroupTypeEnum" - }, - "causes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Cause" - }, - "nullable": true - }, - "organizationEndorsements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationEndorsement" - }, - "nullable": true - }, - "organizationGroupAttachments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroupAttachment" - }, - "nullable": true - }, - "organizationGroupDonationLinks": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroupDonationLink" - }, - "nullable": true - }, - "organizationGroupFaqs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroupFaq" - }, - "nullable": true - }, - "organizationGroupTags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroupTag" - }, - "nullable": true - }, - "projectInOrganizationGroups": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectInOrganizationGroup" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationGroupAttachment": { - "type": "object", - "properties": { - "attachmentId": { - "type": "string", - "format": "uuid" - }, - "organizationGroupId": { - "type": "string", - "format": "uuid" - }, - "attachment": { - "$ref": "#/components/schemas/JustServe.Entities.Attachment" - }, - "organizationGroup": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroup" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationGroupDonationLink": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "organizationGroupId": { - "type": "string", - "format": "uuid" - }, - "linkName": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "url": { - "type": "string", - "nullable": true - }, - "order": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "organizationGroup": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroup" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationGroupFaq": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "organizationGroupId": { - "type": "string", - "format": "uuid" - }, - "question": { - "type": "string", - "nullable": true - }, - "answer": { - "type": "string", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "order": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "createdByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "organizationGroup": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroup" - }, - "updatedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationGroupTag": { - "type": "object", - "properties": { - "tagId": { - "type": "integer", - "format": "int32" - }, - "organizationGroupId": { - "type": "string", - "format": "uuid" - }, - "organizationGroup": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroup" - }, - "tag": { - "$ref": "#/components/schemas/JustServe.Entities.Tag" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationGroupTypeEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "organizationGroups": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroup" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationLocation": { - "type": "object", - "properties": { - "organizationId": { - "type": "string", - "format": "uuid" - }, - "displayAddress": { - "type": "string", - "nullable": true - }, - "displayAddress2": { - "type": "string", - "nullable": true - }, - "displayPostalCode": { - "type": "string", - "nullable": true - }, - "displayCity": { - "type": "string", - "nullable": true - }, - "displayNeighborhood": { - "type": "string", - "nullable": true - }, - "displayCounty": { - "type": "string", - "nullable": true - }, - "displayState": { - "type": "string", - "nullable": true - }, - "displayCountry": { - "type": "string", - "nullable": true - }, - "displayCountryCode": { - "type": "string", - "nullable": true - }, - "civicGeographyId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "churchGeographyId": { - "type": "string", - "format": "uuid" - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "coordinates": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "area": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Polygon" - }, - "churchGeography": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeography" - }, - "civicGeography": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationRepresentative": { - "type": "object", - "properties": { - "organizationId": { - "type": "string", - "format": "uuid" - }, - "justServeRepUserId": { - "type": "string", - "format": "uuid" - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "justServeRepUser": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "updatedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationStatusEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "organizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationTag": { - "type": "object", - "properties": { - "tagId": { - "type": "integer", - "format": "int32" - }, - "organizationId": { - "type": "string", - "format": "uuid" - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "tag": { - "$ref": "#/components/schemas/JustServe.Entities.Tag" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationTypeEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "organizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.OrganizationUserRole": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "organizationId": { - "type": "string", - "format": "uuid" - }, - "userId": { - "type": "string", - "format": "uuid" - }, - "roleId": { - "type": "integer", - "format": "int32" - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "role": { - "$ref": "#/components/schemas/JustServe.Entities.RoleEnum" - }, - "updatedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "organizationBoundaryCivics": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationBoundaryCivic" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.PostalGeography": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "zipcode": { - "type": "string", - "nullable": true - }, - "countryId": { - "type": "string", - "format": "uuid" - }, - "latitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "createdOn": { - "type": "string", - "format": "date-time" - }, - "mapId": { - "type": "string", - "nullable": true - }, - "coordinates": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "area": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Polygon" - }, - "country": { - "$ref": "#/components/schemas/JustServe.Entities.CountryInfo" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.Project": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "statusId": { - "type": "integer", - "format": "int32" - }, - "publishDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "shortDescription": { - "type": "string", - "nullable": true - }, - "longDescription": { - "type": "string", - "nullable": true - }, - "logo": { - "type": "string", - "nullable": true - }, - "contactName": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "sponsorUserId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "sponsorTypeId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "representativeUserId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "waiverUrl": { - "type": "string", - "nullable": true - }, - "lastChangeReason": { - "type": "string", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "suitableAllAges": { - "type": "boolean", - "nullable": true - }, - "groupProjects": { - "type": "boolean", - "nullable": true - }, - "volunteerRemotely": { - "type": "boolean", - "nullable": true - }, - "volunteerFromAnywhere": { - "type": "boolean", - "nullable": true - }, - "itemDonations": { - "type": "boolean", - "nullable": true - }, - "wheelchairAccessible": { - "type": "boolean", - "nullable": true - }, - "indoors": { - "type": "boolean", - "nullable": true - }, - "forYouthGroups": { - "type": "boolean", - "nullable": true - }, - "unlisted": { - "type": "boolean", - "nullable": true - }, - "languageId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "externalVolunteerUrl": { - "type": "string", - "nullable": true - }, - "external": { - "type": "boolean", - "nullable": true - }, - "archived": { - "type": "boolean" - }, - "deleted": { - "type": "boolean" - }, - "deletedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "regionSelected": { - "type": "boolean" - }, - "firstStartDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "lastEndDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "countryCode": { - "type": "string", - "nullable": true - }, - "multipleTimes": { - "type": "boolean", - "nullable": true - }, - "allEventsFilled": { - "type": "boolean", - "nullable": true - }, - "locationTypeId": { - "type": "integer", - "format": "int32" - }, - "createdByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "deletedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "language": { - "$ref": "#/components/schemas/JustServe.Entities.SupportedLanguage" - }, - "representativeUser": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "sponsorType": { - "$ref": "#/components/schemas/JustServe.Entities.SponsorTypeEnum" - }, - "sponsorUser": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "status": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectStatusEnum" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectTypeEnum" - }, - "updatedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "projectApproval": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectApproval" - }, - "projectRecurring": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectRecurring" - }, - "causeProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CauseProject" - }, - "nullable": true - }, - "projectAttachments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectAttachment" - }, - "nullable": true - }, - "projectDayOfWeeks": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectDayOfWeek" - }, - "nullable": true - }, - "projectEventLocations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEventLocation" - }, - "nullable": true - }, - "projectEventRegions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEventRegion" - }, - "nullable": true - }, - "projectEvents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEvent" - }, - "nullable": true - }, - "projectExternalVolunteerClicks": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectExternalVolunteerClick" - }, - "nullable": true - }, - "projectInOrganizationGroups": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectInOrganizationGroup" - }, - "nullable": true - }, - "projectInOrganizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectInOrganization" - }, - "nullable": true - }, - "projectTags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectTag" - }, - "nullable": true - }, - "projectTimeOfDays": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectTimeOfDay" - }, - "nullable": true - }, - "projectUserOwners": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectUserOwner" - }, - "nullable": true - }, - "recordOfServices": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.RecordOfService" - }, - "nullable": true - }, - "successStories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStory" - }, - "nullable": true - }, - "userEmailProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserEmailProject" - }, - "nullable": true - }, - "userFavoriteProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserFavoriteProject" - }, - "nullable": true - }, - "userNotifications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserNotification" - }, - "nullable": true - }, - "projectOwnerLog": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectOwnerLog" - }, - "nullable": true - }, - "locationType": { - "$ref": "#/components/schemas/JustServe.Entities.LocationTypeEnum" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectApproval": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "format": "uuid" - }, - "applicantUserId": { - "type": "string", - "format": "uuid" - }, - "assignedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "approverUserId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "levelId": { - "type": "integer", - "format": "int32" - }, - "escalateDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "applicantUser": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "approverUser": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "level": { - "$ref": "#/components/schemas/JustServe.Entities.ApprovalLevelEnum" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectAttachment": { - "type": "object", - "properties": { - "attachmentId": { - "type": "string", - "format": "uuid" - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "attachmentTypeId": { - "type": "integer", - "format": "int32" - }, - "attachment": { - "$ref": "#/components/schemas/JustServe.Entities.Attachment" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "attachmentType": { - "$ref": "#/components/schemas/JustServe.Entities.AttachmentTypeEnum" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectDayOfWeek": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "format": "uuid" - }, - "dayOfWeekId": { - "type": "integer", - "format": "int32" - }, - "dayOfWeek": { - "$ref": "#/components/schemas/JustServe.Entities.DayOfWeekEnum" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectEvent": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "start": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "end": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "renewDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "shiftTitle": { - "type": "string", - "nullable": true - }, - "volunteerCap": { - "type": "boolean" - }, - "groupCap": { - "type": "boolean" - }, - "groupLimit": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "totalVolunteersNeeded": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "locationName": { - "type": "string", - "nullable": true - }, - "locationLink": { - "type": "string", - "nullable": true - }, - "specialDirections": { - "type": "string", - "nullable": true - }, - "qrCodeImageLocation": { - "type": "string", - "nullable": true - }, - "schedule": { - "type": "string", - "nullable": true - }, - "projectEventLocationId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "projectRecurringTimeId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "deletedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "deleted": { - "type": "boolean" - }, - "contactName": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "eventCapReached": { - "type": "boolean", - "nullable": true - }, - "startDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "endDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "timezone": { - "type": "string", - "nullable": true - }, - "timeZoneEnumId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "statusId": { - "type": "integer", - "format": "int32" - }, - "deletedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "projectEventLocation": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEventLocation" - }, - "projectRecurringTime": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectRecurringTime" - }, - "customNotifications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CustomNotification" - }, - "nullable": true - }, - "projectEventRegions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEventRegion" - }, - "nullable": true - }, - "projectVolunteers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectVolunteer" - }, - "nullable": true - }, - "userEmailProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserEmailProject" - }, - "nullable": true - }, - "userNotifications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserNotification" - }, - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEventStatusEnum" - }, - "timeZoneEnum": { - "$ref": "#/components/schemas/JustServe.Entities.TimeZoneEnum" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectEventLocation": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "displayAddress": { - "type": "string", - "nullable": true - }, - "displayAddress2": { - "type": "string", - "nullable": true - }, - "displayPostalCode": { - "type": "string", - "nullable": true - }, - "displayCity": { - "type": "string", - "nullable": true - }, - "displayNeighborhood": { - "type": "string", - "nullable": true - }, - "displayCounty": { - "type": "string", - "nullable": true - }, - "displayState": { - "type": "string", - "nullable": true - }, - "displayCountry": { - "type": "string", - "nullable": true - }, - "displayCountryCode": { - "type": "string", - "nullable": true - }, - "locationName": { - "type": "string", - "nullable": true - }, - "locationDetails": { - "type": "string", - "nullable": true - }, - "civicGeographyId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "churchGeographyId": { - "type": "string", - "format": "uuid" - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "maxLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "timezone": { - "type": "string", - "nullable": true - }, - "timeZoneEnumId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "coordinates": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "area": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Polygon" - }, - "churchGeography": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeography" - }, - "civicGeography": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "projectEvents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEvent" - }, - "nullable": true - }, - "projectRecurringTimes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectRecurringTime" - }, - "nullable": true - }, - "timeZoneEnum": { - "$ref": "#/components/schemas/JustServe.Entities.TimeZoneEnum" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectEventRegion": { - "type": "object", - "properties": { - "civicGeographyId": { - "type": "string", - "format": "uuid" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "id": { - "type": "string", - "format": "uuid" - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "projectEventId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "civicGeography": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "projectEvent": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEvent" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeographyTypeEnum" - }, - "projectRecurringTimes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectRecurringTime" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectEventStatusEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "projectEvents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEvent" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectExternalVolunteerClick": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "clickDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectInOrganization": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "format": "uuid" - }, - "organizationId": { - "type": "string", - "format": "uuid" - }, - "reviewedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "reviewedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "reviewedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectInOrganizationGroup": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "format": "uuid" - }, - "organizationGroupId": { - "type": "string", - "format": "uuid" - }, - "organizationGroup": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroup" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectOwnerLog": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "ownerUserId": { - "type": "string", - "format": "uuid" - }, - "ownerUserFirstName": { - "type": "string", - "nullable": true - }, - "ownerUserLastName": { - "type": "string", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updatedBy": { - "type": "string", - "nullable": true - }, - "owner": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectRecurring": { - "type": "object", - "properties": { - "projectRecurringId": { - "type": "string", - "format": "uuid" - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "startDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "endDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "startDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "endDateTimeOffset": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "specialDirections": { - "type": "string", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "projectRecurringTimes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectRecurringTime" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectRecurringTime": { - "type": "object", - "properties": { - "projectRecurringTimeId": { - "type": "string", - "format": "uuid" - }, - "projectRecurringId": { - "type": "string", - "format": "uuid" - }, - "recurringTypeEnumId": { - "type": "integer", - "format": "int32" - }, - "startTime": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "endTime": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "volunteersCapped": { - "type": "boolean" - }, - "groupsCapped": { - "type": "boolean" - }, - "groupLimit": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "volunteersNeeded": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "sunday": { - "type": "boolean" - }, - "monday": { - "type": "boolean" - }, - "tuesday": { - "type": "boolean" - }, - "wednesday": { - "type": "boolean" - }, - "thursday": { - "type": "boolean" - }, - "friday": { - "type": "boolean" - }, - "saturday": { - "type": "boolean" - }, - "firstWeek": { - "type": "boolean" - }, - "secondWeek": { - "type": "boolean" - }, - "thirdWeek": { - "type": "boolean" - }, - "fourthWeek": { - "type": "boolean" - }, - "fifthWeek": { - "type": "boolean" - }, - "lastWeek": { - "type": "boolean" - }, - "projectEventLocationId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "projectEventRegionId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "contactName": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "startTimeFormatted": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "endTimeFormatted": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "specialDirections": { - "type": "string", - "nullable": true - }, - "locationName": { - "type": "string", - "nullable": true - }, - "locationLink": { - "type": "string", - "nullable": true - }, - "projectEventLocation": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEventLocation" - }, - "projectEventRegion": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEventRegion" - }, - "projectRecurring": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectRecurring" - }, - "recurringTypeEnum": { - "$ref": "#/components/schemas/JustServe.Entities.RecurringTypeEnum" - }, - "projectEvents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEvent" - }, - "nullable": true - }, - "recurringDaysOfMonths": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.RecurringDaysOfMonth" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectSearchStringCache": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "searchString": { - "type": "string", - "nullable": true - }, - "civicGeographyId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "browserLocale": { - "type": "string", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "civicGeography": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectStatusEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "projects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectTag": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "format": "uuid" - }, - "tagId": { - "type": "integer", - "format": "int32" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "tag": { - "$ref": "#/components/schemas/JustServe.Entities.Tag" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectTimeOfDay": { - "type": "object", - "properties": { - "projectId": { - "type": "string", - "format": "uuid" - }, - "timeOfDayId": { - "type": "integer", - "format": "int32" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "timeOfDay": { - "$ref": "#/components/schemas/JustServe.Entities.TimeOfDayEnum" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectTypeEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "projects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectUserOwner": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectVolunteer": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "userId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "projectEventId": { - "type": "string", - "format": "uuid" - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "languageId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "groupSize": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "schedule": { - "type": "string", - "nullable": true - }, - "dateInterested": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "volunteerDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deleted": { - "type": "boolean" - }, - "deletedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "note": { - "type": "string", - "nullable": true - }, - "deletedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "language": { - "$ref": "#/components/schemas/JustServe.Entities.SupportedLanguage" - }, - "projectEvent": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEvent" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "projectVolunteerHours": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectVolunteerHour" - }, - "nullable": true - }, - "projectVolunteerTags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectVolunteerTag" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectVolunteerHour": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "volunteerId": { - "type": "string", - "format": "uuid" - }, - "userAddedHours": { - "type": "number", - "format": "double", - "nullable": true - }, - "adminReportedHours": { - "type": "number", - "format": "double", - "nullable": true - }, - "volunteerDate": { - "type": "string", - "format": "date", - "nullable": true - }, - "volunteer": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectVolunteer" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ProjectVolunteerTag": { - "type": "object", - "properties": { - "projectVolunteerId": { - "type": "string", - "format": "uuid" - }, - "tagId": { - "type": "integer", - "format": "int32" - }, - "projectVolunteer": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectVolunteer" - }, - "tag": { - "$ref": "#/components/schemas/JustServe.Entities.Tag" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.QuickSearch": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "userId": { - "type": "string", - "format": "uuid" - }, - "title": { - "type": "string", - "nullable": true - }, - "searchTypeId": { - "type": "integer", - "format": "int32" - }, - "searchParameters": { - "type": "string", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.RecordOfService": { - "type": "object", - "properties": { - "recordOfServiceId": { - "type": "string", - "format": "uuid" - }, - "hoursServed": { - "type": "number", - "format": "double", - "nullable": true - }, - "organizationName": { - "type": "string", - "nullable": true - }, - "projectId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "projectName": { - "type": "string", - "nullable": true - }, - "userId": { - "type": "string", - "format": "uuid" - }, - "volunteeredOn": { - "type": "string", - "format": "date-time" - }, - "deleted": { - "type": "boolean" - }, - "deletedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "deletedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.RecurringDaysOfMonth": { - "type": "object", - "properties": { - "projectRecurringTimeId": { - "type": "string", - "format": "uuid" - }, - "dayOfMonth": { - "type": "integer", - "format": "int32" - }, - "projectRecurringTime": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectRecurringTime" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.RecurringTypeEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "projectRecurringTimes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectRecurringTime" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.RefreshToken": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "subject": { - "type": "string", - "nullable": true - }, - "clientId": { - "type": "string", - "nullable": true - }, - "userId": { - "type": "string", - "format": "uuid" - }, - "issuedUtc": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "expiresUtc": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.Resource": { - "type": "object", - "properties": { - "resourceId": { - "type": "string", - "format": "uuid" - }, - "languageId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "thumbnailImage": { - "type": "string", - "nullable": true - }, - "linkView": { - "type": "string", - "nullable": true - }, - "linkDownload": { - "type": "string", - "nullable": true - }, - "linkDownloadInternational": { - "type": "string", - "nullable": true - }, - "linkPrintFriendly": { - "type": "string", - "nullable": true - }, - "sizeMb": { - "type": "number", - "format": "double", - "nullable": true - }, - "order": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "language": { - "$ref": "#/components/schemas/JustServe.Entities.SupportedLanguage" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Entities.ResourceTypeEnum" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.ResourceTypeEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "resources": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Resource" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.RoleEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "churchGeographyUserRoles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeographyUserRole" - }, - "nullable": true - }, - "organizationUserRoles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationUserRole" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.SectionEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "organizationGroups": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroup" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.SponsorTypeEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "projects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.SuccessMediaTypeEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "successStoryMedia": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStoryMedium" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.SuccessStory": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "projectId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "languageId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "introduction": { - "type": "string", - "nullable": true - }, - "body": { - "type": "string", - "nullable": true - }, - "videoUrl": { - "type": "string", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "createdBy": { - "type": "string", - "format": "uuid" - }, - "updatedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "appendedInto": { - "type": "boolean", - "nullable": true - }, - "createdByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "language": { - "$ref": "#/components/schemas/JustServe.Entities.SupportedLanguage" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "updatedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "successStoryLocation": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStoryLocation" - }, - "successStoryCarousels": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStoryCarousel" - }, - "nullable": true - }, - "successStoryMedia": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStoryMedium" - }, - "nullable": true - }, - "successStoryTags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStoryTag" - }, - "nullable": true - }, - "successStoryUserOwners": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStoryUserOwner" - }, - "nullable": true - }, - "userNotifications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserNotification" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.SuccessStoryCarousel": { - "type": "object", - "properties": { - "successStoryId": { - "type": "string", - "format": "uuid" - }, - "attachmentId": { - "type": "string", - "format": "uuid" - }, - "attachment": { - "$ref": "#/components/schemas/JustServe.Entities.Attachment" - }, - "successStory": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStory" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.SuccessStoryLocation": { - "type": "object", - "properties": { - "successStoryId": { - "type": "string", - "format": "uuid" - }, - "displayAddress": { - "type": "string", - "nullable": true - }, - "displayAddress2": { - "type": "string", - "nullable": true - }, - "displayPostalCode": { - "type": "string", - "nullable": true - }, - "displayCity": { - "type": "string", - "nullable": true - }, - "displayNeighborhood": { - "type": "string", - "nullable": true - }, - "displayCounty": { - "type": "string", - "nullable": true - }, - "displayState": { - "type": "string", - "nullable": true - }, - "displayCountry": { - "type": "string", - "nullable": true - }, - "displayCountryCode": { - "type": "string", - "nullable": true - }, - "civicGeographyId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "churchGeographyId": { - "type": "string", - "format": "uuid" - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "churchGeography": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeography" - }, - "civicGeography": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "successStory": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStory" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.SuccessStoryMedium": { - "type": "object", - "properties": { - "successStoryId": { - "type": "string", - "format": "uuid" - }, - "attachmentId": { - "type": "string", - "format": "uuid" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "attachment": { - "$ref": "#/components/schemas/JustServe.Entities.Attachment" - }, - "successStory": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStory" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessMediaTypeEnum" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.SuccessStoryTag": { - "type": "object", - "properties": { - "successStoryId": { - "type": "string", - "format": "uuid" - }, - "tagId": { - "type": "integer", - "format": "int32" - }, - "successStory": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStory" - }, - "tag": { - "$ref": "#/components/schemas/JustServe.Entities.Tag" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.SuccessStoryUserOwner": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "successStoryId": { - "type": "string", - "format": "uuid" - }, - "successStory": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStory" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.SupportedLanguage": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "supportStartDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "supportEndDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "twoCharCode": { - "type": "string", - "nullable": true - }, - "threeCharCode": { - "type": "string", - "nullable": true - }, - "fiveCharCode": { - "type": "string", - "nullable": true - }, - "metaName": { - "type": "string", - "nullable": true - }, - "languageConfig": { - "type": "string", - "nullable": true - }, - "civicGeographyTranslations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeographyTranslation" - }, - "nullable": true - }, - "countryInfos": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CountryInfo" - }, - "nullable": true - }, - "customNotifications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CustomNotification" - }, - "nullable": true - }, - "emailLogs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.EmailLog" - }, - "nullable": true - }, - "organizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "nullable": true - }, - "projectVolunteers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectVolunteer" - }, - "nullable": true - }, - "projects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "nullable": true - }, - "resources": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Resource" - }, - "nullable": true - }, - "successStories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStory" - }, - "nullable": true - }, - "tagSubcategoryTranslations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.TagSubcategoryTranslation" - }, - "nullable": true - }, - "tagTranslations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.TagTranslation" - }, - "nullable": true - }, - "tagTypeTranslations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.TagTypeTranslation" - }, - "nullable": true - }, - "users": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "nullable": true - }, - "churchGeographyAdminLabelEnums": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeographyAdminLabelEnum" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.Tag": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "tagTypeId": { - "type": "integer", - "format": "int32" - }, - "tagSubcategoryId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "tagSubcategory": { - "$ref": "#/components/schemas/JustServe.Entities.TagSubcategoryTypeEnum" - }, - "tagType": { - "$ref": "#/components/schemas/JustServe.Entities.TagType" - }, - "organizationGroupTags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroupTag" - }, - "nullable": true - }, - "organizationTags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationTag" - }, - "nullable": true - }, - "projectTags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectTag" - }, - "nullable": true - }, - "successStoryTags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStoryTag" - }, - "nullable": true - }, - "tagTranslations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.TagTranslation" - }, - "nullable": true - }, - "userTags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserTag" - }, - "nullable": true - }, - "projectVolunteerTags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectVolunteerTag" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.TagSubcategoryTranslation": { - "type": "object", - "properties": { - "tagSubcategoryId": { - "type": "integer", - "format": "int32" - }, - "languageId": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "language": { - "$ref": "#/components/schemas/JustServe.Entities.SupportedLanguage" - }, - "tagSubcategory": { - "$ref": "#/components/schemas/JustServe.Entities.TagSubcategoryTypeEnum" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.TagSubcategoryTypeEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "tagTypeId": { - "type": "integer", - "format": "int32" - }, - "tagType": { - "$ref": "#/components/schemas/JustServe.Entities.TagType" - }, - "tagSubcategoryTranslations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.TagSubcategoryTranslation" - }, - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Tag" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.TagTranslation": { - "type": "object", - "properties": { - "tagId": { - "type": "integer", - "format": "int32" - }, - "languageId": { - "type": "integer", - "format": "int32" - }, - "tagTypeId": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "language": { - "$ref": "#/components/schemas/JustServe.Entities.SupportedLanguage" - }, - "tag": { - "$ref": "#/components/schemas/JustServe.Entities.Tag" - }, - "tagType": { - "$ref": "#/components/schemas/JustServe.Entities.TagType" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.TagType": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "tagSubcategoryTypeEnums": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.TagSubcategoryTypeEnum" - }, - "nullable": true - }, - "tagTranslations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.TagTranslation" - }, - "nullable": true - }, - "tagTypeTranslations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.TagTypeTranslation" - }, - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Tag" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.TagTypeTranslation": { - "type": "object", - "properties": { - "tagTypeId": { - "type": "integer", - "format": "int32" - }, - "languageId": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "language": { - "$ref": "#/components/schemas/JustServe.Entities.SupportedLanguage" - }, - "tagType": { - "$ref": "#/components/schemas/JustServe.Entities.TagType" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.TimeOfDayEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "projectTimeOfDays": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectTimeOfDay" - }, - "nullable": true - }, - "userTimeOfDays": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserTimeOfDay" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.TimeZoneEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "timeZoneId": { - "type": "string", - "nullable": true - }, - "timeZoneName": { - "type": "string", - "nullable": true - }, - "projectEvents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEvent" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.User": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "firstName": { - "type": "string", - "nullable": true - }, - "lastName": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "phone": { - "type": "string", - "nullable": true - }, - "languageId": { - "type": "integer", - "format": "int32" - }, - "radiusTypeId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "active": { - "type": "boolean", - "nullable": true - }, - "unsubscribeDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "lockoutCount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "lockoutDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "activationEmailLastNotified": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "activationEmailReminderCount": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "lastSignIn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "sponsorRole": { - "type": "boolean", - "nullable": true - }, - "viewedWhatsNewDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "personalInfoModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "notificationSettingsModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "searchPreferencesModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "locationModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "skillsModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "interestsModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "toolsModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "favoriteProjectModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "favoriteOrganizationModifiedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "adminKeywords": { - "type": "string", - "nullable": true - }, - "clockPreference": { - "type": "integer", - "format": "int32" - }, - "createProjectRoleGranted": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deleted": { - "type": "boolean" - }, - "deletedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedBy": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "deletedByNavigation": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "language": { - "$ref": "#/components/schemas/JustServe.Entities.SupportedLanguage" - }, - "radiusType": { - "$ref": "#/components/schemas/JustServe.Entities.DistanceEnum" - }, - "churchGeographyUserRoleUser": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeographyUserRole" - }, - "userAuthentication": { - "$ref": "#/components/schemas/JustServe.Entities.UserAuthentication" - }, - "userLocation": { - "$ref": "#/components/schemas/JustServe.Entities.UserLocation" - }, - "userNotificationPreference": { - "$ref": "#/components/schemas/JustServe.Entities.UserNotificationPreference" - }, - "userSearchPreference": { - "$ref": "#/components/schemas/JustServe.Entities.UserSearchPreference" - }, - "churchGeographyUserRoleCreatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeographyUserRole" - }, - "nullable": true - }, - "churchGeographyUserRoleUpdatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeographyUserRole" - }, - "nullable": true - }, - "customNotificationCreatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CustomNotification" - }, - "nullable": true - }, - "customNotificationUpdatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.CustomNotification" - }, - "nullable": true - }, - "emailLogs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.EmailLog" - }, - "nullable": true - }, - "inverseDeletedByNavigation": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "nullable": true - }, - "organizationAnnouncementCreatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationAnnouncement" - }, - "nullable": true - }, - "organizationAnnouncementUpdatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationAnnouncement" - }, - "nullable": true - }, - "organizationCreatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "nullable": true - }, - "organizationDeletedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "nullable": true - }, - "organizationGroupFaqCreatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroupFaq" - }, - "nullable": true - }, - "organizationGroupFaqUpdatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationGroupFaq" - }, - "nullable": true - }, - "organizationRepresentativeCreatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationRepresentative" - }, - "nullable": true - }, - "organizationRepresentativeJustServeRepUsers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationRepresentative" - }, - "nullable": true - }, - "organizationRepresentativeUpdatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationRepresentative" - }, - "nullable": true - }, - "organizationUpdatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "nullable": true - }, - "organizationUserRoleUpdatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationUserRole" - }, - "nullable": true - }, - "organizationUserRoleUsers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.OrganizationUserRole" - }, - "nullable": true - }, - "projectApprovalApplicantUsers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectApproval" - }, - "nullable": true - }, - "projectApprovalApproverUsers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectApproval" - }, - "nullable": true - }, - "projectCreatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "nullable": true - }, - "projectDeletedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "nullable": true - }, - "projectEvents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEvent" - }, - "nullable": true - }, - "projectInOrganizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectInOrganization" - }, - "nullable": true - }, - "projectRepresentativeUsers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "nullable": true - }, - "projectSponsorUsers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "nullable": true - }, - "projectUpdatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "nullable": true - }, - "projectUserOwners": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectUserOwner" - }, - "nullable": true - }, - "projectVolunteerDeletedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectVolunteer" - }, - "nullable": true - }, - "projectVolunteerUsers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectVolunteer" - }, - "nullable": true - }, - "recordOfServiceDeletedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.RecordOfService" - }, - "nullable": true - }, - "recordOfServiceUsers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.RecordOfService" - }, - "nullable": true - }, - "refreshTokens": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.RefreshToken" - }, - "nullable": true - }, - "successStoryCreatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStory" - }, - "nullable": true - }, - "successStoryUpdatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStory" - }, - "nullable": true - }, - "successStoryUserOwners": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStoryUserOwner" - }, - "nullable": true - }, - "userDayOfWeeks": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserDayOfWeek" - }, - "nullable": true - }, - "userEmailProjectContentUsers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserEmailProject" - }, - "nullable": true - }, - "userEmailProjectRecipientUsers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserEmailProject" - }, - "nullable": true - }, - "userFavoriteOrganizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserFavoriteOrganization" - }, - "nullable": true - }, - "userFavoriteProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserFavoriteProject" - }, - "nullable": true - }, - "userLoginHistories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserLoginHistory" - }, - "nullable": true - }, - "userNotificationBoundaryAdminUsers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserNotification" - }, - "nullable": true - }, - "userNotificationUsers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserNotification" - }, - "nullable": true - }, - "userProjectSearchLogs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserProjectSearchLog" - }, - "nullable": true - }, - "userTags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserTag" - }, - "nullable": true - }, - "userTimeOfDays": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserTimeOfDay" - }, - "nullable": true - }, - "widgets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Widget" - }, - "nullable": true - }, - "projectOwnerLog": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectOwnerLog" - }, - "nullable": true - }, - "quickSearches": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.QuickSearch" - }, - "nullable": true - }, - "metricsCreatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Metrics" - }, - "nullable": true - }, - "metricsUpdatedByNavigations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Metrics" - }, - "nullable": true - }, - "userChurchGeographyAdminLabels": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserChurchGeographyAdminLabel" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.UserAuthentication": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "username": { - "type": "string", - "nullable": true - }, - "password": { - "type": "string", - "nullable": true - }, - "facebookId": { - "type": "string", - "nullable": true - }, - "facebookZipCodeNotified": { - "type": "boolean", - "nullable": true - }, - "googleUserId": { - "type": "string", - "nullable": true - }, - "appleUserId": { - "type": "string", - "nullable": true - }, - "salt": { - "type": "string", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.UserChurchGeographyAdminLabel": { - "type": "object", - "properties": { - "churchGeographyAdminLabelEnumId": { - "type": "string", - "format": "uuid" - }, - "userId": { - "type": "string", - "format": "uuid" - }, - "churchGeographyAdminLabelEnum": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeographyAdminLabelEnum" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.UserDayOfWeek": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "dayOfWeekId": { - "type": "integer", - "format": "int32" - }, - "dayOfWeek": { - "$ref": "#/components/schemas/JustServe.Entities.DayOfWeekEnum" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.UserEmailProject": { - "type": "object", - "properties": { - "userEmailProjectId": { - "type": "integer", - "format": "int32" - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "projectEventId": { - "type": "string", - "format": "uuid" - }, - "recipientUserId": { - "type": "string", - "format": "uuid" - }, - "contentUserId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "emailSent": { - "type": "boolean", - "nullable": true - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "addedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "sentDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "contentUser": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "projectEvent": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEvent" - }, - "recipientUser": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Entities.UserEmailProjectTypeEnum" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.UserEmailProjectTypeEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "userEmailProjects": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.UserEmailProject" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "JustServe.Entities.UserFavoriteOrganization": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "organizationId": { - "type": "string", - "format": "uuid" - }, - "favoritedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.UserFavoriteProject": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "projectId": { - "type": "string", - "format": "uuid" - }, - "favoritedOn": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.UserLocation": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "displayAddress": { - "type": "string", - "nullable": true - }, - "displayAddress2": { - "type": "string", - "nullable": true - }, - "displayPostalCode": { - "type": "string", - "nullable": true - }, - "displayCity": { - "type": "string", - "nullable": true - }, - "displayNeighborhood": { - "type": "string", - "nullable": true - }, - "displayCounty": { - "type": "string", - "nullable": true - }, - "displayState": { - "type": "string", - "nullable": true - }, - "displayCountry": { - "type": "string", - "nullable": true - }, - "displayCountryCode": { - "type": "string", - "nullable": true - }, - "civicGeographyId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "churchGeographyId": { - "type": "string", - "format": "uuid" - }, - "updated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "latitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "longitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLatitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "minLongitude": { - "type": "number", - "format": "double", - "nullable": true - }, - "coordinates": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "area": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Polygon" - }, - "churchGeography": { - "$ref": "#/components/schemas/JustServe.Entities.ChurchGeography" - }, - "civicGeography": { - "$ref": "#/components/schemas/JustServe.Entities.CivicGeography" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.UserLoginHistory": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "userId": { - "type": "string", - "format": "uuid" - }, - "loginAt": { - "type": "string", - "format": "date-time" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.UserNotification": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "userId": { - "type": "string", - "format": "uuid" - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "levelId": { - "type": "integer", - "format": "int32" - }, - "statusId": { - "type": "integer", - "format": "int32" - }, - "createdDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "showStartDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "showEndDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "projectId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "projectEventId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "successStoryId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "organizationId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "boundaryAdminUserId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "customNotificationId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "boundaryAdminUser": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "customNotification": { - "$ref": "#/components/schemas/JustServe.Entities.CustomNotification" - }, - "level": { - "$ref": "#/components/schemas/JustServe.Entities.NotificationLevelEnum" - }, - "organization": { - "$ref": "#/components/schemas/JustServe.Entities.Organization" - }, - "project": { - "$ref": "#/components/schemas/JustServe.Entities.Project" - }, - "projectEvent": { - "$ref": "#/components/schemas/JustServe.Entities.ProjectEvent" - }, - "status": { - "$ref": "#/components/schemas/JustServe.Entities.NotificationStatusEnum" - }, - "successStory": { - "$ref": "#/components/schemas/JustServe.Entities.SuccessStory" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Entities.NotificationTypeEnum" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.UserNotificationPreference": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "generalNotificationOptIn": { - "type": "boolean", - "nullable": true - }, - "volunteerNewsletterRadius": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "volunteerNewsletter": { - "type": "boolean", - "nullable": true - }, - "recieveTexts": { - "type": "boolean", - "nullable": true - }, - "includeSponsorAdminInfo": { - "type": "boolean", - "nullable": true - }, - "notifyUpcomingVolunteeredProjects": { - "type": "boolean", - "nullable": true - }, - "notifyUpcommingVolunteeredProjectsDaysPrior": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "disasterReliefRegistrationSeen": { - "type": "boolean", - "nullable": true - }, - "donateDisasterReliefChecked": { - "type": "boolean", - "nullable": true - }, - "disasterReliefAvailability": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "volunteerForDisasterReliefChecked": { - "type": "boolean", - "nullable": true - }, - "generalMarketingOptIn": { - "type": "boolean", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.UserProjectSearchLog": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "userId": { - "type": "string", - "format": "uuid" - }, - "searchedOn": { - "type": "string", - "format": "date-time" - }, - "keywords": { - "type": "string", - "nullable": true - }, - "locationSearch": { - "type": "string", - "nullable": true - }, - "radius": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.UserSearchPreference": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "suitableAllAges": { - "type": "boolean", - "nullable": true - }, - "groupProject": { - "type": "boolean", - "nullable": true - }, - "volunteerRemotely": { - "type": "boolean", - "nullable": true - }, - "itemDonations": { - "type": "boolean", - "nullable": true - }, - "wheelchairAccessible": { - "type": "boolean", - "nullable": true - }, - "indoors": { - "type": "boolean", - "nullable": true - }, - "youthGroups": { - "type": "boolean", - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.UserTag": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "tagId": { - "type": "integer", - "format": "int32" - }, - "tag": { - "$ref": "#/components/schemas/JustServe.Entities.Tag" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.UserTimeOfDay": { - "type": "object", - "properties": { - "userId": { - "type": "string", - "format": "uuid" - }, - "timeOfDayId": { - "type": "integer", - "format": "int32" - }, - "timeOfDay": { - "$ref": "#/components/schemas/JustServe.Entities.TimeOfDayEnum" - }, - "user": { - "$ref": "#/components/schemas/JustServe.Entities.User" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.Widget": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "ownerId": { - "type": "string", - "format": "uuid" - }, - "key": { - "type": "string", - "nullable": true - }, - "applicationName": { - "type": "string", - "nullable": true - }, - "applicationPath": { - "type": "string", - "nullable": true - }, - "contactEmail": { - "type": "string", - "nullable": true - }, - "contactPhone": { - "type": "string", - "nullable": true - }, - "analyticsUrlTag": { - "type": "string", - "nullable": true - }, - "typeId": { - "type": "integer", - "format": "int32" - }, - "owner": { - "$ref": "#/components/schemas/JustServe.Entities.User" - }, - "type": { - "$ref": "#/components/schemas/JustServe.Entities.WidgetTypeEnum" - } - }, - "additionalProperties": false - }, - "JustServe.Entities.WidgetTypeEnum": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "label": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "widgets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JustServe.Entities.Widget" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "Microsoft.AspNetCore.Mvc.ActionResult": { - "type": "object", - "additionalProperties": false - }, - "Microsoft.AspNetCore.Mvc.ActionResult`1[[JustServe.Entities.UserNotificationPreference, JustServe.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { - "type": "object", - "properties": { - "result": { - "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ActionResult" - }, - "value": { - "$ref": "#/components/schemas/JustServe.Entities.UserNotificationPreference" - } - }, - "additionalProperties": false - }, - "NetTopologySuite.Geometries.Coordinate": { - "type": "object", - "properties": { - "x": { - "type": "number", - "format": "double" - }, - "y": { - "type": "number", - "format": "double" - }, - "z": { - "type": "number", - "format": "double" - }, - "m": { - "type": "number", - "format": "double" - }, - "coordinateValue": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Coordinate" - }, - "isValid": { - "type": "boolean", - "readOnly": true - } - }, - "additionalProperties": false - }, - "NetTopologySuite.Geometries.CoordinateEqualityComparer": { - "type": "object", - "additionalProperties": false - }, - "NetTopologySuite.Geometries.CoordinateSequence": { - "type": "object", - "properties": { - "dimension": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "measures": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "spatial": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "ordinates": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Ordinates" - }, - "hasZ": { - "type": "boolean", - "readOnly": true - }, - "hasM": { - "type": "boolean", - "readOnly": true - }, - "zOrdinateIndex": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "mOrdinateIndex": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "first": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Coordinate" - }, - "last": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Coordinate" - }, - "count": { - "type": "integer", - "format": "int32", - "readOnly": true - } - }, - "additionalProperties": false - }, - "NetTopologySuite.Geometries.CoordinateSequenceFactory": { - "type": "object", - "properties": { - "ordinates": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Ordinates" - } - }, - "additionalProperties": false - }, - "NetTopologySuite.Geometries.Dimension": { - "enum": [ - "Point", - "P", - "Curve", - "L", - "Surface", - "A", - "Collapse", - "Dontcare", - "True", - "False", - "Unknown" - ], - "type": "integer", - "format": "int32" - }, - "NetTopologySuite.Geometries.Envelope": { - "type": "object", - "properties": { - "isNull": { - "type": "boolean", - "readOnly": true - }, - "width": { - "type": "number", - "format": "double", - "readOnly": true - }, - "height": { - "type": "number", - "format": "double", - "readOnly": true - }, - "diameter": { - "type": "number", - "format": "double", - "readOnly": true - }, - "minX": { - "type": "number", - "format": "double", - "readOnly": true - }, - "maxX": { - "type": "number", - "format": "double", - "readOnly": true - }, - "minY": { - "type": "number", - "format": "double", - "readOnly": true - }, - "maxY": { - "type": "number", - "format": "double", - "readOnly": true - }, - "area": { - "type": "number", - "format": "double", - "readOnly": true - }, - "minExtent": { - "type": "number", - "format": "double", - "readOnly": true - }, - "maxExtent": { - "type": "number", - "format": "double", - "readOnly": true - }, - "centre": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Coordinate" - } - }, - "additionalProperties": false - }, - "NetTopologySuite.Geometries.Geometry": { - "type": "object", - "properties": { - "factory": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.GeometryFactory" - }, - "userData": { - "nullable": true - }, - "srid": { - "type": "integer", - "format": "int32" - }, - "geometryType": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "ogcGeometryType": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.OgcGeometryType" - }, - "precisionModel": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.PrecisionModel" - }, - "coordinate": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Coordinate" - }, - "coordinates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Coordinate" - }, - "nullable": true, - "readOnly": true - }, - "numPoints": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "numGeometries": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "isSimple": { - "type": "boolean", - "readOnly": true - }, - "isValid": { - "type": "boolean", - "readOnly": true - }, - "isEmpty": { - "type": "boolean", - "readOnly": true - }, - "area": { - "type": "number", - "format": "double", - "readOnly": true - }, - "length": { - "type": "number", - "format": "double", - "readOnly": true - }, - "centroid": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "interiorPoint": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "pointOnSurface": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "dimension": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Dimension" - }, - "boundary": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Geometry" - }, - "boundaryDimension": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Dimension" - }, - "envelope": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Geometry" - }, - "envelopeInternal": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Envelope" - }, - "isRectangle": { - "type": "boolean", - "readOnly": true - } - }, - "additionalProperties": false - }, - "NetTopologySuite.Geometries.GeometryFactory": { - "type": "object", - "properties": { - "precisionModel": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.PrecisionModel" - }, - "coordinateSequenceFactory": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.CoordinateSequenceFactory" - }, - "srid": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "geometryServices": { - "$ref": "#/components/schemas/NetTopologySuite.NtsGeometryServices" - } - }, - "additionalProperties": false - }, - "NetTopologySuite.Geometries.GeometryOverlay": { - "type": "object", - "additionalProperties": false - }, - "NetTopologySuite.Geometries.LineString": { - "type": "object", - "properties": { - "factory": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.GeometryFactory" - }, - "userData": { - "nullable": true - }, - "srid": { - "type": "integer", - "format": "int32" - }, - "precisionModel": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.PrecisionModel" - }, - "numGeometries": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "isSimple": { - "type": "boolean", - "readOnly": true - }, - "isValid": { - "type": "boolean", - "readOnly": true - }, - "area": { - "type": "number", - "format": "double", - "readOnly": true - }, - "centroid": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "interiorPoint": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "pointOnSurface": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "envelope": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Geometry" - }, - "envelopeInternal": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Envelope" - }, - "isRectangle": { - "type": "boolean", - "readOnly": true - }, - "coordinates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Coordinate" - }, - "nullable": true, - "readOnly": true - }, - "coordinateSequence": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.CoordinateSequence" - }, - "coordinate": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Coordinate" - }, - "dimension": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Dimension" - }, - "boundaryDimension": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Dimension" - }, - "isEmpty": { - "type": "boolean", - "readOnly": true - }, - "numPoints": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "startPoint": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "endPoint": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "isClosed": { - "type": "boolean", - "readOnly": true - }, - "isRing": { - "type": "boolean", - "readOnly": true - }, - "geometryType": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "ogcGeometryType": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.OgcGeometryType" - }, - "length": { - "type": "number", - "format": "double", - "readOnly": true - }, - "boundary": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Geometry" - }, - "count": { - "type": "integer", - "format": "int32", - "readOnly": true - } - }, - "additionalProperties": false - }, - "NetTopologySuite.Geometries.LinearRing": { - "type": "object", - "properties": { - "factory": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.GeometryFactory" - }, - "userData": { - "nullable": true - }, - "srid": { - "type": "integer", - "format": "int32" - }, - "precisionModel": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.PrecisionModel" - }, - "numGeometries": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "isSimple": { - "type": "boolean", - "readOnly": true - }, - "isValid": { - "type": "boolean", - "readOnly": true - }, - "area": { - "type": "number", - "format": "double", - "readOnly": true - }, - "centroid": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "interiorPoint": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "pointOnSurface": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "envelope": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Geometry" - }, - "envelopeInternal": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Envelope" - }, - "isRectangle": { - "type": "boolean", - "readOnly": true - }, - "coordinates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Coordinate" - }, - "nullable": true, - "readOnly": true - }, - "coordinateSequence": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.CoordinateSequence" - }, - "coordinate": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Coordinate" - }, - "dimension": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Dimension" - }, - "isEmpty": { - "type": "boolean", - "readOnly": true - }, - "numPoints": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "startPoint": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "endPoint": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "isRing": { - "type": "boolean", - "readOnly": true - }, - "ogcGeometryType": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.OgcGeometryType" - }, - "length": { - "type": "number", - "format": "double", - "readOnly": true - }, - "boundary": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Geometry" - }, - "count": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "boundaryDimension": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Dimension" - }, - "isClosed": { - "type": "boolean", - "readOnly": true - }, - "geometryType": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "isCCW": { - "type": "boolean", - "readOnly": true - } - }, - "additionalProperties": false - }, - "NetTopologySuite.Geometries.OgcGeometryType": { - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPoint", - "MultiLineString", - "MultiPolygon", - "GeometryCollection", - "CircularString", - "CompoundCurve", - "CurvePolygon", - "MultiCurve", - "MultiSurface", - "Curve", - "Surface", - "PolyhedralSurface", - "TIN" - ], - "type": "integer", - "format": "int32" - }, - "NetTopologySuite.Geometries.Ordinates": { - "enum": [ - "None", - "X", - "Spatial1", - "Y", - "Spatial2", - "XY", - "Z", - "Spatial3", - "XYZ", - "Spatial4", - "Spatial5", - "Spatial6", - "Spatial7", - "Spatial8", - "Spatial9", - "Spatial10", - "Spatial11", - "Spatial12", - "Spatial13", - "Spatial14", - "Spatial15", - "Spatial16", - "AllSpatialOrdinates", - "M", - "Measure1", - "XYM", - "XYZM", - "Measure2", - "Measure3", - "Measure4", - "Measure5", - "Measure6", - "Measure7", - "Measure8", - "Measure9", - "Measure10", - "Measure11", - "Measure12", - "Measure13", - "Measure14", - "Measure15", - "Measure16", - "AllMeasureOrdinates", - "AllOrdinates" - ], - "type": "integer", - "format": "int32" - }, - "NetTopologySuite.Geometries.Point": { - "type": "object", - "properties": { - "factory": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.GeometryFactory" - }, - "userData": { - "nullable": true - }, - "srid": { - "type": "integer", - "format": "int32" - }, - "precisionModel": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.PrecisionModel" - }, - "numGeometries": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "isSimple": { - "type": "boolean", - "readOnly": true - }, - "isValid": { - "type": "boolean", - "readOnly": true - }, - "area": { - "type": "number", - "format": "double", - "readOnly": true - }, - "length": { - "type": "number", - "format": "double", - "readOnly": true - }, - "centroid": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "interiorPoint": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "pointOnSurface": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "envelope": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Geometry" - }, - "envelopeInternal": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Envelope" - }, - "isRectangle": { - "type": "boolean", - "readOnly": true - }, - "coordinateSequence": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.CoordinateSequence" - }, - "coordinates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Coordinate" - }, - "nullable": true, - "readOnly": true - }, - "numPoints": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "isEmpty": { - "type": "boolean", - "readOnly": true - }, - "dimension": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Dimension" - }, - "boundaryDimension": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Dimension" - }, - "x": { - "type": "number", - "format": "double" - }, - "y": { - "type": "number", - "format": "double" - }, - "coordinate": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Coordinate" - }, - "geometryType": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "ogcGeometryType": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.OgcGeometryType" - }, - "boundary": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Geometry" - }, - "z": { - "type": "number", - "format": "double" - }, - "m": { - "type": "number", - "format": "double" - } - }, - "additionalProperties": false - }, - "NetTopologySuite.Geometries.Polygon": { - "type": "object", - "properties": { - "factory": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.GeometryFactory" - }, - "userData": { - "nullable": true - }, - "srid": { - "type": "integer", - "format": "int32" - }, - "precisionModel": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.PrecisionModel" - }, - "numGeometries": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "isSimple": { - "type": "boolean", - "readOnly": true - }, - "isValid": { - "type": "boolean", - "readOnly": true - }, - "centroid": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "interiorPoint": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "pointOnSurface": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Point" - }, - "envelope": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Geometry" - }, - "envelopeInternal": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Envelope" - }, - "coordinate": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Coordinate" - }, - "coordinates": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Coordinate" - }, - "nullable": true, - "readOnly": true - }, - "numPoints": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "dimension": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Dimension" - }, - "boundaryDimension": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Dimension" - }, - "isEmpty": { - "type": "boolean", - "readOnly": true - }, - "exteriorRing": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.LineString" - }, - "numInteriorRings": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "interiorRings": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.LineString" - }, - "nullable": true, - "readOnly": true - }, - "geometryType": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "ogcGeometryType": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.OgcGeometryType" - }, - "area": { - "type": "number", - "format": "double", - "readOnly": true - }, - "length": { - "type": "number", - "format": "double", - "readOnly": true - }, - "boundary": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.Geometry" - }, - "isRectangle": { - "type": "boolean", - "readOnly": true - }, - "shell": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.LinearRing" - }, - "holes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.LinearRing" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "NetTopologySuite.Geometries.PrecisionModel": { - "type": "object", - "properties": { - "isFloating": { - "type": "boolean", - "readOnly": true - }, - "maximumSignificantDigits": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "scale": { - "type": "number", - "format": "double" - }, - "gridSize": { - "type": "number", - "format": "double", - "readOnly": true - }, - "precisionModelType": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.PrecisionModels" - } - }, - "additionalProperties": false - }, - "NetTopologySuite.Geometries.PrecisionModels": { - "enum": [ - "Floating", - "FloatingSingle", - "Fixed" - ], - "type": "integer", - "format": "int32" - }, - "NetTopologySuite.NtsGeometryServices": { - "type": "object", - "properties": { - "geometryOverlay": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.GeometryOverlay" - }, - "coordinateEqualityComparer": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.CoordinateEqualityComparer" - }, - "defaultSRID": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "defaultCoordinateSequenceFactory": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.CoordinateSequenceFactory" - }, - "defaultPrecisionModel": { - "$ref": "#/components/schemas/NetTopologySuite.Geometries.PrecisionModel" - } - }, - "additionalProperties": false - }, - "System.DayOfWeek": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "integer", - "format": "int32" - }, - "System.Security.Claims.Claim": { - "type": "object", - "properties": { - "issuer": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "originalIssuer": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "properties": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "nullable": true, - "readOnly": true - }, - "subject": { - "$ref": "#/components/schemas/System.Security.Claims.ClaimsIdentity" - }, - "type": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "value": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "valueType": { - "type": "string", - "nullable": true, - "readOnly": true - } - }, - "additionalProperties": false - }, - "System.Security.Claims.ClaimsIdentity": { - "type": "object", - "properties": { - "authenticationType": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "isAuthenticated": { - "type": "boolean", - "readOnly": true - }, - "actor": { - "$ref": "#/components/schemas/System.Security.Claims.ClaimsIdentity" - }, - "bootstrapContext": { - "nullable": true - }, - "claims": { - "type": "array", - "items": { - "$ref": "#/components/schemas/System.Security.Claims.Claim" - }, - "nullable": true, - "readOnly": true - }, - "label": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "nameClaimType": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "roleClaimType": { - "type": "string", - "nullable": true, - "readOnly": true - } - }, - "additionalProperties": false - } - }, - "securitySchemes": { - "Bearer": { - "type": "http", - "description": "Please enter a valid token from the login endpoint", - "scheme": "Bearer", - "bearerFormat": "JWT" - } - } - }, - "security": [ - { - "Bearer": [ ] - } - ] -} \ No newline at end of file diff --git a/src/test/README.md b/src/test/README.md deleted file mode 100644 index 26f3b3f..0000000 --- a/src/test/README.md +++ /dev/null @@ -1,2 +0,0 @@ -## Required Files - diff --git a/src/test/groovy/org/justserve/JustServeSpec.groovy b/src/test/groovy/org/justserve/JustServeSpec.groovy deleted file mode 100644 index 7fa11a0..0000000 --- a/src/test/groovy/org/justserve/JustServeSpec.groovy +++ /dev/null @@ -1,211 +0,0 @@ -package org.justserve - -import io.micronaut.context.ApplicationContext -import io.micronaut.context.env.Environment -import io.micronaut.http.HttpResponse -import io.micronaut.http.HttpStatus -import io.micronaut.http.client.exceptions.HttpClientResponseException -import io.micronaut.test.extensions.spock.annotation.MicronautTest -import net.datafaker.Faker -import org.apache.commons.lang3.RandomStringUtils -import org.justserve.client.* -import org.justserve.model.* -import spock.lang.Shared -import spock.lang.Specification - -import static org.justserve.model.DistanceType.MILES - -@MicronautTest() -class JustServeSpec extends Specification { - - - // ---------- fields ---------- - @Shared - String knownWorkingLocation = "Latitude, Longitude : 32.75338, -96.80831, Dallas, Dallas County, Texas, 75203, United States" - - @Shared - TestUser[] users - - @Shared - List searchResults - - @Shared - Faker faker - - // ---------- clients ---------- - @Shared - ApplicationContext ctx, noAuthCtx - - @Shared - UserClient noAuthUserClient - - @Shared - BoundaryPermissionClient authBoundaryPermissionClient - - @Shared - DynamicRoutingClient authDynamicRoutingClient - - @Shared - ImageClient authImageClient - - @Shared - OrganizationClient authOrgClient - - @Shared - UserClient userClient - - @Shared - TestUser readOnlyUser - - @Shared - ProjectClient projectClient - - - def setupSpec() { - faker = new Faker() - // if (null != System.getenv("JUSTSERVE_TOKEN")) { - // throw new IllegalStateException("JUSTSERVE_TOKEN is set. Do not define this variable in testing.") - // } - ctx = ApplicationContext.builder() - .environments(Environment.CLI, Environment.TEST) - .properties([ - "justserve.token": System.getenv("TEST_TOKEN") - ]) - .build() - .start() - noAuthCtx = ApplicationContext - .builder() - .environments(Environment.CLI, Environment.TEST) - .environmentVariableExcludes("JUSTSERVE_TOKEN") - .build() - .start() - noAuthUserClient = noAuthCtx.getBean(UserClient) - users = new TestUser[]{new TestUser(new Faker(Locale.of("en-us")))} - authImageClient = ctx.getBean(ImageClient) - authOrgClient = ctx.getBean(OrganizationClient) - authBoundaryPermissionClient = ctx.getBean(BoundaryPermissionClient) - authDynamicRoutingClient = ctx.getBean(DynamicRoutingClient) - userClient = ctx.getBean(UserClient) - readOnlyUser = new TestUser(new Faker(Locale.of("en-us"))) - projectClient = ctx.getBean(ProjectClient) - - // TODO: validate the user does not already exist (use the admin client user search) - String customRandomEmail=RandomStringUtils.insecure().nextAlphanumeric(20)+ "@fake.com" - readOnlyUser.uuid = createUserFromFaker(noAuthUserClient, readOnlyUser, customRandomEmail).body().getId() - searchResults = getProjectsByLocation(faker.location().toString()) - } - - void cleanupSpec() { - noAuthCtx.stop() - ctx.stop() - } - - def createUser(UserClient client = noAuthUserClient) { - HttpResponse response = null - def tries = 0 - while ((null == response || HttpStatus.OK != response.status()) && tries < 5) { - try { - // A new user is generated on each loop iteration to avoid collisions - response = createUserFromFaker(client, new TestUser(new Faker(Locale.of("en-us")))) - } catch (HttpClientResponseException ignored) { - tries++ - // This user likely already exists, so we'll loop and try a new one. - } - } - return response - } - - private static def createUserFromFaker(UserClient client, TestUser user, String uniqueEmailInput=null) { - return client.createUser( - user.firstName, - user.lastName, - (uniqueEmailInput ?: user.email) as String, //in the case that we provide our own custom email, to avoid the same email being repeated - user.password, - user.zipcode, - user.locale, - user.country, - user.countryCode) - } - - List getProjectsByLocation(String location) { - return getProjects(" ", 1, 10, location, "en-US") - } - - List getProjects(String keyword = " ", int page = 1, int size = 10, String location = " ", String locale = "en-US") { - return projectClient.searchProjects(new ProjectSearchRequest().setPage(Integer.valueOf(page)) - .setSize(size).setKeywords(keyword).setLocation(location).setRadiusType(MILES).setVolunteerFromAnywhere(false) - .setIncludeOrgInfo(true).setLanguage(locale).setBrowserLocale(locale).setPublishedOnly(false) - .setIncludeFilledProjects(true).setDisasterRecoveryProjectsOnly(false).setTimesOfDay(null)).body().getItems() - - } - - /** - * creates a random org for testing - * @return - */ - UUID createOrg() { - def orgRequest = new OrganizationCreateRequest() - .setContactEmail(faker.internet().emailAddress()) - .setContactName(faker.zelda().character()) - .setContactPhone(faker.phoneNumber().phoneNumber()) - .setDescription(faker.zelda().game()) - .setLocationString(knownWorkingLocation) - .setLogo(getUploadedImageFileName()) - .setName(faker.zelda().character()) - .set_public(null) - .setUrl(getUniqueSlug()) - .setVolunteerCenterInfo(null) - .setWebsite(faker.internet().url()) - authOrgClient.createOrganization(orgRequest) - return authDynamicRoutingClient.getOrgIdFromSlug(orgRequest.url).body().id - } - - /** - * Creates a specified number of random organizations for testing. - * @param count The number of organizations to create. - * @return A list of UUIDs for the created organizations. - */ - List createTestOrgs(int count) { - return (1..count).collect { - createOrg() - } - } - - - /** - * Creates a default organization search request for testing. - * @return A pre-configured {@link org.justserve.model.OrganizationSearchRequest}. - */ - static OrganizationSearchRequest createSearchRequestForElkGrove() { - return new OrganizationSearchRequest() - .setLocation("Elk Grove, CA 95758, USA") - .setSortBy("az") - } - - /** - * Uploads a fake JPG image and returns the display file name. - * @return The file name of the uploaded image. - */ - String getUploadedImageFileName() { - HttpResponse profileImage = authImageClient.uploadImage( - new ImageUploadRequest(faker.image().base64JPG().split(",")[1], 256, 256, false, 0, 0) - ) - return profileImage.body().displayFileName - } - - /** - * Generates a unique URL slug for an organization by checking for its existence. - * @return A unique string to be used as a URL slug. - */ - String getUniqueSlug() { - String urlSlug = null - while (null == urlSlug) { - def potentialSlug = faker.word().noun() - def response = authDynamicRoutingClient.getOrgIdFromSlug(potentialSlug) - if (response.status() == HttpStatus.NOT_FOUND) { - urlSlug = potentialSlug - } - } - return urlSlug - } -} diff --git a/src/test/groovy/org/justserve/TestUser.groovy b/src/test/groovy/org/justserve/TestUser.groovy deleted file mode 100644 index e075641..0000000 --- a/src/test/groovy/org/justserve/TestUser.groovy +++ /dev/null @@ -1,28 +0,0 @@ -package org.justserve - - -import net.datafaker.Faker -import net.datafaker.providers.base.Address - -class TestUser { - - public final String email, firstName, lastName, password, zipcode, countryCode, country, locale - public UUID uuid = null - - /** - * constructor that generates fake data for the model's properties. - * - * @param faker seed for a faker, say a specific locale. - */ - TestUser(Faker faker) { - this.email = faker.internet().emailAddress(); - this.firstName = faker.name().firstName(); - this.lastName = faker.name().lastName(); - Address address = faker.address() - this.zipcode = address.zipCode(); - this.countryCode = address.countryCode(); - this.country = address.country(); - this.locale = faker.locality().localeString() - this.password = faker.credentials().password(8,100,true,true,true); - } -} diff --git a/src/test/groovy/org/justserve/client/BoundaryPermissionSpec.groovy b/src/test/groovy/org/justserve/client/BoundaryPermissionSpec.groovy deleted file mode 100644 index ad32930..0000000 --- a/src/test/groovy/org/justserve/client/BoundaryPermissionSpec.groovy +++ /dev/null @@ -1,46 +0,0 @@ -package org.justserve.client - -import io.micronaut.http.HttpResponse -import io.micronaut.http.client.exceptions.HttpClientResponseException -import org.justserve.JustServeSpec -import spock.lang.Shared - -import static io.micronaut.http.HttpStatus.INTERNAL_SERVER_ERROR - -class BoundaryPermissionSpec extends JustServeSpec { - - @Shared - BoundaryPermissionClient noAuthBoundaryPermissionClient, authBoundaryPermissionClient - - def setupSpec() { - noAuthBoundaryPermissionClient = noAuthCtx.getBean(BoundaryPermissionClient) - authBoundaryPermissionClient = ctx.getBean(BoundaryPermissionClient) - } - - def "can reassign organizations #title"() { - given: - UUID userID = createUser().body().id - - when: - HttpResponse response = authBoundaryPermissionClient.makeAdminForOrg(orgID, userID) - - then: - if (!expectedError) { - verifyAll { - null == response.body() - authOrgClient.getOrgOwners(orgID).body().stream().anyMatch { user -> (user.id == userID) } - } - return - } - def exception = thrown(HttpClientResponseException) - exception.status == expectedError - - where: - client | expectedError | title | orgID | _ - authBoundaryPermissionClient | null | "with a good OrgID as an admin and the request succeeds" | createOrg() | _ - noAuthBoundaryPermissionClient | INTERNAL_SERVER_ERROR | "with a bad OrgID as an admin and the request fails" | UUID.fromString(faker.internet().uuid().toString()) | _ -// noAuthBoundaryPermissionClient | UNAUTHORIZED | "as an unauthorized user and the request fails" | createOrg() | _ - } - - -} diff --git a/src/test/groovy/org/justserve/client/DynamicRoutingClientSpec.groovy b/src/test/groovy/org/justserve/client/DynamicRoutingClientSpec.groovy deleted file mode 100644 index 7b5f6e9..0000000 --- a/src/test/groovy/org/justserve/client/DynamicRoutingClientSpec.groovy +++ /dev/null @@ -1,40 +0,0 @@ -package org.justserve.client - -import io.micronaut.http.HttpResponse -import io.micronaut.http.HttpStatus -import org.justserve.JustServeSpec -import org.justserve.model.DynamicRoutingDataResponse -import spock.lang.Shared - -class DynamicRoutingClientSpec extends JustServeSpec { - - @Shared - DynamicRoutingClient noAuthClient, authClient - - @Shared - String realOrgSlug - - - def setupSpec() { - noAuthClient = noAuthCtx.getBean(DynamicRoutingClient) - authClient = ctx.getBean(DynamicRoutingClient) - realOrgSlug = authOrgClient.searchByLocation(createSearchRequestForElkGrove()).body().getOrganizations().url.first().toString() - } - - def "get orgId for #url"() { - when: - HttpResponse response = client.getOrgIdFromSlug(url) - then: - response.status() == expectedStatus - if (expectedStatus == HttpStatus.OK) { - response.body().id != null - } - - where: - url | expectedStatus | client - realOrgSlug | HttpStatus.OK | authClient - realOrgSlug | HttpStatus.OK | noAuthClient - "1234" | HttpStatus.NOT_FOUND | authClient - "1234" | HttpStatus.NOT_FOUND | noAuthClient - } -} diff --git a/src/test/groovy/org/justserve/client/ImageClientSpec.groovy b/src/test/groovy/org/justserve/client/ImageClientSpec.groovy deleted file mode 100644 index 8749aed..0000000 --- a/src/test/groovy/org/justserve/client/ImageClientSpec.groovy +++ /dev/null @@ -1,60 +0,0 @@ -package org.justserve.client - -import io.micronaut.http.HttpStatus -import io.micronaut.http.client.exceptions.HttpClientResponseException -import org.justserve.JustServeSpec -import org.justserve.model.ImageUploadRequest -import spock.lang.Shared - -class ImageClientSpec extends JustServeSpec { - - @Shared - ImageClient noAuthImageClient - - def setupSpec() { - noAuthImageClient = noAuthCtx.getBean(ImageClient) - //authImageClient created in JustServeSpec - } - - void "can upload an image with #title with no errors"() { - given: - // data faker gives full metadata before the base64 string - def imageUpload = new ImageUploadRequest(faker.image().base64JPG().split(",")[1], 256, 256, false, 0, 0) - - when: - client.uploadImage(imageUpload) - - then: - noExceptionThrown() - - where: - client | title - authImageClient | "auth client" - } - - void "can upload an image with #title with expected status"() { - given: - // data faker gives full metadata before the base64 string - def imageUpload = new ImageUploadRequest(faker.image().base64JPG().split(",")[1], 256, 256, false, 0, 0) - - when: - def response = client.uploadImage(imageUpload) - - then: - if (!expectedStatus) { - response.status() == HttpStatus.CREATED - response.body() != null - return - } - def exception = thrown(HttpClientResponseException) - exception.status == expectedStatus - - - where: - expectedStatus | client | title - null | authImageClient | "auth client" - HttpStatus.UNAUTHORIZED | noAuthImageClient | "no auth client" - } - - -} diff --git a/src/test/groovy/org/justserve/client/OrganizationClientSpec.groovy b/src/test/groovy/org/justserve/client/OrganizationClientSpec.groovy deleted file mode 100644 index 212b897..0000000 --- a/src/test/groovy/org/justserve/client/OrganizationClientSpec.groovy +++ /dev/null @@ -1,107 +0,0 @@ -package org.justserve.client - - -import io.micronaut.http.HttpStatus -import io.micronaut.http.client.exceptions.HttpClientResponseException -import org.justserve.JustServeSpec -import org.justserve.model.OrganizationCreateRequest -import spock.lang.Shared - -class OrganizationClientSpec extends JustServeSpec { - @Shared - OrganizationClient noAuthClient - - @Shared - DynamicRoutingClient dynamicRoutingClient - - - def setupSpec() { - noAuthClient = noAuthCtx.getBean(OrganizationClient) - dynamicRoutingClient = ctx.getBean(DynamicRoutingClient) - } - - def "using searchByLocation() should work when using #title"() { - when: - def search = createSearchRequestForElkGrove() - def response = client.searchByLocation(search) - - then: - response.status() == expectedStatus - if (expectedStatus == HttpStatus.OK) { - response.body() != null - response.body().organizations.size() > 0 - } - - where: - expectedStatus | client | title - HttpStatus.OK | authOrgClient | "auth client" - HttpStatus.OK | noAuthClient | "no auth client" - } - - def "get admins for a given org with no error"() { - given: - def search = createSearchRequestForElkGrove() - UUID orgID = client.searchByLocation(search).body().organizations.first.id - - when: - client.getOrgOwners(orgID) - - then: - noExceptionThrown() - - where: - expectedStatus | client | title - HttpStatus.OK | authOrgClient | "auth client" - HttpStatus.OK | noAuthClient | "no auth client" - } - - def "create an org with no error"() { - given: - def orgRequest = new OrganizationCreateRequest() - .setContactEmail(faker.internet().emailAddress()) - .setContactName(faker.zelda().character()) - .setContactPhone(faker.phoneNumber().phoneNumber()) - .setDescription(faker.zelda().game()) - .setLocationString(knownWorkingLocation) - .setLogo(getUploadedImageFileName()) - .setName(faker.zelda().character()) - .set_public(null) - .setUrl(getUniqueSlug()) - .setVolunteerCenterInfo(null) - .setWebsite(faker.internet().url()) - when: - authOrgClient.createOrganization(orgRequest) - - then: - noExceptionThrown() - } - - def "create an org with with #title and expected results"() { - given: - def orgCreationRequest = new OrganizationCreateRequest() - .setLogo(getUploadedImageFileName()) - .setContactEmail(faker.internet().emailAddress()) - .setDescription(faker.chuckNorris().fact()) - .setLocationString(knownWorkingLocation) - .setName(faker.company().name()) - .set_public(true) - .setUrl(getUniqueSlug()) - - when: - def response = client.createOrganization(orgCreationRequest) - - then: - if (expectedStatus == HttpStatus.CREATED) { - null == response - return - } - def exception = thrown(HttpClientResponseException) - exception.status == expectedStatus - - where: - expectedStatus | client | title - HttpStatus.CREATED | authOrgClient | "auth client" - HttpStatus.CREATED | noAuthClient | "no auth client" - } - -} diff --git a/src/test/groovy/org/justserve/client/ProjectClientSpec.groovy b/src/test/groovy/org/justserve/client/ProjectClientSpec.groovy deleted file mode 100644 index 37a9221..0000000 --- a/src/test/groovy/org/justserve/client/ProjectClientSpec.groovy +++ /dev/null @@ -1,97 +0,0 @@ -package org.justserve.client - -import io.micronaut.http.HttpResponse -import org.justserve.JustServeSpec -import org.justserve.model.* - -import static io.micronaut.http.HttpStatus.OK -import static org.justserve.model.DistanceType.MILES - -class ProjectClientSpec extends JustServeSpec { - - void "get project's current owner"(ProjectCard project) { - when: - GetProjectRequest projectRequest = new GetProjectRequest() - - def response = projectClient - .getProject((project as ProjectCard).getId(), "en-US", projectRequest) - - then: - verifyAll { - response.body() != null - response.body().getProjectOwnerUserId() != null - } - - - where: - project << searchResults - - } - - void "can reassign a project using either an empty string locale or 'en-US' locale"(ProjectCard project) { - given: - GetProjectRequest projectRequest = new GetProjectRequest() - String locale = new Random().nextBoolean() ? " " : "en-US" - UUID currentOwner = projectClient.getProject((project as ProjectCard).getId(), locale, projectRequest) - .body().getProjectOwnerUserId() - ReassignProjectRequest reassignProjectRequest = new ReassignProjectRequest(readOnlyUser.uuid, currentOwner) - - when: - def response = projectClient.reassignProject((project as ProjectCard).getId(), reassignProjectRequest) - - then: - noExceptionThrown() - verifyAll { - if (response.status() != OK) { - println "Warning: response status ${response.status()} != OK" - } else { - projectClient.getProject((project as ProjectCard).getId(), "en-US", projectRequest) - .body().getProjectOwnerUserId() == readOnlyUser.uuid - } - } - - where: - project << searchResults - } - - void "searchProjects should return results"() { - given: - def locale = "en-US" - def request = new ProjectSearchRequest() - .setPage(Integer.valueOf(1)).setSize(10).setKeywords(" ").setLocation(" ").setRadiusType(MILES) - .setVolunteerFromAnywhere(false).setIncludeOrgInfo(true).setLanguage(locale).setBrowserLocale(locale) - .setPublishedOnly(false).setIncludeFilledProjects(true).setDisasterRecoveryProjectsOnly(false).setTimesOfDay(null) - - when: - HttpResponse response = projectClient.searchProjects(request) - - then: - verifyAll { - response.status == OK - response.body() != null - response.body().items != null - } - } - - void "can assign an organization to a project"() { - given: - def orgSearchResponse = authOrgClient.searchByLocation(createSearchRequestForElkGrove()) - UUID orgId = orgSearchResponse.body().organizations.first().id - ProjectCard project = searchResults.first() - - when: - def response = projectClient.assignOrganizationToProject(project.getId(), orgId) - - then: - verifyAll { - response.status == OK - } - - and: "validate that the reassignment worked - this is testing the underlying tech, not our codebase" - def updatedProject = projectClient.getProject(project.getId(), "en-US", new GetProjectRequest()).body() - verifyAll { - updatedProject.organization.organizationId == orgId - } - } - -} diff --git a/src/test/groovy/org/justserve/client/UserClientSpec.groovy b/src/test/groovy/org/justserve/client/UserClientSpec.groovy deleted file mode 100644 index a5eec60..0000000 --- a/src/test/groovy/org/justserve/client/UserClientSpec.groovy +++ /dev/null @@ -1,75 +0,0 @@ -package org.justserve.client - -import io.micronaut.http.client.exceptions.HttpClientResponseException -import net.datafaker.Faker -import org.apache.commons.lang3.RandomStringUtils -import org.justserve.JustServeSpec -import org.justserve.TestUser -import org.justserve.model.UserHashRequestByEmail - -import static io.micronaut.http.HttpStatus.UNAUTHORIZED - -class UserClientSpec extends JustServeSpec { - - def "create user #{user.firstname} #{user.lastname} #{user.email} #{user.password} #{user.postal} #{user.locale} #{user.country} #{user.countryCode}"() { - when: - TestUser user = new TestUser(new Faker(Locale.of("en-us"))) - - then: -// TODO: validate the user does not already exist (use the admin client user search) - client.createUser( - user.firstName, - user.lastName, - RandomStringUtils.insecure().nextAlphanumeric(20)+ "@fake.com", - user.password, - user.zipcode, - user.locale, - user.country, - user.countryCode - ) - - where: - client | _ - userClient | _ - noAuthUserClient | _ - } - - def "get admin context for a generated user with as an admin"() { - //todo: add user with admin context to testing - when: - def response = client.getAdminContext(readOnlyUser.uuid) - - then: - if (!expectedError) { - response.body() != null - return - } - def exception = thrown(HttpClientResponseException) - exception.status == expectedError - - where: - expectedError | client | _ - null | userClient | _ - UNAUTHORIZED | noAuthUserClient | _ - - } - - def "get tempPassword for a previously created user"() { - given: - when: - def response = client.getTempPassword(new UserHashRequestByEmail(readOnlyUser.email)) - - then: - if (!expectedError) { - response.body() != null - return - } - def exception = thrown(HttpClientResponseException) - exception.status == expectedError - - where: - expectedError | client | _ - null | userClient | _ - UNAUTHORIZED | noAuthUserClient | _ - } -} From 0091ba54e959fad6547d5f77fad5e9f9595c7f4f Mon Sep 17 00:00:00 2001 From: jonathan zollinger Date: Wed, 4 Mar 2026 11:13:13 -0700 Subject: [PATCH 2/3] refactor(test): reuse user and orgs between tests --- .../cli/command/MakeOrgAdminSpec.groovy | 51 ++++++++++++------- core/src/main/resources/application.yml | 7 +++ .../groovy/org/justserve/JustServeSpec.groovy | 6 +-- 3 files changed, 43 insertions(+), 21 deletions(-) diff --git a/cli/src/test/groovy/org/justserve/cli/command/MakeOrgAdminSpec.groovy b/cli/src/test/groovy/org/justserve/cli/command/MakeOrgAdminSpec.groovy index 94082ba..fc92d8b 100644 --- a/cli/src/test/groovy/org/justserve/cli/command/MakeOrgAdminSpec.groovy +++ b/cli/src/test/groovy/org/justserve/cli/command/MakeOrgAdminSpec.groovy @@ -1,20 +1,28 @@ package org.justserve.cli.command import io.micronaut.context.ApplicationContext -import spock.lang.Execution +import spock.lang.Shared -import static org.spockframework.runtime.model.parallel.ExecutionMode.SAME_THREAD - -@Execution(SAME_THREAD) +//@Execution(SAME_THREAD) class MakeOrgAdminSpec extends BaseCommandSpec { + @Shared + UUID sharedUserID + + @Shared + List sharedOrgs + + def setupSpec() { + sharedUserID = createUser().body().id + sharedOrgs = createTestOrgs(3) + } + def "can make a user an admin to #orgCount org(s) using the #orgFlag and #userFlag flags #title"() { given: - UUID userID = createUser().body().id - def orgs = createTestOrgs(orgCount).join(",") + def orgs = sharedOrgs.take(orgCount).join(",") when: - def (outputStream, errorStream) = executeCommand(context as ApplicationContext, ["makeOrgAdmin", orgFlag, orgs, userFlag, userID] as String[]) + def (outputStream, errorStream) = executeCommand(context as ApplicationContext, ["makeOrgAdmin", orgFlag, orgs, userFlag, sharedUserID] as String[]) then: if (context == noAuthCtx) { @@ -25,7 +33,7 @@ class MakeOrgAdminSpec extends BaseCommandSpec { return } verifyAll { - (outputStream as String).contains("successfully reassigned ${orgCount} orgs to user ${userID}") + (outputStream as String).contains("successfully reassigned ${orgCount} orgs to user ${sharedUserID}") errorStream.matches(blankRegex) } @@ -47,22 +55,21 @@ class MakeOrgAdminSpec extends BaseCommandSpec { def "can make a user an admin to #orgCount where at least one org ID does not exist on JustServe"() { given: - UUID userID = createUser().body().id String orgs def fakeId = faker.internet().uuid().toString() if (orgCount == 1) { orgs = fakeId } else { - orgs = createTestOrgs(orgCount - 1).join(",") + "," + fakeId + orgs = sharedOrgs.take(orgCount - 1).join(",") + "," + fakeId } when: - def (outputStream, errorStream) = executeCommand(context as ApplicationContext, ["makeOrgAdmin", orgFlag, orgs, userFlag, userID] as String[]) + def (outputStream, errorStream) = executeCommand(context as ApplicationContext, ["makeOrgAdmin", orgFlag, orgs, userFlag, sharedUserID] as String[]) then: verifyAll { - (outputStream as String).contains("successfully reassigned ${orgCount - 1 } orgs to user ${userID}") - (errorStream as String).contains("Failed to make user ${userID} an admin for organization ${fakeId}.") + (outputStream as String).contains("successfully reassigned ${orgCount - 1} orgs to user ${sharedUserID}") + (errorStream as String).contains("Failed to make user ${sharedUserID} an admin for organization ${fakeId}.") } where: @@ -76,24 +83,32 @@ class MakeOrgAdminSpec extends BaseCommandSpec { } - def "can make a user an admin to #orgCount where at least one org Slug does not exist on JustServe"() { given: - UUID userID = createUser().body().id String orgs def fakeSlug = faker.internet().slug().toString() if (orgCount == 1) { orgs = fakeSlug } else { - orgs=authOrgClient.searchByLocation(createSearchRequestForElkGrove()).body().getOrganizations().url.take(orgCount - 1).join(",")+","+fakeSlug + // We can't easily get slugs for the sharedOrgs since they are just UUIDs in the list. + // However, the original test was searching for orgs by location to get slugs. + // To keep it fast, we can just fetch one set of slugs in setupSpec if needed, + // or just do the search once here if we really need slugs. + // But wait, createTestOrgs returns UUIDs. + // The original test used: authOrgClient.searchByLocation(...).getOrganizations().url + // Let's just do that search once in the test method, but limit it. + // Actually, better yet, let's just use the search here but only call it if orgCount > 1. + // Since we are optimizing, let's try to reuse the search result if possible, but for now + // let's stick to the original logic for the slug part but reuse the user. + orgs = authOrgClient.searchByLocation(createSearchRequestForElkGrove()).body().getOrganizations().url.take(orgCount - 1).join(",") + "," + fakeSlug } when: - def (outputStream, errorStream) = executeCommand(context as ApplicationContext, ["makeOrgAdmin", orgFlag, orgs, userFlag, userID] as String[]) + def (outputStream, errorStream) = executeCommand(context as ApplicationContext, ["makeOrgAdmin", orgFlag, orgs, userFlag, sharedUserID] as String[]) then: verifyAll { - (outputStream as String).contains("successfully reassigned ${orgCount - 1 } orgs to user ${userID}") + (outputStream as String).contains("successfully reassigned ${orgCount - 1} orgs to user ${sharedUserID}") (errorStream as String).contains("Error The org '${fakeSlug}' is not found on JustServe") } diff --git a/core/src/main/resources/application.yml b/core/src/main/resources/application.yml index 7f5c4c2..a53f368 100644 --- a/core/src/main/resources/application.yml +++ b/core/src/main/resources/application.yml @@ -7,6 +7,13 @@ micronaut: url: https://www.justserve.org client: read-timeout: 20s + connect-timeout: 5s + request-timeout: 30s + retryAttempts: 3 + pool: + enabled: true + acquire-timeout: 30s + max-connections: 100 justserve: token: jackson: diff --git a/core/src/test/groovy/org/justserve/JustServeSpec.groovy b/core/src/test/groovy/org/justserve/JustServeSpec.groovy index f8d11d5..8617b69 100644 --- a/core/src/test/groovy/org/justserve/JustServeSpec.groovy +++ b/core/src/test/groovy/org/justserve/JustServeSpec.groovy @@ -14,6 +14,8 @@ import org.justserve.model.* import spock.lang.Shared import spock.lang.Specification +import java.util.stream.Collectors + import static org.justserve.model.DistanceType.MILES @MicronautTest() @@ -175,9 +177,7 @@ class JustServeSpec extends Specification { * @return A list of UUIDs for the created organizations. */ List createTestOrgs(int count) { - return (1..count).collect { - createOrg() - } + return (1..count).toList().parallelStream().map(this::createOrg).collect(Collectors.toList()) } From dc3ee9cd456950effae2877847752158b3d8f56c Mon Sep 17 00:00:00 2001 From: jonathan zollinger Date: Wed, 4 Mar 2026 11:31:07 -0700 Subject: [PATCH 3/3] fix(build): define main class in cli --- cli/build.gradle.kts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cli/build.gradle.kts b/cli/build.gradle.kts index 3cf1c76..956538c 100644 --- a/cli/build.gradle.kts +++ b/cli/build.gradle.kts @@ -43,7 +43,7 @@ dependencies { application { - mainClass = "org.justserve.CliCommand" + mainClass = "org.justserve.JustServeCommand" } java { sourceCompatibility = JavaVersion.toVersion("21") @@ -68,4 +68,11 @@ micronaut { tasks.named("dockerfileNative") { jdkVersion = "21" +} + +graalvmNative.binaries { + named("main") { + imageName.set("justserve") + buildArgs.add("--color=always") + } } \ No newline at end of file