diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 1fcd281..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -api/config.php -api/vendor/ diff --git a/api/composer.json b/api/composer.json deleted file mode 100644 index 15ac674..0000000 --- a/api/composer.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "require": { - "anthropic-ai/sdk": "^0.44.0", - "symfony/http-client": "^7.4", - "nyholm/psr7": "^1.8" - }, - "config": { - "allow-plugins": { - "php-http/discovery": true - } - } -} diff --git a/api/composer.lock b/api/composer.lock deleted file mode 100644 index fc769cb..0000000 --- a/api/composer.lock +++ /dev/null @@ -1,968 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "65317a26fbcfb6d557de08fb8b473982", - "packages": [ - { - "name": "anthropic-ai/sdk", - "version": "v0.44.0", - "source": { - "type": "git", - "url": "https://github.com/anthropics/anthropic-sdk-php.git", - "reference": "f63c00d80f180e1c3acd6cf8835df5b1baa625a1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/anthropics/anthropic-sdk-php/zipball/f63c00d80f180e1c3acd6cf8835df5b1baa625a1", - "reference": "f63c00d80f180e1c3acd6cf8835df5b1baa625a1", - "shasum": "" - }, - "require": { - "php": "^8.1", - "php-http/discovery": "^1", - "psr/http-client": "^1", - "psr/http-client-implementation": "^1", - "psr/http-factory-implementation": "^1", - "psr/http-message": "^1|^2", - "standard-webhooks/standard-webhooks": "^1" - }, - "require-dev": { - "aws/aws-sdk-php": "^3.368", - "friendsofphp/php-cs-fixer": "^3", - "google/auth": "^1.49", - "guzzlehttp/guzzle": "^7", - "mcp/sdk": "^0.7.1", - "nyholm/psr7": "^1", - "pestphp/pest": "^3", - "php-http/mock-client": "^1", - "phpstan/extension-installer": "^1", - "phpstan/phpstan": "2.2.1", - "phpstan/phpstan-phpunit": "^2", - "phpunit/phpunit": "^11", - "symfony/http-client": "^7" - }, - "suggest": { - "aws/aws-sdk-php": "Allows using the AWS Bedrock, AWS gateway, and Bedrock Mantle SDKs", - "google/auth": "Allows using the Google Vertex and Google Cloud gateway SDKs", - "mcp/sdk": "Required to use the BetaMcp helpers for integrating MCP servers with the Anthropic SDK" - }, - "type": "library", - "autoload": { - "files": [ - "src/Version.php" - ], - "psr-4": { - "Anthropic\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Anthropic PHP SDK", - "support": { - "issues": "https://github.com/anthropics/anthropic-sdk-php/issues", - "source": "https://github.com/anthropics/anthropic-sdk-php/tree/v0.44.0" - }, - "time": "2026-08-26T17:59:57+00:00" - }, - { - "name": "nyholm/psr7", - "version": "1.8.2", - "source": { - "type": "git", - "url": "https://github.com/Nyholm/psr7.git", - "reference": "a71f2b11690f4b24d099d6b16690a90ae14fc6f3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Nyholm/psr7/zipball/a71f2b11690f4b24d099d6b16690a90ae14fc6f3", - "reference": "a71f2b11690f4b24d099d6b16690a90ae14fc6f3", - "shasum": "" - }, - "require": { - "php": ">=7.2", - "psr/http-factory": "^1.0", - "psr/http-message": "^1.1 || ^2.0" - }, - "provide": { - "php-http/message-factory-implementation": "1.0", - "psr/http-factory-implementation": "1.0", - "psr/http-message-implementation": "1.0" - }, - "require-dev": { - "http-interop/http-factory-tests": "^0.9", - "php-http/message-factory": "^1.0", - "php-http/psr7-integration-tests": "^1.0", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.4", - "symfony/error-handler": "^4.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.8-dev" - } - }, - "autoload": { - "psr-4": { - "Nyholm\\Psr7\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com" - }, - { - "name": "Martijn van der Ven", - "email": "martijn@vanderven.se" - } - ], - "description": "A fast PHP7 implementation of PSR-7", - "homepage": "https://tnyholm.se", - "keywords": [ - "psr-17", - "psr-7" - ], - "support": { - "issues": "https://github.com/Nyholm/psr7/issues", - "source": "https://github.com/Nyholm/psr7/tree/1.8.2" - }, - "funding": [ - { - "url": "https://github.com/Zegnat", - "type": "github" - }, - { - "url": "https://github.com/nyholm", - "type": "github" - } - ], - "time": "2024-09-09T07:06:30+00:00" - }, - { - "name": "php-http/discovery", - "version": "1.20.0", - "source": { - "type": "git", - "url": "https://github.com/php-http/discovery.git", - "reference": "82fe4c73ef3363caed49ff8dd1539ba06044910d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/82fe4c73ef3363caed49ff8dd1539ba06044910d", - "reference": "82fe4c73ef3363caed49ff8dd1539ba06044910d", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0|^2.0", - "php": "^7.1 || ^8.0" - }, - "conflict": { - "nyholm/psr7": "<1.0", - "zendframework/zend-diactoros": "*" - }, - "provide": { - "php-http/async-client-implementation": "*", - "php-http/client-implementation": "*", - "psr/http-client-implementation": "*", - "psr/http-factory-implementation": "*", - "psr/http-message-implementation": "*" - }, - "require-dev": { - "composer/composer": "^1.0.2|^2.0", - "graham-campbell/phpspec-skip-example-extension": "^5.0", - "php-http/httplug": "^1.0 || ^2.0", - "php-http/message-factory": "^1.0", - "phpspec/phpspec": "^5.1 || ^6.1 || ^7.3", - "sebastian/comparator": "^3.0.5 || ^4.0.8", - "symfony/phpunit-bridge": "^6.4.4 || ^7.0.1" - }, - "type": "composer-plugin", - "extra": { - "class": "Http\\Discovery\\Composer\\Plugin", - "plugin-optional": true - }, - "autoload": { - "psr-4": { - "Http\\Discovery\\": "src/" - }, - "exclude-from-classmap": [ - "src/Composer/Plugin.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations", - "homepage": "http://php-http.org", - "keywords": [ - "adapter", - "client", - "discovery", - "factory", - "http", - "message", - "psr17", - "psr7" - ], - "support": { - "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.20.0" - }, - "time": "2024-10-02T11:20:13+00:00" - }, - { - "name": "psr/container", - "version": "2.0.2", - "source": { - "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "shasum": "" - }, - "require": { - "php": ">=7.4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", - "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" - ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.2" - }, - "time": "2021-11-05T16:47:00+00:00" - }, - { - "name": "psr/http-client", - "version": "1.0.3", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-client.git", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0 || ^2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Client\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP clients", - "homepage": "https://github.com/php-fig/http-client", - "keywords": [ - "http", - "http-client", - "psr", - "psr-18" - ], - "support": { - "source": "https://github.com/php-fig/http-client" - }, - "time": "2023-09-23T14:17:50+00:00" - }, - { - "name": "psr/http-factory", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-factory.git", - "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", - "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", - "shasum": "" - }, - "require": { - "php": ">=7.1", - "psr/http-message": "^1.0 || ^2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", - "keywords": [ - "factory", - "http", - "message", - "psr", - "psr-17", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-factory" - }, - "time": "2024-04-15T12:06:14+00:00" - }, - { - "name": "psr/http-message", - "version": "2.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-message.git", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP messages", - "homepage": "https://github.com/php-fig/http-message", - "keywords": [ - "http", - "http-message", - "psr", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-message/tree/2.0" - }, - "time": "2023-04-04T09:54:51+00:00" - }, - { - "name": "psr/log", - "version": "3.0.2", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/3.0.2" - }, - "time": "2024-09-11T13:17:53+00:00" - }, - { - "name": "standard-webhooks/standard-webhooks", - "version": "v1.0.2", - "source": { - "type": "git", - "url": "https://github.com/standard-webhooks/standard-webhooks.git", - "reference": "a1773d7ffc577d730e2bf4d4bd740a82a42aa904" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/standard-webhooks/standard-webhooks/zipball/a1773d7ffc577d730e2bf4d4bd740a82a42aa904", - "reference": "a1773d7ffc577d730e2bf4d4bd740a82a42aa904", - "shasum": "" - }, - "require": { - "php": "^8.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.0 || ^10.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "StandardWebhooks\\": "libraries/php/src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Standard Webhooks - Open source tools and guidelines for sending webhooks easily, securely, and reliably", - "homepage": "https://www.standardwebhooks.com", - "keywords": [ - "hmac", - "signature", - "standard-webhooks", - "verification", - "webhooks" - ], - "support": { - "issues": "https://github.com/standard-webhooks/standard-webhooks/issues", - "source": "https://github.com/standard-webhooks/standard-webhooks/tree/v1.0.2" - }, - "time": "2026-02-18T19:02:27+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "v3.7.1", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "f3202fa1b5097b0af062dc978b32ecf63404e31d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/f3202fa1b5097b0af062dc978b32ecf63404e31d", - "reference": "f3202fa1b5097b0af062dc978b32ecf63404e31d", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.7-dev" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.7.1" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2026-06-05T06:23:12+00:00" - }, - { - "name": "symfony/http-client", - "version": "v7.4.18", - "source": { - "type": "git", - "url": "https://github.com/symfony/http-client.git", - "reference": "68d81f78d127984ff2e741f0e0d9cb1078f8f3ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/68d81f78d127984ff2e741f0e0d9cb1078f8f3ea", - "reference": "68d81f78d127984ff2e741f0e0d9cb1078f8f3ea", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "psr/log": "^1|^2|^3", - "symfony/deprecation-contracts": "^2.5|^3", - "symfony/http-client-contracts": "~3.4.4|^3.5.2", - "symfony/polyfill-php83": "^1.29", - "symfony/service-contracts": "^2.5|^3" - }, - "conflict": { - "amphp/amp": "<2.5", - "amphp/socket": "<1.1", - "php-http/discovery": "<1.15", - "symfony/http-foundation": "<6.4" - }, - "provide": { - "php-http/async-client-implementation": "*", - "php-http/client-implementation": "*", - "psr/http-client-implementation": "1.0", - "symfony/http-client-implementation": "3.0" - }, - "require-dev": { - "amphp/http-client": "^4.2.1|^5.0", - "amphp/http-tunnel": "^1.0|^2.0", - "guzzlehttp/promises": "^1.4|^2.0", - "nyholm/psr7": "^1.0", - "php-http/httplug": "^1.0|^2.0", - "psr/http-client": "^1.0", - "symfony/amphp-http-client-meta": "^1.0|^2.0", - "symfony/cache": "^6.4|^7.0|^8.0", - "symfony/dependency-injection": "^6.4|^7.0|^8.0", - "symfony/http-kernel": "^6.4|^7.0|^8.0", - "symfony/messenger": "^6.4|^7.0|^8.0", - "symfony/process": "^6.4|^7.0|^8.0", - "symfony/rate-limiter": "^6.4|^7.0|^8.0", - "symfony/stopwatch": "^6.4|^7.0|^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\HttpClient\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously", - "homepage": "https://symfony.com", - "keywords": [ - "http" - ], - "support": { - "source": "https://github.com/symfony/http-client/tree/v7.4.18" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2026-08-30T13:49:59+00:00" - }, - { - "name": "symfony/http-client-contracts", - "version": "v3.7.3", - "source": { - "type": "git", - "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "35be0019e2c2c9fba80f9dc033290a5240f7b44f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/35be0019e2c2c9fba80f9dc033290a5240f7b44f", - "reference": "35be0019e2c2c9fba80f9dc033290a5240f7b44f", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.7-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\HttpClient\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Generic abstractions related to HTTP clients", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/http-client-contracts/tree/v3.7.3" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2026-08-04T08:41:16+00:00" - }, - { - "name": "symfony/polyfill-php83", - "version": "v1.41.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php83.git", - "reference": "5ea99087fb99c273a9b9236ed4c31e78b16103c6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/5ea99087fb99c273a9b9236ed4c31e78b16103c6", - "reference": "5ea99087fb99c273a9b9236ed4c31e78b16103c6", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php83\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php83/tree/v1.41.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2026-07-01T12:47:55+00:00" - }, - { - "name": "symfony/service-contracts", - "version": "v3.7.3", - "source": { - "type": "git", - "url": "https://github.com/symfony/service-contracts.git", - "reference": "15e6a07ec2a2c75ceb1b21dd98105ee8456d2257" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/15e6a07ec2a2c75ceb1b21dd98105ee8456d2257", - "reference": "15e6a07ec2a2c75ceb1b21dd98105ee8456d2257", - "shasum": "" - }, - "require": { - "php": ">=8.1", - "psr/container": "^1.1|^2.0", - "symfony/deprecation-contracts": "^2.5|^3" - }, - "conflict": { - "ext-psr": "<1.1|>=2" - }, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/contracts", - "name": "symfony/contracts" - }, - "branch-alias": { - "dev-main": "3.7-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\Service\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Generic abstractions related to writing services", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.7.3" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2026-07-27T15:39:01+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": {}, - "prefer-stable": false, - "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, - "plugin-api-version": "2.6.0" -} diff --git a/api/config.example.php b/api/config.example.php deleted file mode 100644 index 0cd5cbb..0000000 --- a/api/config.example.php +++ /dev/null @@ -1,12 +0,0 @@ - 'Nur POST erlaubt.']); - exit; -} - -$provider = getenv('AI_PROVIDER') ?: null; -$anthropicKey = getenv('ANTHROPIC_API_KEY') ?: null; -$openaiKey = getenv('OPENAI_API_KEY') ?: null; -$openaiModel = null; - -$configFile = __DIR__ . '/config.php'; -if (file_exists($configFile)) { - require $configFile; - $provider = $provider ?: ($AI_PROVIDER ?? null); - $anthropicKey = $anthropicKey ?: ($ANTHROPIC_API_KEY ?? null); - $openaiKey = $openaiKey ?: ($OPENAI_API_KEY ?? null); - $openaiModel = $OPENAI_MODEL ?? null; -} - -$provider = $provider ?: 'anthropic'; -$openaiModel = $openaiModel ?: 'gpt-4o-mini'; - -$body = json_decode(file_get_contents('php://input'), true); -$query = trim((string)($body['query'] ?? '')); - -if ($query === '' || mb_strlen($query) > 80) { - http_response_code(400); - echo json_encode(['error' => 'Ungültige Anfrage.']); - exit; -} - -$systemPrompt = <<= widthFloor_mm (Breite unten zwischen den Radkästen). -- cargoLitersMax ist das Volumen bei umgeklappten Rücksitzen; falls nicht sinnvoll (z. B. 2-Sitzer), null. -- underFloorDepth_mm ist die Tiefe der Reserverad-/Staumulde unter dem Ladeboden; falls es die nicht gibt, null. -- Werte sind grobe, plausible Schätzungen basierend auf deinem Wissen über das Fahrzeug, keine exakten Herstellerangaben. -- Wenn die Anfrage kein erkennbares Auto ist (z. B. Unsinn oder ein anderes Objekt), antworte {"found":false}. -SYS; - -try { - if ($provider === 'openai') { - if (!$openaiKey) { - throw new RuntimeException('Kein OpenAI API-Key konfiguriert. api/config.example.php nach api/config.php kopieren, AI_PROVIDER auf "openai" setzen und OPENAI_API_KEY eintragen.'); - } - $text = lookupViaOpenAI($query, $systemPrompt, $openaiKey, $openaiModel); - } else { - if (!$anthropicKey) { - throw new RuntimeException('Kein Anthropic API-Key konfiguriert. api/config.example.php nach api/config.php kopieren und ANTHROPIC_API_KEY eintragen.'); - } - $text = lookupViaClaude($query, $systemPrompt, $anthropicKey); - } -} catch (\Throwable $e) { - http_response_code(502); - echo json_encode(['error' => 'KI-Anfrage fehlgeschlagen: ' . $e->getMessage()]); - exit; -} - -if (!preg_match('/\{.*\}/s', $text, $m)) { - http_response_code(502); - echo json_encode(['error' => 'Antwort konnte nicht gelesen werden.']); - exit; -} - -$data = json_decode($m[0], true); -if (!is_array($data)) { - http_response_code(502); - echo json_encode(['error' => 'Antwort konnte nicht gelesen werden.']); - exit; -} - -echo json_encode($data); - -// ---------- Anbieter ---------- - -function lookupViaClaude(string $query, string $systemPrompt, string $apiKey): string -{ - require __DIR__ . '/vendor/autoload.php'; - - $client = new \Anthropic\Client(apiKey: $apiKey); - - $message = $client->messages->create( - model: 'claude-opus-5', - maxTokens: 1024, - outputConfig: ['effort' => 'low'], - system: $systemPrompt, - messages: [ - ['role' => 'user', 'content' => $query], - ], - ); - - $text = ''; - foreach ($message->content as $block) { - if ($block->type === 'text') { - $text .= $block->text; - } - } - return $text; -} - -function lookupViaOpenAI(string $query, string $systemPrompt, string $apiKey, string $model): string -{ - $payload = [ - 'model' => $model, - 'response_format' => ['type' => 'json_object'], - 'max_tokens' => 1024, - 'messages' => [ - ['role' => 'system', 'content' => $systemPrompt], - ['role' => 'user', 'content' => $query], - ], - ]; - - $ch = curl_init('https://api.openai.com/v1/chat/completions'); - curl_setopt_array($ch, [ - CURLOPT_RETURNTRANSFER => true, - CURLOPT_POST => true, - CURLOPT_HTTPHEADER => [ - 'Content-Type: application/json', - 'Authorization: Bearer ' . $apiKey, - ], - CURLOPT_POSTFIELDS => json_encode($payload), - CURLOPT_TIMEOUT => 30, - ]); - $raw = curl_exec($ch); - $curlError = curl_error($ch); - $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); - curl_close($ch); - - if ($raw === false) { - throw new RuntimeException('OpenAI-Verbindung fehlgeschlagen: ' . $curlError); - } - - $decoded = json_decode($raw, true); - if ($httpCode >= 400) { - $msg = $decoded['error']['message'] ?? ('HTTP ' . $httpCode); - throw new RuntimeException('OpenAI-Fehler: ' . $msg); - } - - return $decoded['choices'][0]['message']['content'] ?? ''; -} diff --git a/app.js b/app.js index b4bd580..dc263ad 100644 --- a/app.js +++ b/app.js @@ -24,8 +24,6 @@ const floorStateLabel = document.getElementById("floorStateLabel"); const floorToggleRow = document.getElementById("floorToggleRow"); const estimateBox = document.getElementById("estimateBox"); const estimateChips = document.getElementById("estimateChips"); -const estimateAIBtn = document.getElementById("estimateAIBtn"); -const estimateAIStatus = document.getElementById("estimateAIStatus"); const subPresetsBox = document.getElementById("subPresets"); const subW = document.getElementById("subW"); @@ -265,11 +263,6 @@ function renderEstimateOption(query) { estimateChips.appendChild(chip); }); - estimateAIBtn.disabled = false; - estimateAIBtn.textContent = `Mit KI nach „${query}“ suchen`; - estimateAIStatus.hidden = true; - estimateAIBtn.onclick = () => runAiLookup(query); - estimateBox.hidden = false; } @@ -291,62 +284,6 @@ function buildEstimatedCar(query, cat) { }; } -// Hält Werte in einem plausiblen Bereich, falls die KI-Antwort mal Ausreißer liefert -function clampNum(value, fallback, min, max) { - const n = Number(value); - if (!Number.isFinite(n) || n <= 0) return fallback; - return Math.min(max, Math.max(min, n)); -} - -async function runAiLookup(query) { - estimateAIBtn.disabled = true; - estimateAIStatus.hidden = false; - estimateAIStatus.textContent = `Frage Claude nach „${query}“ …`; - - try { - const res = await fetch("api/lookup.php", { - method: "POST", - headers: { "Content-Type": "application/json" }, - body: JSON.stringify({ query }), - }); - const data = await res.json(); - - if (!res.ok || data.error) { - throw new Error(data.error || `HTTP ${res.status}`); - } - if (data.found === false) { - estimateAIStatus.textContent = `Claude konnte „${query}“ nicht sicher als Fahrzeug erkennen. Bitte Kategorie wählen oder Eingabe präzisieren.`; - estimateAIBtn.disabled = false; - return; - } - - const car = { - id: "ai-" + Date.now(), - brand: String(data.brand || query).slice(0, 60), - model: String(data.model || "").slice(0, 60), - bodyType: String(data.bodyType || "Unbekannt") + " (KI-Schätzung)", - cargoLiters: Math.round(clampNum(data.cargoLiters, 450, 80, 2200)), - cargoLitersMax: data.cargoLitersMax ? Math.round(clampNum(data.cargoLitersMax, null, 80, 2600)) : null, - length_mm: clampNum(data.length_mm, 900, 400, 1400), - widthFloor_mm: clampNum(data.widthFloor_mm, 1000, 600, 1500), - widthShoulder_mm: clampNum(data.widthShoulder_mm, 1300, 700, 1700), - height_mm: clampNum(data.height_mm, 550, 300, 950), - sillHeight_mm: clampNum(data.sillHeight_mm, 700, 500, 900), - underFloorDepth_mm: data.underFloorDepth_mm ? clampNum(data.underFloorDepth_mm, null, 40, 260) : null, - isEstimate: true, - isAIEstimate: true, - }; - // Breite unten darf die Breite oben nicht überschreiten (Wanne läuft nach oben konisch zu) - car.widthFloor_mm = Math.min(car.widthFloor_mm, car.widthShoulder_mm); - - selectCar(car); - estimateBox.hidden = true; - } catch (err) { - estimateAIStatus.textContent = `KI-Anfrage fehlgeschlagen (${err.message}). Bitte erneut versuchen oder Kategorie wählen.`; - estimateAIBtn.disabled = false; - } -} - function handleVin(vin) { const wmi = vin.slice(0, 3); const brand = wmiTable[wmi]; @@ -372,6 +309,7 @@ const BRAND_ALIASES = { function normalizeQuery(query) { return query + .normalize("NFD").replace(/[̀-ͯ]/g, "") // Akzente entfernen, z. B. Citroen statt Citroën .toLowerCase() .split(/\s+/) .map((word) => BRAND_ALIASES[word] || word) @@ -893,12 +831,7 @@ function renderInfoPanel(car) { ? `
Stauraum unter dem Zwischenbodenca. ${car.underFloorDepth_mm} mm tief
` : ""; - const estimateNote = car.isAIEstimate - ? `

- Für „${car.brand}“ liegen keine hinterlegten Werte vor. Diese Maße hat Claude anhand seines - Wissens über dieses Modell geschätzt — keine offiziellen Herstellerangaben. -

` - : car.isEstimate + const estimateNote = car.isEstimate ? `

Für „${car.brand}“ liegen keine spezifischen Werte vor. Die Maße sind eine grobe Schätzung anhand der Fahrzeugklasse „${car.bodyType.replace(" (Schätzung)", "")}“, keine Angaben zum konkreten Modell. diff --git a/data/cars.json b/data/cars.json index 91cd397..d4f3334 100644 --- a/data/cars.json +++ b/data/cars.json @@ -376,5 +376,2049 @@ "height_mm": 600, "sillHeight_mm": 720, "underFloorDepth_mm": 210 + }, + { + "id": "toyota-corolla-sedan", + "brand": "Toyota", + "model": "Corolla Sedan", + "bodyType": "Limousine", + "cargoLiters": 470, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": 150 + }, + { + "id": "toyota-corolla-hatchback", + "brand": "Toyota", + "model": "Corolla Hatchback", + "bodyType": "Kompaktklasse", + "cargoLiters": 333, + "cargoLitersMax": 1046, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": 130 + }, + { + "id": "toyota-camry", + "brand": "Toyota", + "model": "Camry", + "bodyType": "Limousine", + "cargoLiters": 428, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": 150 + }, + { + "id": "toyota-land-cruiser", + "brand": "Toyota", + "model": "Land Cruiser", + "bodyType": "SUV (groß)", + "cargoLiters": 700, + "cargoLitersMax": 1900, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": 230 + }, + { + "id": "toyota-c-hr", + "brand": "Toyota", + "model": "C-HR", + "bodyType": "Kompakt-SUV", + "cargoLiters": 377, + "cargoLitersMax": 1160, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "toyota-yaris", + "brand": "Toyota", + "model": "Yaris", + "bodyType": "Kleinwagen", + "cargoLiters": 286, + "cargoLitersMax": 947, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "toyota-yaris-cross", + "brand": "Toyota", + "model": "Yaris Cross", + "bodyType": "Kompakt-SUV", + "cargoLiters": 397, + "cargoLitersMax": 1097, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "toyota-prius", + "brand": "Toyota", + "model": "Prius", + "bodyType": "Kompaktklasse", + "cargoLiters": 284, + "cargoLitersMax": 1000, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": null + }, + { + "id": "toyota-highlander", + "brand": "Toyota", + "model": "Highlander", + "bodyType": "SUV (groß)", + "cargoLiters": 450, + "cargoLitersMax": 1900, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": 230 + }, + { + "id": "toyota-sienna", + "brand": "Toyota", + "model": "Sienna", + "bodyType": "Kompaktvan", + "cargoLiters": 1000, + "cargoLitersMax": 2700, + "length_mm": 980, + "widthFloor_mm": 1080, + "widthShoulder_mm": 1380, + "height_mm": 700, + "sillHeight_mm": 660, + "underFloorDepth_mm": 150 + }, + { + "id": "toyota-avanza", + "brand": "Toyota", + "model": "Avanza", + "bodyType": "Kompaktvan", + "cargoLiters": 300, + "cargoLitersMax": 1250, + "length_mm": 980, + "widthFloor_mm": 1080, + "widthShoulder_mm": 1380, + "height_mm": 700, + "sillHeight_mm": 660, + "underFloorDepth_mm": 150 + }, + { + "id": "honda-civic", + "brand": "Honda", + "model": "Civic", + "bodyType": "Kompaktklasse", + "cargoLiters": 410, + "cargoLitersMax": 1220, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": 130 + }, + { + "id": "honda-cr-v", + "brand": "Honda", + "model": "CR-V", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 589, + "cargoLitersMax": 1650, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": 210 + }, + { + "id": "honda-accord", + "brand": "Honda", + "model": "Accord", + "bodyType": "Limousine", + "cargoLiters": 473, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": 150 + }, + { + "id": "honda-hr-v", + "brand": "Honda", + "model": "HR-V", + "bodyType": "Kompakt-SUV", + "cargoLiters": 335, + "cargoLitersMax": 1305, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "honda-jazz", + "brand": "Honda", + "model": "Jazz", + "bodyType": "Kleinwagen", + "cargoLiters": 304, + "cargoLitersMax": 1205, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "honda-odyssey", + "brand": "Honda", + "model": "Odyssey", + "bodyType": "Kompaktvan", + "cargoLiters": 890, + "cargoLitersMax": 3300, + "length_mm": 980, + "widthFloor_mm": 1080, + "widthShoulder_mm": 1380, + "height_mm": 700, + "sillHeight_mm": 660, + "underFloorDepth_mm": 150 + }, + { + "id": "ford-focus", + "brand": "Ford", + "model": "Focus", + "bodyType": "Kompaktklasse", + "cargoLiters": 375, + "cargoLitersMax": 1354, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": 130 + }, + { + "id": "ford-fiesta", + "brand": "Ford", + "model": "Fiesta", + "bodyType": "Kleinwagen", + "cargoLiters": 292, + "cargoLitersMax": 1093, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "ford-kuga", + "brand": "Ford", + "model": "Kuga", + "bodyType": "Kompakt-SUV", + "cargoLiters": 412, + "cargoLitersMax": 1534, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "ford-explorer", + "brand": "Ford", + "model": "Explorer", + "bodyType": "SUV (groß)", + "cargoLiters": 515, + "cargoLitersMax": 2274, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": 230 + }, + { + "id": "ford-mustang", + "brand": "Ford", + "model": "Mustang", + "bodyType": "Sportwagen", + "cargoLiters": 382, + "cargoLitersMax": null, + "length_mm": 500, + "widthFloor_mm": 750, + "widthShoulder_mm": 950, + "height_mm": 350, + "sillHeight_mm": 600, + "underFloorDepth_mm": null + }, + { + "id": "ford-puma", + "brand": "Ford", + "model": "Puma", + "bodyType": "Kompakt-SUV", + "cargoLiters": 456, + "cargoLitersMax": 1216, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "ford-edge", + "brand": "Ford", + "model": "Edge", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 602, + "cargoLitersMax": 1847, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": 210 + }, + { + "id": "chevrolet-cruze", + "brand": "Chevrolet", + "model": "Cruze", + "bodyType": "Limousine", + "cargoLiters": 425, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": 150 + }, + { + "id": "chevrolet-malibu", + "brand": "Chevrolet", + "model": "Malibu", + "bodyType": "Limousine", + "cargoLiters": 447, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": 150 + }, + { + "id": "chevrolet-equinox", + "brand": "Chevrolet", + "model": "Equinox", + "bodyType": "Kompakt-SUV", + "cargoLiters": 700, + "cargoLitersMax": 1800, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "chevrolet-traverse", + "brand": "Chevrolet", + "model": "Traverse", + "bodyType": "SUV (groß)", + "cargoLiters": 651, + "cargoLitersMax": 2789, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": 230 + }, + { + "id": "chevrolet-spark", + "brand": "Chevrolet", + "model": "Spark", + "bodyType": "Kleinstwagen", + "cargoLiters": 235, + "cargoLitersMax": 880, + "length_mm": 550, + "widthFloor_mm": 850, + "widthShoulder_mm": 1050, + "height_mm": 450, + "sillHeight_mm": 720, + "underFloorDepth_mm": 70 + }, + { + "id": "chevrolet-onix", + "brand": "Chevrolet", + "model": "Onix", + "bodyType": "Kleinwagen", + "cargoLiters": 303, + "cargoLitersMax": 1100, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "nissan-sentra", + "brand": "Nissan", + "model": "Sentra", + "bodyType": "Limousine", + "cargoLiters": 502, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": 150 + }, + { + "id": "nissan-altima", + "brand": "Nissan", + "model": "Altima", + "bodyType": "Limousine", + "cargoLiters": 436, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": 150 + }, + { + "id": "nissan-qashqai", + "brand": "Nissan", + "model": "Qashqai", + "bodyType": "Kompakt-SUV", + "cargoLiters": 504, + "cargoLitersMax": 1447, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "nissan-x-trail", + "brand": "Nissan", + "model": "X-Trail", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 585, + "cargoLitersMax": 1996, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": 210 + }, + { + "id": "nissan-juke", + "brand": "Nissan", + "model": "Juke", + "bodyType": "Kompakt-SUV", + "cargoLiters": 354, + "cargoLitersMax": 1237, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "nissan-micra", + "brand": "Nissan", + "model": "Micra", + "bodyType": "Kleinwagen", + "cargoLiters": 300, + "cargoLitersMax": 1004, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "nissan-leaf", + "brand": "Nissan", + "model": "Leaf", + "bodyType": "Kompaktklasse", + "cargoLiters": 435, + "cargoLitersMax": 1176, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": null + }, + { + "id": "hyundai-elantra", + "brand": "Hyundai", + "model": "Elantra", + "bodyType": "Limousine", + "cargoLiters": 474, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": 150 + }, + { + "id": "hyundai-i10", + "brand": "Hyundai", + "model": "i10", + "bodyType": "Kleinstwagen", + "cargoLiters": 252, + "cargoLitersMax": 1050, + "length_mm": 550, + "widthFloor_mm": 850, + "widthShoulder_mm": 1050, + "height_mm": 450, + "sillHeight_mm": 720, + "underFloorDepth_mm": 70 + }, + { + "id": "hyundai-i20", + "brand": "Hyundai", + "model": "i20", + "bodyType": "Kleinwagen", + "cargoLiters": 352, + "cargoLitersMax": 1165, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "hyundai-i30", + "brand": "Hyundai", + "model": "i30", + "bodyType": "Kompaktklasse", + "cargoLiters": 395, + "cargoLitersMax": 1301, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": 130 + }, + { + "id": "hyundai-santa-fe", + "brand": "Hyundai", + "model": "Santa Fe", + "bodyType": "SUV (groß)", + "cargoLiters": 571, + "cargoLitersMax": 1900, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": 230 + }, + { + "id": "hyundai-kona", + "brand": "Hyundai", + "model": "Kona", + "bodyType": "Kompakt-SUV", + "cargoLiters": 361, + "cargoLitersMax": 1143, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "hyundai-ioniq-5", + "brand": "Hyundai", + "model": "Ioniq 5", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 527, + "cargoLitersMax": 1587, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": null + }, + { + "id": "hyundai-creta", + "brand": "Hyundai", + "model": "Creta", + "bodyType": "Kompakt-SUV", + "cargoLiters": 433, + "cargoLitersMax": 1401, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "kia-rio", + "brand": "Kia", + "model": "Rio", + "bodyType": "Kleinwagen", + "cargoLiters": 325, + "cargoLitersMax": 980, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "kia-ceed", + "brand": "Kia", + "model": "Ceed", + "bodyType": "Kompaktklasse", + "cargoLiters": 395, + "cargoLitersMax": 1291, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": 130 + }, + { + "id": "kia-sorento", + "brand": "Kia", + "model": "Sorento", + "bodyType": "SUV (groß)", + "cargoLiters": 604, + "cargoLitersMax": 1988, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": 230 + }, + { + "id": "kia-picanto", + "brand": "Kia", + "model": "Picanto", + "bodyType": "Kleinstwagen", + "cargoLiters": 255, + "cargoLitersMax": 1010, + "length_mm": 550, + "widthFloor_mm": 850, + "widthShoulder_mm": 1050, + "height_mm": 450, + "sillHeight_mm": 720, + "underFloorDepth_mm": 70 + }, + { + "id": "kia-ev6", + "brand": "Kia", + "model": "EV6", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 490, + "cargoLitersMax": 1300, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": null + }, + { + "id": "kia-seltos", + "brand": "Kia", + "model": "Seltos", + "bodyType": "Kompakt-SUV", + "cargoLiters": 433, + "cargoLitersMax": 1393, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "volkswagen-polo", + "brand": "Volkswagen", + "model": "Polo", + "bodyType": "Kleinwagen", + "cargoLiters": 351, + "cargoLitersMax": 1125, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "volkswagen-t-roc", + "brand": "Volkswagen", + "model": "T-Roc", + "bodyType": "Kompakt-SUV", + "cargoLiters": 445, + "cargoLitersMax": 1290, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "volkswagen-touareg", + "brand": "Volkswagen", + "model": "Touareg", + "bodyType": "SUV (groß)", + "cargoLiters": 810, + "cargoLitersMax": 1800, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": 230 + }, + { + "id": "volkswagen-arteon", + "brand": "Volkswagen", + "model": "Arteon", + "bodyType": "Limousine", + "cargoLiters": 563, + "cargoLitersMax": 1557, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": 150 + }, + { + "id": "volkswagen-id-3", + "brand": "Volkswagen", + "model": "ID.3", + "bodyType": "Kompaktklasse", + "cargoLiters": 385, + "cargoLitersMax": 1267, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": null + }, + { + "id": "volkswagen-taigo", + "brand": "Volkswagen", + "model": "Taigo", + "bodyType": "Kompakt-SUV", + "cargoLiters": 438, + "cargoLitersMax": 1222, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "skoda-fabia", + "brand": "Skoda", + "model": "Fabia", + "bodyType": "Kleinwagen", + "cargoLiters": 380, + "cargoLitersMax": 1190, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "skoda-scala", + "brand": "Skoda", + "model": "Scala", + "bodyType": "Kompaktklasse", + "cargoLiters": 467, + "cargoLitersMax": 1410, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": 130 + }, + { + "id": "skoda-kamiq", + "brand": "Skoda", + "model": "Kamiq", + "bodyType": "Kompakt-SUV", + "cargoLiters": 400, + "cargoLitersMax": 1395, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "skoda-karoq", + "brand": "Skoda", + "model": "Karoq", + "bodyType": "Kompakt-SUV", + "cargoLiters": 521, + "cargoLitersMax": 1630, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "skoda-kodiaq", + "brand": "Skoda", + "model": "Kodiaq", + "bodyType": "SUV (groß)", + "cargoLiters": 630, + "cargoLitersMax": 2000, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": 230 + }, + { + "id": "seat-ibiza", + "brand": "Seat", + "model": "Ibiza", + "bodyType": "Kleinwagen", + "cargoLiters": 355, + "cargoLitersMax": 1165, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "seat-leon", + "brand": "Seat", + "model": "Leon", + "bodyType": "Kompaktklasse", + "cargoLiters": 380, + "cargoLitersMax": 1301, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": 130 + }, + { + "id": "seat-arona", + "brand": "Seat", + "model": "Arona", + "bodyType": "Kompakt-SUV", + "cargoLiters": 400, + "cargoLitersMax": 1280, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "cupra-formentor", + "brand": "Cupra", + "model": "Formentor", + "bodyType": "Kompakt-SUV", + "cargoLiters": 420, + "cargoLitersMax": 1471, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "renault-megane", + "brand": "Renault", + "model": "Megane", + "bodyType": "Kompaktklasse", + "cargoLiters": 384, + "cargoLitersMax": 1247, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": 130 + }, + { + "id": "renault-captur", + "brand": "Renault", + "model": "Captur", + "bodyType": "Kompakt-SUV", + "cargoLiters": 422, + "cargoLitersMax": 1275, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "renault-twingo", + "brand": "Renault", + "model": "Twingo", + "bodyType": "Kleinstwagen", + "cargoLiters": 219, + "cargoLitersMax": 980, + "length_mm": 550, + "widthFloor_mm": 850, + "widthShoulder_mm": 1050, + "height_mm": 450, + "sillHeight_mm": 720, + "underFloorDepth_mm": 70 + }, + { + "id": "renault-scenic", + "brand": "Renault", + "model": "Scenic", + "bodyType": "Kompaktvan", + "cargoLiters": 545, + "cargoLitersMax": 1670, + "length_mm": 980, + "widthFloor_mm": 1080, + "widthShoulder_mm": 1380, + "height_mm": 700, + "sillHeight_mm": 660, + "underFloorDepth_mm": 150 + }, + { + "id": "renault-austral", + "brand": "Renault", + "model": "Austral", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 500, + "cargoLitersMax": 1525, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": 210 + }, + { + "id": "renault-kadjar", + "brand": "Renault", + "model": "Kadjar", + "bodyType": "Kompakt-SUV", + "cargoLiters": 472, + "cargoLitersMax": 1478, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "peugeot-208", + "brand": "Peugeot", + "model": "208", + "bodyType": "Kleinwagen", + "cargoLiters": 311, + "cargoLitersMax": 1106, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "peugeot-2008", + "brand": "Peugeot", + "model": "2008", + "bodyType": "Kompakt-SUV", + "cargoLiters": 434, + "cargoLitersMax": 1467, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "peugeot-3008", + "brand": "Peugeot", + "model": "3008", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 520, + "cargoLitersMax": 1482, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": 210 + }, + { + "id": "peugeot-5008", + "brand": "Peugeot", + "model": "5008", + "bodyType": "SUV (groß)", + "cargoLiters": 634, + "cargoLitersMax": 2042, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": 230 + }, + { + "id": "citro-n-c3", + "brand": "Citroën", + "model": "C3", + "bodyType": "Kleinwagen", + "cargoLiters": 300, + "cargoLitersMax": 922, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "citro-n-c4", + "brand": "Citroën", + "model": "C4", + "bodyType": "Kompaktklasse", + "cargoLiters": 380, + "cargoLitersMax": 1250, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": 130 + }, + { + "id": "citro-n-c5-aircross", + "brand": "Citroën", + "model": "C5 Aircross", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 580, + "cargoLitersMax": 1630, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": 210 + }, + { + "id": "opel-corsa", + "brand": "Opel", + "model": "Corsa", + "bodyType": "Kleinwagen", + "cargoLiters": 309, + "cargoLitersMax": 1118, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "opel-astra", + "brand": "Opel", + "model": "Astra", + "bodyType": "Kompaktklasse", + "cargoLiters": 352, + "cargoLitersMax": 1210, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": 130 + }, + { + "id": "opel-mokka", + "brand": "Opel", + "model": "Mokka", + "bodyType": "Kompakt-SUV", + "cargoLiters": 350, + "cargoLitersMax": 1105, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "opel-grandland", + "brand": "Opel", + "model": "Grandland", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 550, + "cargoLitersMax": 1645, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": 210 + }, + { + "id": "opel-crossland", + "brand": "Opel", + "model": "Crossland", + "bodyType": "Kompakt-SUV", + "cargoLiters": 410, + "cargoLitersMax": 1255, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "fiat-panda", + "brand": "Fiat", + "model": "Panda", + "bodyType": "Kleinstwagen", + "cargoLiters": 225, + "cargoLitersMax": 870, + "length_mm": 550, + "widthFloor_mm": 850, + "widthShoulder_mm": 1050, + "height_mm": 450, + "sillHeight_mm": 720, + "underFloorDepth_mm": 70 + }, + { + "id": "fiat-tipo", + "brand": "Fiat", + "model": "Tipo", + "bodyType": "Kompaktklasse", + "cargoLiters": 440, + "cargoLitersMax": 1520, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": 130 + }, + { + "id": "fiat-500x", + "brand": "Fiat", + "model": "500X", + "bodyType": "Kompakt-SUV", + "cargoLiters": 350, + "cargoLitersMax": 1000, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "dacia-sandero", + "brand": "Dacia", + "model": "Sandero", + "bodyType": "Kleinwagen", + "cargoLiters": 328, + "cargoLitersMax": 1108, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "dacia-duster", + "brand": "Dacia", + "model": "Duster", + "bodyType": "Kompakt-SUV", + "cargoLiters": 445, + "cargoLitersMax": 1478, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "dacia-jogger", + "brand": "Dacia", + "model": "Jogger", + "bodyType": "Kombi", + "cargoLiters": 565, + "cargoLitersMax": 1811, + "length_mm": 1040, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1330, + "height_mm": 565, + "sillHeight_mm": 690, + "underFloorDepth_mm": 170 + }, + { + "id": "bmw-1er", + "brand": "BMW", + "model": "1er", + "bodyType": "Kompaktklasse", + "cargoLiters": 380, + "cargoLitersMax": 1200, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": 130 + }, + { + "id": "bmw-5er-limousine", + "brand": "BMW", + "model": "5er Limousine", + "bodyType": "Limousine", + "cargoLiters": 520, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": 150 + }, + { + "id": "bmw-x1", + "brand": "BMW", + "model": "X1", + "bodyType": "Kompakt-SUV", + "cargoLiters": 505, + "cargoLitersMax": 1550, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "bmw-x5", + "brand": "BMW", + "model": "X5", + "bodyType": "SUV (groß)", + "cargoLiters": 650, + "cargoLitersMax": 1870, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": 230 + }, + { + "id": "bmw-ix", + "brand": "BMW", + "model": "iX", + "bodyType": "SUV (groß)", + "cargoLiters": 500, + "cargoLitersMax": 1750, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": null + }, + { + "id": "mercedes-benz-a-klasse", + "brand": "Mercedes-Benz", + "model": "A-Klasse", + "bodyType": "Kompaktklasse", + "cargoLiters": 370, + "cargoLitersMax": 1210, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": 130 + }, + { + "id": "mercedes-benz-c-klasse-limousine", + "brand": "Mercedes-Benz", + "model": "C-Klasse Limousine", + "bodyType": "Limousine", + "cargoLiters": 455, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": 150 + }, + { + "id": "mercedes-benz-e-klasse-limousine", + "brand": "Mercedes-Benz", + "model": "E-Klasse Limousine", + "bodyType": "Limousine", + "cargoLiters": 540, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": 150 + }, + { + "id": "mercedes-benz-gla", + "brand": "Mercedes-Benz", + "model": "GLA", + "bodyType": "Kompakt-SUV", + "cargoLiters": 435, + "cargoLitersMax": 1430, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "mercedes-benz-gle", + "brand": "Mercedes-Benz", + "model": "GLE", + "bodyType": "SUV (groß)", + "cargoLiters": 630, + "cargoLitersMax": 2055, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": 230 + }, + { + "id": "audi-a1", + "brand": "Audi", + "model": "A1", + "bodyType": "Kleinwagen", + "cargoLiters": 335, + "cargoLitersMax": 1090, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "audi-a3", + "brand": "Audi", + "model": "A3", + "bodyType": "Kompaktklasse", + "cargoLiters": 380, + "cargoLitersMax": 1200, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": 130 + }, + { + "id": "audi-a4-limousine", + "brand": "Audi", + "model": "A4 Limousine", + "bodyType": "Limousine", + "cargoLiters": 460, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": 150 + }, + { + "id": "audi-a6-limousine", + "brand": "Audi", + "model": "A6 Limousine", + "bodyType": "Limousine", + "cargoLiters": 530, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": 150 + }, + { + "id": "audi-q2", + "brand": "Audi", + "model": "Q2", + "bodyType": "Kompakt-SUV", + "cargoLiters": 405, + "cargoLitersMax": 1050, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "audi-q3", + "brand": "Audi", + "model": "Q3", + "bodyType": "Kompakt-SUV", + "cargoLiters": 530, + "cargoLitersMax": 1525, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "audi-q7", + "brand": "Audi", + "model": "Q7", + "bodyType": "SUV (groß)", + "cargoLiters": 770, + "cargoLitersMax": 1955, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": 230 + }, + { + "id": "mazda-2", + "brand": "Mazda", + "model": "2", + "bodyType": "Kleinwagen", + "cargoLiters": 280, + "cargoLitersMax": 950, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "mazda-3", + "brand": "Mazda", + "model": "3", + "bodyType": "Kompaktklasse", + "cargoLiters": 351, + "cargoLitersMax": 1214, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": 130 + }, + { + "id": "mazda-cx-30", + "brand": "Mazda", + "model": "CX-30", + "bodyType": "Kompakt-SUV", + "cargoLiters": 430, + "cargoLitersMax": 1406, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "subaru-impreza", + "brand": "Subaru", + "model": "Impreza", + "bodyType": "Kompaktklasse", + "cargoLiters": 291, + "cargoLitersMax": 1200, + "length_mm": 750, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1300, + "height_mm": 500, + "sillHeight_mm": 700, + "underFloorDepth_mm": 130 + }, + { + "id": "subaru-forester", + "brand": "Subaru", + "model": "Forester", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 509, + "cargoLitersMax": 1779, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": 210 + }, + { + "id": "subaru-outback", + "brand": "Subaru", + "model": "Outback", + "bodyType": "Kombi", + "cargoLiters": 522, + "cargoLitersMax": 1822, + "length_mm": 1040, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1330, + "height_mm": 565, + "sillHeight_mm": 690, + "underFloorDepth_mm": 170 + }, + { + "id": "subaru-crosstrek", + "brand": "Subaru", + "model": "Crosstrek", + "bodyType": "Kompakt-SUV", + "cargoLiters": 385, + "cargoLitersMax": 1305, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "mitsubishi-outlander", + "brand": "Mitsubishi", + "model": "Outlander", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 461, + "cargoLitersMax": 1602, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": 210 + }, + { + "id": "mitsubishi-asx", + "brand": "Mitsubishi", + "model": "ASX", + "bodyType": "Kompakt-SUV", + "cargoLiters": 393, + "cargoLitersMax": 1219, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "mitsubishi-space-star", + "brand": "Mitsubishi", + "model": "Space Star", + "bodyType": "Kleinstwagen", + "cargoLiters": 235, + "cargoLitersMax": 1090, + "length_mm": 550, + "widthFloor_mm": 850, + "widthShoulder_mm": 1050, + "height_mm": 450, + "sillHeight_mm": 720, + "underFloorDepth_mm": 70 + }, + { + "id": "suzuki-swift", + "brand": "Suzuki", + "model": "Swift", + "bodyType": "Kleinwagen", + "cargoLiters": 265, + "cargoLitersMax": 947, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "suzuki-vitara", + "brand": "Suzuki", + "model": "Vitara", + "bodyType": "Kompakt-SUV", + "cargoLiters": 375, + "cargoLitersMax": 1120, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "suzuki-jimny", + "brand": "Suzuki", + "model": "Jimny", + "bodyType": "Kleinstwagen", + "cargoLiters": 85, + "cargoLitersMax": 377, + "length_mm": 550, + "widthFloor_mm": 850, + "widthShoulder_mm": 1050, + "height_mm": 450, + "sillHeight_mm": 720, + "underFloorDepth_mm": 70 + }, + { + "id": "volvo-xc40", + "brand": "Volvo", + "model": "XC40", + "bodyType": "Kompakt-SUV", + "cargoLiters": 452, + "cargoLitersMax": 1328, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "volvo-xc60", + "brand": "Volvo", + "model": "XC60", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 483, + "cargoLitersMax": 1432, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": 210 + }, + { + "id": "volvo-xc90", + "brand": "Volvo", + "model": "XC90", + "bodyType": "SUV (groß)", + "cargoLiters": 451, + "cargoLitersMax": 1816, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": 230 + }, + { + "id": "volvo-s60", + "brand": "Volvo", + "model": "S60", + "bodyType": "Limousine", + "cargoLiters": 442, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": 150 + }, + { + "id": "land-rover-range-rover-evoque", + "brand": "Land Rover", + "model": "Range Rover Evoque", + "bodyType": "Kompakt-SUV", + "cargoLiters": 472, + "cargoLitersMax": 1383, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "land-rover-discovery-sport", + "brand": "Land Rover", + "model": "Discovery Sport", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 597, + "cargoLitersMax": 1794, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": 210 + }, + { + "id": "land-rover-range-rover", + "brand": "Land Rover", + "model": "Range Rover", + "bodyType": "SUV (groß)", + "cargoLiters": 900, + "cargoLitersMax": 1841, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": 230 + }, + { + "id": "jeep-renegade", + "brand": "Jeep", + "model": "Renegade", + "bodyType": "Kompakt-SUV", + "cargoLiters": 351, + "cargoLitersMax": 1297, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "jeep-compass", + "brand": "Jeep", + "model": "Compass", + "bodyType": "Kompakt-SUV", + "cargoLiters": 438, + "cargoLitersMax": 1230, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "jeep-grand-cherokee", + "brand": "Jeep", + "model": "Grand Cherokee", + "bodyType": "SUV (groß)", + "cargoLiters": 533, + "cargoLitersMax": 1554, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": 230 + }, + { + "id": "tesla-model-y", + "brand": "Tesla", + "model": "Model Y", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 854, + "cargoLitersMax": 2158, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": null + }, + { + "id": "tesla-model-s", + "brand": "Tesla", + "model": "Model S", + "bodyType": "Limousine", + "cargoLiters": 793, + "cargoLitersMax": 1795, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": null + }, + { + "id": "wuling-hongguang-mini-ev", + "brand": "Wuling", + "model": "Hongguang Mini EV", + "bodyType": "Kleinstwagen", + "cargoLiters": 100, + "cargoLitersMax": 741, + "length_mm": 550, + "widthFloor_mm": 850, + "widthShoulder_mm": 1050, + "height_mm": 450, + "sillHeight_mm": 720, + "underFloorDepth_mm": null + }, + { + "id": "byd-song-plus", + "brand": "BYD", + "model": "Song Plus", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 574, + "cargoLitersMax": 1470, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": null + }, + { + "id": "byd-qin-plus", + "brand": "BYD", + "model": "Qin Plus", + "bodyType": "Limousine", + "cargoLiters": 490, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": null + }, + { + "id": "byd-han", + "brand": "BYD", + "model": "Han", + "bodyType": "Limousine", + "cargoLiters": 516, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": null + }, + { + "id": "byd-seal", + "brand": "BYD", + "model": "Seal", + "bodyType": "Limousine", + "cargoLiters": 400, + "cargoLitersMax": null, + "length_mm": 850, + "widthFloor_mm": 1000, + "widthShoulder_mm": 1320, + "height_mm": 550, + "sillHeight_mm": 770, + "underFloorDepth_mm": null + }, + { + "id": "byd-atto-3", + "brand": "BYD", + "model": "Atto 3", + "bodyType": "Kompakt-SUV", + "cargoLiters": 440, + "cargoLitersMax": 1338, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": null + }, + { + "id": "haval-h6", + "brand": "Haval", + "model": "H6", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 600, + "cargoLitersMax": 1445, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": 210 + }, + { + "id": "changan-cs75-plus", + "brand": "Changan", + "model": "CS75 Plus", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 543, + "cargoLitersMax": 1560, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": 210 + }, + { + "id": "geely-xingyue-l", + "brand": "Geely", + "model": "Xingyue L", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 500, + "cargoLitersMax": 1490, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": 210 + }, + { + "id": "nio-es6", + "brand": "Nio", + "model": "ES6", + "bodyType": "SUV (groß)", + "cargoLiters": 550, + "cargoLitersMax": 1900, + "length_mm": 1100, + "widthFloor_mm": 1100, + "widthShoulder_mm": 1450, + "height_mm": 820, + "sillHeight_mm": 780, + "underFloorDepth_mm": null + }, + { + "id": "maruti-suzuki-alto", + "brand": "Maruti Suzuki", + "model": "Alto", + "bodyType": "Kleinstwagen", + "cargoLiters": 177, + "cargoLitersMax": 730, + "length_mm": 550, + "widthFloor_mm": 850, + "widthShoulder_mm": 1050, + "height_mm": 450, + "sillHeight_mm": 720, + "underFloorDepth_mm": 70 + }, + { + "id": "maruti-suzuki-baleno", + "brand": "Maruti Suzuki", + "model": "Baleno", + "bodyType": "Kleinwagen", + "cargoLiters": 339, + "cargoLitersMax": 950, + "length_mm": 700, + "widthFloor_mm": 925, + "widthShoulder_mm": 1190, + "height_mm": 490, + "sillHeight_mm": 690, + "underFloorDepth_mm": 100 + }, + { + "id": "tata-nexon", + "brand": "Tata", + "model": "Nexon", + "bodyType": "Kompakt-SUV", + "cargoLiters": 350, + "cargoLitersMax": 1200, + "length_mm": 915, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1350, + "height_mm": 748, + "sillHeight_mm": 745, + "underFloorDepth_mm": 190 + }, + { + "id": "mahindra-scorpio", + "brand": "Mahindra", + "model": "Scorpio", + "bodyType": "Mittelklasse-SUV", + "cargoLiters": 384, + "cargoLitersMax": 1150, + "length_mm": 940, + "widthFloor_mm": 1040, + "widthShoulder_mm": 1360, + "height_mm": 750, + "sillHeight_mm": 765, + "underFloorDepth_mm": 210 } ] diff --git a/index.html b/index.html index ec3126e..3e36295 100644 --- a/index.html +++ b/index.html @@ -23,12 +23,7 @@

diff --git a/style.css b/style.css index 951818b..8b73121 100644 --- a/style.css +++ b/style.css @@ -146,42 +146,6 @@ main { margin-top: 8px; } -.estimate-ai-row { - margin: 10px 0; -} - -.ai-btn { - width: 100%; - padding: 10px 14px; - border-radius: 8px; - border: 1px solid rgba(255,138,61,0.4); - background: rgba(255,138,61,0.12); - color: var(--text); - font-size: 0.88rem; - font-weight: 600; - cursor: pointer; -} - -.ai-btn:hover:not(:disabled) { - background: rgba(255,138,61,0.2); -} - -.ai-btn:disabled { - cursor: default; - opacity: 0.7; -} - -.estimate-ai-status { - margin: -4px 0 10px; - font-size: 0.82rem; -} - -.estimate-or { - margin: 0 0 4px; - font-size: 0.78rem; - opacity: 0.85; -} - .chip { padding: 6px 12px; background: var(--bg-panel);