{
    "openapi": "3.1.0",
    "info": {
        "title": "Rinkodaros inžinierius – viešas API AI agentams",
        "version": "1.0.0",
        "description": "Agentūros informacija ir užklausų siuntimas. Prieš siųsdami užklausą gaukite vartotojo sutikimą.",
        "contact": {
            "email": "info@rinkodarosinzinierius.lt"
        }
    },
    "servers": [
        {
            "url": "https://rinkodarosinzinierius.lt"
        }
    ],
    "paths": {
        "/llms.txt": {
            "get": {
                "operationId": "getCompanySummary",
                "summary": "Agentūros santrauka AI sistemoms",
                "responses": {
                    "200": {
                        "description": "Tekstas",
                        "content": {
                            "text/plain": {}
                        }
                    }
                }
            }
        },
        "/llms-full.txt": {
            "get": {
                "operationId": "getFullContent",
                "summary": "Visas svetainės turinys tekstu",
                "responses": {
                    "200": {
                        "description": "Tekstas",
                        "content": {
                            "text/plain": {}
                        }
                    }
                }
            }
        },
        "/schema.json": {
            "get": {
                "operationId": "getStructuredData",
                "summary": "Organizacija, paslaugos ir kainos (schema.org JSON-LD)",
                "responses": {
                    "200": {
                        "description": "JSON-LD",
                        "content": {
                            "application/ld+json": {}
                        }
                    }
                }
            }
        },
        "/wp-admin/admin-ajax.php": {
            "post": {
                "operationId": "sendInquiry",
                "summary": "Siųsti užklausą agentūrai",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "action",
                                    "vardas",
                                    "email",
                                    "zinute",
                                    "sutikimas"
                                ],
                                "properties": {
                                    "action": {
                                        "type": "string",
                                        "enum": [
                                            "ri_form"
                                        ]
                                    },
                                    "vardas": {
                                        "type": "string"
                                    },
                                    "imone": {
                                        "type": "string"
                                    },
                                    "email": {
                                        "type": "string",
                                        "format": "email"
                                    },
                                    "tel": {
                                        "type": "string"
                                    },
                                    "zinute": {
                                        "type": "string"
                                    },
                                    "sutikimas": {
                                        "type": "string",
                                        "enum": [
                                            "1"
                                        ]
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "JSON: success true/false"
                    }
                }
            }
        }
    }
}