believe-kotlin-core
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>dev.cjav.believe</groupId>
<artifactId>believe-kotlin-core</artifactId>
<version>0.8.1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- This module was also published with a richer model, Gradle metadata, -->
<!-- which should be used instead. Do not delete the following line which -->
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
<!-- that they should prefer consuming it instead. -->
<!-- do_not_remove: published-with-gradle-metadata -->
<modelVersion>4.0.0</modelVersion>
<groupId>dev.cjav.believe</groupId>
<artifactId>believe-kotlin-core</artifactId>
<version>0.8.1</version>
<name>Ted Lasso API</name>
<description>## Believe in the Power of Positivity!
A comprehensive API celebrating the wisdom, humor, and heart of Ted Lasso.
Perfect for SDK demos showcasing various REST API features.
### Features
- **CRUD Operations**: Full Create, Read, Update, Delete for all resources
- **Rich Data Models**: Characters, Teams, Matches, Episodes, and Quotes
- **Union Types (oneOf)**: Team Members demonstrate discriminated unions
- **Interactive Endpoints**: Believe Engine, Conflict Resolution, and more
- **SSE Streaming**: Real-time pep talks and match commentary
- **Custom Easter Eggs**: Special HTTP status codes for fun
### Core Resources
- **Characters**: Ted, Roy Kent, Rebecca, Jamie, and the whole gang
- **Teams**: AFC Richmond, Manchester City, West Ham, and more
- **Matches**: Historic matches with turning points and lessons learned
- **Episodes**: Full episode guide with Ted's wisdom
- **Quotes**: Searchable collection of memorable quotes
### Interactive Endpoints
- **POST /believe**: The Believe Engine - get motivational guidance
- **POST /conflicts/resolve**: Diamond Dogs-style conflict resolution
- **POST /reframe**: Transform negative thoughts positively
- **POST /press**: Press conference simulator
- **GET /coaching/principles**: Ted's coaching philosophy
- **GET /biscuits**: Biscuits as a Service!
### Streaming (Server-Sent Events)
- **GET /pep-talk**: Pep talk from Ted (add `?stream=true` for SSE)
- **POST /matches/{id}/commentary/stream**: Live match commentary
### WebSocket (Real-time)
- **WS /matches/live**: Live match simulation with real-time events (goals,
fouls, cards, etc.)
- **WS /ws/test**: Simple WebSocket echo test endpoint
### Data Types Coverage
All common API data types are integrated across our models:
- **Characters**: date (birth), float (height), decimal (salary), email, URL
(profile image)
- **Teams**: float (attendance, win %), decimal (budget), URL (website), email,
GeoLocation (lat/long)
- **Episodes**: date (air date), float (viewer rating, viewers in millions)
- **Matches**: datetime, float (possession, temperature), decimal (revenue)
- **Quotes**: float (popularity score), int (shares)
- **File uploads**: POST /teams/{id}/logo for image uploads
### Easter Eggs
- **429**: "Too Much Negativity" - when you need to be more positive
- **403**: "Judgment Without Curiosity" - be curious, not judgmental
- **418**: "I'm a Believer!" - when you believe too much (is that possible?)
### API Versioning
This API supports header-based versioning using date format (YYYY-MM-DD).
Include one of these headers in your request:
- `X-API-Version: 2026-01-20` (preferred)
- `API-Version: 2026-01-20`
Response headers will include:
- `X-API-Version`: The version used for the request
- `X-API-Supported-Versions`: List of all supported versions
If no version header is provided, the API defaults to the latest stable version.
_"Be curious, not judgmental."_ - Ted Lasso</description>
<url>https://www.github.com/cjavdev/believe-kotlin</url>
<licenses>
<license>
<name>MIT</name>
</license>
</licenses>
<developers>
<developer>
<name>Believe</name>
<email>wave@cjav.dev</email>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/cjavdev/believe-kotlin.git</connection>
<developerConnection>scm:git:git://github.com/cjavdev/believe-kotlin.git</developerConnection>
<url>https://github.com/cjavdev/believe-kotlin</url>
</scm>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.18.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.18.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
<version>2.33.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>1.8.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.18.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jdk8</artifactId>
<version>2.18.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<version>2.18.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-kotlin</artifactId>
<version>2.18.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-core-jvm</artifactId>
<version>1.8.0</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>