{
    "openapi": "3.1.2",
    "info": {
        "title": "GetApi",
        "version": "0.0.1",
        "description": "## Authenticatie\n\nAlle API-endpoints vereisen authenticatie. Stuur je API-sleutel mee met **\u00e9\u00e9n** van deze methoden:\n\n**Optie 1 \u2014 X-Api-Key-header (aanbevolen)**\n```\nX-Api-Key: ga_live_xxxxxxxxxxxxxxxxxxxx\n```\n\n**Optie 2 \u2014 Bearer-token**\n```\nAuthorization: Bearer ga_live_xxxxxxxxxxxxxxxxxxxx\n```\n\nJe API-sleutels beheer je in je [dashboard](https://getapi.nl/dashboard).\n\n## AI- en agentbetalingen (x402)\n\nSommige endpoints ondersteunen directe betalingen voor AI-agents via het **x402**-protocol (https://www.x402.org).\nEen API-sleutel of account is niet nodig. Stuur een normaal verzoek zonder sleutel;\nde server antwoordt met **HTTP 402** en een `PAYMENT-REQUIRED`-header:\n\n```\nPAYMENT-REQUIRED: <base64 JSON PaymentRequirements>\n```\n\nDeze base64-string bevat onder andere `network`, `asset`, `amount` en `payTo`.\nJe agent ondertekent een EIP-3009 *transferWithAuthorization* voor het opgegeven `amount` in USDC naar dat `payTo`-adres,\ncodeert de handtekening als base64 en verstuurt het verzoek opnieuw met:\n\n```\nPAYMENT-SIGNATURE: <base64 SignedAuthorization>\n```\n\nDe server verifieert de handtekening via een facilitator, levert de data en settle de betaling on-chain.\nDe succesresponse bevat een `PAYMENT-RESPONSE`-header met de transactiegegevens.\nEen eenmalige `nonce` voorkomt replay-aanvallen. Betalingen gaan in USDC op **Base**;\nde prijs wordt bepaald door de `credit_cost` van het endpoint.\n\n## Credits en foutcodes\n\n- Alleen een geslaagde call met data (HTTP 2xx) kost credits. Bij 4xx, 5xx, een leeg antwoord (`found:false`) of een validatiefout wordt niets afgeschreven.\n- Een leeg saldo geeft **HTTP 402** met `error: insufficient_credits`, `topup_url` en `X-Credits-Remaining: 0`. Er is geen `Retry-After`; wachten helpt niet.\n- Een te hoog requesttempo geeft **HTTP 429** met `error: rate_limited`, `retry_after` en de `Retry-After`-header. De limiet geldt per minuut per API-sleutel; `X-RateLimit-Reset` is een Unix-timestamp, `Retry-After` is in seconden.\n- Een x402-betaalchallenge gebruikt ook **402**, maar bevat een `accepts`-array in de body en/of een `PAYMENT-REQUIRED`-header. Zo onderscheid je hem van een leeg saldo.\n- Stuur bij GET-requests met creditkosten een `Idempotency-Key` mee: dezelfde sleutel binnen 10 minuten levert hetzelfde antwoord en boekt maximaal \u00e9\u00e9n keer af.",
        "contact": {
            "email": "info@wdnoord.nl"
        },
        "x-guidance": "GetAPI.nl is een Nederlandse API-platform voor lookups en validaties (postcode,\nadres, kenteken, BTW, e-mail, KVK, IBAN, energiemaatwerk, overheidsdata). Elke\nendpoint accepteert een API key via de X-Api-Key header of Authorization:\nBearer <key>.\n\nSommige endpoints zijn ook direct betaalbaar voor AI-agents via het x402-protocol\n(https://www.x402.org) zonder account of API key: stuur een verzoek zonder key,\nde server antwoordt met HTTP 402 en een PAYMENT-REQUIRED header (base64 JSON met\nnetwork, asset, amount, payTo). Teken daarna een EIP-3009 transferWithAuthorization\nvoor het gevraagde bedrag in USDC op Base en hertrail met een PAYMENT-SIGNATURE\nheader. De server verifieert, levert de data en settleert on-chain.\n\nTips voor agents:\n- Lees eerst de PAYMENT-REQUIRED header van een 402-antwoord; die is leidend.\n- Geef altijd de exact door de server gevraagde parameters mee.\n- Een endpoint met een \"x-payment-info\" blok vereist betaling voor gebruik."
    },
    "servers": [
        {
            "url": "https://api.getapi.nl",
            "description": "GetAPI"
        }
    ],
    "security": [
        {
            "ApiKeyAuth": []
        },
        {
            "BearerAuth": []
        },
        {
            "ApiKeyAuth": []
        },
        {
            "BearerAuth": []
        }
    ],
    "paths": {
        "/v1/ndw/truckparking": {
            "get": {
                "operationId": "ndw.truckparking",
                "description": "Retourneert een overzicht van alle truckparkeerplaatsen in Nederland met actuele bezettingsinformatie. Statische locatiedata wordt gecombineerd met dynamische bezettingsstatus (DATEX II). Optioneel pagineren met `page` (plus `per_page`, max 500; alleen dan bevat de response een `meta`-blok). Filter op status, beschikbaarheid of weg.",
                "summary": "Truckparking lijst",
                "tags": [
                    "NDW - Truckparking",
                    "NdwTruckparking"
                ],
                "parameters": [
                    {
                        "name": "status",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "enum": [
                                "available",
                                "full",
                                "closed",
                                "unknown",
                                null
                            ]
                        }
                    },
                    {
                        "name": "beschikbaar",
                        "in": "query",
                        "schema": {
                            "type": [
                                "boolean",
                                "null"
                            ]
                        }
                    },
                    {
                        "name": "road",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 16
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": [
                                "integer",
                                "null"
                            ],
                            "minimum": 1
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": [
                                "integer",
                                "null"
                            ],
                            "minimum": 1,
                            "maximum": 500
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "List of truck parking locations",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "examples": [
                                        {
                                            "total": 1,
                                            "results": [
                                                {
                                                    "id": "NL-12_421",
                                                    "name": "Truckstop Venlo",
                                                    "latitude": 51.39038,
                                                    "longitude": 6.108905,
                                                    "city": "Venlo",
                                                    "road": "A67",
                                                    "address": "James Cookweg",
                                                    "house_number": "31",
                                                    "postal_code": "5928LJ",
                                                    "country": "nl",
                                                    "total_capacity": 402,
                                                    "available_spaces": 1488,
                                                    "status": "available",
                                                    "site_details": {
                                                        "roads": [
                                                            {
                                                                "type": "primary",
                                                                "identifier": "A67",
                                                                "destination": "Onbekend",
                                                                "origination": null,
                                                                "junction_name": "39",
                                                                "distance_to_this_road_m": 1
                                                            }
                                                        ],
                                                        "tariffs": {
                                                            "free_of_charge": false,
                                                            "url": "https://truckparkingvenlo.nl",
                                                            "bands": [
                                                                {
                                                                    "name": "Tarief per uur",
                                                                    "currency": "eur",
                                                                    "amount": 1,
                                                                    "interval_seconds": 3600
                                                                }
                                                            ]
                                                        },
                                                        "facilities": [
                                                            {
                                                                "kind": "equipment",
                                                                "type": "electricChargingStation",
                                                                "availability": "available"
                                                            }
                                                        ],
                                                        "security": {
                                                            "values": [
                                                                "cctv",
                                                                "fences",
                                                                "lighting",
                                                                "guard24hours"
                                                            ],
                                                            "certified_secure_parking": true,
                                                            "label_security_level": "securityLevel3",
                                                            "label_self_assessment": "securityLevel3"
                                                        },
                                                        "supervision": [
                                                            "patrol"
                                                        ],
                                                        "reservation": "mandatory",
                                                        "usage_scenarios": [
                                                            "truckParking"
                                                        ],
                                                        "spaces_groups": [
                                                            {
                                                                "group_index": 0,
                                                                "number_of_spaces": 390,
                                                                "type_of_group": "statisticsOnly",
                                                                "vehicle_characteristics": [
                                                                    {
                                                                        "assignment": "assigned_among_others",
                                                                        "vehicleType": [
                                                                            "lorry"
                                                                        ]
                                                                    }
                                                                ]
                                                            }
                                                        ],
                                                        "record_version_time": "2024-03-19T08:47:28.943990Z"
                                                    },
                                                    "occupancy": {
                                                        "vacant_spaces": 1488,
                                                        "occupied_spaces": 0,
                                                        "occupancy_percent": 25.714285,
                                                        "site_status": "spacesAvailable",
                                                        "origin_time": "2026-09-21T15:22:57.424423863Z",
                                                        "groups": [
                                                            {
                                                                "group_index": 1,
                                                                "vacant_spaces": 248,
                                                                "occupied_spaces": 0,
                                                                "occupancy_percent": 30
                                                            }
                                                        ]
                                                    },
                                                    "static_updated_at": "2026-04-29T00:00:00+00:00",
                                                    "dynamic_updated_at": "2026-05-14T13:47:00+00:00"
                                                }
                                            ]
                                        }
                                    ],
                                    "properties": {
                                        "total": {
                                            "type": "integer",
                                            "description": "Totaal aantal gevonden resultaten."
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "page": {
                                                    "type": "integer",
                                                    "description": "Huidige pagina."
                                                },
                                                "per_page": {
                                                    "type": "integer",
                                                    "description": "Aantal resultaten per pagina."
                                                },
                                                "last_page": {
                                                    "type": "integer",
                                                    "description": "Laatste pagina."
                                                },
                                                "total": {
                                                    "type": "integer",
                                                    "description": "Totaal aantal resultaten."
                                                }
                                            },
                                            "required": [
                                                "page",
                                                "per_page",
                                                "last_page",
                                                "total"
                                            ],
                                            "description": "Paginering van de resultaten."
                                        },
                                        "results": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "id": {
                                                        "type": "string",
                                                        "description": "Identificatie van de parkeerlocatie bij NDW."
                                                    },
                                                    "name": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ],
                                                        "description": "Naam van de parkeerlocatie."
                                                    },
                                                    "latitude": {
                                                        "type": [
                                                            "number",
                                                            "null"
                                                        ],
                                                        "description": "Breedtegraad van de parkeerlocatie."
                                                    },
                                                    "longitude": {
                                                        "type": [
                                                            "number",
                                                            "null"
                                                        ],
                                                        "description": "Lengtegraad van de parkeerlocatie."
                                                    },
                                                    "city": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ],
                                                        "description": "Plaatsnaam."
                                                    },
                                                    "road": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ],
                                                        "description": "Weg waaraan de locatie ligt, bijvoorbeeld A67."
                                                    },
                                                    "address": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ],
                                                        "description": "Adres van de parkeerlocatie."
                                                    },
                                                    "house_number": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ],
                                                        "description": "Huisnummer."
                                                    },
                                                    "postal_code": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ],
                                                        "description": "Postcode van de parkeerlocatie."
                                                    },
                                                    "country": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ],
                                                        "description": "Landcode, bijvoorbeeld nl."
                                                    },
                                                    "total_capacity": {
                                                        "type": [
                                                            "integer",
                                                            "null"
                                                        ],
                                                        "description": "Totaal aantal parkeerplaatsen."
                                                    },
                                                    "available_spaces": {
                                                        "type": [
                                                            "integer",
                                                            "null"
                                                        ],
                                                        "description": "Aantal vrije parkeerplaatsen."
                                                    },
                                                    "status": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ],
                                                        "description": "Actuele status van de locatie, bijvoorbeeld available."
                                                    },
                                                    "site_details": {
                                                        "type": [
                                                            "object",
                                                            "null"
                                                        ],
                                                        "properties": {
                                                            "roads": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "type": {
                                                                            "type": "string",
                                                                            "description": "Soort weg, bijvoorbeeld primary (hoofdweg)."
                                                                        },
                                                                        "identifier": {
                                                                            "type": [
                                                                                "string",
                                                                                "null"
                                                                            ],
                                                                            "description": "Wegnummer."
                                                                        },
                                                                        "destination": {
                                                                            "type": [
                                                                                "string",
                                                                                "null"
                                                                            ],
                                                                            "description": "Bestemming in de rijrichting."
                                                                        },
                                                                        "origination": {
                                                                            "type": [
                                                                                "string",
                                                                                "null"
                                                                            ],
                                                                            "description": "Herkomst in de rijrichting."
                                                                        },
                                                                        "junction_name": {
                                                                            "type": [
                                                                                "string",
                                                                                "null"
                                                                            ],
                                                                            "description": "Naam of nummer van de afrit."
                                                                        },
                                                                        "distance_to_this_road_m": {
                                                                            "type": [
                                                                                "integer",
                                                                                "null"
                                                                            ],
                                                                            "description": "Afstand tot deze weg in meter."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "type",
                                                                        "identifier",
                                                                        "destination",
                                                                        "origination",
                                                                        "junction_name",
                                                                        "distance_to_this_road_m"
                                                                    ]
                                                                },
                                                                "description": "Wegen bij de locatie."
                                                            },
                                                            "tariffs": {
                                                                "type": [
                                                                    "object",
                                                                    "null"
                                                                ],
                                                                "properties": {
                                                                    "free_of_charge": {
                                                                        "type": [
                                                                            "boolean",
                                                                            "null"
                                                                        ],
                                                                        "description": "Geeft aan of parkeren gratis is."
                                                                    },
                                                                    "url": {
                                                                        "type": [
                                                                            "string",
                                                                            "null"
                                                                        ],
                                                                        "description": "Link naar de tariefinformatie."
                                                                    },
                                                                    "bands": {
                                                                        "type": "array",
                                                                        "items": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "name": {
                                                                                    "type": [
                                                                                        "string",
                                                                                        "null"
                                                                                    ],
                                                                                    "description": "Naam van de tariefschijf."
                                                                                },
                                                                                "currency": {
                                                                                    "type": [
                                                                                        "string",
                                                                                        "null"
                                                                                    ],
                                                                                    "description": "Valuta van het tarief."
                                                                                },
                                                                                "amount": {
                                                                                    "type": [
                                                                                        "number",
                                                                                        "null"
                                                                                    ],
                                                                                    "description": "Bedrag per interval."
                                                                                },
                                                                                "interval_seconds": {
                                                                                    "type": [
                                                                                        "integer",
                                                                                        "null"
                                                                                    ],
                                                                                    "description": "Lengte van het interval in seconden."
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "name",
                                                                                "currency",
                                                                                "amount",
                                                                                "interval_seconds"
                                                                            ]
                                                                        },
                                                                        "description": "De tariefschijven."
                                                                    }
                                                                },
                                                                "required": [
                                                                    "free_of_charge",
                                                                    "url",
                                                                    "bands"
                                                                ],
                                                                "description": "Tarieven van de locatie."
                                                            },
                                                            "facilities": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "kind": {
                                                                            "type": "string",
                                                                            "description": "Soort voorziening."
                                                                        },
                                                                        "type": {
                                                                            "type": [
                                                                                "string",
                                                                                "null"
                                                                            ],
                                                                            "description": "Type voorziening, bijvoorbeeld electricChargingStation."
                                                                        },
                                                                        "availability": {
                                                                            "type": [
                                                                                "string",
                                                                                "null"
                                                                            ],
                                                                            "description": "Beschikbaarheid van de voorziening."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "kind",
                                                                        "type",
                                                                        "availability"
                                                                    ]
                                                                },
                                                                "description": "Voorzieningen op de locatie."
                                                            },
                                                            "security": {
                                                                "type": "object",
                                                                "properties": {
                                                                    "values": {
                                                                        "type": "array",
                                                                        "items": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "certified_secure_parking": {
                                                                        "type": [
                                                                            "boolean",
                                                                            "null"
                                                                        ],
                                                                        "description": "Geeft aan of de locatie een gecertificeerde beveiligde parkeerplaats is."
                                                                    },
                                                                    "label_security_level": {
                                                                        "type": [
                                                                            "string",
                                                                            "null"
                                                                        ],
                                                                        "description": "Beveiligingsniveau volgens het label, bijvoorbeeld securityLevel3."
                                                                    },
                                                                    "label_self_assessment": {
                                                                        "type": [
                                                                            "string",
                                                                            "null"
                                                                        ],
                                                                        "description": "Beveiligingsniveau volgens zelfbeoordeling."
                                                                    }
                                                                },
                                                                "required": [
                                                                    "values",
                                                                    "certified_secure_parking",
                                                                    "label_security_level",
                                                                    "label_self_assessment"
                                                                ],
                                                                "description": "Beveiligingsgegevens van de locatie."
                                                            },
                                                            "supervision": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "string"
                                                                },
                                                                "description": "Toezicht op de locatie."
                                                            },
                                                            "reservation": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ],
                                                                "description": "Geeft aan of reserveren nodig is, bijvoorbeeld mandatory (verplicht)."
                                                            },
                                                            "usage_scenarios": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "string"
                                                                },
                                                                "description": "Gebruiksscenario's van de locatie."
                                                            },
                                                            "spaces_groups": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "group_index": {
                                                                            "type": [
                                                                                "integer",
                                                                                "null"
                                                                            ],
                                                                            "description": "Volgnummer van de groep."
                                                                        },
                                                                        "number_of_spaces": {
                                                                            "type": [
                                                                                "integer",
                                                                                "null"
                                                                            ],
                                                                            "description": "Aantal parkeerplaatsen in de groep."
                                                                        },
                                                                        "type_of_group": {
                                                                            "type": [
                                                                                "string",
                                                                                "null"
                                                                            ]
                                                                        },
                                                                        "vehicle_characteristics": {
                                                                            "type": "array",
                                                                            "items": {
                                                                                "type": "object",
                                                                                "additionalProperties": []
                                                                            },
                                                                            "description": "Kenmerken van de voertuigen waarvoor de groep bedoeld is."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "group_index",
                                                                        "number_of_spaces",
                                                                        "type_of_group",
                                                                        "vehicle_characteristics"
                                                                    ]
                                                                },
                                                                "description": "Groepen parkeerplaatsen met dezelfde kenmerken."
                                                            },
                                                            "record_version_time": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ],
                                                                "description": "Tijdstip van de laatste versie van de vaste gegevens."
                                                            }
                                                        },
                                                        "required": [
                                                            "roads",
                                                            "tariffs",
                                                            "facilities",
                                                            "security",
                                                            "supervision",
                                                            "reservation",
                                                            "usage_scenarios",
                                                            "spaces_groups",
                                                            "record_version_time"
                                                        ],
                                                        "description": "Vaste gegevens over de locatie."
                                                    },
                                                    "occupancy": {
                                                        "type": [
                                                            "object",
                                                            "null"
                                                        ],
                                                        "properties": {
                                                            "vacant_spaces": {
                                                                "type": [
                                                                    "integer",
                                                                    "null"
                                                                ],
                                                                "description": "Aantal vrije plaatsen."
                                                            },
                                                            "occupied_spaces": {
                                                                "type": [
                                                                    "integer",
                                                                    "null"
                                                                ],
                                                                "description": "Aantal bezette plaatsen."
                                                            },
                                                            "occupancy_percent": {
                                                                "type": [
                                                                    "number",
                                                                    "null"
                                                                ],
                                                                "description": "Bezettingsgraad in procenten."
                                                            },
                                                            "site_status": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ],
                                                                "description": "Actuele status van de locatie, bijvoorbeeld spacesAvailable."
                                                            },
                                                            "origin_time": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ],
                                                                "description": "Tijdstip van de meting."
                                                            },
                                                            "groups": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "group_index": {
                                                                            "type": [
                                                                                "integer",
                                                                                "null"
                                                                            ],
                                                                            "description": "Volgnummer van de groep."
                                                                        },
                                                                        "vacant_spaces": {
                                                                            "type": [
                                                                                "integer",
                                                                                "null"
                                                                            ],
                                                                            "description": "Aantal vrije plaatsen in de groep."
                                                                        },
                                                                        "occupied_spaces": {
                                                                            "type": [
                                                                                "integer",
                                                                                "null"
                                                                            ],
                                                                            "description": "Aantal bezette plaatsen in de groep."
                                                                        },
                                                                        "occupancy_percent": {
                                                                            "type": [
                                                                                "number",
                                                                                "null"
                                                                            ],
                                                                            "description": "Bezettingsgraad van de groep in procenten."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "group_index",
                                                                        "vacant_spaces",
                                                                        "occupied_spaces",
                                                                        "occupancy_percent"
                                                                    ]
                                                                },
                                                                "description": "Bezetting per groep parkeerplaatsen."
                                                            }
                                                        },
                                                        "required": [
                                                            "vacant_spaces",
                                                            "occupied_spaces",
                                                            "occupancy_percent",
                                                            "site_status",
                                                            "origin_time",
                                                            "groups"
                                                        ],
                                                        "description": "Actuele bezetting van de locatie."
                                                    },
                                                    "static_updated_at": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ],
                                                        "description": "Tijdstip van de laatste update van de vaste gegevens."
                                                    },
                                                    "dynamic_updated_at": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ],
                                                        "description": "Tijdstip van de laatste update van de bezetting."
                                                    }
                                                },
                                                "required": [
                                                    "id",
                                                    "name",
                                                    "latitude",
                                                    "longitude",
                                                    "city",
                                                    "road",
                                                    "address",
                                                    "house_number",
                                                    "postal_code",
                                                    "country",
                                                    "total_capacity",
                                                    "available_spaces",
                                                    "status",
                                                    "site_details",
                                                    "occupancy",
                                                    "static_updated_at",
                                                    "dynamic_updated_at"
                                                ]
                                            },
                                            "description": "De gevonden parkeerlocaties."
                                        }
                                    },
                                    "required": [
                                        "total",
                                        "results"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "402": {
                        "description": "Payment Required"
                    }
                },
                "x-payment-info": {
                    "price": {
                        "mode": "fixed",
                        "currency": "USD",
                        "amount": "0.005000"
                    },
                    "protocols": [
                        {
                            "x402": {}
                        }
                    ]
                }
            }
        }
    },
    "components": {
        "securitySchemes": {
            "ApiKeyAuth": {
                "type": "apiKey",
                "in": "header",
                "name": "X-Api-Key"
            },
            "BearerAuth": {
                "type": "http",
                "scheme": "bearer"
            }
        },
        "responses": {
            "ValidationException": {
                "description": "Unprocessable content",
                "content": {
                    "application/json": {
                        "schema": {
                            "type": "object",
                            "properties": {
                                "error": {
                                    "type": "string",
                                    "description": "Machine-readable error code."
                                },
                                "message": {
                                    "type": "string",
                                    "description": "Human-readable error message."
                                },
                                "errors": {
                                    "type": "object",
                                    "description": "A detailed description of each field that failed validation.",
                                    "additionalProperties": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        }
                                    }
                                }
                            },
                            "required": [
                                "error",
                                "message",
                                "errors"
                            ]
                        }
                    }
                }
            }
        }
    }
}