{
    "openapi": "3.1.2",
    "info": {
        "title": "Fenzon API",
        "version": "1.0",
        "description": "Machine-readable entry point for Fenzon integrations. The runtime schema exposed by GET /endpoints and GET /endpoints/{entity} remains the authoritative source for currently available fields, enum values and limits."
    },
    "servers": [
        {
            "url": "https://app.fenzon.com/api.php"
        }
    ],
    "externalDocs": {
        "description": "Fenzon Developer Documentation",
        "url": "https://fenzon.com/developers/api"
    },
    "security": [
        {
            "BearerAuth": []
        }
    ],
    "paths": {
        "/accounts": {
            "get": {
                "operationId": "listAccounts",
                "summary": "List accounts",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/accounts"
            },
            "post": {
                "operationId": "createAccounts",
                "summary": "Create accounts",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/accounts",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateAccounts"
                            }
                        }
                    }
                }
            }
        },
        "/accounts/{accountId}/activities": {
            "get": {
                "operationId": "listNested Accounts accountId Activities",
                "summary": "List nested activities",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "accountId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/activities"
            },
            "post": {
                "operationId": "createNested Accounts accountId Activities",
                "summary": "Create nested activities",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "accountId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/activities",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateActivities"
                            }
                        }
                    }
                }
            }
        },
        "/accounts/{accountId}/addresses": {
            "get": {
                "operationId": "listNested Accounts accountId Addresses",
                "summary": "List nested addresses",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "accountId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/addresses"
            },
            "post": {
                "operationId": "createNested Accounts accountId Addresses",
                "summary": "Create nested addresses",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "accountId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/addresses",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateAddresses"
                            }
                        }
                    }
                }
            }
        },
        "/accounts/{accountId}/contacts": {
            "get": {
                "operationId": "listNested Accounts accountId Contacts",
                "summary": "List nested contacts",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "accountId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/contacts"
            },
            "post": {
                "operationId": "createNested Accounts accountId Contacts",
                "summary": "Create nested contacts",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "accountId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/contacts",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateContacts"
                            }
                        }
                    }
                }
            }
        },
        "/accounts/{accountId}/documents": {
            "get": {
                "operationId": "listNested Accounts accountId Documents",
                "summary": "List nested documents",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "accountId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/documents"
            },
            "post": {
                "operationId": "createNested Accounts accountId Documents",
                "summary": "Create nested documents",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "accountId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/documents",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateDocuments"
                            }
                        }
                    }
                }
            }
        },
        "/accounts/{accountId}/files": {
            "get": {
                "operationId": "listNested Accounts accountId Files",
                "summary": "List nested files",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "accountId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/files"
            },
            "post": {
                "operationId": "createNested Accounts accountId Files",
                "summary": "Create nested files",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "accountId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/files",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateFiles"
                            }
                        }
                    }
                }
            }
        },
        "/accounts/{accountId}/pricing": {
            "get": {
                "operationId": "listNested Accounts accountId Pricing",
                "summary": "List nested pricing",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "accountId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/pricing"
            },
            "post": {
                "operationId": "createNested Accounts accountId Pricing",
                "summary": "Create nested pricing",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "accountId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/pricing",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreatePricing"
                            }
                        }
                    }
                }
            }
        },
        "/accounts/{id}": {
            "get": {
                "operationId": "getAccounts",
                "summary": "Read accounts",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/accounts"
            },
            "patch": {
                "operationId": "updateAccounts",
                "summary": "Update accounts",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/accounts",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateAccounts"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceAccounts",
                "summary": "Update accounts",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/accounts",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateAccounts"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteAccounts",
                "summary": "Delete accounts",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/accounts"
            }
        },
        "/activities": {
            "get": {
                "operationId": "listActivities",
                "summary": "List activities",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/activities"
            },
            "post": {
                "operationId": "createActivities",
                "summary": "Create activities",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/activities",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateActivities"
                            }
                        }
                    }
                }
            }
        },
        "/activities/{id}": {
            "get": {
                "operationId": "getActivities",
                "summary": "Read activities",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/activities"
            },
            "patch": {
                "operationId": "updateActivities",
                "summary": "Update activities",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/activities",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateActivities"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceActivities",
                "summary": "Update activities",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/activities",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateActivities"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteActivities",
                "summary": "Delete activities",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/activities"
            }
        },
        "/addresses": {
            "get": {
                "operationId": "listAddresses",
                "summary": "List addresses",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/addresses"
            },
            "post": {
                "operationId": "createAddresses",
                "summary": "Create addresses",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/addresses",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateAddresses"
                            }
                        }
                    }
                }
            }
        },
        "/addresses/{id}": {
            "get": {
                "operationId": "getAddresses",
                "summary": "Read addresses",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/addresses"
            },
            "patch": {
                "operationId": "updateAddresses",
                "summary": "Update addresses",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/addresses",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateAddresses"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceAddresses",
                "summary": "Update addresses",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/addresses",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateAddresses"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteAddresses",
                "summary": "Delete addresses",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/addresses"
            }
        },
        "/auth/session": {
            "post": {
                "operationId": "createSession",
                "summary": "Create a Bearer session from an API key",
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Session created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/colors": {
            "get": {
                "operationId": "listColors",
                "summary": "List colors",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/colors"
            },
            "post": {
                "operationId": "createColors",
                "summary": "Create colors",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/colors",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateColors"
                            }
                        }
                    }
                }
            }
        },
        "/colors/{id}": {
            "get": {
                "operationId": "getColors",
                "summary": "Read colors",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/colors"
            },
            "patch": {
                "operationId": "updateColors",
                "summary": "Update colors",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/colors",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateColors"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceColors",
                "summary": "Update colors",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/colors",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateColors"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteColors",
                "summary": "Delete colors",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/colors"
            }
        },
        "/components": {
            "get": {
                "operationId": "listComponents",
                "summary": "List components",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/components"
            },
            "post": {
                "operationId": "createComponents",
                "summary": "Create components",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/components",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateComponents"
                            }
                        }
                    }
                }
            }
        },
        "/components/{id}": {
            "get": {
                "operationId": "getComponents",
                "summary": "Read components",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/components"
            },
            "patch": {
                "operationId": "updateComponents",
                "summary": "Update components",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/components",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateComponents"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceComponents",
                "summary": "Update components",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/components",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateComponents"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteComponents",
                "summary": "Delete components",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/components"
            }
        },
        "/configurations/ctree": {
            "post": {
                "operationId": "configurationCtree",
                "summary": "Configurator ctree",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "x-fenzon-runtime-schema": "/endpoints/configurations/ctree",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "config"
                                ],
                                "properties": {
                                    "config": {
                                        "type": "object",
                                        "additionalProperties": true
                                    },
                                    "props": {
                                        "type": "object",
                                        "additionalProperties": true
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Successful configuration response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/configurations/description": {
            "post": {
                "operationId": "configurationDescription",
                "summary": "Configurator description",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "x-fenzon-runtime-schema": "/endpoints/configurations/description",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "config"
                                ],
                                "properties": {
                                    "config": {
                                        "type": "object",
                                        "additionalProperties": true
                                    },
                                    "props": {
                                        "type": "object",
                                        "additionalProperties": true
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Successful configuration response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/configurations/pricing": {
            "post": {
                "operationId": "configurationPricing",
                "summary": "Configurator pricing",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "x-fenzon-runtime-schema": "/endpoints/configurations/pricing",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "config"
                                ],
                                "properties": {
                                    "config": {
                                        "type": "object",
                                        "additionalProperties": true
                                    },
                                    "props": {
                                        "type": "object",
                                        "additionalProperties": true
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Successful configuration response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/configurations/render": {
            "post": {
                "operationId": "configurationRender",
                "summary": "Configurator render",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "x-fenzon-runtime-schema": "/endpoints/configurations/render",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "config"
                                ],
                                "properties": {
                                    "config": {
                                        "type": "object",
                                        "additionalProperties": true
                                    },
                                    "props": {
                                        "type": "object",
                                        "additionalProperties": true,
                                        "properties": {
                                            "graphics": {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 2,
                                                "default": 1,
                                                "x-fenzon-labels": {
                                                    "de": "Grafiken"
                                                },
                                                "x-fenzon-hints": {
                                                    "de": "Anzahl der zurückgegebenen SVG-Ansichten. 0 = keine Grafiken (2 Token), 1 = erste verfügbare Ansicht (3 Token), 2 = bis zu zwei Ansichten (4 Token)."
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Successful configuration response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/configurations/rules": {
            "post": {
                "operationId": "configurationRules",
                "summary": "Configurator rules",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "x-fenzon-runtime-schema": "/endpoints/configurations/rules",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "config"
                                ],
                                "properties": {
                                    "config": {
                                        "type": "object",
                                        "additionalProperties": true
                                    },
                                    "props": {
                                        "type": "object",
                                        "additionalProperties": true
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Successful configuration response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/configurations/svg": {
            "post": {
                "operationId": "configurationSvg",
                "summary": "Configurator svg",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "x-fenzon-runtime-schema": "/endpoints/configurations/svg",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "config"
                                ],
                                "properties": {
                                    "config": {
                                        "type": "object",
                                        "additionalProperties": true
                                    },
                                    "props": {
                                        "type": "object",
                                        "additionalProperties": true,
                                        "properties": {
                                            "graphics": {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 2,
                                                "default": 1,
                                                "x-fenzon-labels": {
                                                    "de": "Grafiken"
                                                },
                                                "x-fenzon-hints": {
                                                    "de": "Anzahl der zurückgegebenen SVG-Ansichten. 0 = keine Grafiken (2 Token), 1 = erste verfügbare Ansicht (3 Token), 2 = bis zu zwei Ansichten (4 Token)."
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Successful configuration response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/contacts": {
            "get": {
                "operationId": "listContacts",
                "summary": "List contacts",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/contacts"
            },
            "post": {
                "operationId": "createContacts",
                "summary": "Create contacts",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/contacts",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateContacts"
                            }
                        }
                    }
                }
            }
        },
        "/contacts/{id}": {
            "get": {
                "operationId": "getContacts",
                "summary": "Read contacts",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/contacts"
            },
            "patch": {
                "operationId": "updateContacts",
                "summary": "Update contacts",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/contacts",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateContacts"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceContacts",
                "summary": "Update contacts",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/contacts",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateContacts"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteContacts",
                "summary": "Delete contacts",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/contacts"
            }
        },
        "/document_items": {
            "get": {
                "operationId": "listDocumentItems",
                "summary": "List document_items",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/document_items"
            },
            "post": {
                "operationId": "createDocumentItems",
                "summary": "Create document_items",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/document_items",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateDocumentItems"
                            }
                        }
                    }
                }
            }
        },
        "/document_items/{id}": {
            "get": {
                "operationId": "getDocumentItems",
                "summary": "Read document_items",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/document_items"
            },
            "patch": {
                "operationId": "updateDocumentItems",
                "summary": "Update document_items",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/document_items",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateDocumentItems"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceDocumentItems",
                "summary": "Update document_items",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/document_items",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateDocumentItems"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteDocumentItems",
                "summary": "Delete document_items",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/document_items"
            }
        },
        "/documents": {
            "get": {
                "operationId": "listDocuments",
                "summary": "List documents",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/documents"
            },
            "post": {
                "operationId": "createDocuments",
                "summary": "Create documents",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/documents",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateDocuments"
                            }
                        }
                    }
                }
            }
        },
        "/documents/{id}": {
            "get": {
                "operationId": "getDocuments",
                "summary": "Read documents",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/documents"
            },
            "patch": {
                "operationId": "updateDocuments",
                "summary": "Update documents",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/documents",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateDocuments"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceDocuments",
                "summary": "Update documents",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/documents",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateDocuments"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteDocuments",
                "summary": "Delete documents",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/documents"
            }
        },
        "/documents/{id}/items": {
            "get": {
                "operationId": "listNested Documents id Items",
                "summary": "List nested document_items",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/document_items"
            },
            "post": {
                "operationId": "createNested Documents id Items",
                "summary": "Create nested document_items",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/document_items",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateDocumentItems"
                            }
                        }
                    }
                }
            }
        },
        "/documents/{id}/pdf": {
            "get": {
                "operationId": "getDocumentPdf",
                "summary": "Generate document PDF",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "template_id",
                        "in": "query",
                        "description": "Die gewählte Vorlage kann zusätzliche Token-Kosten verursachen: Pro betroffener Konfigurationsposition werden für eine aktivierte Positionsbeschreibung +1 Token berechnet; beim PDF kommen je aktivierter Haupt- und zusätzlicher Grafik jeweils +1 Token hinzu. Grafikeinstellungen erhöhen die Token-Kosten der XRechnung nicht.",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "vat_type",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "incl",
                                "excl"
                            ]
                        }
                    },
                    {
                        "name": "currency",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "minLength": 3,
                            "maxLength": 3
                        }
                    },
                    {
                        "name": "language_code",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "x-fenzon-runtime-schema": "/endpoints/documents-pdf",
                "x-fenzon-token-cost": 2,
                "responses": {
                    "200": {
                        "description": "Generate document PDF",
                        "headers": {
                            "X-Fenzon-Token-Cost": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Fenzon-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/pdf": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/documents/{id}/xrechnung": {
            "get": {
                "operationId": "getDocumentXrechnung",
                "summary": "Generate XRechnung XML",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "template_id",
                        "in": "query",
                        "description": "Die gewählte Vorlage kann zusätzliche Token-Kosten verursachen: Pro betroffener Konfigurationsposition werden für eine aktivierte Positionsbeschreibung +1 Token berechnet; beim PDF kommen je aktivierter Haupt- und zusätzlicher Grafik jeweils +1 Token hinzu. Grafikeinstellungen erhöhen die Token-Kosten der XRechnung nicht.",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "vat_type",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "incl",
                                "excl"
                            ]
                        }
                    },
                    {
                        "name": "currency",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "minLength": 3,
                            "maxLength": 3
                        }
                    },
                    {
                        "name": "language_code",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "x-fenzon-runtime-schema": "/endpoints/documents-xrechnung",
                "x-fenzon-token-cost": 2,
                "responses": {
                    "200": {
                        "description": "Generate XRechnung XML",
                        "headers": {
                            "X-Fenzon-Token-Cost": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Fenzon-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "content": {
                            "application/xml": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/endpoints": {
            "get": {
                "operationId": "listRuntimeEndpoints",
                "summary": "List the authoritative runtime API endpoints",
                "security": [],
                "responses": {
                    "200": {
                        "description": "Runtime endpoint index",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/files": {
            "get": {
                "operationId": "listFiles",
                "summary": "List files",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/files"
            },
            "post": {
                "operationId": "createFiles",
                "summary": "Create files",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/files",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateFiles"
                            }
                        }
                    }
                }
            }
        },
        "/files/{id}": {
            "get": {
                "operationId": "getFiles",
                "summary": "Read files",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/files"
            },
            "patch": {
                "operationId": "updateFiles",
                "summary": "Update files",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/files",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateFiles"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceFiles",
                "summary": "Update files",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/files",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateFiles"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteFiles",
                "summary": "Delete files",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/files"
            }
        },
        "/files/{id}/download": {
            "get": {
                "operationId": "downloadFile",
                "summary": "Download file content",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "x-fenzon-runtime-schema": "/endpoints/files-download",
                "x-fenzon-token-cost": 2,
                "responses": {
                    "200": {
                        "description": "File content",
                        "content": {
                            "application/octet-stream": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/groups": {
            "get": {
                "operationId": "listGroups",
                "summary": "List groups",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/groups"
            },
            "post": {
                "operationId": "createGroups",
                "summary": "Create groups",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/groups",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateGroups"
                            }
                        }
                    }
                }
            }
        },
        "/groups/{id}": {
            "get": {
                "operationId": "getGroups",
                "summary": "Read groups",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/groups"
            },
            "patch": {
                "operationId": "updateGroups",
                "summary": "Update groups",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/groups",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateGroups"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceGroups",
                "summary": "Update groups",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/groups",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateGroups"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteGroups",
                "summary": "Delete groups",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/groups"
            }
        },
        "/parameters": {
            "get": {
                "operationId": "listParameters",
                "summary": "List parameters",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/parameters"
            },
            "post": {
                "operationId": "createParameters",
                "summary": "Create parameters",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/parameters",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateParameters"
                            }
                        }
                    }
                }
            }
        },
        "/parameters/{id}": {
            "get": {
                "operationId": "getParameters",
                "summary": "Read parameters",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/parameters"
            },
            "patch": {
                "operationId": "updateParameters",
                "summary": "Update parameters",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/parameters",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateParameters"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceParameters",
                "summary": "Update parameters",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/parameters",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateParameters"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteParameters",
                "summary": "Delete parameters",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/parameters"
            }
        },
        "/polygons": {
            "get": {
                "operationId": "listPolygons",
                "summary": "List polygons",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/polygons"
            },
            "post": {
                "operationId": "createPolygons",
                "summary": "Create polygons",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/polygons",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreatePolygons"
                            }
                        }
                    }
                }
            }
        },
        "/polygons/{id}": {
            "get": {
                "operationId": "getPolygons",
                "summary": "Read polygons",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/polygons"
            },
            "patch": {
                "operationId": "updatePolygons",
                "summary": "Update polygons",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/polygons",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdatePolygons"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replacePolygons",
                "summary": "Update polygons",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/polygons",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdatePolygons"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deletePolygons",
                "summary": "Delete polygons",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/polygons"
            }
        },
        "/pricing": {
            "get": {
                "operationId": "listPricing",
                "summary": "List pricing",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/pricing"
            },
            "post": {
                "operationId": "createPricing",
                "summary": "Create pricing",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/pricing",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreatePricing"
                            }
                        }
                    }
                }
            }
        },
        "/pricing/{id}": {
            "get": {
                "operationId": "getPricing",
                "summary": "Read pricing",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/pricing"
            },
            "patch": {
                "operationId": "updatePricing",
                "summary": "Update pricing",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/pricing",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdatePricing"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replacePricing",
                "summary": "Update pricing",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/pricing",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdatePricing"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deletePricing",
                "summary": "Delete pricing",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/pricing"
            }
        },
        "/product_colors": {
            "get": {
                "operationId": "listProductColors",
                "summary": "List product_colors",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_colors"
            },
            "post": {
                "operationId": "createProductColors",
                "summary": "Create product_colors",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_colors",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateProductColors"
                            }
                        }
                    }
                }
            }
        },
        "/product_colors/{id}": {
            "get": {
                "operationId": "getProductColors",
                "summary": "Read product_colors",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_colors"
            },
            "patch": {
                "operationId": "updateProductColors",
                "summary": "Update product_colors",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_colors",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateProductColors"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceProductColors",
                "summary": "Update product_colors",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_colors",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateProductColors"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteProductColors",
                "summary": "Delete product_colors",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_colors"
            }
        },
        "/product_components": {
            "get": {
                "operationId": "listProductComponents",
                "summary": "List product_components",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_components"
            },
            "post": {
                "operationId": "createProductComponents",
                "summary": "Create product_components",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_components",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateProductComponents"
                            }
                        }
                    }
                }
            }
        },
        "/product_components/{id}": {
            "get": {
                "operationId": "getProductComponents",
                "summary": "Read product_components",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_components"
            },
            "patch": {
                "operationId": "updateProductComponents",
                "summary": "Update product_components",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_components",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateProductComponents"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceProductComponents",
                "summary": "Update product_components",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_components",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateProductComponents"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteProductComponents",
                "summary": "Delete product_components",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_components"
            }
        },
        "/product_constructions": {
            "get": {
                "operationId": "listProductConstructions",
                "summary": "List product_constructions",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_constructions"
            },
            "post": {
                "operationId": "createProductConstructions",
                "summary": "Create product_constructions",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_constructions",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateProductConstructions"
                            }
                        }
                    }
                }
            }
        },
        "/product_constructions/{id}": {
            "get": {
                "operationId": "getProductConstructions",
                "summary": "Read product_constructions",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_constructions"
            },
            "patch": {
                "operationId": "updateProductConstructions",
                "summary": "Update product_constructions",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_constructions",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateProductConstructions"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceProductConstructions",
                "summary": "Update product_constructions",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_constructions",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateProductConstructions"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteProductConstructions",
                "summary": "Delete product_constructions",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_constructions"
            }
        },
        "/product_rules": {
            "get": {
                "operationId": "listProductRules",
                "summary": "List product_rules",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_rules"
            },
            "post": {
                "operationId": "createProductRules",
                "summary": "Create product_rules",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_rules",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateProductRules"
                            }
                        }
                    }
                }
            }
        },
        "/product_rules/{id}": {
            "get": {
                "operationId": "getProductRules",
                "summary": "Read product_rules",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_rules"
            },
            "patch": {
                "operationId": "updateProductRules",
                "summary": "Update product_rules",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_rules",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateProductRules"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceProductRules",
                "summary": "Update product_rules",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_rules",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateProductRules"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteProductRules",
                "summary": "Delete product_rules",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_rules"
            }
        },
        "/product_shapes": {
            "get": {
                "operationId": "listProductShapes",
                "summary": "List product_shapes",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_shapes"
            },
            "post": {
                "operationId": "createProductShapes",
                "summary": "Create product_shapes",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_shapes",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateProductShapes"
                            }
                        }
                    }
                }
            }
        },
        "/product_shapes/{id}": {
            "get": {
                "operationId": "getProductShapes",
                "summary": "Read product_shapes",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_shapes"
            },
            "patch": {
                "operationId": "updateProductShapes",
                "summary": "Update product_shapes",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_shapes",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateProductShapes"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceProductShapes",
                "summary": "Update product_shapes",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_shapes",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateProductShapes"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteProductShapes",
                "summary": "Delete product_shapes",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_shapes"
            }
        },
        "/products": {
            "get": {
                "operationId": "listProducts",
                "summary": "List products",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "direction",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "asc",
                                "desc"
                            ]
                        }
                    },
                    {
                        "name": "updated_since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/products"
            },
            "post": {
                "operationId": "createProducts",
                "summary": "Create products",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/products",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateProducts"
                            }
                        }
                    }
                }
            }
        },
        "/products/{id}": {
            "get": {
                "operationId": "getProducts",
                "summary": "Read products",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/products"
            },
            "patch": {
                "operationId": "updateProducts",
                "summary": "Update products",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/products",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateProducts"
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "replaceProducts",
                "summary": "Update products",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/products",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateProducts"
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "deleteProducts",
                "summary": "Delete products",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/products"
            }
        },
        "/products/{id}/colors": {
            "get": {
                "operationId": "listNested Products id Colors",
                "summary": "List nested product_colors",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_colors"
            },
            "post": {
                "operationId": "createNested Products id Colors",
                "summary": "Create nested product_colors",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_colors",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateProductColors"
                            }
                        }
                    }
                }
            }
        },
        "/products/{id}/components": {
            "get": {
                "operationId": "listNested Products id Components",
                "summary": "List nested product_components",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_components"
            },
            "post": {
                "operationId": "createNested Products id Components",
                "summary": "Create nested product_components",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_components",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateProductComponents"
                            }
                        }
                    }
                }
            }
        },
        "/products/{id}/constructions": {
            "get": {
                "operationId": "listNested Products id Constructions",
                "summary": "List nested product_constructions",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_constructions"
            },
            "post": {
                "operationId": "createNested Products id Constructions",
                "summary": "Create nested product_constructions",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_constructions",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateProductConstructions"
                            }
                        }
                    }
                }
            }
        },
        "/products/{id}/rules": {
            "get": {
                "operationId": "listNested Products id Rules",
                "summary": "List nested product_rules",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_rules"
            },
            "post": {
                "operationId": "createNested Products id Rules",
                "summary": "Create nested product_rules",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_rules",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateProductRules"
                            }
                        }
                    }
                }
            }
        },
        "/products/{id}/shapes": {
            "get": {
                "operationId": "listNested Products id Shapes",
                "summary": "List nested product_shapes",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_shapes"
            },
            "post": {
                "operationId": "createNested Products id Shapes",
                "summary": "Create nested product_shapes",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    },
                    "201": {
                        "description": "Created",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/product_shapes",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateProductShapes"
                            }
                        }
                    }
                }
            }
        },
        "/users": {
            "get": {
                "operationId": "listUsers",
                "summary": "List tenant users",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/users"
            }
        },
        "/users/{id}": {
            "get": {
                "operationId": "getUser",
                "summary": "Read one tenant user",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ApiEnvelope"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/Error"
                    },
                    "401": {
                        "$ref": "#/components/responses/Error"
                    },
                    "403": {
                        "$ref": "#/components/responses/Error"
                    },
                    "404": {
                        "$ref": "#/components/responses/Error"
                    },
                    "422": {
                        "$ref": "#/components/responses/Error"
                    }
                },
                "x-fenzon-runtime-schema": "/endpoints/users"
            }
        }
    },
    "components": {
        "securitySchemes": {
            "BearerAuth": {
                "type": "http",
                "scheme": "bearer",
                "bearerFormat": "Fenzon session token"
            },
            "ApiKeyAuth": {
                "type": "apiKey",
                "in": "header",
                "name": "X-Fenzon-Api-Key"
            }
        },
        "schemas": {
            "ApiEnvelope": {
                "type": "object",
                "properties": {
                    "data": [],
                    "request_id": {
                        "type": "string"
                    },
                    "token_cost": {
                        "type": "integer"
                    },
                    "language": {
                        "type": "string"
                    },
                    "locale": {
                        "type": "string"
                    }
                }
            },
            "ErrorEnvelope": {
                "type": "object",
                "properties": {
                    "error": {
                        "type": "object",
                        "properties": {
                            "code": {
                                "type": "string"
                            },
                            "message": {
                                "type": "string"
                            },
                            "message_key": {
                                "type": "string"
                            },
                            "details": {
                                "type": "object"
                            }
                        }
                    },
                    "request_id": {
                        "type": "string"
                    },
                    "token_cost": {
                        "type": "integer"
                    },
                    "language": {
                        "type": "string"
                    },
                    "locale": {
                        "type": "string"
                    }
                }
            },
            "CreateAccounts": {
                "type": "object",
                "properties": {
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "name": {
                        "type": "string",
                        "maxLength": 255
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "customer",
                            "supplier"
                        ],
                        "default": "customer"
                    },
                    "website": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri",
                        "maxLength": 255
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 64
                    },
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "email",
                        "maxLength": 255
                    },
                    "address_street": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "address_city": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 128
                    },
                    "address_zip": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 32
                    },
                    "country_code": {
                        "type": "string",
                        "default": "",
                        "maxLength": 2
                    },
                    "notes": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "notice": {
                        "type": "string",
                        "default": "",
                        "maxLength": 255
                    },
                    "vat_id": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 64
                    },
                    "language_code": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 5
                    },
                    "vat_rate_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "vat_type": {
                        "type": "string",
                        "enum": [
                            "incl",
                            "excl"
                        ],
                        "default": "excl"
                    },
                    "payment_terms_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "delivery_terms_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "currency_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "assigned_to": {
                        "type": "integer"
                    }
                },
                "required": [
                    "name"
                ]
            },
            "UpdateAccounts": {
                "type": "object",
                "properties": {
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "name": {
                        "type": "string",
                        "maxLength": 255
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "customer",
                            "supplier"
                        ],
                        "default": "customer"
                    },
                    "website": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri",
                        "maxLength": 255
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 64
                    },
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "email",
                        "maxLength": 255
                    },
                    "address_street": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "address_city": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 128
                    },
                    "address_zip": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 32
                    },
                    "country_code": {
                        "type": "string",
                        "default": "",
                        "maxLength": 2
                    },
                    "notes": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "notice": {
                        "type": "string",
                        "default": "",
                        "maxLength": 255
                    },
                    "vat_id": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 64
                    },
                    "language_code": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 5
                    },
                    "vat_rate_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "vat_type": {
                        "type": "string",
                        "enum": [
                            "incl",
                            "excl"
                        ],
                        "default": "excl"
                    },
                    "payment_terms_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "delivery_terms_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "currency_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "assigned_to": {
                        "type": "integer"
                    }
                }
            },
            "CreateAddresses": {
                "type": "object",
                "properties": {
                    "account_id": {
                        "type": "integer"
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "billing",
                            "shipping",
                            "office",
                            "other"
                        ],
                        "default": "other"
                    },
                    "line1": {
                        "type": "string",
                        "maxLength": 255
                    },
                    "line2": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "line3": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "street": {
                        "type": "string",
                        "maxLength": 255
                    },
                    "city": {
                        "type": "string",
                        "maxLength": 128
                    },
                    "zip": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 32
                    },
                    "country_code": {
                        "type": "string",
                        "pattern": "^[A-Za-z]{2}$",
                        "maxLength": 2
                    },
                    "default": {
                        "type": "boolean",
                        "default": 0
                    },
                    "notes": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "required": [
                    "account_id",
                    "line1",
                    "street",
                    "city",
                    "country_code"
                ]
            },
            "UpdateAddresses": {
                "type": "object",
                "properties": {
                    "account_id": {
                        "type": "integer"
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "billing",
                            "shipping",
                            "office",
                            "other"
                        ],
                        "default": "other"
                    },
                    "line1": {
                        "type": "string",
                        "maxLength": 255
                    },
                    "line2": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "line3": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "street": {
                        "type": "string",
                        "maxLength": 255
                    },
                    "city": {
                        "type": "string",
                        "maxLength": 128
                    },
                    "zip": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 32
                    },
                    "country_code": {
                        "type": "string",
                        "pattern": "^[A-Za-z]{2}$",
                        "maxLength": 2
                    },
                    "default": {
                        "type": "boolean",
                        "default": 0
                    },
                    "notes": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                }
            },
            "CreateContacts": {
                "type": "object",
                "properties": {
                    "account_id": {
                        "type": "integer"
                    },
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "salutation": {
                        "type": "string",
                        "enum": [
                            "mr",
                            "ms"
                        ],
                        "default": "mr"
                    },
                    "first_name": {
                        "type": "string",
                        "default": "",
                        "maxLength": 128
                    },
                    "last_name": {
                        "type": "string",
                        "maxLength": 128
                    },
                    "job_title": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 128
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 64
                    },
                    "mobile": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 64
                    },
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "email",
                        "maxLength": 255
                    },
                    "notes": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "assigned_to": {
                        "type": "integer"
                    }
                },
                "required": [
                    "account_id",
                    "last_name"
                ]
            },
            "UpdateContacts": {
                "type": "object",
                "properties": {
                    "account_id": {
                        "type": "integer"
                    },
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "salutation": {
                        "type": "string",
                        "enum": [
                            "mr",
                            "ms"
                        ],
                        "default": "mr"
                    },
                    "first_name": {
                        "type": "string",
                        "default": "",
                        "maxLength": 128
                    },
                    "last_name": {
                        "type": "string",
                        "maxLength": 128
                    },
                    "job_title": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 128
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 64
                    },
                    "mobile": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 64
                    },
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "email",
                        "maxLength": 255
                    },
                    "notes": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "assigned_to": {
                        "type": "integer"
                    }
                }
            },
            "CreateActivities": {
                "type": "object",
                "properties": {
                    "account_id": {
                        "type": "integer"
                    },
                    "contact_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "document_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "call",
                            "meeting",
                            "task",
                            "email",
                            "note"
                        ],
                        "default": "task"
                    },
                    "subject": {
                        "type": "string",
                        "maxLength": 255
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "due_date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "completed": {
                        "type": "boolean",
                        "default": 0
                    },
                    "assigned_to": {
                        "type": "integer"
                    }
                },
                "required": [
                    "account_id",
                    "subject",
                    "due_date"
                ]
            },
            "UpdateActivities": {
                "type": "object",
                "properties": {
                    "account_id": {
                        "type": "integer"
                    },
                    "contact_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "document_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "call",
                            "meeting",
                            "task",
                            "email",
                            "note"
                        ],
                        "default": "task"
                    },
                    "subject": {
                        "type": "string",
                        "maxLength": 255
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "due_date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "completed": {
                        "type": "boolean",
                        "default": 0
                    },
                    "assigned_to": {
                        "type": "integer"
                    }
                }
            },
            "CreateDocuments": {
                "type": "object",
                "properties": {
                    "account_id": {
                        "type": "integer"
                    },
                    "contact_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "billing_address_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "shipping_address_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "parent_document_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "quote",
                            "sales_order",
                            "delivery",
                            "invoice",
                            "purchase_order",
                            "goods_receipt",
                            "contract"
                        ]
                    },
                    "subtype": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 64
                    },
                    "reference": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 128
                    },
                    "date": {
                        "type": "string",
                        "format": "date"
                    },
                    "due_date": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "period_start": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "period_end": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "draft",
                            "sent",
                            "accepted",
                            "declined",
                            "confirmed",
                            "in_progress",
                            "ready",
                            "shipped",
                            "delivered",
                            "partially_paid",
                            "paid",
                            "received",
                            "checked",
                            "completed",
                            "active",
                            "cancelled"
                        ],
                        "default": "draft"
                    },
                    "language_code": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 5
                    },
                    "currency": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 3
                    },
                    "payment_terms_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "delivery_terms_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "template_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "vat_type": {
                        "type": "string",
                        "enum": [
                            "incl",
                            "excl"
                        ],
                        "default": "excl"
                    },
                    "paid_amount": {
                        "type": "number",
                        "default": 0
                    },
                    "notes_internal": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "notes_external": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "source": {
                        "type": "string",
                        "enum": [
                            "manual",
                            "leadgen",
                            "connect",
                            "api"
                        ],
                        "default": "manual"
                    },
                    "assigned_to": {
                        "type": "integer"
                    }
                },
                "required": [
                    "account_id",
                    "type"
                ]
            },
            "UpdateDocuments": {
                "type": "object",
                "properties": {
                    "account_id": {
                        "type": "integer"
                    },
                    "contact_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "billing_address_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "shipping_address_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "parent_document_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "quote",
                            "sales_order",
                            "delivery",
                            "invoice",
                            "purchase_order",
                            "goods_receipt",
                            "contract"
                        ]
                    },
                    "subtype": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 64
                    },
                    "reference": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 128
                    },
                    "date": {
                        "type": "string",
                        "format": "date"
                    },
                    "due_date": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "period_start": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "period_end": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "draft",
                            "sent",
                            "accepted",
                            "declined",
                            "confirmed",
                            "in_progress",
                            "ready",
                            "shipped",
                            "delivered",
                            "partially_paid",
                            "paid",
                            "received",
                            "checked",
                            "completed",
                            "active",
                            "cancelled"
                        ],
                        "default": "draft"
                    },
                    "language_code": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 5
                    },
                    "currency": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 3
                    },
                    "payment_terms_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "delivery_terms_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "template_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "vat_type": {
                        "type": "string",
                        "enum": [
                            "incl",
                            "excl"
                        ],
                        "default": "excl"
                    },
                    "paid_amount": {
                        "type": "number",
                        "default": 0
                    },
                    "notes_internal": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "notes_external": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "source": {
                        "type": "string",
                        "enum": [
                            "manual",
                            "leadgen",
                            "connect",
                            "api"
                        ],
                        "default": "manual"
                    },
                    "assigned_to": {
                        "type": "integer"
                    }
                }
            },
            "CreateDocumentItems": {
                "type": "object",
                "properties": {
                    "document_id": {
                        "type": "integer"
                    },
                    "product_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "product",
                            "service",
                            "text",
                            "shipping",
                            "discount"
                        ],
                        "default": "product"
                    },
                    "config": [],
                    "position": {
                        "type": "integer",
                        "default": 1
                    },
                    "reference": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 128
                    },
                    "sku": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 128
                    },
                    "name": {
                        "type": "string",
                        "maxLength": 128
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "quantity": {
                        "type": "number",
                        "default": 1
                    },
                    "unit": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 32
                    },
                    "unit_purchase_price": {
                        "type": "number",
                        "default": 0
                    },
                    "unit_sale_price": {
                        "type": "number",
                        "default": 0
                    },
                    "discount_percent": {
                        "type": "number",
                        "default": 0
                    },
                    "vat_rate": {
                        "type": "number",
                        "default": 0
                    },
                    "delivery_time": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "billing_period": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 32
                    },
                    "billing_months": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "billing_type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 32
                    },
                    "service_start_date": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "service_end_date": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    }
                },
                "required": [
                    "document_id"
                ]
            },
            "UpdateDocumentItems": {
                "type": "object",
                "properties": {
                    "document_id": {
                        "type": "integer"
                    },
                    "product_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "product",
                            "service",
                            "text",
                            "shipping",
                            "discount"
                        ],
                        "default": "product"
                    },
                    "config": [],
                    "position": {
                        "type": "integer",
                        "default": 1
                    },
                    "reference": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 128
                    },
                    "sku": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 128
                    },
                    "name": {
                        "type": "string",
                        "maxLength": 128
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "quantity": {
                        "type": "number",
                        "default": 1
                    },
                    "unit": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 32
                    },
                    "unit_purchase_price": {
                        "type": "number",
                        "default": 0
                    },
                    "unit_sale_price": {
                        "type": "number",
                        "default": 0
                    },
                    "discount_percent": {
                        "type": "number",
                        "default": 0
                    },
                    "vat_rate": {
                        "type": "number",
                        "default": 0
                    },
                    "delivery_time": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "billing_period": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 32
                    },
                    "billing_months": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "billing_type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 32
                    },
                    "service_start_date": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "service_end_date": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    }
                }
            },
            "CreateProducts": {
                "type": "object",
                "properties": {
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "class": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "element",
                            "article"
                        ],
                        "maxLength": 64
                    },
                    "type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "window",
                            "exteriorDoor",
                            "entranceDoor",
                            "interiorDoor",
                            "shading",
                            "insectScreen",
                            "garageDoor",
                            "windowSill",
                            "article",
                            "product",
                            "service"
                        ],
                        "maxLength": 64
                    },
                    "structure": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "configWindow",
                            "doubleHungWindow",
                            "singleHungWindow",
                            "casementWindow",
                            "awningWindow",
                            "slidingWindow",
                            "hopperWindow",
                            "tiltWindow",
                            "tiltAndTurnWindow",
                            "pictureWindow",
                            "patioDoor",
                            "slidingPatioDoor",
                            "foldingPatioDoor",
                            "frontDoor",
                            "sideDoor",
                            "roomDoor",
                            "loftDoor",
                            "slidingDoor",
                            "glassDoor",
                            "apartmentDoor",
                            "rollerShutter",
                            "shutter",
                            "venetianBlind",
                            "screen",
                            "pleatedBlind",
                            "fixedScreen",
                            "hingedScreen",
                            "rollerScreen",
                            "slidingScreen",
                            "pleatedScreen",
                            "swingScreen",
                            "sectionalGarageDoor",
                            "rollerGarageDoor",
                            "upAndOverGarageDoor",
                            "swingGarageDoor",
                            "interiorWindowSills",
                            "exteriorWindowSills",
                            "article",
                            "product",
                            "service"
                        ],
                        "maxLength": 64
                    },
                    "article_number": {
                        "type": "string",
                        "maxLength": 128
                    },
                    "sku": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 128
                    },
                    "tags": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "unit": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "piece",
                            "unit",
                            "set",
                            "pair",
                            "kit",
                            "element",
                            "flat_rate",
                            "millimeter",
                            "centimeter",
                            "meter",
                            "square_meter",
                            "cubic_meter",
                            "liter",
                            "kilogram",
                            "ton",
                            "hour",
                            "day",
                            "minute",
                            "month",
                            "year",
                            "package",
                            "box",
                            "pallet",
                            "license",
                            "token"
                        ],
                        "maxLength": 32
                    },
                    "image": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "price_schema": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 32
                    },
                    "price": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "unit_purchase_price": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "unit_sale_price": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "currency": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 3
                    },
                    "price_group": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "delivery_time": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "billing_type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "one_time",
                            "recurring",
                            "usage"
                        ],
                        "maxLength": 32
                    },
                    "billing_period": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "daily",
                            "monthly",
                            "yearly"
                        ],
                        "maxLength": 32
                    },
                    "appearance": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 64
                    },
                    "dimension_method": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "equal",
                            "preferred"
                        ]
                    },
                    "image_content_base64": {
                        "type": "string",
                        "writeOnly": true
                    },
                    "image_filename": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255,
                        "writeOnly": true
                    },
                    "image_mime": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "image/png",
                            "image/jpeg",
                            "image/gif",
                            "image/webp",
                            "image/svg+xml"
                        ],
                        "writeOnly": true
                    },
                    "translations": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "object",
                            "additionalProperties": true
                        }
                    }
                },
                "required": [
                    "article_number"
                ]
            },
            "UpdateProducts": {
                "type": "object",
                "properties": {
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "class": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "element",
                            "article"
                        ],
                        "maxLength": 64
                    },
                    "type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "window",
                            "exteriorDoor",
                            "entranceDoor",
                            "interiorDoor",
                            "shading",
                            "insectScreen",
                            "garageDoor",
                            "windowSill",
                            "article",
                            "product",
                            "service"
                        ],
                        "maxLength": 64
                    },
                    "structure": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "configWindow",
                            "doubleHungWindow",
                            "singleHungWindow",
                            "casementWindow",
                            "awningWindow",
                            "slidingWindow",
                            "hopperWindow",
                            "tiltWindow",
                            "tiltAndTurnWindow",
                            "pictureWindow",
                            "patioDoor",
                            "slidingPatioDoor",
                            "foldingPatioDoor",
                            "frontDoor",
                            "sideDoor",
                            "roomDoor",
                            "loftDoor",
                            "slidingDoor",
                            "glassDoor",
                            "apartmentDoor",
                            "rollerShutter",
                            "shutter",
                            "venetianBlind",
                            "screen",
                            "pleatedBlind",
                            "fixedScreen",
                            "hingedScreen",
                            "rollerScreen",
                            "slidingScreen",
                            "pleatedScreen",
                            "swingScreen",
                            "sectionalGarageDoor",
                            "rollerGarageDoor",
                            "upAndOverGarageDoor",
                            "swingGarageDoor",
                            "interiorWindowSills",
                            "exteriorWindowSills",
                            "article",
                            "product",
                            "service"
                        ],
                        "maxLength": 64
                    },
                    "article_number": {
                        "type": "string",
                        "maxLength": 128
                    },
                    "sku": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 128
                    },
                    "tags": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "unit": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "piece",
                            "unit",
                            "set",
                            "pair",
                            "kit",
                            "element",
                            "flat_rate",
                            "millimeter",
                            "centimeter",
                            "meter",
                            "square_meter",
                            "cubic_meter",
                            "liter",
                            "kilogram",
                            "ton",
                            "hour",
                            "day",
                            "minute",
                            "month",
                            "year",
                            "package",
                            "box",
                            "pallet",
                            "license",
                            "token"
                        ],
                        "maxLength": 32
                    },
                    "image": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "price_schema": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 32
                    },
                    "price": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "unit_purchase_price": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "unit_sale_price": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "currency": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 3
                    },
                    "price_group": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "delivery_time": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "billing_type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "one_time",
                            "recurring",
                            "usage"
                        ],
                        "maxLength": 32
                    },
                    "billing_period": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "daily",
                            "monthly",
                            "yearly"
                        ],
                        "maxLength": 32
                    },
                    "appearance": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 64
                    },
                    "dimension_method": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "equal",
                            "preferred"
                        ]
                    },
                    "image_content_base64": {
                        "type": "string",
                        "writeOnly": true
                    },
                    "image_filename": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255,
                        "writeOnly": true
                    },
                    "image_mime": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "image/png",
                            "image/jpeg",
                            "image/gif",
                            "image/webp",
                            "image/svg+xml"
                        ],
                        "writeOnly": true
                    },
                    "translations": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "object",
                            "additionalProperties": true
                        }
                    }
                }
            },
            "CreateComponents": {
                "type": "object",
                "properties": {
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "frame",
                            "mountingFrame",
                            "installationFrame",
                            "sash",
                            "slidingProfile",
                            "mullion",
                            "topPanel",
                            "flyingMullion",
                            "glassBead",
                            "grilleTDL",
                            "grilleSDL",
                            "grilleGBG",
                            "extension",
                            "base",
                            "threshold",
                            "sashBase",
                            "sideBase",
                            "sideAdjuster",
                            "box",
                            "guideSide",
                            "guideCenter",
                            "bottomRail",
                            "slat",
                            "fabric",
                            "windowSillProfile",
                            "sideFinish",
                            "windowSillConnector",
                            "handleInterior",
                            "handleExterior",
                            "handleSet",
                            "rosetteInterior",
                            "rosetteExterior",
                            "rosetteSet",
                            "resistanceClass",
                            "hinge",
                            "lock",
                            "cylinder",
                            "drive",
                            "glass",
                            "patternedGlass",
                            "designGlass",
                            "panel",
                            "doorLeaf",
                            "design",
                            "designInsert",
                            "wicketDoor",
                            "edgeSeal",
                            "accessorySystem",
                            "accessorySection",
                            "accessoryAttribute"
                        ],
                        "maxLength": 64
                    },
                    "product": {
                        "oneOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "window",
                                        "exteriorDoor",
                                        "entranceDoor",
                                        "interiorDoor",
                                        "insectScreen",
                                        "shading",
                                        "garageDoor",
                                        "windowSill"
                                    ]
                                }
                            }
                        ]
                    },
                    "product_component": {
                        "oneOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "frame",
                                        "mountingFrame",
                                        "installationFrame",
                                        "sash",
                                        "slidingProfile",
                                        "mullion",
                                        "topPanel",
                                        "flyingMullion",
                                        "glassBead",
                                        "grilleTDL",
                                        "grilleSDL",
                                        "grilleGBG",
                                        "extension",
                                        "base",
                                        "threshold",
                                        "sashBase",
                                        "sideBase",
                                        "sideAdjuster",
                                        "box",
                                        "guideSide",
                                        "guideCenter",
                                        "bottomRail",
                                        "slat",
                                        "fabric",
                                        "windowSillProfile",
                                        "sideFinish",
                                        "windowSillConnector",
                                        "handleInterior",
                                        "handleExterior",
                                        "handleSet",
                                        "rosetteInterior",
                                        "rosetteExterior",
                                        "rosetteSet",
                                        "resistanceClass",
                                        "hinge",
                                        "lock",
                                        "cylinder",
                                        "drive",
                                        "glass",
                                        "patternedGlass",
                                        "designGlass",
                                        "panel",
                                        "doorLeaf",
                                        "design",
                                        "designInsert",
                                        "wicketDoor",
                                        "edgeSeal",
                                        "accessorySystem",
                                        "accessorySection",
                                        "accessoryAttribute"
                                    ]
                                }
                            }
                        ]
                    },
                    "accessory_group": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "glass_group": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "tags": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "article_number": {
                        "type": "string",
                        "maxLength": 128
                    },
                    "image": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "pattern": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "svg_1": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "svg_2": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "dim_1": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "dim_2": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "dim_3": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "u_value": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "image_content_base64": {
                        "type": "string",
                        "writeOnly": true
                    },
                    "image_filename": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255,
                        "writeOnly": true
                    },
                    "image_mime": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "image/png",
                            "image/jpeg",
                            "image/gif",
                            "image/webp",
                            "image/svg+xml"
                        ],
                        "writeOnly": true
                    },
                    "translations": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "object",
                            "additionalProperties": true
                        }
                    }
                },
                "required": [
                    "product",
                    "product_component",
                    "article_number"
                ]
            },
            "UpdateComponents": {
                "type": "object",
                "properties": {
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "frame",
                            "mountingFrame",
                            "installationFrame",
                            "sash",
                            "slidingProfile",
                            "mullion",
                            "topPanel",
                            "flyingMullion",
                            "glassBead",
                            "grilleTDL",
                            "grilleSDL",
                            "grilleGBG",
                            "extension",
                            "base",
                            "threshold",
                            "sashBase",
                            "sideBase",
                            "sideAdjuster",
                            "box",
                            "guideSide",
                            "guideCenter",
                            "bottomRail",
                            "slat",
                            "fabric",
                            "windowSillProfile",
                            "sideFinish",
                            "windowSillConnector",
                            "handleInterior",
                            "handleExterior",
                            "handleSet",
                            "rosetteInterior",
                            "rosetteExterior",
                            "rosetteSet",
                            "resistanceClass",
                            "hinge",
                            "lock",
                            "cylinder",
                            "drive",
                            "glass",
                            "patternedGlass",
                            "designGlass",
                            "panel",
                            "doorLeaf",
                            "design",
                            "designInsert",
                            "wicketDoor",
                            "edgeSeal",
                            "accessorySystem",
                            "accessorySection",
                            "accessoryAttribute"
                        ],
                        "maxLength": 64
                    },
                    "product": {
                        "oneOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "window",
                                        "exteriorDoor",
                                        "entranceDoor",
                                        "interiorDoor",
                                        "insectScreen",
                                        "shading",
                                        "garageDoor",
                                        "windowSill"
                                    ]
                                }
                            }
                        ]
                    },
                    "product_component": {
                        "oneOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "frame",
                                        "mountingFrame",
                                        "installationFrame",
                                        "sash",
                                        "slidingProfile",
                                        "mullion",
                                        "topPanel",
                                        "flyingMullion",
                                        "glassBead",
                                        "grilleTDL",
                                        "grilleSDL",
                                        "grilleGBG",
                                        "extension",
                                        "base",
                                        "threshold",
                                        "sashBase",
                                        "sideBase",
                                        "sideAdjuster",
                                        "box",
                                        "guideSide",
                                        "guideCenter",
                                        "bottomRail",
                                        "slat",
                                        "fabric",
                                        "windowSillProfile",
                                        "sideFinish",
                                        "windowSillConnector",
                                        "handleInterior",
                                        "handleExterior",
                                        "handleSet",
                                        "rosetteInterior",
                                        "rosetteExterior",
                                        "rosetteSet",
                                        "resistanceClass",
                                        "hinge",
                                        "lock",
                                        "cylinder",
                                        "drive",
                                        "glass",
                                        "patternedGlass",
                                        "designGlass",
                                        "panel",
                                        "doorLeaf",
                                        "design",
                                        "designInsert",
                                        "wicketDoor",
                                        "edgeSeal",
                                        "accessorySystem",
                                        "accessorySection",
                                        "accessoryAttribute"
                                    ]
                                }
                            }
                        ]
                    },
                    "accessory_group": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "glass_group": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "tags": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "article_number": {
                        "type": "string",
                        "maxLength": 128
                    },
                    "image": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "pattern": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "svg_1": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "svg_2": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "dim_1": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "dim_2": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "dim_3": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "u_value": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "image_content_base64": {
                        "type": "string",
                        "writeOnly": true
                    },
                    "image_filename": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255,
                        "writeOnly": true
                    },
                    "image_mime": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "image/png",
                            "image/jpeg",
                            "image/gif",
                            "image/webp",
                            "image/svg+xml"
                        ],
                        "writeOnly": true
                    },
                    "translations": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "object",
                            "additionalProperties": true
                        }
                    }
                }
            },
            "CreateColors": {
                "type": "object",
                "properties": {
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 64
                    },
                    "tags": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "article_number": {
                        "type": "string",
                        "maxLength": 128
                    },
                    "hex": {
                        "type": "string",
                        "pattern": "^[0-9A-Fa-f]{6}$",
                        "maxLength": 6
                    },
                    "image": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "pattern": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "image_content_base64": {
                        "type": "string",
                        "writeOnly": true
                    },
                    "image_filename": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255,
                        "writeOnly": true
                    },
                    "image_mime": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "image/png",
                            "image/jpeg",
                            "image/gif",
                            "image/webp",
                            "image/svg+xml"
                        ],
                        "writeOnly": true
                    },
                    "translations": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "object",
                            "additionalProperties": true
                        }
                    }
                },
                "required": [
                    "article_number",
                    "hex"
                ]
            },
            "UpdateColors": {
                "type": "object",
                "properties": {
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 64
                    },
                    "tags": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "article_number": {
                        "type": "string",
                        "maxLength": 128
                    },
                    "hex": {
                        "type": "string",
                        "pattern": "^[0-9A-Fa-f]{6}$",
                        "maxLength": 6
                    },
                    "image": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "pattern": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "image_content_base64": {
                        "type": "string",
                        "writeOnly": true
                    },
                    "image_filename": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255,
                        "writeOnly": true
                    },
                    "image_mime": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "image/png",
                            "image/jpeg",
                            "image/gif",
                            "image/webp",
                            "image/svg+xml"
                        ],
                        "writeOnly": true
                    },
                    "translations": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "object",
                            "additionalProperties": true
                        }
                    }
                }
            },
            "CreateParameters": {
                "type": "object",
                "properties": {
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "product": {
                        "oneOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "window",
                                        "exteriorDoor",
                                        "entranceDoor",
                                        "interiorDoor",
                                        "shading",
                                        "insectScreen",
                                        "garageDoor",
                                        "windowSill",
                                        "article"
                                    ]
                                }
                            }
                        ]
                    },
                    "product_component": {
                        "oneOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "frame",
                                        "mountingFrame",
                                        "installationFrame",
                                        "sash",
                                        "slidingProfile",
                                        "mullion",
                                        "topPanel",
                                        "flyingMullion",
                                        "glassBead",
                                        "grilleTDL",
                                        "grilleSDL",
                                        "grilleGBG",
                                        "extension",
                                        "base",
                                        "threshold",
                                        "sashBase",
                                        "sideBase",
                                        "sideAdjuster",
                                        "box",
                                        "guideSide",
                                        "guideCenter",
                                        "bottomRail",
                                        "slat",
                                        "fabric",
                                        "windowSillProfile",
                                        "sideFinish",
                                        "windowSillConnector",
                                        "handleInterior",
                                        "handleExterior",
                                        "handleSet",
                                        "rosetteInterior",
                                        "rosetteExterior",
                                        "rosetteSet",
                                        "resistanceClass",
                                        "hinge",
                                        "lock",
                                        "cylinder",
                                        "drive",
                                        "glass",
                                        "patternedGlass",
                                        "designGlass",
                                        "panel",
                                        "doorLeaf",
                                        "design",
                                        "designInsert",
                                        "wicketDoor",
                                        "edgeSeal",
                                        "accessorySystem",
                                        "accessorySection"
                                    ]
                                }
                            }
                        ]
                    },
                    "dimension": {
                        "type": "string",
                        "enum": [
                            "count",
                            "width",
                            "height",
                            "depth",
                            "area",
                            "offset"
                        ]
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "number",
                            "steps",
                            "enum"
                        ]
                    },
                    "default": {
                        "type": "string",
                        "default": ""
                    },
                    "step": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "min": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "max": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "decimals": {
                        "type": "integer",
                        "default": 0
                    },
                    "translations": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "object",
                            "additionalProperties": true
                        }
                    }
                },
                "required": [
                    "product",
                    "product_component",
                    "dimension",
                    "type"
                ]
            },
            "UpdateParameters": {
                "type": "object",
                "properties": {
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "product": {
                        "oneOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "window",
                                        "exteriorDoor",
                                        "entranceDoor",
                                        "interiorDoor",
                                        "shading",
                                        "insectScreen",
                                        "garageDoor",
                                        "windowSill",
                                        "article"
                                    ]
                                }
                            }
                        ]
                    },
                    "product_component": {
                        "oneOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "frame",
                                        "mountingFrame",
                                        "installationFrame",
                                        "sash",
                                        "slidingProfile",
                                        "mullion",
                                        "topPanel",
                                        "flyingMullion",
                                        "glassBead",
                                        "grilleTDL",
                                        "grilleSDL",
                                        "grilleGBG",
                                        "extension",
                                        "base",
                                        "threshold",
                                        "sashBase",
                                        "sideBase",
                                        "sideAdjuster",
                                        "box",
                                        "guideSide",
                                        "guideCenter",
                                        "bottomRail",
                                        "slat",
                                        "fabric",
                                        "windowSillProfile",
                                        "sideFinish",
                                        "windowSillConnector",
                                        "handleInterior",
                                        "handleExterior",
                                        "handleSet",
                                        "rosetteInterior",
                                        "rosetteExterior",
                                        "rosetteSet",
                                        "resistanceClass",
                                        "hinge",
                                        "lock",
                                        "cylinder",
                                        "drive",
                                        "glass",
                                        "patternedGlass",
                                        "designGlass",
                                        "panel",
                                        "doorLeaf",
                                        "design",
                                        "designInsert",
                                        "wicketDoor",
                                        "edgeSeal",
                                        "accessorySystem",
                                        "accessorySection"
                                    ]
                                }
                            }
                        ]
                    },
                    "dimension": {
                        "type": "string",
                        "enum": [
                            "count",
                            "width",
                            "height",
                            "depth",
                            "area",
                            "offset"
                        ]
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "number",
                            "steps",
                            "enum"
                        ]
                    },
                    "default": {
                        "type": "string",
                        "default": ""
                    },
                    "step": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "min": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "max": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "decimals": {
                        "type": "integer",
                        "default": 0
                    },
                    "translations": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "object",
                            "additionalProperties": true
                        }
                    }
                }
            },
            "CreateGroups": {
                "type": "object",
                "properties": {
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "priceGroup",
                            "accessoryGroup",
                            "infillGroup"
                        ]
                    },
                    "value": {
                        "type": "number",
                        "default": 0
                    },
                    "translations": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "object",
                            "additionalProperties": true
                        }
                    }
                },
                "required": [
                    "type"
                ]
            },
            "UpdateGroups": {
                "type": "object",
                "properties": {
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "priceGroup",
                            "accessoryGroup",
                            "infillGroup"
                        ]
                    },
                    "value": {
                        "type": "number",
                        "default": 0
                    },
                    "translations": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "object",
                            "additionalProperties": true
                        }
                    }
                }
            },
            "CreatePolygons": {
                "type": "object",
                "properties": {
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "code": {
                        "type": "string",
                        "maxLength": 64
                    },
                    "product": {
                        "oneOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "window",
                                        "exteriorDoor",
                                        "entranceDoor",
                                        "interiorDoor",
                                        "shading",
                                        "insectScreen",
                                        "garageDoor",
                                        "windowSill"
                                    ]
                                }
                            }
                        ]
                    },
                    "tags": {
                        "type": "string",
                        "default": "",
                        "maxLength": 255
                    },
                    "values": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "required": [
                                "x",
                                "y"
                            ],
                            "properties": {
                                "x": {
                                    "type": "number"
                                },
                                "y": {
                                    "type": "number"
                                }
                            }
                        }
                    }
                },
                "required": [
                    "code",
                    "product"
                ]
            },
            "UpdatePolygons": {
                "type": "object",
                "properties": {
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "code": {
                        "type": "string",
                        "maxLength": 64
                    },
                    "product": {
                        "oneOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "window",
                                        "exteriorDoor",
                                        "entranceDoor",
                                        "interiorDoor",
                                        "shading",
                                        "insectScreen",
                                        "garageDoor",
                                        "windowSill"
                                    ]
                                }
                            }
                        ]
                    },
                    "tags": {
                        "type": "string",
                        "default": "",
                        "maxLength": 255
                    },
                    "values": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "required": [
                                "x",
                                "y"
                            ],
                            "properties": {
                                "x": {
                                    "type": "number"
                                },
                                "y": {
                                    "type": "number"
                                }
                            }
                        }
                    }
                }
            },
            "CreateProductComponents": {
                "type": "object",
                "properties": {
                    "product_id": {
                        "type": "integer"
                    },
                    "component_id": {
                        "type": "integer"
                    },
                    "variant": {
                        "oneOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "IP",
                                        "SSOP",
                                        "DSOP",
                                        "OB",
                                        "CF",
                                        "FLUSH",
                                        "REBATED"
                                    ]
                                }
                            }
                        ]
                    },
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "order": {
                        "type": "integer",
                        "default": 1
                    },
                    "quantity": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "config": []
                },
                "required": [
                    "product_id"
                ]
            },
            "UpdateProductComponents": {
                "type": "object",
                "properties": {
                    "product_id": {
                        "type": "integer"
                    },
                    "component_id": {
                        "type": "integer"
                    },
                    "variant": {
                        "oneOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "IP",
                                        "SSOP",
                                        "DSOP",
                                        "OB",
                                        "CF",
                                        "FLUSH",
                                        "REBATED"
                                    ]
                                }
                            }
                        ]
                    },
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "order": {
                        "type": "integer",
                        "default": 1
                    },
                    "quantity": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "config": []
                }
            },
            "CreateProductColors": {
                "type": "object",
                "properties": {
                    "product_id": {
                        "type": "integer"
                    },
                    "color_id": {
                        "type": "integer"
                    },
                    "polygon_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "order": {
                        "type": "integer",
                        "default": 1
                    },
                    "config": []
                },
                "required": [
                    "product_id"
                ]
            },
            "UpdateProductColors": {
                "type": "object",
                "properties": {
                    "product_id": {
                        "type": "integer"
                    },
                    "color_id": {
                        "type": "integer"
                    },
                    "polygon_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "order": {
                        "type": "integer",
                        "default": 1
                    },
                    "config": []
                }
            },
            "CreateProductShapes": {
                "type": "object",
                "properties": {
                    "product_id": {
                        "type": "integer"
                    },
                    "polygon_id": {
                        "type": "integer"
                    },
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "order": {
                        "type": "integer",
                        "default": 1
                    },
                    "svg": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "config": []
                },
                "required": [
                    "product_id"
                ]
            },
            "UpdateProductShapes": {
                "type": "object",
                "properties": {
                    "product_id": {
                        "type": "integer"
                    },
                    "polygon_id": {
                        "type": "integer"
                    },
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "order": {
                        "type": "integer",
                        "default": 1
                    },
                    "svg": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "config": []
                }
            },
            "CreateProductConstructions": {
                "type": "object",
                "properties": {
                    "product_id": {
                        "type": "integer"
                    },
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "order": {
                        "type": "integer",
                        "default": 1
                    },
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 128
                    },
                    "config": []
                },
                "required": [
                    "product_id"
                ]
            },
            "UpdateProductConstructions": {
                "type": "object",
                "properties": {
                    "product_id": {
                        "type": "integer"
                    },
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "order": {
                        "type": "integer",
                        "default": 1
                    },
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 128
                    },
                    "config": []
                }
            },
            "CreateProductRules": {
                "type": "object",
                "properties": {
                    "product_id": {
                        "type": "integer"
                    },
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "order": {
                        "type": "integer",
                        "default": 1
                    },
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 128
                    },
                    "type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 64
                    },
                    "condition": [],
                    "action": []
                },
                "required": [
                    "product_id"
                ]
            },
            "UpdateProductRules": {
                "type": "object",
                "properties": {
                    "product_id": {
                        "type": "integer"
                    },
                    "active": {
                        "type": "boolean",
                        "default": 1
                    },
                    "order": {
                        "type": "integer",
                        "default": 1
                    },
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 128
                    },
                    "type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 64
                    },
                    "condition": [],
                    "action": []
                }
            },
            "CreatePricing": {
                "type": "object",
                "properties": {
                    "account_id": {
                        "type": "integer"
                    },
                    "product_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "group_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "group_purchase_discount": {
                        "type": "number",
                        "default": 0
                    },
                    "product_purchase_discount": {
                        "type": "number",
                        "default": 0
                    },
                    "product_sales_markup": {
                        "type": "number",
                        "default": 0
                    },
                    "line_item_purchase_discount": {
                        "type": "number",
                        "default": 0
                    },
                    "line_item_purchase_discount_type": {
                        "type": "string",
                        "enum": [
                            "percent",
                            "fixed"
                        ],
                        "default": "percent"
                    },
                    "line_item_sales_markup": {
                        "type": "number",
                        "default": 0
                    },
                    "line_item_sales_markup_type": {
                        "type": "string",
                        "enum": [
                            "percent",
                            "fixed"
                        ],
                        "default": "percent"
                    },
                    "line_item_sales_discount": {
                        "type": "number",
                        "default": 0
                    },
                    "line_item_sales_discount_type": {
                        "type": "string",
                        "enum": [
                            "percent",
                            "fixed"
                        ],
                        "default": "percent"
                    }
                },
                "required": [
                    "account_id"
                ]
            },
            "UpdatePricing": {
                "type": "object",
                "properties": {
                    "account_id": {
                        "type": "integer"
                    },
                    "product_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "group_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "group_purchase_discount": {
                        "type": "number",
                        "default": 0
                    },
                    "product_purchase_discount": {
                        "type": "number",
                        "default": 0
                    },
                    "product_sales_markup": {
                        "type": "number",
                        "default": 0
                    },
                    "line_item_purchase_discount": {
                        "type": "number",
                        "default": 0
                    },
                    "line_item_purchase_discount_type": {
                        "type": "string",
                        "enum": [
                            "percent",
                            "fixed"
                        ],
                        "default": "percent"
                    },
                    "line_item_sales_markup": {
                        "type": "number",
                        "default": 0
                    },
                    "line_item_sales_markup_type": {
                        "type": "string",
                        "enum": [
                            "percent",
                            "fixed"
                        ],
                        "default": "percent"
                    },
                    "line_item_sales_discount": {
                        "type": "number",
                        "default": 0
                    },
                    "line_item_sales_discount_type": {
                        "type": "string",
                        "enum": [
                            "percent",
                            "fixed"
                        ],
                        "default": "percent"
                    }
                }
            },
            "CreateFiles": {
                "type": "object",
                "properties": {
                    "account_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "contact_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "document_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "label": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "mime": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 100
                    },
                    "size": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 50
                    },
                    "content_base64": {
                        "type": "string",
                        "writeOnly": true
                    },
                    "svg_code": {
                        "type": "string",
                        "writeOnly": true
                    }
                }
            },
            "UpdateFiles": {
                "type": "object",
                "properties": {
                    "account_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "contact_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "document_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "label": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "mime": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 100
                    },
                    "size": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "type": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 50
                    },
                    "content_base64": {
                        "type": "string",
                        "writeOnly": true
                    },
                    "svg_code": {
                        "type": "string",
                        "writeOnly": true
                    }
                }
            }
        },
        "responses": {
            "Error": {
                "description": "Error response",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/ErrorEnvelope"
                        }
                    }
                }
            }
        }
    },
    "x-fenzon-runtime-schema": "https://app.fenzon.com/api.php/endpoints",
    "x-fenzon-integration-manifest": "https://fenzon.com/developers/integration-manifest.json",
    "x-fenzon-llms": "https://fenzon.com/developers/llms.txt"
}