{
    "openapi": "3.1.2",
    "info": {
        "title": "Paschim Today API",
        "version": "v1",
        "description": "Paschim Today headless CMS + JSON API (`/api/v1`).\n\n* **Success**: `{\"data\": ..., \"meta\": {...}, \"links\": {...}}`\n* **Error**: `{\"error\": {\"code\", \"message\", \"details\", \"request_id\"}}` \u2014 codes: `validation_failed` 422, `unauthenticated` 401, `forbidden` 403, `not_found` 404, `module_disabled` 404, `too_many_requests` 429, `server_error` 500 and the domain codes listed per endpoint.\n* **Locale**: `Accept-Language: ne|en` or `?lang=`; default `ne`.\n* **Dates**: `{\"iso\": \"...+05:45\", \"bs\": {\"year\", \"month\", \"day\", \"formatted_ne\"}}`.\n* **Auth**: CMS SPA uses Sanctum cookies (`GET /sanctum/csrf-cookie` first); apps use bearer tokens + rotating refresh tokens.\n* **Areas**: `auth/*`, `me/*`, `cms/*` (newsroom), `public/*` (website), `app/*` (Flutter), `partner/*`."
    },
    "servers": [
        {
            "url": "http://localhost:8000/api"
        }
    ],
    "tags": [
        {
            "name": "Auth",
            "description": "Registration, login, OTP, 2FA challenge, tokens, password reset, invitations."
        },
        {
            "name": "Me",
            "description": "The signed-in account: profile, password, devices, 2FA."
        },
        {
            "name": "CMS \u00b7 Users",
            "description": "User administration with permission checks."
        },
        {
            "name": "CMS \u00b7 Access",
            "description": "Roles, permissions (Appendix B), direct allow/deny, scopes, desks."
        },
        {
            "name": "CMS \u00b7 Modules",
            "description": "Switch modules on/off without a deployment (SRS \u00a73.4)."
        },
        {
            "name": "System"
        },
        {
            "name": "Public \u00b7 Geo & calendar",
            "description": "7 provinces, 77 districts, 753 local levels, wards; BS \u21c4 AD conversion."
        },
        {
            "name": "Public \u00b7 Config",
            "description": "Runtime configuration for Next.js and the apps."
        },
        {
            "name": "Public \u00b7 Stories"
        },
        {
            "name": "Public \u00b7 Browse"
        },
        {
            "name": "Public \u00b7 Search"
        },
        {
            "name": "Public \u00b7 Site"
        },
        {
            "name": "Public \u00b7 Sitemaps & RSS"
        },
        {
            "name": "Public \u00b7 Radio"
        },
        {
            "name": "Public \u00b7 E-paper"
        },
        {
            "name": "Public \u00b7 Watch Nepal"
        },
        {
            "name": "Public \u00b7 Utilities"
        },
        {
            "name": "Public \u00b7 Ads"
        },
        {
            "name": "Analytics \u00b7 Events"
        },
        {
            "name": "CMS \u00b7 Analytics"
        },
        {
            "name": "CMS \u00b7 Workflow"
        },
        {
            "name": "CMS \u00b7 Stories"
        },
        {
            "name": "CMS \u00b7 Media"
        },
        {
            "name": "CMS \u00b7 Workflow configuration"
        },
        {
            "name": "CMS \u00b7 Taxonomy"
        },
        {
            "name": "CMS \u00b7 Site"
        },
        {
            "name": "CMS \u00b7 Radio"
        },
        {
            "name": "CMS \u00b7 E-paper"
        },
        {
            "name": "CMS \u00b7 Watch Nepal"
        },
        {
            "name": "CMS \u00b7 Utilities"
        },
        {
            "name": "CMS \u00b7 Ads"
        },
        {
            "name": "CMS \u00b7 Scorecards"
        }
    ],
    "security": [
        {
            "http": []
        }
    ],
    "paths": {
        "/v1/auth/register": {
            "post": {
                "operationId": "v1.auth.register",
                "description": "Creates a pending reader and sends a 6-digit code to the phone (SMS) or e-mail.\nFinish with `POST /auth/otp/verify`. Unauthenticated; throttled (auth).",
                "summary": "Register a reader",
                "tags": [
                    "Auth"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RegisterReaderRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "`MessageResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MessageResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation failed: details.fields lists the messages per field. Codes: validation_failed (contact already registered).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "validation_failed"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/auth/register/reporter": {
            "post": {
                "operationId": "v1.auth.register.reporter",
                "description": "Creates a pending contributor account and an application with district and\nsample work. An administrator approves (reporter/stringer) or rejects it.",
                "summary": "Apply as a reporter",
                "tags": [
                    "Auth"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/RegisterReporterRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`ReporterApplicationResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/ReporterApplicationResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation failed: details.fields lists the messages per field. Codes: validation_failed | file_infected.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "validation_failed"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/me": {
            "get": {
                "operationId": "v1.me.show",
                "summary": "Current user",
                "tags": [
                    "Me"
                ],
                "responses": {
                    "200": {
                        "description": "`UserResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UserResource"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "roles"
                                                    ]
                                                }
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "v1.me.update",
                "summary": "Update profile",
                "tags": [
                    "Me"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateProfileRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`UserResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UserResource"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "roles"
                                                    ]
                                                }
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                }
            }
        },
        "/v1/me/password": {
            "put": {
                "operationId": "v1.me.password",
                "description": "Keeps the current session/token and signs out everything else.",
                "summary": "Change password",
                "tags": [
                    "Me"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ChangePasswordRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`MessageResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MessageResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation failed: details.fields lists the messages per field. Codes: validation_failed (current_password).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "validation_failed"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/me/permissions": {
            "get": {
                "operationId": "v1.me.permissions",
                "description": "Flat list + scopes for the Next.js CMS to show/hide UI. Authorization is always\nre-checked by the API.",
                "summary": "My permissions",
                "tags": [
                    "Me"
                ],
                "responses": {
                    "200": {
                        "description": "`MyPermissionsResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MyPermissionsResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/users": {
            "get": {
                "operationId": "v1.cms.users.index",
                "summary": "List users",
                "tags": [
                    "CMS \u00b7 Users"
                ],
                "parameters": [
                    {
                        "name": "filter[type]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "staff",
                                "contributor",
                                "reader"
                            ]
                        }
                    },
                    {
                        "name": "filter[status]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "pending",
                                "active",
                                "suspended",
                                "deleted"
                            ]
                        }
                    },
                    {
                        "name": "filter[role]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 64
                        }
                    },
                    {
                        "name": "filter[is_verified_reporter]",
                        "in": "query",
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "filter[search]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "created_at",
                                "-created_at",
                                "last_login_at",
                                "-last_login_at",
                                "username",
                                "-username"
                            ]
                        },
                        "example": "-created_at"
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `UserResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/UserResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.users.store",
                "summary": "Create a user",
                "tags": [
                    "CMS \u00b7 Users"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StoreUserRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`UserResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/UserResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/users/{user}": {
            "get": {
                "operationId": "v1.cms.users.show",
                "summary": "Show a user",
                "tags": [
                    "CMS \u00b7 Users"
                ],
                "parameters": [
                    {
                        "name": "user",
                        "in": "path",
                        "required": true,
                        "description": "The user uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`UserResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UserResource"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "roles"
                                                    ]
                                                }
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "v1.cms.users.update",
                "summary": "Update a user",
                "tags": [
                    "CMS \u00b7 Users"
                ],
                "parameters": [
                    {
                        "name": "user",
                        "in": "path",
                        "required": true,
                        "description": "The user uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateUserRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`UserResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/UserResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/permissions": {
            "get": {
                "operationId": "v1.cms.permissions.index",
                "description": "Grouped by module. \u2020 dangerous permissions (`is_dangerous`) need a 2FA confirmation\nin the last 15 minutes when used.",
                "summary": "Permission catalogue",
                "tags": [
                    "CMS \u00b7 Access"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `PermissionGroupResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/PermissionGroupResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/modules": {
            "get": {
                "operationId": "v1.cms.modules.index",
                "summary": "List modules",
                "tags": [
                    "CMS \u00b7 Modules"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `ModuleResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/ModuleResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/modules/{module}": {
            "patch": {
                "operationId": "v1.cms.modules.update",
                "description": "Core modules cannot be switched off; enabling needs every dependency on (422\n`module_dependencies_disabled`); disabling a module others depend on answers 409\n`module_has_dependants` unless `cascade=true`. Audited and broadcast on `config`.",
                "summary": "Update a module",
                "tags": [
                    "CMS \u00b7 Modules"
                ],
                "parameters": [
                    {
                        "name": "module",
                        "in": "path",
                        "required": true,
                        "description": "The module key",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateModuleRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`ModuleResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/ModuleResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/health": {
            "get": {
                "operationId": "v1.health",
                "description": "Database, Redis, queue backlog and storage. 200 when ok/warn, 503 when a check fails.",
                "summary": "Health check",
                "tags": [
                    "System"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/geo/provinces": {
            "get": {
                "operationId": "v1.public.geo.provinces",
                "summary": "Provinces",
                "tags": [
                    "Public \u00b7 Geo & calendar"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `ProvinceResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/ProvinceResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/geo/districts": {
            "get": {
                "operationId": "v1.public.geo.districts",
                "summary": "Districts",
                "tags": [
                    "Public \u00b7 Geo & calendar"
                ],
                "parameters": [
                    {
                        "name": "province",
                        "in": "query",
                        "description": "Province slug.",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        },
                        "example": "sudurpaschim"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `DistrictResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/DistrictResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/geo/local-levels": {
            "get": {
                "operationId": "v1.public.geo.local-levels",
                "summary": "Local levels (palikas)",
                "tags": [
                    "Public \u00b7 Geo & calendar"
                ],
                "parameters": [
                    {
                        "name": "district",
                        "in": "query",
                        "description": "District slug. @example kailali",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `LocalLevelResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/LocalLevelResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/geo/wards": {
            "get": {
                "operationId": "v1.public.geo.wards",
                "summary": "Wards of a local level",
                "tags": [
                    "Public \u00b7 Geo & calendar"
                ],
                "parameters": [
                    {
                        "name": "local_level",
                        "in": "query",
                        "required": true,
                        "description": "Local level slug. @example dhangadhi",
                        "schema": {
                            "type": "string",
                            "maxLength": 120
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `WardResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/WardResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/config/modules": {
            "get": {
                "operationId": "v1.public.config.modules",
                "description": "Which modules are on for this surface (and, with a token/session, this user:\nbeta, district and percentage rollouts). Listen on the Reverb channel `config`\n(`modules.changed`) to refetch.",
                "summary": "Module states",
                "tags": [
                    "Public \u00b7 Config"
                ],
                "parameters": [
                    {
                        "name": "surface",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "web",
                                "android",
                                "ios",
                                "cms",
                                "api"
                            ]
                        },
                        "example": "web"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`ClientModulesResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/ClientModulesResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/events": {
            "post": {
                "operationId": "v1.events.store",
                "description": "First-party event API for Next.js and the apps (batch of up to 50). Crawlers are\ndropped; a view counts once per reader per story per 30 minutes; device, surface,\ntraffic source and district are added server side. Readers are pseudonymised\n(HMAC of account / device id). Send a bearer token when signed in.",
                "summary": "Send analytics events",
                "tags": [
                    "Analytics \u00b7 Events"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/IngestEventsRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "`IngestResultResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "examples": [
                                        {
                                            "data": {
                                                "accepted": 3,
                                                "duplicates": 1,
                                                "dropped": 0
                                            },
                                            "meta": {
                                                "request_id": "01jdz3k6q8m4r2t7v9w1x3y5za"
                                            },
                                            "links": []
                                        }
                                    ],
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/IngestResultResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/auth/login": {
            "post": {
                "operationId": "v1.auth.login",
                "description": "`login` may be an e-mail, username or phone. Requests from the CMS domain get a\nsession cookie (call `GET /sanctum/csrf-cookie` first); other clients get an\naccess token (60 min) + refresh token (30 days). TOTP-enrolled users get\n`mode: two_factor_challenge`. Super-admin uses an e-mailed OTP when\n`SUPER_ADMIN_OTP_ENABLED=true` (default), irrespective of TWO_FACTOR_METHOD.\nWith it false, super-admin receives the user and session/token immediately,\nwith both two_factor_required and two_factor_enrollment_required false.\nFailed logins are subject to the configured account lockout (423).",
                "summary": "Login with password",
                "tags": [
                    "Auth"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/LoginRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`AuthResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AuthResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                },
                                "examples": {
                                    "super_admin_otp_enabled": {
                                        "value": {
                                            "data": {
                                                "mode": "two_factor_challenge",
                                                "user": null,
                                                "two_factor_required": true,
                                                "challenge_token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                                                "two_factor_method": "email",
                                                "two_factor_enrollment_required": false
                                            },
                                            "meta": {
                                                "request_id": "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                            },
                                            "links": {}
                                        },
                                        "summary": "SUPER_ADMIN_OTP_ENABLED=true: verify the e-mailed code next."
                                    },
                                    "super_admin_otp_disabled": {
                                        "value": {
                                            "data": {
                                                "mode": "session",
                                                "user": {
                                                    "uid": "01JDQ8Z6X3B7M2K9V4N5P6R7S8",
                                                    "name": {
                                                        "ne": "\u0938\u0941\u092a\u0930 \u090f\u0921\u092e\u093f\u0928",
                                                        "en": "Super Admin"
                                                    },
                                                    "username": "superadmin",
                                                    "email": "admin@example.com",
                                                    "phone": null,
                                                    "type": "staff",
                                                    "status": "active",
                                                    "preferred_locale": "ne",
                                                    "designation": [],
                                                    "bio": [],
                                                    "is_verified_reporter": false,
                                                    "press_card_no": null,
                                                    "avatar_url": null,
                                                    "roles": [
                                                        "super-admin"
                                                    ],
                                                    "email_verified": true,
                                                    "phone_verified": false,
                                                    "two_factor_enabled": false,
                                                    "last_login_at": {
                                                        "iso": "2026-11-27T05:45:00+05:45",
                                                        "bs": null
                                                    },
                                                    "created_at": {
                                                        "iso": "2026-11-27T05:45:00+05:45",
                                                        "bs": null
                                                    }
                                                },
                                                "two_factor_required": false,
                                                "two_factor_enrollment_required": false
                                            },
                                            "meta": {
                                                "request_id": "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                            },
                                            "links": {}
                                        },
                                        "summary": "SUPER_ADMIN_OTP_ENABLED=false: CMS session starts immediately.",
                                        "description": "Requests outside the stateful CMS domain receive mode token and the existing access/refresh token fields instead."
                                    }
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: invalid_credentials.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: account_pending | account_suspended.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Conflicts with the current state. Codes: two_factor_email_unavailable.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "conflict"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "423": {
                        "description": "Account locked after 5 failed attempts (Retry-After header). Codes: account_locked.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "account_locked"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/auth/login/otp": {
            "post": {
                "operationId": "v1.auth.login.otp",
                "summary": "Login with phone OTP",
                "tags": [
                    "Auth"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/OtpLoginRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`AuthResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AuthResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation failed: details.fields lists the messages per field. Codes: otp_invalid | otp_expired | otp_attempts_exceeded.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "validation_failed"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: invalid_credentials.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: account_pending | account_suspended.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Conflicts with the current state. Codes: two_factor_email_unavailable.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "conflict"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "423": {
                        "description": "Account locked after 5 failed attempts (Retry-After header). Codes: account_locked.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "account_locked"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/auth/2fa/challenge": {
            "post": {
                "operationId": "v1.auth.2fa.challenge",
                "description": "Send the six-digit e-mail/authenticator `code` or one `recovery_code`\n(each recovery code works once). Super-admin normally uses the e-mailed code.",
                "summary": "Complete a 2FA challenge",
                "tags": [
                    "Auth"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/TwoFactorChallengeRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`AuthResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AuthResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation failed: details.fields lists the messages per field. Codes: two_factor_code_invalid.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "validation_failed"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: two_factor_challenge_expired.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/auth/2fa/challenge/resend": {
            "post": {
                "operationId": "v1.auth.2fa.challenge.resend",
                "description": "Only for challenges with `two_factor_method: email`. Limited to 3 sends per 10 minutes.",
                "summary": "Resend the e-mailed login code",
                "tags": [
                    "Auth"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/TwoFactorResendRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "`MessageResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MessageResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/auth/otp/verify": {
            "post": {
                "operationId": "v1.auth.otp.verify",
                "description": "Activates the reader and signs them in (session for the CMS SPA, token pair for apps).",
                "summary": "Verify a registration code",
                "tags": [
                    "Auth"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/OtpVerifyRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`AuthResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AuthResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation failed: details.fields lists the messages per field. Codes: otp_invalid | otp_expired | otp_attempts_exceeded.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "validation_failed"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: account_suspended.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/auth/password/forgot": {
            "post": {
                "operationId": "v1.auth.password.forgot",
                "description": "E-mail: sends a reset link to the CMS front end. Phone: sends an SMS code.\nAlways 202, whether or not the account exists.",
                "summary": "Forgot password",
                "tags": [
                    "Auth"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ForgotPasswordRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "`MessageResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MessageResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/auth/password/reset": {
            "post": {
                "operationId": "v1.auth.password.reset",
                "description": "With `email` + `token` (from the link) or `phone` + `code`. Signs out every\nsession and token of the account.",
                "summary": "Reset password",
                "tags": [
                    "Auth"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ResetPasswordRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`MessageResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MessageResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation failed: details.fields lists the messages per field. Codes: invalid_reset_token | otp_invalid | otp_expired.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "validation_failed"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/auth/invitations/{token}": {
            "get": {
                "operationId": "v1.auth.invitations.show",
                "description": "Shows the role and masked contact for the invitation link. 404 unknown,\n410 expired / already used.",
                "summary": "Look up an invitation",
                "tags": [
                    "Auth"
                ],
                "parameters": [
                    {
                        "name": "token",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`InvitationResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/InvitationResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found, or module disabled (module_disabled). Codes: not_found.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "not_found"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "410": {
                        "description": "No longer available. Codes: invitation_expired | invitation_used.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "gone"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/auth/invitations/accept": {
            "post": {
                "operationId": "v1.auth.invitations.accept",
                "description": "Creates the staff account and signs in. If the role requires 2FA the\nresponse has `two_factor_enrollment_required: true` \u2014 enrol with\n`POST /me/2fa/enable` + `POST /me/2fa/confirm` before using the CMS.",
                "summary": "Accept an invitation",
                "tags": [
                    "Auth"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AcceptInvitationRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`AuthResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AuthResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "404": {
                        "description": "Resource not found, or module disabled (module_disabled). Codes: not_found.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "not_found"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Conflicts with the current state. Codes: contact_taken.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "conflict"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "410": {
                        "description": "No longer available. Codes: invitation_expired | invitation_used.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "gone"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/auth/otp/send": {
            "post": {
                "operationId": "v1.auth.otp.send",
                "description": "Purposes: `register` (resend the sign-up code), `login` (phone OTP login),\n`password_reset`. Always answers 202 so it cannot be used to discover accounts.\nLimited to 3 sends per target per 10 minutes.",
                "summary": "Send a one-time code",
                "tags": [
                    "Auth"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/OtpSendRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "`MessageResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MessageResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limited (Retry-After header). Codes: too_many_requests (3 per target per 10 minutes).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/auth/refresh": {
            "post": {
                "operationId": "v1.auth.refresh",
                "description": "Rotates the pair. Re-using an old refresh token revokes every token issued\nfrom that login (401).",
                "summary": "Refresh tokens",
                "tags": [
                    "Auth"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RefreshRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`AuthResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AuthResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: invalid_refresh_token.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/auth/logout": {
            "post": {
                "operationId": "v1.auth.logout",
                "description": "Ends the current session/token, or every session and token with `all=true`.",
                "summary": "Logout",
                "tags": [
                    "Auth"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/LogoutRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                }
            }
        },
        "/v1/cms/users/{user}/effective-permissions": {
            "get": {
                "operationId": "v1.cms.users.effective-permissions",
                "summary": "Effective permissions with their source (role:x | direct:allow | direct:deny | expired)",
                "tags": [
                    "CMS \u00b7 Access"
                ],
                "parameters": [
                    {
                        "name": "user",
                        "in": "path",
                        "required": true,
                        "description": "The user uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`EffectivePermissionsResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/EffectivePermissionsResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/users/{user}/roles": {
            "put": {
                "operationId": "v1.cms.users.roles",
                "summary": "Replace roles",
                "tags": [
                    "CMS \u00b7 Access"
                ],
                "parameters": [
                    {
                        "name": "user",
                        "in": "path",
                        "required": true,
                        "description": "The user uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SyncUserRolesRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`EffectivePermissionsResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/EffectivePermissionsResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/users/{user}/permissions": {
            "post": {
                "operationId": "v1.cms.users.permissions.grant",
                "description": "`allow` adds a permission on top of the roles (optionally until `expires_at`);\n`deny` removes it even if a role grants it. Deny always wins (except super-admin).",
                "summary": "Direct allow / deny",
                "tags": [
                    "CMS \u00b7 Access"
                ],
                "parameters": [
                    {
                        "name": "user",
                        "in": "path",
                        "required": true,
                        "description": "The user uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GrantPermissionRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`PermissionOverrideResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/PermissionOverrideResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/users/{user}/permissions/{permission}": {
            "delete": {
                "operationId": "v1.cms.users.permissions.revoke",
                "summary": "Remove a direct allow / deny",
                "tags": [
                    "CMS \u00b7 Access"
                ],
                "parameters": [
                    {
                        "name": "user",
                        "in": "path",
                        "required": true,
                        "description": "The user uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "permission",
                        "in": "path",
                        "required": true,
                        "description": "The permission name",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "reason",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 1000
                        },
                        "example": "Repeated policy violations"
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/users/{user}/scopes": {
            "put": {
                "operationId": "v1.cms.users.scopes",
                "summary": "Replace scopes (empty list = unrestricted)",
                "tags": [
                    "CMS \u00b7 Access"
                ],
                "parameters": [
                    {
                        "name": "user",
                        "in": "path",
                        "required": true,
                        "description": "The user uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetScopesRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`EffectivePermissionsResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/EffectivePermissionsResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/roles": {
            "get": {
                "operationId": "v1.cms.roles.index",
                "summary": "List roles (with permissions and user counts)",
                "tags": [
                    "CMS \u00b7 Access"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `RoleResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/RoleResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.roles.store",
                "description": "You can only include permissions you hold yourself.",
                "summary": "Create a role",
                "tags": [
                    "CMS \u00b7 Access"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StoreRoleRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`RoleResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RoleResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/roles/{role}": {
            "patch": {
                "operationId": "v1.cms.roles.update",
                "summary": "Update a role (system roles keep their name; you cannot edit a role you hold)",
                "tags": [
                    "CMS \u00b7 Access"
                ],
                "parameters": [
                    {
                        "name": "role",
                        "in": "path",
                        "required": true,
                        "description": "The role name",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateRoleRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`RoleResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/RoleResource"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "permissions"
                                                    ]
                                                }
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.roles.destroy",
                "description": "System roles cannot be deleted (422 `system_role_locked`).",
                "summary": "Delete a custom role",
                "tags": [
                    "CMS \u00b7 Access"
                ],
                "parameters": [
                    {
                        "name": "role",
                        "in": "path",
                        "required": true,
                        "description": "The role name",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/roles/{role}/permissions": {
            "put": {
                "operationId": "v1.cms.roles.permissions",
                "summary": "Replace a role's permissions",
                "tags": [
                    "CMS \u00b7 Access"
                ],
                "parameters": [
                    {
                        "name": "role",
                        "in": "path",
                        "required": true,
                        "description": "The role name",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SyncRolePermissionsRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`RoleResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/RoleResource"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "permissions"
                                                    ]
                                                }
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/desks": {
            "get": {
                "operationId": "v1.cms.desks.index",
                "summary": "List desks",
                "tags": [
                    "CMS \u00b7 Access"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `DeskResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "allOf": [
                                                    {
                                                        "$ref": "#/components/schemas/DeskResource"
                                                    },
                                                    {
                                                        "type": "object",
                                                        "required": [
                                                            "district",
                                                            "head"
                                                        ]
                                                    }
                                                ]
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.desks.store",
                "summary": "Create a desk",
                "tags": [
                    "CMS \u00b7 Access"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StoreDeskRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`DeskResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/DeskResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/desks/{desk}": {
            "patch": {
                "operationId": "v1.cms.desks.update",
                "summary": "Update a desk",
                "tags": [
                    "CMS \u00b7 Access"
                ],
                "parameters": [
                    {
                        "name": "desk",
                        "in": "path",
                        "required": true,
                        "description": "The desk uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateDeskRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`DeskResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeskResource"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "district",
                                                        "head"
                                                    ]
                                                }
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/desks/{desk}/members": {
            "put": {
                "operationId": "v1.cms.desks.members",
                "summary": "Replace desk members (membership grants desk scope)",
                "tags": [
                    "CMS \u00b7 Access"
                ],
                "parameters": [
                    {
                        "name": "desk",
                        "in": "path",
                        "required": true,
                        "description": "The desk uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SyncDeskMembersRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`DeskResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeskResource"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "district",
                                                        "head",
                                                        "members"
                                                    ]
                                                }
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/ads/zones": {
            "get": {
                "operationId": "v1.cms.ads.zones.index",
                "summary": "Ad zones (new design + old banner positions)",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `AdZoneResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/AdZoneResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/ads/clients": {
            "get": {
                "operationId": "v1.cms.ads.clients.index",
                "summary": "Clients",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "responses": {
                    "200": {
                        "description": "Paginated set of `AdClientResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/AdClientResource"
                                            }
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "first": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "last": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "prev": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "next": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "first",
                                                "last",
                                                "prev",
                                                "next"
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "current_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "from": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "minimum": 1
                                                },
                                                "last_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "links": {
                                                    "type": "array",
                                                    "description": "Generated paginator links.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "url": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            },
                                                            "label": {
                                                                "type": "string"
                                                            },
                                                            "active": {
                                                                "type": "boolean"
                                                            }
                                                        },
                                                        "required": [
                                                            "url",
                                                            "label",
                                                            "active"
                                                        ]
                                                    }
                                                },
                                                "path": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "description": "Base path for paginator generated URLs."
                                                },
                                                "per_page": {
                                                    "type": "integer",
                                                    "description": "Number of items shown per page.",
                                                    "minimum": 0
                                                },
                                                "to": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "description": "Number of the last item in the slice.",
                                                    "minimum": 1
                                                },
                                                "total": {
                                                    "type": "integer",
                                                    "description": "Total number of items being paginated.",
                                                    "minimum": 0
                                                },
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "current_page",
                                                "from",
                                                "last_page",
                                                "links",
                                                "path",
                                                "per_page",
                                                "to",
                                                "total",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "links",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.ads.clients.store",
                "summary": "Add a client",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveAdClientRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`AdClientResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AdClientResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/ads/campaigns": {
            "get": {
                "operationId": "v1.cms.ads.campaigns.index",
                "summary": "Campaigns (filter by status)",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "parameters": [
                    {
                        "name": "status",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Paginated set of `AdCampaignResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/AdCampaignResource"
                                            }
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "first": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "last": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "prev": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "next": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "first",
                                                "last",
                                                "prev",
                                                "next"
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "current_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "from": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "minimum": 1
                                                },
                                                "last_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "links": {
                                                    "type": "array",
                                                    "description": "Generated paginator links.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "url": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            },
                                                            "label": {
                                                                "type": "string"
                                                            },
                                                            "active": {
                                                                "type": "boolean"
                                                            }
                                                        },
                                                        "required": [
                                                            "url",
                                                            "label",
                                                            "active"
                                                        ]
                                                    }
                                                },
                                                "path": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "description": "Base path for paginator generated URLs."
                                                },
                                                "per_page": {
                                                    "type": "integer",
                                                    "description": "Number of items shown per page.",
                                                    "minimum": 0
                                                },
                                                "to": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "description": "Number of the last item in the slice.",
                                                    "minimum": 1
                                                },
                                                "total": {
                                                    "type": "integer",
                                                    "description": "Total number of items being paginated.",
                                                    "minimum": 0
                                                },
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "current_page",
                                                "from",
                                                "last_page",
                                                "links",
                                                "path",
                                                "per_page",
                                                "to",
                                                "total",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "links",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.ads.campaigns.store",
                "summary": "Create a campaign (draft)",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveAdCampaignRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`AdCampaignResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AdCampaignResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/ads/election-silence": {
            "get": {
                "operationId": "v1.cms.ads.election-silence.show",
                "summary": "Election silence status",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "enabled": {
                                                    "type": "boolean"
                                                }
                                            },
                                            "required": [
                                                "enabled"
                                            ]
                                        },
                                        "meta": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "v1.cms.ads.election-silence.update",
                "summary": "Switch election silence (political ads stop at once)",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ElectionSilenceRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "enabled": {
                                                    "type": "boolean"
                                                }
                                            },
                                            "required": [
                                                "enabled"
                                            ]
                                        },
                                        "meta": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/ads/zones/{zone}": {
            "patch": {
                "operationId": "v1.cms.ads.zones.update",
                "summary": "Update a zone",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "parameters": [
                    {
                        "name": "zone",
                        "in": "path",
                        "required": true,
                        "description": "The zone uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateAdZoneRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`AdZoneResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AdZoneResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/ads/clients/{client}": {
            "patch": {
                "operationId": "v1.cms.ads.clients.update",
                "summary": "Update a client",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "parameters": [
                    {
                        "name": "client",
                        "in": "path",
                        "required": true,
                        "description": "The client uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveAdClientRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`AdClientResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AdClientResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/ads/campaigns/{campaign}": {
            "patch": {
                "operationId": "v1.cms.ads.campaigns.update",
                "summary": "Update a campaign (an approved one goes back to pending)",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "parameters": [
                    {
                        "name": "campaign",
                        "in": "path",
                        "required": true,
                        "description": "The campaign uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveAdCampaignRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`AdCampaignResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AdCampaignResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/ads/campaigns/{campaign}/submit": {
            "post": {
                "operationId": "v1.cms.ads.campaigns.submit",
                "description": "submit (ads.campaigns.manage); approve / reject (reason) / pause / resume (ads.approve).",
                "summary": "Campaign decision",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "parameters": [
                    {
                        "name": "campaign",
                        "in": "path",
                        "required": true,
                        "description": "The campaign uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AdDecisionRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`AdCampaignResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AdCampaignResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/ads/campaigns/{campaign}/creatives": {
            "post": {
                "operationId": "v1.cms.ads.creatives.store",
                "summary": "Add a creative (multipart)",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "parameters": [
                    {
                        "name": "campaign",
                        "in": "path",
                        "required": true,
                        "description": "The campaign uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveAdCreativeRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`AdCreativeResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AdCreativeResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/ads/campaigns/{campaign}/creatives/{creative}": {
            "post": {
                "operationId": "v1.cms.ads.creatives.update",
                "summary": "Update a creative",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "parameters": [
                    {
                        "name": "campaign",
                        "in": "path",
                        "required": true,
                        "description": "The campaign uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "creative",
                        "in": "path",
                        "required": true,
                        "description": "The creative uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveAdCreativeRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`AdCreativeResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AdCreativeResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.ads.creatives.destroy",
                "summary": "Remove a creative",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "parameters": [
                    {
                        "name": "campaign",
                        "in": "path",
                        "required": true,
                        "description": "The campaign uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "creative",
                        "in": "path",
                        "required": true,
                        "description": "The creative uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "reason",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 1000
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/ads/campaigns/{campaign}/{decision}": {
            "post": {
                "operationId": "v1.cms.ads.campaigns.decide",
                "description": "submit (ads.campaigns.manage); approve / reject (reason) / pause / resume (ads.approve).",
                "summary": "Campaign decision",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "parameters": [
                    {
                        "name": "campaign",
                        "in": "path",
                        "required": true,
                        "description": "The campaign uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "decision",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AdDecisionRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`AdCampaignResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AdCampaignResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/ads/campaigns/{campaign}/report": {
            "get": {
                "operationId": "v1.cms.ads.campaigns.report",
                "summary": "Campaign report (impressions, clicks, CTR, spend per day)",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "parameters": [
                    {
                        "name": "campaign",
                        "in": "path",
                        "required": true,
                        "description": "The campaign uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date-time"
                        }
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date-time"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`AdReportResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AdReportResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/ads/campaigns/{campaign}/report.pdf": {
            "get": {
                "operationId": "v1.cms.ads.campaigns.report-pdf",
                "summary": "Campaign report as PDF",
                "tags": [
                    "CMS \u00b7 Ads"
                ],
                "parameters": [
                    {
                        "name": "campaign",
                        "in": "path",
                        "required": true,
                        "description": "The campaign uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date-time"
                        }
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date-time"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/pdf": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "headers": {
                            "Content-Disposition": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/analytics/exports/{export}/download": {
            "get": {
                "operationId": "v1.analytics-exports.download",
                "summary": "Download an export (signed URL)",
                "tags": [
                    "CMS \u00b7 Analytics"
                ],
                "parameters": [
                    {
                        "name": "export",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/octet-stream": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary"
                                }
                            }
                        },
                        "headers": {
                            "Transfer-Encoding": {
                                "required": true,
                                "schema": {
                                    "type": "string",
                                    "enum": [
                                        "chunked"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/cms/analytics/overview": {
            "get": {
                "operationId": "v1.cms.analytics.overview",
                "description": "Active readers (last 5 minutes), views per minute, top stories now, traffic\nsources, devices, surfaces and reader districts for the last 30 minutes, plus\ntoday / yesterday totals.",
                "summary": "Real-time overview",
                "tags": [
                    "CMS \u00b7 Analytics"
                ],
                "responses": {
                    "200": {
                        "description": "`AnalyticsReportResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AnalyticsReportResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/analytics/dashboard": {
            "get": {
                "operationId": "v1.cms.analytics.dashboard",
                "description": "Role-based: each person sees their own scorecards and story stats; desk heads\ntheir desk; admins everything (plus site totals).",
                "summary": "My dashboard",
                "tags": [
                    "CMS \u00b7 Analytics"
                ],
                "parameters": [
                    {
                        "name": "period",
                        "in": "query",
                        "description": "today, yesterday, 7d, 30d, 90d, month, bs_month, fiscal_year, custom @example 30d",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "today",
                                "yesterday",
                                "7d",
                                "30d",
                                "90d",
                                "month",
                                "bs_month",
                                "fiscal_year",
                                "custom"
                            ]
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-11-01"
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-11-30"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`AnalyticsReportResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AnalyticsReportResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/analytics/stories/{story}": {
            "get": {
                "operationId": "v1.cms.analytics.stories.show",
                "description": "Views, unique readers, engaged time, completion %, shares by network, push opens,\nad revenue (RPM), hourly / daily series, traffic sources, devices, surfaces,\nreader districts and Facebook engagement. Own stories / desk / all by permission.",
                "summary": "Story stats",
                "tags": [
                    "CMS \u00b7 Analytics"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "period",
                        "in": "query",
                        "description": "today, yesterday, 7d, 30d, 90d, month, bs_month, fiscal_year, custom @example 30d",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "today",
                                "yesterday",
                                "7d",
                                "30d",
                                "90d",
                                "month",
                                "bs_month",
                                "fiscal_year",
                                "custom"
                            ]
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-11-01"
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-11-30"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`AnalyticsReportResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "examples": [
                                        {
                                            "data": {
                                                "story": {
                                                    "uid": "01jdz3k6q8m4r2t7v9w1x3y5za",
                                                    "headline": {
                                                        "ne": "\u0915\u0948\u0932\u093e\u0932\u0940\u092e\u093e \u0938\u0921\u0915 \u0928\u093f\u0930\u094d\u092e\u093e\u0923 \u0938\u0941\u0930\u0941"
                                                    },
                                                    "published_at": "2026-11-30T12:00:00+05:45"
                                                },
                                                "period": {
                                                    "preset": "today",
                                                    "from": "2026-11-30",
                                                    "to": "2026-11-30",
                                                    "from_bs": null,
                                                    "to_bs": null
                                                },
                                                "totals": {
                                                    "views": 2,
                                                    "uniques": 2,
                                                    "engaged_seconds": 60,
                                                    "engaged_readers": 2,
                                                    "completions": 1,
                                                    "shares": 3,
                                                    "shares_by_network": {
                                                        "whatsapp": 2,
                                                        "facebook": 1
                                                    },
                                                    "ad_impressions": 2,
                                                    "ad_clicks": 0,
                                                    "ad_revenue": 1,
                                                    "avg_engaged_seconds": 30,
                                                    "completion_pct": 50,
                                                    "rpm": 500,
                                                    "ctr_pct": 0
                                                },
                                                "series": [],
                                                "sources": {
                                                    "facebook": 1,
                                                    "direct": 1
                                                },
                                                "devices": {
                                                    "mobile": 2
                                                },
                                                "surfaces": {
                                                    "web": 2
                                                },
                                                "reader_districts": [],
                                                "platform_counts": []
                                            },
                                            "meta": {
                                                "request_id": "01jdz3k6q8m4r2t7v9w1x3y5za"
                                            },
                                            "links": []
                                        }
                                    ],
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AnalyticsReportResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/analytics/categories/{category}": {
            "get": {
                "operationId": "v1.cms.analytics.categories.show",
                "summary": "Category stats (share of traffic, growth, best / worst stories)",
                "tags": [
                    "CMS \u00b7 Analytics"
                ],
                "parameters": [
                    {
                        "name": "category",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "period",
                        "in": "query",
                        "description": "today, yesterday, 7d, 30d, 90d, month, bs_month, fiscal_year, custom @example 30d",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "today",
                                "yesterday",
                                "7d",
                                "30d",
                                "90d",
                                "month",
                                "bs_month",
                                "fiscal_year",
                                "custom"
                            ]
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-11-01"
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-11-30"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`AnalyticsReportResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AnalyticsReportResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/analytics/locations/{type}/{slug}": {
            "get": {
                "operationId": "v1.cms.analytics.locations.show",
                "summary": "Province / district / local level stats",
                "tags": [
                    "CMS \u00b7 Analytics"
                ],
                "parameters": [
                    {
                        "name": "type",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "period",
                        "in": "query",
                        "description": "today, yesterday, 7d, 30d, 90d, month, bs_month, fiscal_year, custom @example 30d",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "today",
                                "yesterday",
                                "7d",
                                "30d",
                                "90d",
                                "month",
                                "bs_month",
                                "fiscal_year",
                                "custom"
                            ]
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-11-01"
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-11-30"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`AnalyticsReportResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AnalyticsReportResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/analytics/leaderboards": {
            "get": {
                "operationId": "v1.cms.analytics.leaderboards",
                "description": "Most read, most shared, longest read, highest completion, trending (growth vs\nprevious period) by story, author, editor, category, location and more.\nReporters and desk heads only see story / author / editor boards in their scope.",
                "summary": "Leaderboards",
                "tags": [
                    "CMS \u00b7 Analytics"
                ],
                "parameters": [
                    {
                        "name": "period",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "today",
                                "yesterday",
                                "7d",
                                "30d",
                                "90d",
                                "month",
                                "bs_month",
                                "fiscal_year",
                                "custom"
                            ]
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    },
                    {
                        "name": "metric",
                        "in": "query",
                        "description": "views, uniques, shares, engaged, completion, comments, push_opens, ad_revenue, growth @example views",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "views",
                                "uniques",
                                "shares",
                                "engaged",
                                "completion",
                                "comments",
                                "push_opens",
                                "ad_revenue",
                                "growth"
                            ]
                        }
                    },
                    {
                        "name": "dimension",
                        "in": "query",
                        "description": "story, author, editor, category, tag, topic, province, district, local_level, desk, content_type, surface, referrer, device, reader_district @example story",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "story",
                                "author",
                                "editor",
                                "category",
                                "tag",
                                "topic",
                                "province",
                                "district",
                                "local_level",
                                "desk",
                                "content_type",
                                "surface",
                                "referrer",
                                "device",
                                "reader_district"
                            ]
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`AnalyticsReportResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "examples": [
                                        {
                                            "data": {
                                                "dimension": "story",
                                                "metric": "views",
                                                "scope": "own",
                                                "period": {
                                                    "preset": "today",
                                                    "from": "2026-11-30",
                                                    "to": "2026-11-30",
                                                    "from_bs": null,
                                                    "to_bs": null
                                                },
                                                "rows": [
                                                    {
                                                        "rank": 1,
                                                        "uid": "01jdz3k6q8m4r2t7v9w1x3y5za",
                                                        "headline": {
                                                            "ne": "\u0915\u0948\u0932\u093e\u0932\u0940\u092e\u093e \u0938\u0921\u0915 \u0928\u093f\u0930\u094d\u092e\u093e\u0923 \u0938\u0941\u0930\u0941"
                                                        },
                                                        "url": "/news/kailali-road",
                                                        "value": 2
                                                    }
                                                ]
                                            },
                                            "meta": {
                                                "request_id": "01jdz3k6q8m4r2t7v9w1x3y5za"
                                            },
                                            "links": []
                                        }
                                    ],
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AnalyticsReportResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/analytics/compare": {
            "get": {
                "operationId": "v1.cms.analytics.compare",
                "summary": "Compare two periods",
                "tags": [
                    "CMS \u00b7 Analytics"
                ],
                "parameters": [
                    {
                        "name": "dimension",
                        "in": "query",
                        "required": true,
                        "description": "site, story, category, author, editor, province, district, local_level @example site",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "site",
                                "story",
                                "category",
                                "author",
                                "editor",
                                "province",
                                "district",
                                "local_level"
                            ]
                        }
                    },
                    {
                        "name": "key",
                        "in": "query",
                        "description": "uid, slug or username of the subject (not for site). @example kailali",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 120
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-11-01"
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    },
                    {
                        "name": "compare_from",
                        "in": "query",
                        "description": "Defaults to the period just before. @example 2026-10-01",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    },
                    {
                        "name": "compare_to",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`AnalyticsReportResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AnalyticsReportResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/analytics/exports": {
            "post": {
                "operationId": "v1.cms.analytics.exports.store",
                "description": "Built in the background with the requester's own / desk / all scope; poll\n`GET exports/{uid}` for the signed download link.",
                "summary": "Queue an export (CSV / XLSX / PDF)",
                "tags": [
                    "CMS \u00b7 Analytics"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ExportRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "`AnalyticsExportResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "examples": [
                                        {
                                            "data": {
                                                "uid": "01jdz3k6q8m4r2t7v9w1x3y5za",
                                                "report": "leaderboard",
                                                "format": "csv",
                                                "params": {
                                                    "period": "7d"
                                                },
                                                "status": "queued",
                                                "rows": null,
                                                "error": null,
                                                "download": null,
                                                "created_at": {
                                                    "iso": "2026-11-30T12:00:00+05:45",
                                                    "bs": null
                                                },
                                                "finished_at": null
                                            },
                                            "meta": {
                                                "request_id": "01jdz3k6q8m4r2t7v9w1x3y5za"
                                            },
                                            "links": []
                                        }
                                    ],
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AnalyticsExportResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/analytics/exports/{export}": {
            "get": {
                "operationId": "v1.cms.analytics.exports.show",
                "summary": "Export status and download link",
                "tags": [
                    "CMS \u00b7 Analytics"
                ],
                "parameters": [
                    {
                        "name": "export",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`AnalyticsExportResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AnalyticsExportResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/analytics/alerts": {
            "get": {
                "operationId": "v1.cms.analytics.alerts.index",
                "summary": "Alerts (viral, accuracy, coverage, SLA, traffic, fake)",
                "tags": [
                    "CMS \u00b7 Analytics"
                ],
                "parameters": [
                    {
                        "name": "acknowledged",
                        "in": "query",
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "rule",
                        "in": "query",
                        "description": "viral_story, accuracy_drop, district_silent, sla_breach, traffic_drop, fake_confirmed",
                        "schema": {
                            "type": "string",
                            "maxLength": 60
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Paginated set of `AnalyticsAlertResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/AnalyticsAlertResource"
                                            }
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "first": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "last": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "prev": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "next": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "first",
                                                "last",
                                                "prev",
                                                "next"
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "current_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "from": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "minimum": 1
                                                },
                                                "last_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "links": {
                                                    "type": "array",
                                                    "description": "Generated paginator links.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "url": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            },
                                                            "label": {
                                                                "type": "string"
                                                            },
                                                            "active": {
                                                                "type": "boolean"
                                                            }
                                                        },
                                                        "required": [
                                                            "url",
                                                            "label",
                                                            "active"
                                                        ]
                                                    }
                                                },
                                                "path": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "description": "Base path for paginator generated URLs."
                                                },
                                                "per_page": {
                                                    "type": "integer",
                                                    "description": "Number of items shown per page.",
                                                    "minimum": 0
                                                },
                                                "to": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "description": "Number of the last item in the slice.",
                                                    "minimum": 1
                                                },
                                                "total": {
                                                    "type": "integer",
                                                    "description": "Total number of items being paginated.",
                                                    "minimum": 0
                                                },
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "current_page",
                                                "from",
                                                "last_page",
                                                "links",
                                                "path",
                                                "per_page",
                                                "to",
                                                "total",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "links",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/analytics/alerts/{alert}/acknowledge": {
            "post": {
                "operationId": "v1.cms.analytics.alerts.acknowledge",
                "summary": "Acknowledge an alert",
                "tags": [
                    "CMS \u00b7 Analytics"
                ],
                "parameters": [
                    {
                        "name": "alert",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`AnalyticsAlertResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AnalyticsAlertResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/analytics/alert-rules": {
            "get": {
                "operationId": "v1.cms.analytics.alert-rules.index",
                "summary": "Alert rules",
                "tags": [
                    "CMS \u00b7 Analytics"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `AlertRuleResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/AlertRuleResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/analytics/alert-rules/{key}": {
            "put": {
                "operationId": "v1.cms.analytics.alert-rules.update",
                "summary": "Update an alert rule",
                "tags": [
                    "CMS \u00b7 Analytics"
                ],
                "parameters": [
                    {
                        "name": "key",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateAlertRuleRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`AlertRuleResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AlertRuleResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/epaper/editions": {
            "post": {
                "operationId": "v1.cms.epaper.editions.store",
                "description": "Virus-scanned, stored privately; pages are rasterised on the media queue (status processing \u2192 ready).",
                "summary": "Upload an edition PDF",
                "tags": [
                    "CMS \u00b7 E-paper"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/UploadEditionRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`EpaperEditionResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/EpaperEditionResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/epaper/editions/{edition}": {
            "get": {
                "operationId": "v1.cms.epaper.editions.show",
                "summary": "Show an edition (any status) with pages and regions",
                "tags": [
                    "CMS \u00b7 E-paper"
                ],
                "parameters": [
                    {
                        "name": "edition",
                        "in": "path",
                        "required": true,
                        "description": "The edition uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`EpaperEditionResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/EpaperEditionResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "v1.cms.epaper.editions.update",
                "summary": "Update title, download rule, publish",
                "tags": [
                    "CMS \u00b7 E-paper"
                ],
                "parameters": [
                    {
                        "name": "edition",
                        "in": "path",
                        "required": true,
                        "description": "The edition uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateEditionRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`EpaperEditionResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/EpaperEditionResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.epaper.editions.destroy",
                "summary": "Delete an edition",
                "tags": [
                    "CMS \u00b7 E-paper"
                ],
                "parameters": [
                    {
                        "name": "edition",
                        "in": "path",
                        "required": true,
                        "description": "The edition uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "reason",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 1000
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/epaper/editions/{edition}/pages/{page}/regions": {
            "put": {
                "operationId": "v1.cms.epaper.regions",
                "summary": "Replace a page's clickable regions",
                "tags": [
                    "CMS \u00b7 E-paper"
                ],
                "parameters": [
                    {
                        "name": "edition",
                        "in": "path",
                        "required": true,
                        "description": "The edition uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "page",
                        "in": "path",
                        "required": true,
                        "description": "The page uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReplaceRegionsRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "page": {
                                                    "type": "integer"
                                                },
                                                "regions": {
                                                    "type": "integer",
                                                    "minimum": 0
                                                }
                                            },
                                            "required": [
                                                "page",
                                                "regions"
                                            ]
                                        },
                                        "meta": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/media/init-upload": {
            "post": {
                "operationId": "v1.cms.media.init",
                "tags": [
                    "CMS \u00b7 Media"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/InitUploadRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`MediaUploadResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MediaUploadResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/media/embeds": {
            "post": {
                "operationId": "v1.cms.media.embed",
                "tags": [
                    "CMS \u00b7 Media"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EmbedMediaRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`MediaAssetResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MediaAssetResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/media/uploads/{upload}": {
            "get": {
                "operationId": "v1.cms.media.uploads.show",
                "tags": [
                    "CMS \u00b7 Media"
                ],
                "parameters": [
                    {
                        "name": "upload",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`MediaUploadResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MediaUploadResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/media/uploads/{upload}/chunk": {
            "post": {
                "operationId": "v1.cms.media.uploads.chunk",
                "tags": [
                    "CMS \u00b7 Media"
                ],
                "parameters": [
                    {
                        "name": "upload",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/ChunkUploadRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`MediaUploadResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MediaUploadResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/media/uploads/{upload}/complete": {
            "post": {
                "operationId": "v1.cms.media.uploads.complete",
                "tags": [
                    "CMS \u00b7 Media"
                ],
                "parameters": [
                    {
                        "name": "upload",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "202": {
                        "description": "`MediaUploadResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MediaUploadResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/media/folders": {
            "get": {
                "operationId": "v1.cms.media.folders.index",
                "tags": [
                    "CMS \u00b7 Media"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `MediaFolderResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/MediaFolderResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.media.folders.store",
                "tags": [
                    "CMS \u00b7 Media"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveMediaFolderRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`MediaFolderResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MediaFolderResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/media/folders/{folder}": {
            "patch": {
                "operationId": "v1.cms.media.folders.update",
                "tags": [
                    "CMS \u00b7 Media"
                ],
                "parameters": [
                    {
                        "name": "folder",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveMediaFolderRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`MediaFolderResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MediaFolderResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/media": {
            "get": {
                "operationId": "v1.cms.media.index",
                "tags": [
                    "CMS \u00b7 Media"
                ],
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "filter[type]",
                        "in": "query",
                        "schema": {
                            "$ref": "#/components/schemas/MediaType"
                        }
                    },
                    {
                        "name": "filter[status]",
                        "in": "query",
                        "schema": {
                            "$ref": "#/components/schemas/MediaStatus"
                        }
                    },
                    {
                        "name": "filter[folder]",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter[uploader]",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter[tag]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "filter[from]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    },
                    {
                        "name": "filter[to]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "pattern": "^-?(?:created_at|type|status|uid)(?:,-?(?:created_at|type|status|uid))*$"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `MediaAssetResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/MediaAssetResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/media/{asset}": {
            "get": {
                "operationId": "v1.cms.media.show",
                "tags": [
                    "CMS \u00b7 Media"
                ],
                "parameters": [
                    {
                        "name": "asset",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`MediaAssetResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MediaAssetResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "v1.cms.media.update",
                "tags": [
                    "CMS \u00b7 Media"
                ],
                "parameters": [
                    {
                        "name": "asset",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateMediaRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`MediaAssetResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MediaAssetResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/media/{asset}/crop": {
            "post": {
                "operationId": "v1.cms.media.crop",
                "tags": [
                    "CMS \u00b7 Media"
                ],
                "parameters": [
                    {
                        "name": "asset",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CropMediaRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`MediaAssetResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MediaAssetResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/media/{asset}/replace": {
            "post": {
                "operationId": "v1.cms.media.replace",
                "tags": [
                    "CMS \u00b7 Media"
                ],
                "parameters": [
                    {
                        "name": "asset",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/InitUploadRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`MediaUploadResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MediaUploadResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/media/{asset}/download-original": {
            "post": {
                "operationId": "v1.cms.media.download",
                "tags": [
                    "CMS \u00b7 Media"
                ],
                "parameters": [
                    {
                        "name": "asset",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`SignedLinkResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/SignedLinkResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/media/{asset}/original": {
            "get": {
                "operationId": "v1.cms.media.original",
                "tags": [
                    "CMS \u00b7 Media"
                ],
                "parameters": [
                    {
                        "name": "asset",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/octet-stream": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary"
                                }
                            }
                        },
                        "headers": {
                            "Transfer-Encoding": {
                                "required": true,
                                "schema": {
                                    "type": "string",
                                    "enum": [
                                        "chunked"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/radio/stations": {
            "post": {
                "operationId": "v1.cms.radio.stations.store",
                "summary": "Create a station",
                "tags": [
                    "CMS \u00b7 Radio"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveStationRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`RadioStationResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RadioStationResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/radio/stations/{station}": {
            "patch": {
                "operationId": "v1.cms.radio.stations.update",
                "summary": "Update a station (stream URL, frequency, logo)",
                "tags": [
                    "CMS \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "station",
                        "in": "path",
                        "required": true,
                        "description": "The station uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveStationRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`RadioStationResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RadioStationResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/radio/stations/{station}/presenters": {
            "post": {
                "operationId": "v1.cms.radio.presenters.store",
                "summary": "Add a presenter",
                "tags": [
                    "CMS \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "station",
                        "in": "path",
                        "required": true,
                        "description": "The station uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SavePresenterRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`RadioPresenterResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RadioPresenterResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/radio/stations/{station}/presenters/{presenter}": {
            "patch": {
                "operationId": "v1.cms.radio.presenters.update",
                "summary": "Update a presenter",
                "tags": [
                    "CMS \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "station",
                        "in": "path",
                        "required": true,
                        "description": "The station uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "presenter",
                        "in": "path",
                        "required": true,
                        "description": "The presenter uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SavePresenterRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`RadioPresenterResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RadioPresenterResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/radio/stations/{station}/programmes": {
            "post": {
                "operationId": "v1.cms.radio.programmes.store",
                "summary": "Create a programme",
                "tags": [
                    "CMS \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "station",
                        "in": "path",
                        "required": true,
                        "description": "The station uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveProgrammeRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`RadioProgrammeResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RadioProgrammeResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/radio/stations/{station}/programmes/{programme}": {
            "patch": {
                "operationId": "v1.cms.radio.programmes.update",
                "summary": "Update a programme",
                "tags": [
                    "CMS \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "station",
                        "in": "path",
                        "required": true,
                        "description": "The station uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "programme",
                        "in": "path",
                        "required": true,
                        "description": "The programme uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveProgrammeRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`RadioProgrammeResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RadioProgrammeResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/radio/stations/{station}/schedule": {
            "put": {
                "operationId": "v1.cms.radio.schedule",
                "description": "Overlapping slots on one day are refused (422 radio_slot_overlap).",
                "summary": "Replace the weekly schedule",
                "tags": [
                    "CMS \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "station",
                        "in": "path",
                        "required": true,
                        "description": "The station uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReplaceScheduleRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "slots": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "uid": {
                                                                "type": "string"
                                                            },
                                                            "programme": {
                                                                "type": "string"
                                                            },
                                                            "day_of_week": {
                                                                "type": "integer"
                                                            },
                                                            "starts_at": {
                                                                "type": "string"
                                                            },
                                                            "ends_at": {
                                                                "type": "string"
                                                            }
                                                        },
                                                        "required": [
                                                            "uid",
                                                            "programme",
                                                            "day_of_week",
                                                            "starts_at",
                                                            "ends_at"
                                                        ]
                                                    }
                                                }
                                            },
                                            "required": [
                                                "slots"
                                            ]
                                        },
                                        "meta": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/radio/programmes/{programme}/episodes": {
            "post": {
                "operationId": "v1.cms.radio.episodes.store",
                "summary": "Add an episode",
                "tags": [
                    "CMS \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "programme",
                        "in": "path",
                        "required": true,
                        "description": "The programme uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveEpisodeRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`RadioEpisodeResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RadioEpisodeResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/radio/programmes/{programme}/episodes/{episode}": {
            "patch": {
                "operationId": "v1.cms.radio.episodes.update",
                "summary": "Update / publish an episode",
                "tags": [
                    "CMS \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "programme",
                        "in": "path",
                        "required": true,
                        "description": "The programme uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "episode",
                        "in": "path",
                        "required": true,
                        "description": "The episode uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveEpisodeRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`RadioEpisodeResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RadioEpisodeResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.radio.episodes.destroy",
                "summary": "Delete an episode",
                "tags": [
                    "CMS \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "programme",
                        "in": "path",
                        "required": true,
                        "description": "The programme uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "episode",
                        "in": "path",
                        "required": true,
                        "description": "The episode uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "reason",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 1000
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/radio/stations/{station}/requests": {
            "get": {
                "operationId": "v1.cms.radio.requests.index",
                "summary": "Listener requests (newest first)",
                "tags": [
                    "CMS \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "station",
                        "in": "path",
                        "required": true,
                        "description": "The station uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "status",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "new",
                                "read",
                                "played",
                                "rejected"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Paginated set of `RadioRequestResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/RadioRequestResource"
                                            }
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "first": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "last": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "prev": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "next": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "first",
                                                "last",
                                                "prev",
                                                "next"
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "current_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "from": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "minimum": 1
                                                },
                                                "last_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "links": {
                                                    "type": "array",
                                                    "description": "Generated paginator links.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "url": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            },
                                                            "label": {
                                                                "type": "string"
                                                            },
                                                            "active": {
                                                                "type": "boolean"
                                                            }
                                                        },
                                                        "required": [
                                                            "url",
                                                            "label",
                                                            "active"
                                                        ]
                                                    }
                                                },
                                                "path": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "description": "Base path for paginator generated URLs."
                                                },
                                                "per_page": {
                                                    "type": "integer",
                                                    "description": "Number of items shown per page.",
                                                    "minimum": 0
                                                },
                                                "to": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "description": "Number of the last item in the slice.",
                                                    "minimum": 1
                                                },
                                                "total": {
                                                    "type": "integer",
                                                    "description": "Total number of items being paginated.",
                                                    "minimum": 0
                                                },
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "current_page",
                                                "from",
                                                "last_page",
                                                "links",
                                                "path",
                                                "per_page",
                                                "to",
                                                "total",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "links",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/radio/stations/{station}/requests/{item}": {
            "patch": {
                "operationId": "v1.cms.radio.requests.update",
                "summary": "Mark a request read / played / rejected",
                "tags": [
                    "CMS \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "station",
                        "in": "path",
                        "required": true,
                        "description": "The station uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "item",
                        "in": "path",
                        "required": true,
                        "description": "The item uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RadioRequestStatusRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`RadioRequestResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RadioRequestResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/radio/stations/{station}/live": {
            "patch": {
                "operationId": "v1.cms.radio.live",
                "summary": "Go live / off air (permission radio.live.control)",
                "tags": [
                    "CMS \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "station",
                        "in": "path",
                        "required": true,
                        "description": "The station uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetLiveRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`RadioStationResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RadioStationResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/scorecards/me": {
            "get": {
                "operationId": "v1.cms.scorecards.me",
                "summary": "My scorecards (every role I hold)",
                "tags": [
                    "CMS \u00b7 Scorecards"
                ],
                "parameters": [
                    {
                        "name": "role",
                        "in": "query",
                        "description": "reporter, stringer, contributor, editor, admin, desk_head, fact_checker, photo_video_editor, radio, epaper, ads, seo_social, moderator",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "admin",
                                "desk_head",
                                "editor",
                                "reporter",
                                "stringer",
                                "contributor",
                                "fact_checker",
                                "photo_video_editor",
                                "radio",
                                "epaper",
                                "ads",
                                "seo_social",
                                "moderator"
                            ]
                        }
                    },
                    {
                        "name": "period",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "today",
                                "yesterday",
                                "7d",
                                "30d",
                                "90d",
                                "month",
                                "bs_month",
                                "fiscal_year",
                                "custom"
                            ]
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`AnalyticsReportResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "examples": [
                                        {
                                            "data": {
                                                "user": {
                                                    "uid": "01jdz3k6q8m4r2t7v9w1x3y5za",
                                                    "username": "reporter",
                                                    "name": {
                                                        "ne": "\u0938\u092e\u093e\u091a\u093e\u0930\u0926\u093e\u0924\u093e"
                                                    }
                                                },
                                                "period": {
                                                    "preset": "today",
                                                    "from": "2026-11-30",
                                                    "to": "2026-11-30",
                                                    "from_bs": null,
                                                    "to_bs": null
                                                },
                                                "scope": "own",
                                                "scorecards": {
                                                    "reporter": {
                                                        "role": "reporter",
                                                        "metrics": {
                                                            "submitted": 4,
                                                            "published": 2,
                                                            "rejected": 1,
                                                            "pending": 1,
                                                            "acceptance_rate": 50,
                                                            "accuracy_rate": 50,
                                                            "fake_count": 1,
                                                            "edit_intensity_pct": 0
                                                        },
                                                        "credibility": {
                                                            "score": 50,
                                                            "parts": {
                                                                "accuracy": 50,
                                                                "relevance": 50,
                                                                "acceptance": 50,
                                                                "edit_intensity": 100,
                                                                "timeliness": 100,
                                                                "impact": 100
                                                            },
                                                            "weights": {
                                                                "accuracy": 35,
                                                                "relevance": 20,
                                                                "acceptance": 15,
                                                                "edit_intensity": 10,
                                                                "timeliness": 10,
                                                                "impact": 10
                                                            },
                                                            "capped": true,
                                                            "capped_until": "2027-02-28T12:00:00+05:45"
                                                        }
                                                    }
                                                }
                                            },
                                            "meta": {
                                                "request_id": "01jdz3k6q8m4r2t7v9w1x3y5za"
                                            },
                                            "links": []
                                        }
                                    ],
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AnalyticsReportResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/scorecards": {
            "get": {
                "operationId": "v1.cms.scorecards.ranking",
                "summary": "Leaderboard: top reporters by credibility, impact or district (desk / all)",
                "tags": [
                    "CMS \u00b7 Scorecards"
                ],
                "parameters": [
                    {
                        "name": "role",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "admin",
                                "desk_head",
                                "editor",
                                "reporter",
                                "stringer",
                                "contributor",
                                "fact_checker",
                                "photo_video_editor",
                                "radio",
                                "epaper",
                                "ads",
                                "seo_social",
                                "moderator"
                            ]
                        },
                        "example": "reporter"
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "description": "credibility, impact, published, accuracy_rate @example credibility",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "credibility",
                                "impact",
                                "published",
                                "accuracy_rate"
                            ]
                        }
                    },
                    {
                        "name": "district",
                        "in": "query",
                        "description": "District slug: reporters who published there. @example kailali",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "period",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "today",
                                "yesterday",
                                "7d",
                                "30d",
                                "90d",
                                "month",
                                "bs_month",
                                "fiscal_year",
                                "custom"
                            ]
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`AnalyticsReportResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AnalyticsReportResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/scorecards/users/{user}": {
            "get": {
                "operationId": "v1.cms.scorecards.users.show",
                "description": "Reporter: submitted / published / returned / rejected / merged / pending,\nacceptance, relevance, accuracy, fake and misleading counts, corrections, edit\nintensity, timeliness, assignments, breaking / exclusive, original media, source\nquality, duplicate flags, complaints, audience impact, coverage, priority\naccuracy and the credibility score (0\u2013100). Other roles per SRS 11.6. Own / desk /\nall by permission; viewing someone else's scorecard is audited.",
                "summary": "A person's scorecards",
                "tags": [
                    "CMS \u00b7 Scorecards"
                ],
                "parameters": [
                    {
                        "name": "user",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "role",
                        "in": "query",
                        "description": "reporter, stringer, contributor, editor, admin, desk_head, fact_checker, photo_video_editor, radio, epaper, ads, seo_social, moderator",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "admin",
                                "desk_head",
                                "editor",
                                "reporter",
                                "stringer",
                                "contributor",
                                "fact_checker",
                                "photo_video_editor",
                                "radio",
                                "epaper",
                                "ads",
                                "seo_social",
                                "moderator"
                            ]
                        }
                    },
                    {
                        "name": "period",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "today",
                                "yesterday",
                                "7d",
                                "30d",
                                "90d",
                                "month",
                                "bs_month",
                                "fiscal_year",
                                "custom"
                            ]
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`AnalyticsReportResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "examples": [
                                        {
                                            "data": {
                                                "user": {
                                                    "uid": "01jdz3k6q8m4r2t7v9w1x3y5za",
                                                    "username": "reporter",
                                                    "name": {
                                                        "ne": "\u0938\u092e\u093e\u091a\u093e\u0930\u0926\u093e\u0924\u093e"
                                                    }
                                                },
                                                "period": {
                                                    "preset": "today",
                                                    "from": "2026-11-30",
                                                    "to": "2026-11-30",
                                                    "from_bs": null,
                                                    "to_bs": null
                                                },
                                                "scope": "own",
                                                "scorecards": {
                                                    "reporter": {
                                                        "role": "reporter",
                                                        "metrics": {
                                                            "submitted": 4,
                                                            "published": 2,
                                                            "rejected": 1,
                                                            "pending": 1,
                                                            "acceptance_rate": 50,
                                                            "accuracy_rate": 50,
                                                            "fake_count": 1,
                                                            "edit_intensity_pct": 0
                                                        },
                                                        "credibility": {
                                                            "score": 50,
                                                            "parts": {
                                                                "accuracy": 50,
                                                                "relevance": 50,
                                                                "acceptance": 50,
                                                                "edit_intensity": 100,
                                                                "timeliness": 100,
                                                                "impact": 100
                                                            },
                                                            "weights": {
                                                                "accuracy": 35,
                                                                "relevance": 20,
                                                                "acceptance": 15,
                                                                "edit_intensity": 10,
                                                                "timeliness": 10,
                                                                "impact": 10
                                                            },
                                                            "capped": true,
                                                            "capped_until": "2027-02-28T12:00:00+05:45"
                                                        }
                                                    }
                                                }
                                            },
                                            "meta": {
                                                "request_id": "01jdz3k6q8m4r2t7v9w1x3y5za"
                                            },
                                            "links": []
                                        }
                                    ],
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AnalyticsReportResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/scorecards/users/{user}/history": {
            "get": {
                "operationId": "v1.cms.scorecards.users.history",
                "summary": "Stored monthly snapshots (trend)",
                "tags": [
                    "CMS \u00b7 Scorecards"
                ],
                "parameters": [
                    {
                        "name": "user",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "role",
                        "in": "query",
                        "description": "reporter, stringer, contributor, editor, admin, desk_head, fact_checker, photo_video_editor, radio, epaper, ads, seo_social, moderator",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "admin",
                                "desk_head",
                                "editor",
                                "reporter",
                                "stringer",
                                "contributor",
                                "fact_checker",
                                "photo_video_editor",
                                "radio",
                                "epaper",
                                "ads",
                                "seo_social",
                                "moderator"
                            ]
                        }
                    },
                    {
                        "name": "period",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "today",
                                "yesterday",
                                "7d",
                                "30d",
                                "90d",
                                "month",
                                "bs_month",
                                "fiscal_year",
                                "custom"
                            ]
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `ScorecardSnapshotResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/ScorecardSnapshotResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/scorecards/locations/{type}/{slug}": {
            "get": {
                "operationId": "v1.cms.scorecards.locations.show",
                "summary": "District / province scorecard: stories, views, shares, reporters active, days since last story",
                "tags": [
                    "CMS \u00b7 Scorecards"
                ],
                "parameters": [
                    {
                        "name": "type",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "period",
                        "in": "query",
                        "description": "today, yesterday, 7d, 30d, 90d, month, bs_month, fiscal_year, custom @example 30d",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "today",
                                "yesterday",
                                "7d",
                                "30d",
                                "90d",
                                "month",
                                "bs_month",
                                "fiscal_year",
                                "custom"
                            ]
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-11-01"
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-11-30"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`AnalyticsReportResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AnalyticsReportResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/scorecards/priority": {
            "get": {
                "operationId": "v1.cms.scorecards.priority",
                "summary": "Priority stats per level (P0\u2013P4)",
                "tags": [
                    "CMS \u00b7 Scorecards"
                ],
                "parameters": [
                    {
                        "name": "period",
                        "in": "query",
                        "description": "today, yesterday, 7d, 30d, 90d, month, bs_month, fiscal_year, custom @example 30d",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "today",
                                "yesterday",
                                "7d",
                                "30d",
                                "90d",
                                "month",
                                "bs_month",
                                "fiscal_year",
                                "custom"
                            ]
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-11-01"
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-11-30"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`AnalyticsReportResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AnalyticsReportResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/scorecards/weights": {
            "get": {
                "operationId": "v1.cms.scorecards.weights.index",
                "summary": "Credibility weights",
                "tags": [
                    "CMS \u00b7 Scorecards"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `ScorecardWeightResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/ScorecardWeightResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "v1.cms.scorecards.weights.update",
                "summary": "Set credibility weights (Super Admin; must add up to 100)",
                "tags": [
                    "CMS \u00b7 Scorecards"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateWeightsRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Array of `ScorecardWeightResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/ScorecardWeightResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/scorecards/appeals": {
            "get": {
                "operationId": "v1.cms.scorecards.appeals.index",
                "summary": "Appeals (mine, or all for deciders)",
                "tags": [
                    "CMS \u00b7 Scorecards"
                ],
                "parameters": [
                    {
                        "name": "status",
                        "in": "query",
                        "description": "pending | upheld | denied",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "pending",
                                "upheld",
                                "denied"
                            ]
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Paginated set of `ScorecardAppealResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/ScorecardAppealResource"
                                            }
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "first": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "last": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "prev": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "next": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "first",
                                                "last",
                                                "prev",
                                                "next"
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "current_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "from": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "minimum": 1
                                                },
                                                "last_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "links": {
                                                    "type": "array",
                                                    "description": "Generated paginator links.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "url": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            },
                                                            "label": {
                                                                "type": "string"
                                                            },
                                                            "active": {
                                                                "type": "boolean"
                                                            }
                                                        },
                                                        "required": [
                                                            "url",
                                                            "label",
                                                            "active"
                                                        ]
                                                    }
                                                },
                                                "path": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "description": "Base path for paginator generated URLs."
                                                },
                                                "per_page": {
                                                    "type": "integer",
                                                    "description": "Number of items shown per page.",
                                                    "minimum": 0
                                                },
                                                "to": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "description": "Number of the last item in the slice.",
                                                    "minimum": 1
                                                },
                                                "total": {
                                                    "type": "integer",
                                                    "description": "Total number of items being paginated.",
                                                    "minimum": 0
                                                },
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "current_page",
                                                "from",
                                                "last_page",
                                                "links",
                                                "path",
                                                "per_page",
                                                "to",
                                                "total",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "links",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.scorecards.appeals.store",
                "summary": "Appeal a flag or a fake / misleading rejection of my story",
                "tags": [
                    "CMS \u00b7 Scorecards"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AppealRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`ScorecardAppealResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/ScorecardAppealResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/scorecards/appeals/{appeal}/decide": {
            "post": {
                "operationId": "v1.cms.scorecards.appeals.decide",
                "summary": "Decide an appeal (upheld revokes the flag; the score recalculates)",
                "tags": [
                    "CMS \u00b7 Scorecards"
                ],
                "parameters": [
                    {
                        "name": "appeal",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DecideAppealRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`ScorecardAppealResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/ScorecardAppealResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/accuracy-flags": {
            "get": {
                "operationId": "v1.cms.stories.accuracy-flags.index",
                "summary": "Accuracy flags on a story",
                "tags": [
                    "CMS \u00b7 Scorecards"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `AccuracyFlagResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/AccuracyFlagResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.stories.accuracy-flags.store",
                "summary": "Mark a story fake / misleading / factually wrong (admin or fact-checker, with evidence)",
                "tags": [
                    "CMS \u00b7 Scorecards"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AccuracyFlagRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`AccuracyFlagResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AccuracyFlagResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/accuracy-flags/{flag}/revoke": {
            "post": {
                "operationId": "v1.cms.accuracy-flags.revoke",
                "summary": "Revoke a flag",
                "tags": [
                    "CMS \u00b7 Scorecards"
                ],
                "parameters": [
                    {
                        "name": "flag",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RevokeFlagRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`AccuracyFlagResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AccuracyFlagResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/site/menus": {
            "get": {
                "operationId": "v1.cms.site.menus.index",
                "summary": "List menus (with all items)",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `MenuResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/MenuResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.site.menus.store",
                "summary": "Create a menu",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveMenuRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`MenuResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MenuResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/site/menus/{menu}": {
            "patch": {
                "operationId": "v1.cms.site.menus.update",
                "summary": "Update a menu",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "menu",
                        "in": "path",
                        "required": true,
                        "description": "The menu uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveMenuRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`MenuResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MenuResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.site.menus.destroy",
                "summary": "Delete a menu",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "menu",
                        "in": "path",
                        "required": true,
                        "description": "The menu uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "reason",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 1000
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/site/menus/{menu}/items": {
            "put": {
                "operationId": "v1.cms.site.menus.items",
                "description": "The whole tree, up to 3 levels. Types: category (slug), page (slug), url, module\n(hidden on the site while the module is off).",
                "summary": "Replace menu items",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "menu",
                        "in": "path",
                        "required": true,
                        "description": "The menu uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReplaceMenuItemsRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`MenuResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MenuResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/site/layouts": {
            "get": {
                "operationId": "v1.cms.site.layouts.index",
                "summary": "List homepage layouts",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `LayoutResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/LayoutResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.site.layouts.store",
                "description": "With starts_at/ends_at it replaces the default while live (e.g. election day).",
                "summary": "Create a layout",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveLayoutRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`LayoutResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/LayoutResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/site/layouts/{layout}": {
            "get": {
                "operationId": "v1.cms.site.layouts.show",
                "summary": "Show a layout",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "layout",
                        "in": "path",
                        "required": true,
                        "description": "The layout uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`LayoutResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/LayoutResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "v1.cms.site.layouts.update",
                "summary": "Update a layout",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "layout",
                        "in": "path",
                        "required": true,
                        "description": "The layout uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveLayoutRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`LayoutResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/LayoutResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.site.layouts.destroy",
                "summary": "Delete a layout (not the default one)",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "layout",
                        "in": "path",
                        "required": true,
                        "description": "The layout uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "reason",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 1000
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/site/layouts/{layout}/sections": {
            "put": {
                "operationId": "v1.cms.site.layouts.sections",
                "description": "All sections in display order. settings.pinned = story uids filled first;\nsettings.rule = {source: latest|featured|trending|most_read, categories, content_type, period};\nsettings.limit = slots.",
                "summary": "Replace sections",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "layout",
                        "in": "path",
                        "required": true,
                        "description": "The layout uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReplaceSectionsRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`LayoutResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/LayoutResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/site/layouts/{layout}/preview": {
            "get": {
                "operationId": "v1.cms.site.layouts.preview",
                "summary": "Preview a layout (resolved like the live homepage)",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "layout",
                        "in": "path",
                        "required": true,
                        "description": "The layout uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`HomeResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/HomeResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/site/pages": {
            "get": {
                "operationId": "v1.cms.site.pages.index",
                "summary": "List pages",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `PageResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/PageResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.site.pages.store",
                "summary": "Create a page",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SavePageRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`PageResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/PageResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/site/pages/{page}": {
            "patch": {
                "operationId": "v1.cms.site.pages.update",
                "summary": "Update a page",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "page",
                        "in": "path",
                        "required": true,
                        "description": "The page uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SavePageRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`PageResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/PageResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.site.pages.destroy",
                "summary": "Delete a page",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "page",
                        "in": "path",
                        "required": true,
                        "description": "The page uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "reason",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 1000
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/site/team": {
            "get": {
                "operationId": "v1.cms.site.team.index",
                "summary": "List team members",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `TeamMemberResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/TeamMemberResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.site.team.store",
                "summary": "Add a team member",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveTeamMemberRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`TeamMemberResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TeamMemberResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/site/team/{member}": {
            "patch": {
                "operationId": "v1.cms.site.team.update",
                "summary": "Update a team member",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "member",
                        "in": "path",
                        "required": true,
                        "description": "The member uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveTeamMemberRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`TeamMemberResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TeamMemberResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.site.team.destroy",
                "summary": "Remove a team member",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "member",
                        "in": "path",
                        "required": true,
                        "description": "The member uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "reason",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 1000
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/site/breaking": {
            "get": {
                "operationId": "v1.cms.site.breaking.index",
                "summary": "List breaking items (newest first, including expired)",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `BreakingItemResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/BreakingItemResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.site.breaking.store",
                "summary": "Add a breaking item",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveBreakingRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`BreakingItemResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/BreakingItemResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/site/breaking/{item}": {
            "patch": {
                "operationId": "v1.cms.site.breaking.update",
                "summary": "Update a breaking item",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "item",
                        "in": "path",
                        "required": true,
                        "description": "The item uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveBreakingRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`BreakingItemResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/BreakingItemResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.site.breaking.destroy",
                "summary": "Remove a breaking item",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "item",
                        "in": "path",
                        "required": true,
                        "description": "The item uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "reason",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 1000
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/site/settings": {
            "get": {
                "operationId": "v1.cms.site.settings.index",
                "summary": "List site settings (public and private)",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `SiteSettingResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/SiteSettingResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "v1.cms.site.settings.update",
                "description": "Dangerous (\u2020): needs a 2FA confirmation in the last 15 minutes.",
                "summary": "Update site settings",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateSettingsRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Array of `SiteSettingResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/SiteSettingResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/site/redirects": {
            "get": {
                "operationId": "v1.cms.site.redirects.index",
                "summary": "List redirects",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "responses": {
                    "200": {
                        "description": "Paginated set of `RedirectResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/RedirectResource"
                                            }
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "first": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "last": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "prev": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "next": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "first",
                                                "last",
                                                "prev",
                                                "next"
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "current_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "from": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "minimum": 1
                                                },
                                                "last_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "links": {
                                                    "type": "array",
                                                    "description": "Generated paginator links.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "url": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            },
                                                            "label": {
                                                                "type": "string"
                                                            },
                                                            "active": {
                                                                "type": "boolean"
                                                            }
                                                        },
                                                        "required": [
                                                            "url",
                                                            "label",
                                                            "active"
                                                        ]
                                                    }
                                                },
                                                "path": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "description": "Base path for paginator generated URLs."
                                                },
                                                "per_page": {
                                                    "type": "integer",
                                                    "description": "Number of items shown per page.",
                                                    "minimum": 0
                                                },
                                                "to": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "description": "Number of the last item in the slice.",
                                                    "minimum": 1
                                                },
                                                "total": {
                                                    "type": "integer",
                                                    "description": "Total number of items being paginated.",
                                                    "minimum": 0
                                                },
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "current_page",
                                                "from",
                                                "last_page",
                                                "links",
                                                "path",
                                                "per_page",
                                                "to",
                                                "total",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "links",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.site.redirects.store",
                "summary": "Create a redirect",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveRedirectRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`RedirectResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RedirectResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/site/redirects/{redirect}": {
            "patch": {
                "operationId": "v1.cms.site.redirects.update",
                "summary": "Update a redirect",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "redirect",
                        "in": "path",
                        "required": true,
                        "description": "The redirect uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveRedirectRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`RedirectResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RedirectResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.site.redirects.destroy",
                "summary": "Delete a redirect",
                "tags": [
                    "CMS \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "redirect",
                        "in": "path",
                        "required": true,
                        "description": "The redirect uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "reason",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 1000
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories": {
            "get": {
                "operationId": "v1.cms.stories.index",
                "tags": [
                    "CMS \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "filter[status]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "filter[priority]",
                        "in": "query",
                        "schema": {
                            "$ref": "#/components/schemas/StoryPriority"
                        }
                    },
                    {
                        "name": "filter[category]",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter[district]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "filter[desk]",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter[language]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ne",
                                "en"
                            ]
                        }
                    },
                    {
                        "name": "filter[content_type]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "pattern": "^-?(?:created_at|submitted_at|published_at|priority|uid)(?:,-?(?:created_at|submitted_at|published_at|priority|uid))*$",
                            "maxLength": 200
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `StoryResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/StoryResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.stories.store",
                "tags": [
                    "CMS \u00b7 Stories"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveStoryRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`StoryResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/StoryResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}": {
            "get": {
                "operationId": "v1.cms.stories.show",
                "tags": [
                    "CMS \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`StoryResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/StoryResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "v1.cms.stories.update",
                "tags": [
                    "CMS \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveStoryRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`StoryResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/StoryResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.stories.destroy",
                "tags": [
                    "CMS \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/autosave": {
            "post": {
                "operationId": "v1.cms.stories.autosave",
                "tags": [
                    "CMS \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveStoryRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`StoryResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/StoryResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/heartbeat": {
            "post": {
                "operationId": "v1.cms.stories.heartbeat",
                "tags": [
                    "CMS \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`StoryResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/StoryResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/lock/override": {
            "post": {
                "operationId": "v1.cms.stories.lock.override",
                "tags": [
                    "CMS \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`StoryResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/StoryResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/lock": {
            "delete": {
                "operationId": "v1.cms.stories.lock.release",
                "tags": [
                    "CMS \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`StoryResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/StoryResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/revisions": {
            "get": {
                "operationId": "v1.cms.stories.revisions",
                "tags": [
                    "CMS \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "filter[status]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "filter[priority]",
                        "in": "query",
                        "schema": {
                            "$ref": "#/components/schemas/StoryPriority"
                        }
                    },
                    {
                        "name": "filter[category]",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter[district]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "filter[desk]",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter[language]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ne",
                                "en"
                            ]
                        }
                    },
                    {
                        "name": "filter[content_type]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "pattern": "^-?(?:created_at|submitted_at|published_at|priority|uid)(?:,-?(?:created_at|submitted_at|published_at|priority|uid))*$",
                            "maxLength": 200
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `RevisionResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/RevisionResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/diff": {
            "get": {
                "operationId": "v1.cms.stories.diff",
                "tags": [
                    "CMS \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`StoryDiffResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/StoryDiffResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/revisions/{revision}/restore": {
            "post": {
                "operationId": "v1.cms.stories.restore",
                "tags": [
                    "CMS \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "revision",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RestoreRevisionRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`StoryResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/StoryResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/preview-token": {
            "post": {
                "operationId": "v1.cms.stories.preview",
                "tags": [
                    "CMS \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`SignedLinkResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/SignedLinkResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/contributions": {
            "get": {
                "operationId": "v1.cms.stories.contributions",
                "tags": [
                    "CMS \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`StoryDiffResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/StoryDiffResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/corrections": {
            "post": {
                "operationId": "v1.cms.stories.corrections.store",
                "description": "Shown on the public story (\"corrections\") at once.",
                "summary": "Add a correction",
                "tags": [
                    "CMS \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "description": "The story uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StoreCorrectionRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`CorrectionResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/CorrectionResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/corrections/{correction}": {
            "delete": {
                "operationId": "v1.cms.stories.corrections.destroy",
                "summary": "Remove a correction",
                "tags": [
                    "CMS \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "description": "The story uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "correction",
                        "in": "path",
                        "required": true,
                        "description": "The correction uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "reason",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 1000
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/categories/tree": {
            "get": {
                "operationId": "v1.cms.categories.tree",
                "summary": "Get the category hierarchy in display order, with parent ULIDs",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/TaxonomyResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/categories/reorder": {
            "put": {
                "operationId": "v1.cms.categories.reorder",
                "summary": "Replace the display order of a complete sibling group",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CategoriesReorderRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Array of `TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/TaxonomyResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/categories": {
            "get": {
                "operationId": "v1.cms.categories.index",
                "summary": "List taxonomy terms with explicit filters, sorting and page pagination",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "pattern": "^-?(?:slug|sort_order|created_at|uid)(?:,-?(?:slug|sort_order|created_at|uid))*$",
                            "maxLength": 150
                        }
                    },
                    {
                        "name": "filter[slug]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 150
                        }
                    },
                    {
                        "name": "filter[is_active]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "0",
                                "1",
                                "true",
                                "false"
                            ]
                        }
                    },
                    {
                        "name": "filter[parent]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "pattern": "^(?:root|[0-9A-HJKMNP-TV-Z]{26})$",
                            "maxLength": 26
                        }
                    },
                    {
                        "name": "filter[show_in_menu]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "0",
                                "1",
                                "true",
                                "false"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/TaxonomyResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.categories.store",
                "summary": "Create a taxonomy term",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CategoriesStoreRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TaxonomyResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/categories/{term}": {
            "get": {
                "operationId": "v1.cms.categories.show",
                "summary": "Read a taxonomy term. Category scope is enforced",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "term",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TaxonomyResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "v1.cms.categories.update",
                "summary": "Update a taxonomy term. Cyclic category moves are rejected",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "term",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CategoriesUpdateRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TaxonomyResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.categories.destroy",
                "summary": "Soft-delete an unused taxonomy term. References must be removed first",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "term",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/tags/{term}/merge": {
            "post": {
                "operationId": "v1.cms.tags.merge",
                "summary": "Merge a tag into another, preserving its slug as an alias and deduplicating usage",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "term",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/TagsMergeRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TaxonomyResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/tags": {
            "get": {
                "operationId": "v1.cms.tags.index",
                "summary": "List taxonomy terms with explicit filters, sorting and page pagination",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "pattern": "^-?(?:slug|sort_order|created_at|uid)(?:,-?(?:slug|sort_order|created_at|uid))*$",
                            "maxLength": 150
                        }
                    },
                    {
                        "name": "filter[slug]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 150
                        }
                    },
                    {
                        "name": "filter[is_active]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "0",
                                "1",
                                "true",
                                "false"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/TaxonomyResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.tags.store",
                "summary": "Create a taxonomy term",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/TagsStoreRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TaxonomyResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/tags/{term}": {
            "get": {
                "operationId": "v1.cms.tags.show",
                "summary": "Read a taxonomy term. Category scope is enforced",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "term",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TaxonomyResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "v1.cms.tags.update",
                "summary": "Update a taxonomy term. Cyclic category moves are rejected",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "term",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/TagsUpdateRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TaxonomyResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.tags.destroy",
                "summary": "Soft-delete an unused taxonomy term. References must be removed first",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "term",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/topics": {
            "get": {
                "operationId": "v1.cms.topics.index",
                "summary": "List taxonomy terms with explicit filters, sorting and page pagination",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "pattern": "^-?(?:slug|sort_order|created_at|uid)(?:,-?(?:slug|sort_order|created_at|uid))*$",
                            "maxLength": 150
                        }
                    },
                    {
                        "name": "filter[slug]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 150
                        }
                    },
                    {
                        "name": "filter[is_active]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "0",
                                "1",
                                "true",
                                "false"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/TaxonomyResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.topics.store",
                "summary": "Create a taxonomy term",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/TopicsStoreRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TaxonomyResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/topics/{term}": {
            "get": {
                "operationId": "v1.cms.topics.show",
                "summary": "Read a taxonomy term. Category scope is enforced",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "term",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TaxonomyResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "v1.cms.topics.update",
                "summary": "Update a taxonomy term. Cyclic category moves are rejected",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "term",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/TopicsUpdateRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TaxonomyResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.topics.destroy",
                "summary": "Soft-delete an unused taxonomy term. References must be removed first",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "term",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/entities": {
            "get": {
                "operationId": "v1.cms.entities.index",
                "summary": "List taxonomy terms with explicit filters, sorting and page pagination",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "pattern": "^-?(?:slug|sort_order|created_at|uid)(?:,-?(?:slug|sort_order|created_at|uid))*$",
                            "maxLength": 150
                        }
                    },
                    {
                        "name": "filter[slug]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 150
                        }
                    },
                    {
                        "name": "filter[is_active]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "0",
                                "1",
                                "true",
                                "false"
                            ]
                        }
                    },
                    {
                        "name": "filter[type]",
                        "in": "query",
                        "schema": {
                            "$ref": "#/components/schemas/EntityType"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/TaxonomyResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.entities.store",
                "summary": "Create a taxonomy term",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EntitiesStoreRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TaxonomyResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/entities/{term}": {
            "get": {
                "operationId": "v1.cms.entities.show",
                "summary": "Read a taxonomy term. Category scope is enforced",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "term",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TaxonomyResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "v1.cms.entities.update",
                "summary": "Update a taxonomy term. Cyclic category moves are rejected",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "term",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EntitiesUpdateRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`TaxonomyResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TaxonomyResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.entities.destroy",
                "summary": "Soft-delete an unused taxonomy term. References must be removed first",
                "tags": [
                    "CMS \u00b7 Taxonomy"
                ],
                "parameters": [
                    {
                        "name": "term",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/users/{user}/suspend": {
            "post": {
                "operationId": "v1.cms.users.suspend",
                "summary": "Suspend a user (signs them out everywhere)",
                "tags": [
                    "CMS \u00b7 Users"
                ],
                "parameters": [
                    {
                        "name": "user",
                        "in": "path",
                        "required": true,
                        "description": "The user uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UserActionRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`UserResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UserResource"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "roles"
                                                    ]
                                                }
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: two_factor_confirmation_required | cannot_target_self.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Conflicts with the current state. Codes: already_suspended.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "conflict"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/users/{user}/reactivate": {
            "post": {
                "operationId": "v1.cms.users.reactivate",
                "summary": "Reactivate a suspended user",
                "tags": [
                    "CMS \u00b7 Users"
                ],
                "parameters": [
                    {
                        "name": "user",
                        "in": "path",
                        "required": true,
                        "description": "The user uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UserActionRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`UserResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UserResource"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "roles"
                                                    ]
                                                }
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: two_factor_confirmation_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Conflicts with the current state. Codes: not_suspended.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "conflict"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/users/{user}/force-logout": {
            "post": {
                "operationId": "v1.cms.users.force-logout",
                "summary": "Force logout everywhere",
                "tags": [
                    "CMS \u00b7 Users"
                ],
                "parameters": [
                    {
                        "name": "user",
                        "in": "path",
                        "required": true,
                        "description": "The user uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UserActionRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: two_factor_confirmation_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/users/{user}/reset-2fa": {
            "post": {
                "operationId": "v1.cms.users.reset-2fa",
                "summary": "Reset 2FA (the user must enrol again)",
                "tags": [
                    "CMS \u00b7 Users"
                ],
                "parameters": [
                    {
                        "name": "user",
                        "in": "path",
                        "required": true,
                        "description": "The user uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UserActionRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`UserResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UserResource"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "roles"
                                                    ]
                                                }
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: two_factor_confirmation_required | cannot_target_self.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/invitations": {
            "post": {
                "operationId": "v1.cms.invitations.store",
                "description": "Sends a single-use link valid 72 hours by e-mail and/or SMS. Earlier pending\ninvitations to the same contact are revoked.",
                "summary": "Invite staff",
                "tags": [
                    "CMS \u00b7 Users"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StoreInvitationRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`InvitationResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/InvitationResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/reporter-applications": {
            "get": {
                "operationId": "v1.cms.reporter-applications.index",
                "summary": "List reporter applications",
                "tags": [
                    "CMS \u00b7 Users"
                ],
                "parameters": [
                    {
                        "name": "status",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "pending",
                                "approved",
                                "rejected"
                            ]
                        },
                        "example": "pending"
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `ReporterApplicationResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/ReporterApplicationResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/reporter-applications/{id}/approve": {
            "post": {
                "operationId": "v1.cms.reporter-applications.approve",
                "summary": "Approve an application",
                "tags": [
                    "CMS \u00b7 Users"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ApproveApplicationRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`ReporterApplicationResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/ReporterApplicationResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "404": {
                        "description": "Resource not found, or module disabled (module_disabled). Codes: not_found.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "not_found"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Conflicts with the current state. Codes: application_already_decided.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "conflict"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/reporter-applications/{id}/reject": {
            "post": {
                "operationId": "v1.cms.reporter-applications.reject",
                "summary": "Reject an application",
                "tags": [
                    "CMS \u00b7 Users"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RejectApplicationRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`ReporterApplicationResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/ReporterApplicationResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "404": {
                        "description": "Resource not found, or module disabled (module_disabled). Codes: not_found.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "not_found"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Conflicts with the current state. Codes: application_already_decided.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "conflict"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/horoscope": {
            "put": {
                "operationId": "v1.cms.horoscope",
                "description": "Upsert by sign + period + start; date in BS or AD (the period containing it).",
                "summary": "Write horoscope readings for one period (all or some signs)",
                "tags": [
                    "CMS \u00b7 Utilities"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpsertHoroscopeRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "saved": {
                                                    "type": "string"
                                                },
                                                "starts_on": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "ends_on": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "saved",
                                                "starts_on",
                                                "ends_on"
                                            ]
                                        },
                                        "meta": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/market/instruments": {
            "get": {
                "operationId": "v1.cms.market.instruments",
                "summary": "Market instruments",
                "tags": [
                    "CMS \u00b7 Utilities"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "instruments": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "type": "string"
                                                            },
                                                            "name": {
                                                                "type": "array",
                                                                "items": {}
                                                            },
                                                            "unit": {
                                                                "type": "string"
                                                            },
                                                            "per": {
                                                                "type": "integer"
                                                            },
                                                            "source": {
                                                                "type": "string"
                                                            }
                                                        },
                                                        "required": [
                                                            "key",
                                                            "type",
                                                            "name",
                                                            "unit",
                                                            "per",
                                                            "source"
                                                        ]
                                                    }
                                                }
                                            },
                                            "required": [
                                                "instruments"
                                            ]
                                        },
                                        "meta": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/market/import": {
            "post": {
                "operationId": "v1.cms.market.import",
                "summary": "Queue a market import (NRB forex) for a day",
                "tags": [
                    "CMS \u00b7 Utilities"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/MarketDateRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "queued": {
                                                    "type": "boolean"
                                                }
                                            },
                                            "required": [
                                                "queued"
                                            ]
                                        },
                                        "meta": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/market/{key}/override": {
            "put": {
                "operationId": "v1.cms.market.override",
                "summary": "Manual rate / override for a day (gold, silver, NEPSE are manual until their sources are confirmed)",
                "tags": [
                    "CMS \u00b7 Utilities"
                ],
                "parameters": [
                    {
                        "name": "key",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/MarketOverrideRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "key": {
                                                    "type": "string",
                                                    "examples": [
                                                        "gold_hallmark"
                                                    ]
                                                },
                                                "name": {
                                                    "type": "string"
                                                },
                                                "unit": {
                                                    "type": "string",
                                                    "examples": [
                                                        "tola"
                                                    ]
                                                },
                                                "per": {
                                                    "type": "integer"
                                                },
                                                "buy": {
                                                    "type": [
                                                        "number",
                                                        "null"
                                                    ]
                                                },
                                                "sell": {
                                                    "type": [
                                                        "number",
                                                        "null"
                                                    ]
                                                },
                                                "value": {
                                                    "type": [
                                                        "number",
                                                        "null"
                                                    ]
                                                },
                                                "change": {
                                                    "type": [
                                                        "number",
                                                        "null"
                                                    ]
                                                },
                                                "date": {
                                                    "type": "string"
                                                },
                                                "source": {
                                                    "type": "string",
                                                    "description": "nrb | manual"
                                                }
                                            },
                                            "required": [
                                                "key",
                                                "name",
                                                "unit",
                                                "per",
                                                "buy",
                                                "sell",
                                                "value",
                                                "change",
                                                "date",
                                                "source"
                                            ]
                                        },
                                        "meta": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.market.override.destroy",
                "summary": "Remove an override (the imported value applies again)",
                "tags": [
                    "CMS \u00b7 Utilities"
                ],
                "parameters": [
                    {
                        "name": "key",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "date",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date-time"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/weather/refresh": {
            "post": {
                "operationId": "v1.cms.weather.refresh",
                "summary": "Refresh cached weather (one district or all)",
                "tags": [
                    "CMS \u00b7 Utilities"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/WeatherQueryRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/videos/youtube-sync": {
            "post": {
                "operationId": "v1.cms.videos.youtube-sync",
                "summary": "Queue a YouTube channel sync (new uploads \u2192 drafts)",
                "tags": [
                    "CMS \u00b7 Watch Nepal"
                ],
                "responses": {
                    "202": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "queued": {
                                                    "type": "boolean"
                                                }
                                            },
                                            "required": [
                                                "queued"
                                            ]
                                        },
                                        "meta": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/videos": {
            "post": {
                "operationId": "v1.cms.videos.store",
                "summary": "Create a video / short / live stream",
                "tags": [
                    "CMS \u00b7 Watch Nepal"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveVideoRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`VideoResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/VideoResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/videos/{video}": {
            "patch": {
                "operationId": "v1.cms.videos.update",
                "summary": "Update / publish a video",
                "tags": [
                    "CMS \u00b7 Watch Nepal"
                ],
                "parameters": [
                    {
                        "name": "video",
                        "in": "path",
                        "required": true,
                        "description": "The video uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveVideoRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`VideoResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/VideoResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.videos.destroy",
                "summary": "Delete a video",
                "tags": [
                    "CMS \u00b7 Watch Nepal"
                ],
                "parameters": [
                    {
                        "name": "video",
                        "in": "path",
                        "required": true,
                        "description": "The video uid",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "reason",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 1000
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/videos/{video}/live-status": {
            "patch": {
                "operationId": "v1.cms.videos.live-status",
                "summary": "Live stream status: scheduled | live | ended",
                "tags": [
                    "CMS \u00b7 Watch Nepal"
                ],
                "parameters": [
                    {
                        "name": "video",
                        "in": "path",
                        "required": true,
                        "description": "The video uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/VideoLiveStatusRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`VideoResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/VideoResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/videos/{video}/chapters": {
            "put": {
                "operationId": "v1.cms.videos.chapters",
                "summary": "Replace chapters",
                "tags": [
                    "CMS \u00b7 Watch Nepal"
                ],
                "parameters": [
                    {
                        "name": "video",
                        "in": "path",
                        "required": true,
                        "description": "The video uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReplaceChaptersRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`VideoResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/VideoResource"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "chapters"
                                                    ]
                                                }
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/videos/{video}/subtitles": {
            "post": {
                "operationId": "v1.cms.videos.subtitles",
                "summary": "Upload a WebVTT subtitle (replaces the same language)",
                "tags": [
                    "CMS \u00b7 Watch Nepal"
                ],
                "parameters": [
                    {
                        "name": "video",
                        "in": "path",
                        "required": true,
                        "description": "The video uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/UploadSubtitleRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "uid": {
                                                    "type": "string"
                                                },
                                                "language": {
                                                    "type": "string"
                                                },
                                                "label": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "uid",
                                                "language",
                                                "label"
                                            ]
                                        },
                                        "meta": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/video-series": {
            "post": {
                "operationId": "v1.cms.video-series.store",
                "summary": "Create a series",
                "tags": [
                    "CMS \u00b7 Watch Nepal"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveSeriesRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`VideoSeriesResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/VideoSeriesResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/video-series/{series}": {
            "patch": {
                "operationId": "v1.cms.video-series.update",
                "summary": "Update a series",
                "tags": [
                    "CMS \u00b7 Watch Nepal"
                ],
                "parameters": [
                    {
                        "name": "series",
                        "in": "path",
                        "required": true,
                        "description": "The series uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveSeriesRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`VideoSeriesResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/VideoSeriesResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/video-series/{series}/seasons": {
            "post": {
                "operationId": "v1.cms.video-series.seasons",
                "summary": "Add a season",
                "tags": [
                    "CMS \u00b7 Watch Nepal"
                ],
                "parameters": [
                    {
                        "name": "series",
                        "in": "path",
                        "required": true,
                        "description": "The series uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveSeasonRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "uid": {
                                                    "type": "string"
                                                },
                                                "number": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "uid",
                                                "number"
                                            ]
                                        },
                                        "meta": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/playlists": {
            "post": {
                "operationId": "v1.cms.playlists.store",
                "summary": "Create a playlist (videos = ordered uids)",
                "tags": [
                    "CMS \u00b7 Watch Nepal"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SavePlaylistRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`VideoPlaylistResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/VideoPlaylistResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/playlists/{playlist}": {
            "patch": {
                "operationId": "v1.cms.playlists.update",
                "summary": "Update a playlist",
                "tags": [
                    "CMS \u00b7 Watch Nepal"
                ],
                "parameters": [
                    {
                        "name": "playlist",
                        "in": "path",
                        "required": true,
                        "description": "The playlist uid",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SavePlaylistRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`VideoPlaylistResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/VideoPlaylistResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#/components/responses/ModelNotFoundException"
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/actions": {
            "get": {
                "operationId": "v1.cms.stories.actions",
                "tags": [
                    "CMS \u00b7 Workflow"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`StoryDiffResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/StoryDiffResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/history": {
            "get": {
                "operationId": "v1.cms.stories.history",
                "tags": [
                    "CMS \u00b7 Workflow"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `StoryTransitionResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/StoryTransitionResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/assign": {
            "post": {
                "operationId": "v1.cms.stories.assign",
                "description": "Without changing the status. Omit `assignee` to auto-assign (round_robin,\nby_category, by_district, least_loaded; default from the auto_assign setting).",
                "summary": "Assign / reassign",
                "tags": [
                    "CMS \u00b7 Workflow"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AssignRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`AssignmentResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AssignmentResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/priority": {
            "post": {
                "operationId": "v1.cms.stories.priority",
                "description": "Needs a reason; the reporter is notified and SLA targets are recalculated.",
                "summary": "Change priority",
                "tags": [
                    "CMS \u00b7 Workflow"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ChangePriorityRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`StoryResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/StoryResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/stories/{story}/transition": {
            "post": {
                "operationId": "v1.cms.stories.transition",
                "tags": [
                    "CMS \u00b7 Workflow"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/TransitionRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`StoryResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/StoryResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/queues": {
            "get": {
                "operationId": "v1.cms.queues.index",
                "description": "Waiting stories you may act on (scope-filtered), ordered by priority (P0 first)\nthen longest waiting, with SLA deadlines. Filters: status, priority, desk, district, assignee.",
                "summary": "Work queue",
                "tags": [
                    "CMS \u00b7 Workflow"
                ],
                "parameters": [
                    {
                        "name": "status",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "submitted",
                                "admin_review",
                                "editing",
                                "verification",
                                "on_hold"
                            ]
                        },
                        "example": "admin_review"
                    },
                    {
                        "name": "priority",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "P0",
                                "P1",
                                "P2",
                                "P3",
                                "P4"
                            ]
                        },
                        "example": "P0"
                    },
                    {
                        "name": "desk",
                        "in": "query",
                        "description": "Desk uid.",
                        "schema": {
                            "type": "string",
                            "maxLength": 30
                        }
                    },
                    {
                        "name": "district",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        },
                        "example": "kailali"
                    },
                    {
                        "name": "assignee",
                        "in": "query",
                        "description": "Assignee uid.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `QueueItemResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/QueueItemResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/duty-shifts": {
            "get": {
                "operationId": "v1.cms.duty-shifts.index",
                "summary": "List current and upcoming shifts",
                "tags": [
                    "CMS \u00b7 Workflow"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `DutyShiftResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/DutyShiftResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.duty-shifts.store",
                "summary": "Create a shift",
                "tags": [
                    "CMS \u00b7 Workflow"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DutyShiftRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`DutyShiftResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/DutyShiftResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/duty-shifts/{shift}": {
            "patch": {
                "operationId": "v1.cms.duty-shifts.update",
                "summary": "Update a shift",
                "tags": [
                    "CMS \u00b7 Workflow"
                ],
                "parameters": [
                    {
                        "name": "shift",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DutyShiftRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`DutyShiftResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/DutyShiftResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.cms.duty-shifts.destroy",
                "summary": "Delete a shift",
                "tags": [
                    "CMS \u00b7 Workflow"
                ],
                "parameters": [
                    {
                        "name": "shift",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/workflow/templates": {
            "get": {
                "operationId": "v1.cms.workflow.templates.index",
                "summary": "List current workflow template families",
                "tags": [
                    "CMS \u00b7 Workflow configuration"
                ],
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "filter[key]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "filter[is_default]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "0",
                                "1",
                                "true",
                                "false"
                            ]
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "pattern": "^-?(?:key|version|created_at|uid)(?:,-?(?:key|version|created_at|uid))*$"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `WorkflowTemplateResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/WorkflowTemplateResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "v1.cms.workflow.templates.store",
                "summary": "Create a workflow family with its first immutable graph",
                "tags": [
                    "CMS \u00b7 Workflow configuration"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveWorkflowTemplateRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`WorkflowTemplateResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/WorkflowTemplateResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/workflow/templates/{template}": {
            "get": {
                "operationId": "v1.cms.workflow.templates.show",
                "summary": "Get the current workflow graph",
                "tags": [
                    "CMS \u00b7 Workflow configuration"
                ],
                "parameters": [
                    {
                        "name": "template",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`WorkflowTemplateResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/WorkflowTemplateResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "v1.cms.workflow.templates.update",
                "summary": "Append a graph version; stale base_version returns 409. Existing stories keep their version",
                "tags": [
                    "CMS \u00b7 Workflow configuration"
                ],
                "parameters": [
                    {
                        "name": "template",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveWorkflowTemplateRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`WorkflowTemplateResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/WorkflowTemplateResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/workflow/templates/{template}/versions/{version}": {
            "get": {
                "operationId": "v1.cms.workflow.templates.version",
                "summary": "Read a historical graph without changing it",
                "tags": [
                    "CMS \u00b7 Workflow configuration"
                ],
                "parameters": [
                    {
                        "name": "template",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "version",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`WorkflowVersionResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/WorkflowVersionResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/workflow/settings": {
            "get": {
                "operationId": "v1.cms.workflow.settings.index",
                "summary": "Inspect effective settings and all saved overrides. Precedence: user, desk, category, global, template defaults",
                "tags": [
                    "CMS \u00b7 Workflow configuration"
                ],
                "parameters": [
                    {
                        "name": "template",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "user",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "category",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "desk",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`WorkflowSettingsResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/WorkflowSettingsResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "v1.cms.workflow.settings.update",
                "summary": "Save a live setting override with an immutable history version",
                "tags": [
                    "CMS \u00b7 Workflow configuration"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SaveWorkflowSettingRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`WorkflowSettingResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/WorkflowSettingResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/cms/workflow/settings/{setting}/versions/{version}": {
            "get": {
                "operationId": "v1.cms.workflow.settings.version",
                "summary": "Read a historical setting value and its author/reason",
                "tags": [
                    "CMS \u00b7 Workflow configuration"
                ],
                "parameters": [
                    {
                        "name": "setting",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "version",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`WorkflowSettingVersionResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/WorkflowSettingVersionResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: forbidden | two_factor_enrollment_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/me/notifications": {
            "get": {
                "operationId": "v1.me.notifications.index",
                "summary": "My notifications (newest first, cursor pagination; meta.unread = unread count)",
                "tags": [
                    "Me"
                ],
                "parameters": [
                    {
                        "name": "unread",
                        "in": "query",
                        "description": "Only unread.",
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Paginated set of `StaffNotificationResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/StaffNotificationResource"
                                            }
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "first": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "last": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "prev": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "next": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "first",
                                                "last",
                                                "prev",
                                                "next"
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "path": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "description": "Base path for paginator generated URLs."
                                                },
                                                "per_page": {
                                                    "type": "integer",
                                                    "description": "Number of items shown per page.",
                                                    "minimum": 0
                                                },
                                                "next_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "description": "The \"cursor\" that points to the next set of items."
                                                },
                                                "prev_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "description": "The \"cursor\" that points to the previous set of items."
                                                },
                                                "request_id": {
                                                    "type": "string"
                                                },
                                                "unread": {
                                                    "type": "integer",
                                                    "minimum": 0
                                                }
                                            },
                                            "required": [
                                                "path",
                                                "per_page",
                                                "next_cursor",
                                                "prev_cursor",
                                                "request_id",
                                                "unread"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "links",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                }
            }
        },
        "/v1/me/notifications/read-all": {
            "post": {
                "operationId": "v1.me.notifications.read-all",
                "summary": "Mark all as read",
                "tags": [
                    "Me"
                ],
                "responses": {
                    "200": {
                        "description": "`MessageResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MessageResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/me/notifications/{id}/read": {
            "post": {
                "operationId": "v1.me.notifications.read",
                "summary": "Mark one as read",
                "tags": [
                    "Me"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`StaffNotificationResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/StaffNotificationResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/me/notification-preferences": {
            "get": {
                "operationId": "v1.me.notification-preferences.show",
                "summary": "My notification preferences (event \u00d7 channel, quiet hours, digest)",
                "tags": [
                    "Me"
                ],
                "responses": {
                    "200": {
                        "description": "`NotificationPreferencesResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/NotificationPreferencesResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "put": {
                "operationId": "v1.me.notification-preferences.update",
                "summary": "Update preferences. In-app delivery cannot be switched off",
                "tags": [
                    "Me"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateNotificationPreferencesRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`NotificationPreferencesResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/NotificationPreferencesResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                }
            }
        },
        "/v1/me/devices": {
            "get": {
                "operationId": "v1.me.devices.index",
                "summary": "List my devices",
                "tags": [
                    "Me"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `DeviceResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/DeviceResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/me/devices/{id}": {
            "get": {
                "operationId": "v1.me.devices.show",
                "summary": "Show a device",
                "tags": [
                    "Me"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`DeviceResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/DeviceResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found, or module disabled (module_disabled). Codes: not_found.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "not_found"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "v1.me.devices.update",
                "summary": "Rename / trust a device",
                "tags": [
                    "Me"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateDeviceRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`DeviceResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/DeviceResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    },
                    "404": {
                        "description": "Resource not found, or module disabled (module_disabled). Codes: not_found.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "not_found"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "v1.me.devices.destroy",
                "description": "Signs that device out (tokens, refresh tokens, session).",
                "summary": "Revoke a device",
                "tags": [
                    "Me"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Resource not found, or module disabled (module_disabled). Codes: not_found.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "not_found"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/me/2fa/enable": {
            "post": {
                "operationId": "v1.me.2fa.enable",
                "description": "Returns the secret and an `otpauth://` URL to show as a QR code.",
                "summary": "Start 2FA enrolment",
                "tags": [
                    "Me"
                ],
                "responses": {
                    "200": {
                        "description": "`TwoFactorSetupResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TwoFactorSetupResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Conflicts with the current state. Codes: two_factor_already_enabled.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "conflict"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/me/2fa/email-code": {
            "post": {
                "operationId": "v1.me.2fa.email-code",
                "description": "Available in TWO_FACTOR_METHOD=email mode, or for super-admin with\nSUPER_ADMIN_OTP_ENABLED=true: sends a 6-digit code to your e-mail. Pass it to\n`POST /me/2fa/confirm` to confirm for 15 minutes (needed by dangerous actions).",
                "summary": "E-mail a 2FA code",
                "tags": [
                    "Me"
                ],
                "responses": {
                    "202": {
                        "description": "`MessageResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MessageResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Conflicts with the current state. Codes: two_factor_email_unavailable.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "conflict"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/me/2fa/confirm": {
            "post": {
                "operationId": "v1.me.2fa.confirm",
                "description": "First call after enable: activates 2FA and returns the recovery codes once.\nLater calls: re-confirms for 15 minutes (needed by dangerous actions). In e-mail\nmode the code may be the one from `POST /me/2fa/email-code`.",
                "summary": "Confirm 2FA",
                "tags": [
                    "Me"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/TwoFactorCodeRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`RecoveryCodesResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RecoveryCodesResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation failed: details.fields lists the messages per field. Codes: two_factor_code_invalid.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "validation_failed"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Conflicts with the current state. Codes: two_factor_not_enabled.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "conflict"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/me/2fa": {
            "delete": {
                "operationId": "v1.me.2fa.disable",
                "description": "Not allowed when the user's role requires 2FA.",
                "summary": "Disable 2FA",
                "tags": [
                    "Me"
                ],
                "parameters": [
                    {
                        "name": "code",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "maxLength": 20
                        },
                        "example": "123456"
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation failed: details.fields lists the messages per field. Codes: two_factor_code_invalid.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "validation_failed"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: two_factor_required_by_role.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Conflicts with the current state. Codes: two_factor_not_enabled.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "conflict"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/me/2fa/recovery-codes": {
            "get": {
                "operationId": "v1.me.2fa.recovery-codes",
                "description": "Requires a 2FA confirmation in the last 15 minutes.",
                "summary": "Recovery codes",
                "tags": [
                    "Me"
                ],
                "responses": {
                    "200": {
                        "description": "`RecoveryCodesResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RecoveryCodesResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Not signed in, or the token/session expired. Codes: unauthenticated.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "unauthenticated"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Not allowed (permission, scope, account state or 2FA requirement). Codes: two_factor_confirmation_required.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "forbidden"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Conflicts with the current state. Codes: two_factor_not_enabled.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "conflict"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/v1/public/ads": {
            "get": {
                "operationId": "v1.public.ads.serve",
                "description": "`?zone=home-top-leaderboard&context[page]=story&context[category]=politics&context[district]=kailali&context[device]=mobile&context[language]=ne`.\nNot cacheable (frequency caps are per visitor). Every ad is labelled \"Sponsored\".",
                "summary": "Serve ads for a zone",
                "tags": [
                    "Public \u00b7 Ads"
                ],
                "parameters": [
                    {
                        "name": "zone",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "maxLength": 60
                        }
                    },
                    {
                        "name": "context[page]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 30
                        }
                    },
                    {
                        "name": "context[category]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "context[province]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "context[district]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "context[device]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "desktop",
                                "mobile",
                                "tablet",
                                "app"
                            ]
                        }
                    },
                    {
                        "name": "context[language]",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ne",
                                "en"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`AdServeResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/AdServeResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/ads/impression": {
            "post": {
                "operationId": "v1.public.ads.impression",
                "summary": "Impression beacon (send when the ad is in view)",
                "tags": [
                    "Public \u00b7 Ads"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AdBeaconRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/ads/click/{token}": {
            "get": {
                "operationId": "v1.public.ads.click",
                "summary": "Click (counts, then redirects to the advertiser)",
                "tags": [
                    "Public \u00b7 Ads"
                ],
                "parameters": [
                    {
                        "name": "token",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "302": {
                        "description": "",
                        "headers": {
                            "Location": {
                                "required": true,
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/categories/{slug}": {
            "get": {
                "operationId": "v1.public.categories.show",
                "description": "The category (parent + children) and its cursor-paginated stories.",
                "summary": "Category page",
                "tags": [
                    "Public \u00b7 Browse"
                ],
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "category",
                        "in": "query",
                        "description": "Category slug(s), comma separated. @example politics,national",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "tag",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        },
                        "example": "flood"
                    },
                    {
                        "name": "topic",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    },
                    {
                        "name": "province",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        },
                        "example": "sudurpaschim"
                    },
                    {
                        "name": "district",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        },
                        "example": "kailali"
                    },
                    {
                        "name": "local_level",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 150
                        },
                        "example": "dhangadhi"
                    },
                    {
                        "name": "author",
                        "in": "query",
                        "description": "Author username.",
                        "schema": {
                            "type": "string",
                            "maxLength": 50
                        }
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "description": "Content type slug. @example news",
                        "schema": {
                            "type": "string",
                            "maxLength": 50
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ne",
                                "en"
                            ]
                        }
                    },
                    {
                        "name": "flags",
                        "in": "query",
                        "description": "Comma separated: breaking, featured, exclusive, sponsored. @example breaking",
                        "schema": {
                            "type": "string",
                            "pattern": "^(breaking|featured|exclusive|sponsored)(,(breaking|featured|exclusive|sponsored))*$"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "meta.next_cursor from the previous page.",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "lite",
                        "in": "query",
                        "description": "1 = small payload for 2G.",
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`EntityFeedResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/EntityFeedResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                },
                                                "per_page": {
                                                    "type": "string"
                                                },
                                                "next_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "prev_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "request_id",
                                                "per_page",
                                                "next_cursor",
                                                "prev_cursor"
                                            ]
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "next": {
                                                    "type": "string"
                                                },
                                                "prev": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "next",
                                                "prev"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/locations/{type}/{slug}": {
            "get": {
                "operationId": "v1.public.locations.show",
                "description": "`type` = province | district | local-level.",
                "summary": "Location page",
                "tags": [
                    "Public \u00b7 Browse"
                ],
                "parameters": [
                    {
                        "name": "type",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "category",
                        "in": "query",
                        "description": "Category slug(s), comma separated. @example politics,national",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "tag",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        },
                        "example": "flood"
                    },
                    {
                        "name": "topic",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    },
                    {
                        "name": "province",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        },
                        "example": "sudurpaschim"
                    },
                    {
                        "name": "district",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        },
                        "example": "kailali"
                    },
                    {
                        "name": "local_level",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 150
                        },
                        "example": "dhangadhi"
                    },
                    {
                        "name": "author",
                        "in": "query",
                        "description": "Author username.",
                        "schema": {
                            "type": "string",
                            "maxLength": 50
                        }
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "description": "Content type slug. @example news",
                        "schema": {
                            "type": "string",
                            "maxLength": 50
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ne",
                                "en"
                            ]
                        }
                    },
                    {
                        "name": "flags",
                        "in": "query",
                        "description": "Comma separated: breaking, featured, exclusive, sponsored. @example breaking",
                        "schema": {
                            "type": "string",
                            "pattern": "^(breaking|featured|exclusive|sponsored)(,(breaking|featured|exclusive|sponsored))*$"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "meta.next_cursor from the previous page.",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "lite",
                        "in": "query",
                        "description": "1 = small payload for 2G.",
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`EntityFeedResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/EntityFeedResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                },
                                                "per_page": {
                                                    "type": "string"
                                                },
                                                "next_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "prev_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "request_id",
                                                "per_page",
                                                "next_cursor",
                                                "prev_cursor"
                                            ]
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "next": {
                                                    "type": "string"
                                                },
                                                "prev": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "next",
                                                "prev"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/authors/{username}": {
            "get": {
                "operationId": "v1.public.authors.show",
                "summary": "Author page",
                "tags": [
                    "Public \u00b7 Browse"
                ],
                "parameters": [
                    {
                        "name": "username",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "category",
                        "in": "query",
                        "description": "Category slug(s), comma separated. @example politics,national",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "tag",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        },
                        "example": "flood"
                    },
                    {
                        "name": "topic",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    },
                    {
                        "name": "province",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        },
                        "example": "sudurpaschim"
                    },
                    {
                        "name": "district",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        },
                        "example": "kailali"
                    },
                    {
                        "name": "local_level",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 150
                        },
                        "example": "dhangadhi"
                    },
                    {
                        "name": "author",
                        "in": "query",
                        "description": "Author username.",
                        "schema": {
                            "type": "string",
                            "maxLength": 50
                        }
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "description": "Content type slug. @example news",
                        "schema": {
                            "type": "string",
                            "maxLength": 50
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ne",
                                "en"
                            ]
                        }
                    },
                    {
                        "name": "flags",
                        "in": "query",
                        "description": "Comma separated: breaking, featured, exclusive, sponsored. @example breaking",
                        "schema": {
                            "type": "string",
                            "pattern": "^(breaking|featured|exclusive|sponsored)(,(breaking|featured|exclusive|sponsored))*$"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "meta.next_cursor from the previous page.",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "lite",
                        "in": "query",
                        "description": "1 = small payload for 2G.",
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`EntityFeedResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/EntityFeedResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                },
                                                "per_page": {
                                                    "type": "string"
                                                },
                                                "next_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "prev_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "request_id",
                                                "per_page",
                                                "next_cursor",
                                                "prev_cursor"
                                            ]
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "next": {
                                                    "type": "string"
                                                },
                                                "prev": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "next",
                                                "prev"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/topics/{slug}": {
            "get": {
                "operationId": "v1.public.topics.show",
                "summary": "Topic page",
                "tags": [
                    "Public \u00b7 Browse"
                ],
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "category",
                        "in": "query",
                        "description": "Category slug(s), comma separated. @example politics,national",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "tag",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        },
                        "example": "flood"
                    },
                    {
                        "name": "topic",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    },
                    {
                        "name": "province",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        },
                        "example": "sudurpaschim"
                    },
                    {
                        "name": "district",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        },
                        "example": "kailali"
                    },
                    {
                        "name": "local_level",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 150
                        },
                        "example": "dhangadhi"
                    },
                    {
                        "name": "author",
                        "in": "query",
                        "description": "Author username.",
                        "schema": {
                            "type": "string",
                            "maxLength": 50
                        }
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "description": "Content type slug. @example news",
                        "schema": {
                            "type": "string",
                            "maxLength": 50
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ne",
                                "en"
                            ]
                        }
                    },
                    {
                        "name": "flags",
                        "in": "query",
                        "description": "Comma separated: breaking, featured, exclusive, sponsored. @example breaking",
                        "schema": {
                            "type": "string",
                            "pattern": "^(breaking|featured|exclusive|sponsored)(,(breaking|featured|exclusive|sponsored))*$"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "meta.next_cursor from the previous page.",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "lite",
                        "in": "query",
                        "description": "1 = small payload for 2G.",
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`EntityFeedResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/EntityFeedResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                },
                                                "per_page": {
                                                    "type": "string"
                                                },
                                                "next_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "prev_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "request_id",
                                                "per_page",
                                                "next_cursor",
                                                "prev_cursor"
                                            ]
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "next": {
                                                    "type": "string"
                                                },
                                                "prev": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "next",
                                                "prev"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/epaper": {
            "get": {
                "operationId": "v1.public.epaper.index",
                "summary": "Editions (newest first)",
                "tags": [
                    "Public \u00b7 E-paper"
                ],
                "parameters": [
                    {
                        "name": "cursor",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `EpaperEditionResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/EpaperEditionResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/epaper/latest": {
            "get": {
                "operationId": "v1.public.epaper.latest",
                "summary": "Latest edition (with pages and regions)",
                "tags": [
                    "Public \u00b7 E-paper"
                ],
                "responses": {
                    "200": {
                        "description": "`EpaperEditionResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/EpaperEditionResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/epaper/archive": {
            "get": {
                "operationId": "v1.public.epaper.archive",
                "summary": "Archive by BS year / month",
                "tags": [
                    "Public \u00b7 E-paper"
                ],
                "parameters": [
                    {
                        "name": "bs_year",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "minimum": 2000,
                            "maximum": 2100
                        }
                    },
                    {
                        "name": "bs_month",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 12
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `EpaperEditionResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/EpaperEditionResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/epaper/{edition}": {
            "get": {
                "operationId": "v1.public.epaper.show",
                "summary": "Edition by uid or AD date (YYYY-MM-DD): pages with clickable regions",
                "tags": [
                    "Public \u00b7 E-paper"
                ],
                "parameters": [
                    {
                        "name": "edition",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`EpaperEditionResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/EpaperEditionResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/epaper/{edition}/download": {
            "get": {
                "operationId": "v1.public.epaper.download",
                "description": "download_rule: public; registered (send a bearer token); members.",
                "summary": "PDF download link",
                "tags": [
                    "Public \u00b7 E-paper"
                ],
                "parameters": [
                    {
                        "name": "edition",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`SignedLinkResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/SignedLinkResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/epaper/{edition}/pdf": {
            "get": {
                "operationId": "v1.public.epaper.pdf",
                "summary": "PDF (signed link, 10 minutes)",
                "tags": [
                    "Public \u00b7 E-paper"
                ],
                "parameters": [
                    {
                        "name": "edition",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/pdf": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary"
                                }
                            }
                        },
                        "headers": {
                            "Transfer-Encoding": {
                                "required": true,
                                "schema": {
                                    "type": "string",
                                    "enum": [
                                        "chunked"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/calendar/convert": {
            "get": {
                "operationId": "v1.public.calendar.convert",
                "description": "`?ad=2026-11-26` or `?bs=2083-08-10` (Nepali digits accepted). Supported: BS 2000\u20132099;\nyears from 2084 are provisional projections. 422 `date_out_of_range` outside the table.",
                "summary": "Convert BS \u21c4 AD",
                "tags": [
                    "Public \u00b7 Geo & calendar"
                ],
                "parameters": [
                    {
                        "name": "ad",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "example": "2026-11-26"
                    },
                    {
                        "name": "bs",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 20
                        },
                        "example": "2083-08-10"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`CalendarConversionResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/CalendarConversionResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/radio/stations": {
            "get": {
                "operationId": "v1.public.radio.stations",
                "summary": "Stations",
                "tags": [
                    "Public \u00b7 Radio"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `RadioStationResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/RadioStationResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/radio/stations/{slug}": {
            "get": {
                "operationId": "v1.public.radio.stations.show",
                "summary": "Station now: now playing, up next, today's schedule, presenters, catch-up",
                "tags": [
                    "Public \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`RadioOverviewResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RadioOverviewResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/radio/stations/{slug}/schedule": {
            "get": {
                "operationId": "v1.public.radio.schedule",
                "summary": "Schedule of one day (Nepal time, default today)",
                "tags": [
                    "Public \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "date",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date-time"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`RadioScheduleResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RadioScheduleResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/radio/programmes/{slug}": {
            "get": {
                "operationId": "v1.public.radio.programmes.show",
                "summary": "Programme with its episodes",
                "tags": [
                    "Public \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "programme": {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                "episodes": {
                                                    "type": "array",
                                                    "items": {}
                                                }
                                            },
                                            "required": [
                                                "programme",
                                                "episodes"
                                            ]
                                        },
                                        "meta": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/radio/episodes": {
            "get": {
                "operationId": "v1.public.radio.episodes",
                "summary": "Catch-up episodes (all programmes)",
                "tags": [
                    "Public \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "cursor",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `RadioEpisodeResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/RadioEpisodeResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/radio/podcasts/{slug}.xml": {
            "get": {
                "operationId": "v1.public.radio.podcast",
                "summary": "Podcast RSS of a programme",
                "tags": [
                    "Public \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/rss+xml; charset=UTF-8": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/radio/stations/{slug}/requests": {
            "post": {
                "operationId": "v1.public.radio.requests",
                "description": "Rate limited: 3 per 10 minutes and 20 per day per IP.",
                "summary": "Song request / message to the RJ",
                "tags": [
                    "Public \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SubmitRadioRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "`MessageResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MessageResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/radio/stations/{slug}/listeners": {
            "post": {
                "operationId": "v1.public.radio.ingest",
                "description": "`Authorization: Bearer RADIO_INGEST_TOKEN`.",
                "summary": "Listener count ingestion (streaming server)",
                "tags": [
                    "Public \u00b7 Radio"
                ],
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RadioIngestRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "`RadioStationResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/RadioStationResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/search": {
            "get": {
                "operationId": "v1.public.search",
                "description": "Nepali or Romanised (`dhangadhi` finds \u0927\u0928\u0917\u0922\u0940), typo tolerant, with the story-list\nfilters. Each result has `highlight` fragments wrapped in `<mark>`.",
                "summary": "Search stories",
                "tags": [
                    "Public \u00b7 Search"
                ],
                "parameters": [
                    {
                        "name": "q",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "minLength": 2,
                            "maxLength": 200
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 500
                        }
                    },
                    {
                        "name": "category",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "tag",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    },
                    {
                        "name": "topic",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    },
                    {
                        "name": "province",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "district",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "local_level",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 150
                        }
                    },
                    {
                        "name": "author",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 50
                        }
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 50
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ne",
                                "en"
                            ]
                        }
                    },
                    {
                        "name": "flags",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "pattern": "^(breaking|featured|exclusive|sponsored)(,(breaking|featured|exclusive|sponsored))*$"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "lite",
                        "in": "query",
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Paginated set of `StoryCardResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/StoryCardResource"
                                            }
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "first": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "last": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "prev": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "next": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "first",
                                                "last",
                                                "prev",
                                                "next"
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "current_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "from": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "minimum": 1
                                                },
                                                "last_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "links": {
                                                    "type": "array",
                                                    "description": "Generated paginator links.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "url": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            },
                                                            "label": {
                                                                "type": "string"
                                                            },
                                                            "active": {
                                                                "type": "boolean"
                                                            }
                                                        },
                                                        "required": [
                                                            "url",
                                                            "label",
                                                            "active"
                                                        ]
                                                    }
                                                },
                                                "path": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "description": "Base path for paginator generated URLs."
                                                },
                                                "per_page": {
                                                    "type": "integer",
                                                    "description": "Number of items shown per page.",
                                                    "minimum": 0
                                                },
                                                "to": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "description": "Number of the last item in the slice.",
                                                    "minimum": 1
                                                },
                                                "total": {
                                                    "type": "integer",
                                                    "description": "Total number of items being paginated.",
                                                    "minimum": 0
                                                },
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "current_page",
                                                "from",
                                                "last_page",
                                                "links",
                                                "path",
                                                "per_page",
                                                "to",
                                                "total",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "links",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/search/suggest": {
            "get": {
                "operationId": "v1.public.search.suggest",
                "description": "Up to 8 headlines for the search box.",
                "summary": "Search suggestions",
                "tags": [
                    "Public \u00b7 Search"
                ],
                "parameters": [
                    {
                        "name": "q",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "minLength": 2,
                            "maxLength": 200
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 500
                        }
                    },
                    {
                        "name": "category",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "tag",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    },
                    {
                        "name": "topic",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    },
                    {
                        "name": "province",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "district",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "local_level",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 150
                        }
                    },
                    {
                        "name": "author",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 50
                        }
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 50
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ne",
                                "en"
                            ]
                        }
                    },
                    {
                        "name": "flags",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "pattern": "^(breaking|featured|exclusive|sponsored)(,(breaking|featured|exclusive|sponsored))*$"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "lite",
                        "in": "query",
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "suggestions": {
                                                    "type": "array",
                                                    "items": {}
                                                }
                                            },
                                            "required": [
                                                "suggestions"
                                            ]
                                        },
                                        "meta": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/breaking": {
            "get": {
                "operationId": "v1.public.breaking",
                "description": "Live items only; they expire automatically.",
                "summary": "Breaking ticker",
                "tags": [
                    "Public \u00b7 Site"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `BreakingItemResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/BreakingItemResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/home": {
            "get": {
                "operationId": "v1.public.home",
                "description": "Every section of the live layout in display order (top bar, header menu, breaking\nticker, Top Stories, Latest News tabs, News Across Nepal, Watch Nepal, FM Radio,\nBusiness, Explore, Lifestyle, Events, Community, footer). Sections whose module is\noff or that are outside their schedule are left out. `?lite=1` for small cards.",
                "summary": "Homepage",
                "tags": [
                    "Public \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    },
                    {
                        "name": "minutes",
                        "in": "query",
                        "description": "just-in: look-back window in minutes (5\u20131440). @example 60",
                        "schema": {
                            "type": "integer",
                            "minimum": 5,
                            "maximum": 1440
                        }
                    },
                    {
                        "name": "period",
                        "in": "query",
                        "description": "most-read. @example day",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "day",
                                "week",
                                "month"
                            ]
                        }
                    },
                    {
                        "name": "category",
                        "in": "query",
                        "description": "latest: category slug(s), comma separated.",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "lite",
                        "in": "query",
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`HomeResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/HomeResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/menus/{key}": {
            "get": {
                "operationId": "v1.public.menus.show",
                "description": "Keys: header, main, more, footer-about, footer-explore, footer-services, footer-policies.",
                "summary": "Menu",
                "tags": [
                    "Public \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "key",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`MenuResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MenuResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/pages/{slug}": {
            "get": {
                "operationId": "v1.public.pages.show",
                "description": "about, team, contact, advertise, careers, privacy, terms, editorial-policy,\ncorrections-policy, grievance, send-a-tip.",
                "summary": "Page",
                "tags": [
                    "Public \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`PageResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/PageResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/team": {
            "get": {
                "operationId": "v1.public.team",
                "summary": "Our team",
                "tags": [
                    "Public \u00b7 Site"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `TeamMemberResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/TeamMemberResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/settings": {
            "get": {
                "operationId": "v1.public.settings",
                "description": "Public settings grouped (site, contact, social, legal, radio, \u2026).",
                "summary": "Site settings",
                "tags": [
                    "Public \u00b7 Site"
                ],
                "responses": {
                    "200": {
                        "description": "`PublicSettingsResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/PublicSettingsResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/redirects/resolve": {
            "get": {
                "operationId": "v1.public.redirects.resolve",
                "description": "Next.js middleware calls this for unknown paths: `{to, status}` or 404. Covers the\nredirects table and old-site patterns (/news-details/{id}/\u2026, /news-article/{id}/\u2026).",
                "summary": "Resolve an old URL",
                "tags": [
                    "Public \u00b7 Site"
                ],
                "parameters": [
                    {
                        "name": "path",
                        "in": "query",
                        "required": true,
                        "description": "Old path to resolve. @example /news-details/12345/2083-08-10",
                        "schema": {
                            "type": "string",
                            "maxLength": 1000
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": [
                                                "object",
                                                "null"
                                            ],
                                            "properties": {
                                                "to": {
                                                    "type": "string"
                                                },
                                                "status": {
                                                    "type": "integer"
                                                }
                                            },
                                            "required": [
                                                "to",
                                                "status"
                                            ]
                                        },
                                        "meta": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/sitemaps/index.xml": {
            "get": {
                "operationId": "v1.public.sitemaps.index",
                "summary": "Sitemap index",
                "tags": [
                    "Public \u00b7 Sitemaps & RSS"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/xml; charset=UTF-8": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/sitemaps/news.xml": {
            "get": {
                "operationId": "v1.public.sitemaps.news",
                "summary": "Google News sitemap (last 48 hours)",
                "tags": [
                    "Public \u00b7 Sitemaps & RSS"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/xml; charset=UTF-8": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/sitemaps/categories.xml": {
            "get": {
                "operationId": "v1.public.sitemaps.categories",
                "summary": "Categories sitemap",
                "tags": [
                    "Public \u00b7 Sitemaps & RSS"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/xml; charset=UTF-8": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/sitemaps/locations.xml": {
            "get": {
                "operationId": "v1.public.sitemaps.locations",
                "summary": "Locations sitemap (provinces, districts, local levels)",
                "tags": [
                    "Public \u00b7 Sitemaps & RSS"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/xml; charset=UTF-8": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/sitemaps/authors.xml": {
            "get": {
                "operationId": "v1.public.sitemaps.authors",
                "summary": "Authors sitemap",
                "tags": [
                    "Public \u00b7 Sitemaps & RSS"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/xml; charset=UTF-8": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/sitemaps/archive/{year}-{month}.xml": {
            "get": {
                "operationId": "v1.public.sitemaps.archive",
                "summary": "Monthly archive sitemap",
                "tags": [
                    "Public \u00b7 Sitemaps & RSS"
                ],
                "parameters": [
                    {
                        "name": "year",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "month",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/xml; charset=UTF-8": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/rss/latest.xml": {
            "get": {
                "operationId": "v1.public.rss.latest",
                "summary": "RSS \u2014 latest",
                "tags": [
                    "Public \u00b7 Sitemaps & RSS"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/rss+xml; charset=UTF-8": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/rss/{kind}/{slug}.xml": {
            "get": {
                "operationId": "v1.public.rss.show",
                "description": "`kind` = category | district | author; `slug` = slug or username.",
                "summary": "RSS \u2014 category, district or author",
                "tags": [
                    "Public \u00b7 Sitemaps & RSS"
                ],
                "parameters": [
                    {
                        "name": "kind",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/rss+xml; charset=UTF-8": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/stories": {
            "get": {
                "operationId": "v1.public.stories.index",
                "description": "Published stories, newest first, cursor-paginated (`meta.next_cursor` \u2192 `?cursor=`).\nFilters take slugs: category (comma list), tag, topic, province, district, local_level,\nauthor (username), type (content type), language, flags.",
                "summary": "Story feed",
                "tags": [
                    "Public \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "category",
                        "in": "query",
                        "description": "Category slug(s), comma separated. @example politics,national",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "tag",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        },
                        "example": "flood"
                    },
                    {
                        "name": "topic",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    },
                    {
                        "name": "province",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        },
                        "example": "sudurpaschim"
                    },
                    {
                        "name": "district",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        },
                        "example": "kailali"
                    },
                    {
                        "name": "local_level",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 150
                        },
                        "example": "dhangadhi"
                    },
                    {
                        "name": "author",
                        "in": "query",
                        "description": "Author username.",
                        "schema": {
                            "type": "string",
                            "maxLength": 50
                        }
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "description": "Content type slug. @example news",
                        "schema": {
                            "type": "string",
                            "maxLength": 50
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ne",
                                "en"
                            ]
                        }
                    },
                    {
                        "name": "flags",
                        "in": "query",
                        "description": "Comma separated: breaking, featured, exclusive, sponsored. @example breaking",
                        "schema": {
                            "type": "string",
                            "pattern": "^(breaking|featured|exclusive|sponsored)(,(breaking|featured|exclusive|sponsored))*$"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "meta.next_cursor from the previous page.",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "lite",
                        "in": "query",
                        "description": "1 = small payload for 2G.",
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `StoryCardResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/StoryCardResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/stories/{slug}": {
            "get": {
                "operationId": "v1.public.stories.show",
                "description": "Blocks, media srcset, authors (verified badge), locations, BS + AD dates, reading time,\ncorrections, breadcrumbs and `structured_data` (NewsArticle + BreadcrumbList JSON-LD).\n`?lite=1` for 2G.",
                "summary": "Story by slug or uid",
                "tags": [
                    "Public \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`PublicStoryResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/PublicStoryResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/latest": {
            "get": {
                "operationId": "v1.public.latest",
                "summary": "Latest stories",
                "tags": [
                    "Public \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    },
                    {
                        "name": "minutes",
                        "in": "query",
                        "description": "just-in: look-back window in minutes (5\u20131440). @example 60",
                        "schema": {
                            "type": "integer",
                            "minimum": 5,
                            "maximum": 1440
                        }
                    },
                    {
                        "name": "period",
                        "in": "query",
                        "description": "most-read. @example day",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "day",
                                "week",
                                "month"
                            ]
                        }
                    },
                    {
                        "name": "category",
                        "in": "query",
                        "description": "latest: category slug(s), comma separated.",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "lite",
                        "in": "query",
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `StoryCardResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/StoryCardResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/trending": {
            "get": {
                "operationId": "v1.public.trending",
                "description": "Most viewed in the last 6 hours (newer hours weigh more).",
                "summary": "Trending now",
                "tags": [
                    "Public \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    },
                    {
                        "name": "minutes",
                        "in": "query",
                        "description": "just-in: look-back window in minutes (5\u20131440). @example 60",
                        "schema": {
                            "type": "integer",
                            "minimum": 5,
                            "maximum": 1440
                        }
                    },
                    {
                        "name": "period",
                        "in": "query",
                        "description": "most-read. @example day",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "day",
                                "week",
                                "month"
                            ]
                        }
                    },
                    {
                        "name": "category",
                        "in": "query",
                        "description": "latest: category slug(s), comma separated.",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "lite",
                        "in": "query",
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `StoryCardResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/StoryCardResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/most-read": {
            "get": {
                "operationId": "v1.public.most-read",
                "description": "`period` = day | week | month.",
                "summary": "Most read",
                "tags": [
                    "Public \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    },
                    {
                        "name": "minutes",
                        "in": "query",
                        "description": "just-in: look-back window in minutes (5\u20131440). @example 60",
                        "schema": {
                            "type": "integer",
                            "minimum": 5,
                            "maximum": 1440
                        }
                    },
                    {
                        "name": "period",
                        "in": "query",
                        "description": "most-read. @example day",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "day",
                                "week",
                                "month"
                            ]
                        }
                    },
                    {
                        "name": "category",
                        "in": "query",
                        "description": "latest: category slug(s), comma separated.",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "lite",
                        "in": "query",
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `StoryCardResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/StoryCardResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/related/{uid}": {
            "get": {
                "operationId": "v1.public.related",
                "description": "Same category, tags or topics.",
                "summary": "Related stories",
                "tags": [
                    "Public \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "uid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    },
                    {
                        "name": "minutes",
                        "in": "query",
                        "description": "just-in: look-back window in minutes (5\u20131440). @example 60",
                        "schema": {
                            "type": "integer",
                            "minimum": 5,
                            "maximum": 1440
                        }
                    },
                    {
                        "name": "period",
                        "in": "query",
                        "description": "most-read. @example day",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "day",
                                "week",
                                "month"
                            ]
                        }
                    },
                    {
                        "name": "category",
                        "in": "query",
                        "description": "latest: category slug(s), comma separated.",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "lite",
                        "in": "query",
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `StoryCardResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/StoryCardResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/just-in": {
            "get": {
                "operationId": "v1.public.just-in",
                "description": "Stories published in the last `minutes` (default 60) \u2014 poll every 30 s for the live \"Just in\" feed.",
                "summary": "Just in",
                "tags": [
                    "Public \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    },
                    {
                        "name": "minutes",
                        "in": "query",
                        "description": "just-in: look-back window in minutes (5\u20131440). @example 60",
                        "schema": {
                            "type": "integer",
                            "minimum": 5,
                            "maximum": 1440
                        }
                    },
                    {
                        "name": "period",
                        "in": "query",
                        "description": "most-read. @example day",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "day",
                                "week",
                                "month"
                            ]
                        }
                    },
                    {
                        "name": "category",
                        "in": "query",
                        "description": "latest: category slug(s), comma separated.",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "lite",
                        "in": "query",
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `StoryCardResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/StoryCardResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/stories/{uid}/counts": {
            "get": {
                "operationId": "v1.public.stories.counts",
                "description": "Rounded counts (e.g. 12.4K / \u0967\u0968.\u096a \u0939\u091c\u093e\u0930). Only when the \"public-counts\" module is\non; `show_view_counts` / `show_share_counts` choose which numbers appear.",
                "summary": "Public view / share counts",
                "tags": [
                    "Public \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "uid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "examples": [
                                        {
                                            "data": {
                                                "views": {
                                                    "count": 12400,
                                                    "display": "12.4K",
                                                    "display_ne": "\u0967\u0968.\u096a \u0939\u091c\u093e\u0930"
                                                },
                                                "shares": {
                                                    "count": 830,
                                                    "display": "830",
                                                    "display_ne": "\u096e\u0969\u0966"
                                                }
                                            },
                                            "meta": {
                                                "request_id": "01jdz3k6q8m4r2t7v9w1x3y5za"
                                            },
                                            "links": []
                                        }
                                    ],
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "views": {
                                                    "type": "object",
                                                    "properties": {
                                                        "count": {
                                                            "type": "integer"
                                                        },
                                                        "display": {
                                                            "type": "string"
                                                        },
                                                        "display_ne": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "required": [
                                                        "count",
                                                        "display",
                                                        "display_ne"
                                                    ]
                                                },
                                                "shares": {
                                                    "type": "object",
                                                    "properties": {
                                                        "count": {
                                                            "type": "integer"
                                                        },
                                                        "display": {
                                                            "type": "string"
                                                        },
                                                        "display_ne": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "required": [
                                                        "count",
                                                        "display",
                                                        "display_ne"
                                                    ]
                                                }
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/stories/{uid}/view": {
            "post": {
                "operationId": "v1.public.stories.view",
                "description": "Beacon sent by the site after the story renders (pages are CDN-cached). One count per\nvisitor per story per 30 minutes; feeds trending and most-read.",
                "summary": "Count a view",
                "tags": [
                    "Public \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "uid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/preview/{token}": {
            "get": {
                "operationId": "v1.public.preview",
                "description": "Unpublished draft for Next.js draft mode. Token from `POST /cms/stories/{story}/preview-token` (1 hour).",
                "summary": "Preview by token",
                "tags": [
                    "Public \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "token",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`PublicStoryResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/PublicStoryResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/story-preview/{story}": {
            "get": {
                "operationId": "v1.public.story-preview",
                "summary": "Preview by signed link",
                "tags": [
                    "Public \u00b7 Stories"
                ],
                "parameters": [
                    {
                        "name": "story",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`PublicStoryResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/PublicStoryResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/horoscope": {
            "get": {
                "operationId": "v1.public.horoscope",
                "description": "period = daily | weekly | monthly | yearly; date in BS (2083-08-14) or AD; default today.",
                "summary": "Horoscope (rashifal) for all 12 signs",
                "tags": [
                    "Public \u00b7 Utilities"
                ],
                "parameters": [
                    {
                        "name": "period",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "daily",
                                "weekly",
                                "monthly",
                                "yearly"
                            ]
                        }
                    },
                    {
                        "name": "date",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "pattern": "^[0-9\u0966-\u096f]{4}-[0-9\u0966-\u096f]{1,2}-[0-9\u0966-\u096f]{1,2}$",
                            "maxLength": 10
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`HoroscopeResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/HoroscopeResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/market": {
            "get": {
                "operationId": "v1.public.market",
                "summary": "Market board: gold, silver, forex (Nepal Rastra Bank), NEPSE",
                "tags": [
                    "Public \u00b7 Utilities"
                ],
                "responses": {
                    "200": {
                        "description": "`MarketResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/MarketResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/market/{key}/history": {
            "get": {
                "operationId": "v1.public.market.history",
                "summary": "Rate history of one instrument",
                "tags": [
                    "Public \u00b7 Utilities"
                ],
                "parameters": [
                    {
                        "name": "key",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "days",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 365
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "key": {
                                                    "type": "string"
                                                },
                                                "name": {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                "unit": {
                                                    "type": "string"
                                                },
                                                "rates": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "date": {
                                                                "type": "string"
                                                            },
                                                            "buy": {
                                                                "type": [
                                                                    "number",
                                                                    "null"
                                                                ]
                                                            },
                                                            "sell": {
                                                                "type": [
                                                                    "number",
                                                                    "null"
                                                                ]
                                                            },
                                                            "value": {
                                                                "type": [
                                                                    "number",
                                                                    "null"
                                                                ]
                                                            }
                                                        },
                                                        "required": [
                                                            "date",
                                                            "buy",
                                                            "sell",
                                                            "value"
                                                        ]
                                                    }
                                                }
                                            },
                                            "required": [
                                                "key",
                                                "name",
                                                "unit",
                                                "rates"
                                            ]
                                        },
                                        "meta": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/weather": {
            "get": {
                "operationId": "v1.public.weather",
                "summary": "Weather: current + 3-day forecast for a district (default from site settings)",
                "tags": [
                    "Public \u00b7 Utilities"
                ],
                "parameters": [
                    {
                        "name": "district",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`WeatherResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/WeatherResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/watch": {
            "get": {
                "operationId": "v1.public.watch",
                "summary": "Watch Nepal (block): featured, watch, shorts, shows, podcasts, live",
                "tags": [
                    "Public \u00b7 Watch Nepal"
                ],
                "responses": {
                    "200": {
                        "description": "`WatchResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/WatchResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/videos": {
            "get": {
                "operationId": "v1.public.videos.index",
                "summary": "Videos (kind=video|short|live, series, category; cursor)",
                "tags": [
                    "Public \u00b7 Watch Nepal"
                ],
                "parameters": [
                    {
                        "name": "kind",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "video",
                                "short",
                                "live"
                            ]
                        }
                    },
                    {
                        "name": "series",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 120
                        }
                    },
                    {
                        "name": "category",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 100
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "maxLength": 500
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 50
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Array of `VideoResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/VideoResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationException"
                    }
                },
                "security": []
            }
        },
        "/v1/public/videos/{video}": {
            "get": {
                "operationId": "v1.public.videos.show",
                "summary": "Video by slug or uid (chapters, subtitles)",
                "tags": [
                    "Public \u00b7 Watch Nepal"
                ],
                "parameters": [
                    {
                        "name": "video",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`VideoResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/VideoResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/video-series/{slug}": {
            "get": {
                "operationId": "v1.public.video-series.show",
                "summary": "Show / series: seasons and episodes",
                "tags": [
                    "Public \u00b7 Watch Nepal"
                ],
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`VideoSeriesResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/VideoSeriesResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/playlists/{slug}": {
            "get": {
                "operationId": "v1.public.playlists.show",
                "summary": "Playlist",
                "tags": [
                    "Public \u00b7 Watch Nepal"
                ],
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`VideoPlaylistResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/VideoPlaylistResource"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "object"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        },
        "/v1/public/videos/live": {
            "get": {
                "operationId": "v1.public.videos.live",
                "summary": "Live streams (live first, then scheduled)",
                "tags": [
                    "Public \u00b7 Watch Nepal"
                ],
                "responses": {
                    "200": {
                        "description": "Array of `VideoResource`",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/VideoResource"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id"
                                            ]
                                        },
                                        "links": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Too many requests",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string",
                                                    "description": "Stable snake_case error code.",
                                                    "examples": [
                                                        "too_many_requests"
                                                    ]
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "description": "Translated message (ne / en)."
                                                },
                                                "details": {
                                                    "type": "object",
                                                    "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                                },
                                                "request_id": {
                                                    "type": "string",
                                                    "examples": [
                                                        "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message",
                                                "details",
                                                "request_id"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": []
            }
        }
    },
    "components": {
        "securitySchemes": {
            "http": {
                "type": "http",
                "description": "Sanctum bearer token for apps (`Authorization: Bearer {token}`). The Next.js CMS uses the Sanctum SPA cookie session instead: call `GET /sanctum/csrf-cookie`, then send `X-XSRF-TOKEN`.",
                "scheme": "bearer"
            }
        },
        "schemas": {
            "AcceptInvitationRequest": {
                "type": "object",
                "description": "Accepts a staff invitation: choose username and password.",
                "properties": {
                    "token": {
                        "type": "string",
                        "minLength": 64,
                        "maxLength": 64
                    },
                    "name": {
                        "type": "string",
                        "description": "Plain string or {\"ne\": \"...\", \"en\": \"...\"}.",
                        "examples": [
                            {
                                "ne": "\u0939\u0930\u093f \u092c\u094b\u0939\u0930\u093e",
                                "en": "Hari Bohara"
                            }
                        ]
                    },
                    "username": {
                        "type": "string",
                        "pattern": "^[a-z0-9._]+$",
                        "examples": [
                            "hari.bohara"
                        ],
                        "minLength": 3,
                        "maxLength": 50
                    },
                    "password": {
                        "type": "string",
                        "examples": [
                            "strong-pass-2083"
                        ]
                    },
                    "device_id": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Stable app-generated device id (also accepted as X-Device-Id header).",
                        "examples": [
                            "6f1c2a9e-4b7d-4e55-9a3c-2d0f8b1e7a11"
                        ],
                        "maxLength": 191
                    },
                    "device_name": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "Pixel 8"
                        ],
                        "maxLength": 100
                    },
                    "password_confirmation": {
                        "type": "string"
                    }
                },
                "required": [
                    "token",
                    "name",
                    "username",
                    "password",
                    "password_confirmation"
                ],
                "title": "AcceptInvitationRequest"
            },
            "AccuracyFlagRequest": {
                "type": "object",
                "description": "Mark a story (admin / fact-checker only, evidence required).",
                "properties": {
                    "kind": {
                        "type": "string",
                        "description": "fake, misleading, factual_error, plagiarism, duplicate, complaint_upheld @example factual_error",
                        "enum": [
                            "fake",
                            "misleading",
                            "factual_error",
                            "plagiarism",
                            "duplicate",
                            "complaint_upheld"
                        ]
                    },
                    "evidence": {
                        "type": "string",
                        "description": "Evidence or note (links, documents, who confirmed). @example Ward office confirmed the figure was 12, not 120.",
                        "minLength": 10,
                        "maxLength": 5000
                    }
                },
                "required": [
                    "kind",
                    "evidence"
                ],
                "title": "AccuracyFlagRequest"
            },
            "AccuracyFlagResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "kind": {
                        "type": "string",
                        "description": "fake, misleading, factual_error, plagiarism, duplicate, complaint_upheld"
                    },
                    "evidence": {
                        "type": "string"
                    },
                    "reporter": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "username": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "uid",
                            "username"
                        ]
                    },
                    "confirmed_by": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "username": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "uid",
                            "username"
                        ]
                    },
                    "confirmed_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "revoked_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "revoke_reason": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "kind",
                    "evidence",
                    "reporter",
                    "confirmed_by",
                    "confirmed_at",
                    "revoked_at",
                    "revoke_reason"
                ],
                "title": "AccuracyFlagResource"
            },
            "AdBeaconRequest": {
                "type": "object",
                "properties": {
                    "token": {
                        "type": "string",
                        "maxLength": 500
                    }
                },
                "required": [
                    "token"
                ],
                "title": "AdBeaconRequest"
            },
            "AdCampaignResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "client": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "uid",
                            "name"
                        ]
                    },
                    "starts_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "ends_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "budget": {
                        "type": "string"
                    },
                    "pricing": {
                        "type": "string"
                    },
                    "rate": {
                        "type": "string"
                    },
                    "priority": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string",
                        "description": "draft | pending | approved | rejected | paused"
                    },
                    "rejection_reason": {
                        "type": "string"
                    },
                    "is_political": {
                        "type": "string"
                    },
                    "daily_cap": {
                        "type": "string"
                    },
                    "impression_goal": {
                        "type": "string"
                    },
                    "pacing": {
                        "type": "string"
                    },
                    "frequency_cap": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "count": {
                                "type": "string"
                            },
                            "hours": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "count",
                            "hours"
                        ]
                    },
                    "targeting": {
                        "type": "string"
                    },
                    "zones": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                },
                                "minItems": 0,
                                "maxItems": 0
                            }
                        ]
                    },
                    "creatives": {
                        "type": "array",
                        "items": {}
                    },
                    "approved_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "name",
                    "client",
                    "starts_at",
                    "ends_at",
                    "budget",
                    "pricing",
                    "rate",
                    "priority",
                    "status",
                    "rejection_reason",
                    "is_political",
                    "daily_cap",
                    "impression_goal",
                    "pacing",
                    "frequency_cap",
                    "targeting",
                    "zones",
                    "creatives",
                    "approved_at"
                ],
                "title": "AdCampaignResource"
            },
            "AdClientResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "contact_name": {
                        "type": "string"
                    },
                    "email": {
                        "type": "string"
                    },
                    "phone": {
                        "type": "string"
                    },
                    "pan": {
                        "type": "string"
                    },
                    "notes": {
                        "type": "string"
                    },
                    "is_active": {
                        "type": "string"
                    }
                },
                "required": [
                    "uid",
                    "name",
                    "contact_name",
                    "email",
                    "phone",
                    "pan",
                    "notes",
                    "is_active"
                ],
                "title": "AdClientResource"
            },
            "AdCreativeResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "body": {
                        "type": "string"
                    },
                    "cta_label": {
                        "type": "string"
                    },
                    "click_url": {
                        "type": "string"
                    },
                    "width": {
                        "type": "string"
                    },
                    "height": {
                        "type": "string"
                    },
                    "media_url": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "has_html": {
                        "type": "boolean"
                    },
                    "weight": {
                        "type": "string"
                    },
                    "is_active": {
                        "type": "string"
                    }
                },
                "required": [
                    "uid",
                    "type",
                    "title",
                    "body",
                    "cta_label",
                    "click_url",
                    "width",
                    "height",
                    "media_url",
                    "has_html",
                    "weight",
                    "is_active"
                ],
                "title": "AdCreativeResource"
            },
            "AdDecisionRequest": {
                "type": "object",
                "properties": {
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "title": "AdDecisionRequest"
            },
            "AdReportResource": {
                "type": "object",
                "properties": {
                    "campaign": {
                        "type": "object",
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "uid",
                            "name"
                        ]
                    },
                    "from": {
                        "type": "string"
                    },
                    "to": {
                        "type": "string"
                    },
                    "days": {
                        "type": "string",
                        "description": "[{date, impressions, clicks, ctr, spend}]"
                    },
                    "totals": {
                        "type": "string"
                    }
                },
                "required": [
                    "campaign",
                    "from",
                    "to",
                    "days",
                    "totals"
                ],
                "title": "AdReportResource"
            },
            "AdServeResource": {
                "type": "object",
                "properties": {
                    "zone": {
                        "type": "object",
                        "properties": {
                            "key": {
                                "type": "string"
                            },
                            "sizes": {
                                "type": "string"
                            },
                            "max_ads": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "key",
                            "sizes",
                            "max_ads"
                        ]
                    },
                    "ads": {
                        "type": "array",
                        "items": {}
                    }
                },
                "required": [
                    "zone",
                    "ads"
                ],
                "title": "AdServeResource"
            },
            "AdZoneResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "key": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "page": {
                        "type": "string"
                    },
                    "sizes": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "device": {
                        "type": "string"
                    },
                    "max_ads": {
                        "type": "integer"
                    },
                    "is_legacy": {
                        "type": "boolean"
                    },
                    "is_active": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "uid",
                    "key",
                    "name",
                    "page",
                    "sizes",
                    "device",
                    "max_ads",
                    "is_legacy",
                    "is_active"
                ],
                "title": "AdZoneResource"
            },
            "AlertRuleResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "key": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "params": {
                        "type": "string"
                    },
                    "recipient_roles": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "cooldown_minutes": {
                        "type": "integer"
                    },
                    "is_active": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "uid",
                    "key",
                    "name",
                    "params",
                    "recipient_roles",
                    "cooldown_minutes",
                    "is_active"
                ],
                "title": "AlertRuleResource"
            },
            "AnalyticsAlertResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "rule": {
                        "type": "string"
                    },
                    "severity": {
                        "type": "string",
                        "description": "warning | critical"
                    },
                    "title": {
                        "type": "string"
                    },
                    "payload": {
                        "type": "string"
                    },
                    "triggered_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "acknowledged_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "acknowledged_by": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "username": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "uid",
                            "username"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "rule",
                    "severity",
                    "title",
                    "payload",
                    "triggered_at",
                    "acknowledged_at",
                    "acknowledged_by"
                ],
                "title": "AnalyticsAlertResource"
            },
            "AnalyticsExportResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "report": {
                        "type": "string"
                    },
                    "format": {
                        "type": "string"
                    },
                    "params": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string",
                        "description": "queued | running | ready | failed"
                    },
                    "rows": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "error": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "download": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "description": "Signed URL valid 10 minutes, once ready.",
                        "properties": {
                            "url": {
                                "type": "string"
                            },
                            "expires_at": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "iso": {
                                        "type": "string"
                                    },
                                    "bs": {
                                        "type": [
                                            "object",
                                            "null"
                                        ],
                                        "properties": {
                                            "year": {
                                                "type": "integer"
                                            },
                                            "month": {
                                                "type": "integer"
                                            },
                                            "day": {
                                                "type": "integer"
                                            },
                                            "formatted_ne": {
                                                "type": "string"
                                            },
                                            "formatted_en": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "year",
                                            "month",
                                            "day",
                                            "formatted_ne",
                                            "formatted_en"
                                        ]
                                    }
                                },
                                "required": [
                                    "iso",
                                    "bs"
                                ]
                            }
                        },
                        "required": [
                            "url",
                            "expires_at"
                        ]
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "finished_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "report",
                    "format",
                    "params",
                    "status",
                    "rows",
                    "error",
                    "download",
                    "created_at",
                    "finished_at"
                ],
                "title": "AnalyticsExportResource"
            },
            "AnalyticsReportResource": {
                "type": "object",
                "additionalProperties": {},
                "title": "AnalyticsReportResource"
            },
            "AppealRequest": {
                "type": "object",
                "description": "Appeal a flag or a fake / misleading rejection of your own story.",
                "properties": {
                    "flag": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Flag uid."
                    },
                    "story": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Story uid (for a rejection)."
                    },
                    "reason": {
                        "type": "string",
                        "examples": [
                            "The figure came from the DAO press release; copy attached."
                        ],
                        "minLength": 10,
                        "maxLength": 5000
                    }
                },
                "required": [
                    "reason"
                ],
                "title": "AppealRequest"
            },
            "ApproveApplicationRequest": {
                "type": "object",
                "description": "Approve: the applicant becomes an active verified contributor with the chosen role.",
                "properties": {
                    "role": {
                        "type": "string",
                        "enum": [
                            "reporter",
                            "stringer"
                        ],
                        "examples": [
                            "reporter"
                        ]
                    },
                    "notes": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 2000
                    }
                },
                "required": [
                    "role"
                ],
                "title": "ApproveApplicationRequest"
            },
            "AssignRequest": {
                "type": "object",
                "description": "Assign or reassign without changing the status. Omit assignee to auto-assign.",
                "properties": {
                    "assignee": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Editor uid; omit to let the strategy choose."
                    },
                    "strategy": {
                        "type": "string",
                        "enum": [
                            "round_robin",
                            "by_category",
                            "by_district",
                            "least_loaded"
                        ],
                        "examples": [
                            "least_loaded"
                        ]
                    },
                    "desk": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 30
                    },
                    "deadline": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time",
                        "examples": [
                            "2026-11-27T18:00:00+05:45"
                        ]
                    },
                    "instructions": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "Verify casualty numbers with the DAO"
                        ],
                        "maxLength": 2000
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 500
                    }
                },
                "title": "AssignRequest"
            },
            "AssignmentResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "assignee": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "uid",
                            "name"
                        ]
                    },
                    "state": {
                        "type": "string",
                        "examples": [
                            "active"
                        ]
                    },
                    "instructions": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "deadline": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "assignee",
                    "state",
                    "instructions",
                    "deadline",
                    "created_at"
                ],
                "title": "AssignmentResource"
            },
            "AuthResource": {
                "type": "object",
                "properties": {
                    "mode": {
                        "type": "string",
                        "examples": [
                            "token"
                        ]
                    },
                    "user": {
                        "allOf": [
                            {
                                "$ref": "#/components/schemas/UserResource"
                            },
                            {
                                "type": "object",
                                "required": [
                                    "roles"
                                ]
                            }
                        ]
                    },
                    "access_token": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "12|Jk8sN2..."
                        ]
                    },
                    "token_type": {
                        "type": "string",
                        "const": "Bearer"
                    },
                    "access_token_expires_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "refresh_token": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "refresh_token_expires_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "two_factor_required": {
                        "type": "boolean"
                    },
                    "challenge_token": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "two_factor_method": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Which code the challenge expects: `email` (sent to the account's e-mail) or `totp`.",
                        "examples": [
                            "email"
                        ]
                    },
                    "two_factor_enrollment_required": {
                        "type": "boolean",
                        "description": "True when the user's role requires 2FA and it is not set up yet: CMS routes answer 403 until it is."
                    }
                },
                "required": [
                    "mode",
                    "user",
                    "two_factor_required",
                    "two_factor_enrollment_required"
                ],
                "title": "AuthResource"
            },
            "BodyBlockType": {
                "type": "string",
                "enum": [
                    "paragraph",
                    "heading",
                    "quote",
                    "image",
                    "gallery",
                    "video",
                    "audio",
                    "embed",
                    "table",
                    "factbox",
                    "timeline",
                    "poll",
                    "map",
                    "related",
                    "ad_slot",
                    "read_also"
                ],
                "title": "BodyBlockType"
            },
            "BreakingItemResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "headline": {
                        "type": "string"
                    },
                    "url": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Story path when linked to a story, else the external URL."
                    },
                    "story": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "level": {
                        "type": "string",
                        "examples": [
                            "breaking"
                        ]
                    },
                    "starts_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "expires_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "sort": {
                        "type": "integer"
                    }
                },
                "required": [
                    "uid",
                    "headline",
                    "url",
                    "story",
                    "level",
                    "starts_at",
                    "expires_at"
                ],
                "title": "BreakingItemResource"
            },
            "CalendarConversionResource": {
                "type": "object",
                "properties": {
                    "ad": {
                        "type": "object",
                        "examples": [
                            {
                                "date": "2026-11-26",
                                "weekday": {
                                    "ne": "\u092c\u093f\u0939\u0940\u092c\u093e\u0930",
                                    "en": "Thursday"
                                }
                            }
                        ],
                        "properties": {
                            "date": {
                                "type": "string"
                            },
                            "weekday": {
                                "type": "object",
                                "properties": {
                                    "ne": {
                                        "type": "string"
                                    },
                                    "en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "ne",
                                    "en"
                                ]
                            }
                        },
                        "required": [
                            "date",
                            "weekday"
                        ]
                    },
                    "bs": {
                        "type": "object",
                        "examples": [
                            {
                                "date": "2083-08-10",
                                "year": 2083,
                                "month": 8,
                                "day": 10,
                                "month_name": {
                                    "ne": "\u092e\u0902\u0938\u093f\u0930",
                                    "en": "Mangsir"
                                },
                                "days_in_month": 29,
                                "formatted_ne": "\u0968\u0966\u096e\u0969 \u092e\u0902\u0938\u093f\u0930 \u0967\u0966",
                                "formatted_en": "2083 Mangsir 10",
                                "provisional": false
                            }
                        ],
                        "properties": {
                            "date": {
                                "type": "string"
                            },
                            "year": {
                                "type": "integer"
                            },
                            "month": {
                                "type": "integer"
                            },
                            "day": {
                                "type": "integer"
                            },
                            "month_name": {
                                "type": "object",
                                "properties": {
                                    "ne": {
                                        "type": "string"
                                    },
                                    "en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "ne",
                                    "en"
                                ]
                            },
                            "days_in_month": {
                                "type": "integer"
                            },
                            "formatted_ne": {
                                "type": "string"
                            },
                            "formatted_en": {
                                "type": "string"
                            },
                            "provisional": {
                                "type": "boolean"
                            }
                        },
                        "required": [
                            "date",
                            "year",
                            "month",
                            "day",
                            "month_name",
                            "days_in_month",
                            "formatted_ne",
                            "formatted_en",
                            "provisional"
                        ]
                    },
                    "fiscal_year": {
                        "type": "object",
                        "description": "Shrawan 1 \u2013 Asar end.",
                        "examples": [
                            {
                                "label": "2083/84",
                                "label_ne": "\u0968\u0966\u096e\u0969/\u096e\u096a",
                                "start_bs": "2083-04-01",
                                "end_bs": "2084-03-31",
                                "start_ad": "2026-07-17",
                                "end_ad": "2027-07-16"
                            }
                        ],
                        "properties": {
                            "label": {
                                "type": "string"
                            },
                            "label_ne": {
                                "type": "string"
                            },
                            "start_bs": {
                                "type": "string"
                            },
                            "end_bs": {
                                "type": "string"
                            },
                            "start_ad": {
                                "type": "string"
                            },
                            "end_ad": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "label",
                            "label_ne",
                            "start_bs",
                            "end_bs",
                            "start_ad",
                            "end_ad"
                        ]
                    }
                },
                "required": [
                    "ad",
                    "bs",
                    "fiscal_year"
                ],
                "title": "CalendarConversionResource"
            },
            "CategoriesReorderRequest": {
                "type": "object",
                "properties": {
                    "parent": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "categories": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "minItems": 1,
                        "maxItems": 1000,
                        "uniqueItems": true
                    }
                },
                "required": [
                    "categories"
                ],
                "title": "CategoriesReorderRequest"
            },
            "CategoriesStoreRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "examples": [
                            {
                                "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                "en": "National"
                            }
                        ],
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "ne": {
                                        "type": "string"
                                    },
                                    "en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "ne"
                                ]
                            }
                        ]
                    },
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:[-_][a-z0-9]+)*$",
                        "examples": [
                            "national"
                        ],
                        "maxLength": 150
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "sort_order": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1000000
                    },
                    "seo": {
                        "type": "object",
                        "properties": {
                            "title": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            },
                            "description": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            },
                            "keywords": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    },
                    "parent": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "color": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "pattern": "^#[0-9a-fA-F]{6}$"
                    },
                    "icon": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "pattern": "^[a-zA-Z0-9_-]+$",
                        "maxLength": 100
                    },
                    "layout_key": {
                        "type": "string",
                        "pattern": "^[a-z0-9_-]+$",
                        "maxLength": 100
                    },
                    "show_in_menu": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "name",
                    "slug"
                ],
                "title": "CategoriesStoreRequest"
            },
            "CategoriesUpdateRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "examples": [
                            {
                                "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                "en": "National"
                            }
                        ],
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "ne": {
                                        "type": "string"
                                    },
                                    "en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "ne"
                                ]
                            }
                        ]
                    },
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:[-_][a-z0-9]+)*$",
                        "examples": [
                            "national"
                        ],
                        "maxLength": 150
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "sort_order": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1000000
                    },
                    "seo": {
                        "type": "object",
                        "properties": {
                            "title": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            },
                            "description": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            },
                            "keywords": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    },
                    "parent": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "color": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "pattern": "^#[0-9a-fA-F]{6}$"
                    },
                    "icon": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "pattern": "^[a-zA-Z0-9_-]+$",
                        "maxLength": 100
                    },
                    "layout_key": {
                        "type": "string",
                        "pattern": "^[a-z0-9_-]+$",
                        "maxLength": 100
                    },
                    "show_in_menu": {
                        "type": "boolean"
                    }
                },
                "title": "CategoriesUpdateRequest"
            },
            "ChangePasswordRequest": {
                "type": "object",
                "description": "Changes the password; every other session and token is signed out.",
                "properties": {
                    "current_password": {
                        "type": "string"
                    },
                    "password": {
                        "type": "string",
                        "examples": [
                            "new-strong-pass-2083"
                        ]
                    },
                    "password_confirmation": {
                        "type": "string"
                    }
                },
                "required": [
                    "current_password",
                    "password",
                    "password_confirmation"
                ],
                "title": "ChangePasswordRequest"
            },
            "ChangePriorityRequest": {
                "type": "object",
                "description": "Change a story's priority (reporter is notified).",
                "properties": {
                    "priority": {
                        "type": "string",
                        "enum": [
                            "P0",
                            "P1",
                            "P2",
                            "P3",
                            "P4"
                        ],
                        "examples": [
                            "P1"
                        ]
                    },
                    "reason": {
                        "type": "string",
                        "examples": [
                            "Casualties confirmed by police"
                        ],
                        "minLength": 3,
                        "maxLength": 500
                    }
                },
                "required": [
                    "priority",
                    "reason"
                ],
                "title": "ChangePriorityRequest"
            },
            "ChunkUploadRequest": {
                "type": "object",
                "properties": {
                    "number": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100000
                    },
                    "file": {
                        "type": "string",
                        "format": "binary",
                        "contentMediaType": "application/octet-stream",
                        "description": "Maximum file size: 8192 kilobytes."
                    }
                },
                "required": [
                    "number",
                    "file"
                ],
                "title": "ChunkUploadRequest"
            },
            "ClientModulesResource": {
                "type": "object",
                "properties": {
                    "surface": {
                        "type": "string",
                        "examples": [
                            "web"
                        ]
                    },
                    "modules": {
                        "type": "array",
                        "description": "Build menus/pages from this; disabled modules answer 404 module_disabled.",
                        "examples": [
                            [
                                {
                                    "key": "comments",
                                    "enabled": true,
                                    "settings": {
                                        "pre_moderation": true
                                    }
                                }
                            ]
                        ],
                        "items": {
                            "type": "object",
                            "properties": {
                                "key": {
                                    "type": "string"
                                },
                                "enabled": {
                                    "type": "boolean"
                                },
                                "settings": {
                                    "type": "object",
                                    "additionalProperties": {}
                                }
                            },
                            "required": [
                                "key",
                                "enabled",
                                "settings"
                            ]
                        }
                    }
                },
                "required": [
                    "surface",
                    "modules"
                ],
                "title": "ClientModulesResource"
            },
            "CorrectionResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "kind": {
                        "type": "string"
                    },
                    "body": {
                        "type": "string"
                    },
                    "published_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "kind",
                    "body",
                    "published_at"
                ],
                "title": "CorrectionResource"
            },
            "CropMediaRequest": {
                "type": "object",
                "properties": {
                    "x": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1
                    },
                    "y": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1
                    },
                    "width": {
                        "type": "number",
                        "maximum": 1
                    },
                    "height": {
                        "type": "number",
                        "maximum": 1
                    }
                },
                "required": [
                    "x",
                    "y",
                    "width",
                    "height"
                ],
                "title": "CropMediaRequest"
            },
            "DecideAppealRequest": {
                "type": "object",
                "description": "Decide an appeal.",
                "properties": {
                    "decision": {
                        "type": "string",
                        "description": "upheld | denied @example upheld",
                        "enum": [
                            "upheld",
                            "denied"
                        ]
                    },
                    "note": {
                        "type": "string",
                        "examples": [
                            "Source document checks out."
                        ],
                        "minLength": 5,
                        "maxLength": 2000
                    }
                },
                "required": [
                    "decision",
                    "note"
                ],
                "title": "DecideAppealRequest"
            },
            "DeskResource": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "slug": {
                        "type": "string",
                        "examples": [
                            "kailali"
                        ]
                    },
                    "name": {
                        "type": "array",
                        "examples": [
                            {
                                "ne": "\u0915\u0948\u0932\u093e\u0932\u0940 \u0921\u0947\u0938\u094d\u0915",
                                "en": "Kailali desk"
                            }
                        ],
                        "items": {}
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "national",
                            "district",
                            "beat",
                            "multimedia"
                        ],
                        "examples": [
                            "district"
                        ]
                    },
                    "district": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "head": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "name": {
                                "type": "array",
                                "items": {}
                            }
                        },
                        "required": [
                            "uid",
                            "name"
                        ]
                    },
                    "members_count": {
                        "type": "integer"
                    },
                    "members": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "uid": {
                                    "type": "string"
                                },
                                "name": {
                                    "type": "array",
                                    "items": {}
                                },
                                "username": {
                                    "type": "string"
                                }
                            },
                            "required": [
                                "uid",
                                "name",
                                "username"
                            ]
                        }
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "id",
                    "slug",
                    "name",
                    "type",
                    "is_active",
                    "created_at"
                ],
                "title": "DeskResource"
            },
            "DeviceResource": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string",
                        "examples": [
                            "01JDQ9A1B2C3D4E5F6G7H8J9K0"
                        ]
                    },
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "Chrome Windows"
                        ]
                    },
                    "platform": {
                        "type": "string",
                        "examples": [
                            "web"
                        ]
                    },
                    "app_version": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "last_ip": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "trusted": {
                        "type": "boolean"
                    },
                    "current": {
                        "type": "boolean"
                    },
                    "last_seen_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "id",
                    "name",
                    "platform",
                    "app_version",
                    "last_ip",
                    "trusted",
                    "current",
                    "last_seen_at",
                    "created_at"
                ],
                "title": "DeviceResource"
            },
            "DistrictResource": {
                "type": "object",
                "properties": {
                    "slug": {
                        "type": "string",
                        "examples": [
                            "kailali"
                        ]
                    },
                    "code": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "name": {
                        "type": "array",
                        "examples": [
                            {
                                "ne": "\u0915\u0948\u0932\u093e\u0932\u0940",
                                "en": "Kailali"
                            }
                        ],
                        "items": {}
                    },
                    "province": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "headquarter": {
                        "type": "array",
                        "items": {}
                    },
                    "area_sq_km": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "website": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "lat": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "lng": {
                        "type": [
                            "number",
                            "null"
                        ]
                    }
                },
                "required": [
                    "slug",
                    "code",
                    "name",
                    "province",
                    "headquarter",
                    "area_sq_km",
                    "website",
                    "lat",
                    "lng"
                ],
                "title": "DistrictResource"
            },
            "DutyShiftRequest": {
                "type": "object",
                "description": "Create or update a duty shift.",
                "properties": {
                    "user": {
                        "type": "string",
                        "description": "User uid."
                    },
                    "role": {
                        "type": "string",
                        "description": "A role the user holds. @example editor"
                    },
                    "starts_at": {
                        "type": "string",
                        "format": "date-time",
                        "examples": [
                            "2026-11-27T06:00:00+05:45"
                        ]
                    },
                    "ends_at": {
                        "type": "string",
                        "format": "date-time",
                        "examples": [
                            "2026-11-27T14:00:00+05:45"
                        ]
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "morning",
                            "day",
                            "evening",
                            "night",
                            "on_call"
                        ],
                        "examples": [
                            "morning"
                        ]
                    }
                },
                "required": [
                    "user",
                    "role",
                    "starts_at",
                    "ends_at",
                    "type"
                ],
                "title": "DutyShiftRequest"
            },
            "DutyShiftResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "user": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "uid",
                            "name"
                        ]
                    },
                    "role": {
                        "type": "string",
                        "examples": [
                            "editor"
                        ]
                    },
                    "type": {
                        "type": "string",
                        "examples": [
                            "morning"
                        ]
                    },
                    "starts_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "ends_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "on_duty_now": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "uid",
                    "user",
                    "role",
                    "type",
                    "starts_at",
                    "ends_at",
                    "on_duty_now"
                ],
                "title": "DutyShiftResource"
            },
            "EffectivePermissionsResource": {
                "type": "object",
                "properties": {
                    "user": {
                        "type": "string"
                    },
                    "roles": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "super_admin": {
                        "type": "boolean"
                    },
                    "permissions": {
                        "type": "array",
                        "description": "Every permission touching the user with its SOURCE: role:{name} | direct:allow | direct:deny | expired | super-admin.",
                        "examples": [
                            [
                                {
                                    "permission": "media.delete",
                                    "effective": false,
                                    "sources": [
                                        "role:editor",
                                        "direct:deny"
                                    ],
                                    "expires_at": null,
                                    "reason": "Deleted photos by mistake"
                                }
                            ]
                        ],
                        "items": {
                            "type": "object",
                            "properties": {
                                "permission": {
                                    "type": "string"
                                },
                                "effective": {
                                    "type": "boolean"
                                },
                                "sources": {
                                    "type": "array",
                                    "items": {
                                        "type": "string"
                                    }
                                },
                                "expires_at": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "reason": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                }
                            },
                            "required": [
                                "permission",
                                "effective",
                                "sources",
                                "expires_at",
                                "reason"
                            ]
                        }
                    },
                    "scopes": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "type": {
                                    "type": "string"
                                },
                                "key": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "name": {
                                    "type": [
                                        "object",
                                        "null"
                                    ],
                                    "additionalProperties": {
                                        "type": "string"
                                    }
                                }
                            },
                            "required": [
                                "type",
                                "key",
                                "name"
                            ]
                        }
                    }
                },
                "required": [
                    "user",
                    "roles",
                    "super_admin",
                    "permissions",
                    "scopes"
                ],
                "title": "EffectivePermissionsResource"
            },
            "ElectionSilenceRequest": {
                "type": "object",
                "description": "Election silence: political ads stop at once.",
                "properties": {
                    "enabled": {
                        "type": "boolean"
                    },
                    "reason": {
                        "type": "string",
                        "maxLength": 1000
                    }
                },
                "required": [
                    "enabled",
                    "reason"
                ],
                "title": "ElectionSilenceRequest"
            },
            "EmbedMediaRequest": {
                "type": "object",
                "properties": {
                    "url": {
                        "type": "string",
                        "format": "uri",
                        "maxLength": 1000
                    },
                    "title": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    }
                },
                "required": [
                    "url"
                ],
                "title": "EmbedMediaRequest"
            },
            "EntitiesStoreRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "examples": [
                            {
                                "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                "en": "National"
                            }
                        ],
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "ne": {
                                        "type": "string"
                                    },
                                    "en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "ne"
                                ]
                            }
                        ]
                    },
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:[-_][a-z0-9]+)*$",
                        "examples": [
                            "national"
                        ],
                        "maxLength": 150
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "sort_order": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1000000
                    },
                    "seo": {
                        "type": "object",
                        "properties": {
                            "title": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            },
                            "description": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            },
                            "keywords": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    },
                    "type": {
                        "$ref": "#/components/schemas/EntityType"
                    }
                },
                "required": [
                    "name",
                    "slug",
                    "type"
                ],
                "title": "EntitiesStoreRequest"
            },
            "EntitiesUpdateRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "examples": [
                            {
                                "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                "en": "National"
                            }
                        ],
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "ne": {
                                        "type": "string"
                                    },
                                    "en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "ne"
                                ]
                            }
                        ]
                    },
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:[-_][a-z0-9]+)*$",
                        "examples": [
                            "national"
                        ],
                        "maxLength": 150
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "sort_order": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1000000
                    },
                    "seo": {
                        "type": "object",
                        "properties": {
                            "title": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            },
                            "description": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            },
                            "keywords": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    },
                    "type": {
                        "$ref": "#/components/schemas/EntityType"
                    }
                },
                "title": "EntitiesUpdateRequest"
            },
            "EntityFeedResource": {
                "type": "array",
                "items": {},
                "title": "EntityFeedResource"
            },
            "EntityType": {
                "type": "string",
                "enum": [
                    "person",
                    "organisation",
                    "place"
                ],
                "title": "EntityType"
            },
            "EpaperEditionResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "date": {
                        "type": "string"
                    },
                    "bs": {
                        "type": "object",
                        "properties": {
                            "year": {
                                "type": [
                                    "integer",
                                    "null"
                                ]
                            },
                            "month": {
                                "type": [
                                    "integer",
                                    "null"
                                ]
                            },
                            "day": {
                                "type": [
                                    "integer",
                                    "null"
                                ]
                            }
                        },
                        "required": [
                            "year",
                            "month",
                            "day"
                        ]
                    },
                    "title": {
                        "type": "string"
                    },
                    "edition_type": {
                        "type": "string"
                    },
                    "page_count": {
                        "type": "integer"
                    },
                    "download_rule": {
                        "type": "string",
                        "description": "public | registered | members"
                    },
                    "cover": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "pages": {
                        "type": "array",
                        "items": {
                            "type": "array",
                            "items": {}
                        }
                    },
                    "status": {
                        "type": "string"
                    },
                    "is_published": {
                        "type": "boolean"
                    },
                    "published_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "date",
                    "bs",
                    "title",
                    "edition_type",
                    "page_count",
                    "download_rule",
                    "cover",
                    "pages",
                    "published_at"
                ],
                "title": "EpaperEditionResource"
            },
            "ExportRequest": {
                "type": "object",
                "description": "Queue an export.",
                "properties": {
                    "report": {
                        "type": "string",
                        "description": "leaderboard, story, category, location, scorecards, priority @example leaderboard",
                        "enum": [
                            "leaderboard",
                            "story",
                            "category",
                            "location",
                            "scorecards",
                            "priority"
                        ]
                    },
                    "format": {
                        "type": "string",
                        "description": "csv, xlsx, pdf @example csv",
                        "enum": [
                            "csv",
                            "xlsx",
                            "pdf"
                        ]
                    },
                    "params": {
                        "type": "object",
                        "description": "Report filters: period, from, to, dimension, metric, uid, type, slug, role, sort, district, limit.",
                        "properties": {
                            "period": {
                                "type": "string",
                                "enum": [
                                    "today",
                                    "yesterday",
                                    "7d",
                                    "30d",
                                    "90d",
                                    "month",
                                    "bs_month",
                                    "fiscal_year",
                                    "custom"
                                ]
                            },
                            "from": {
                                "type": "string",
                                "format": "date"
                            },
                            "to": {
                                "type": "string",
                                "format": "date"
                            },
                            "dimension": {
                                "type": "string",
                                "enum": [
                                    "story",
                                    "author",
                                    "editor",
                                    "category",
                                    "tag",
                                    "topic",
                                    "province",
                                    "district",
                                    "local_level",
                                    "desk",
                                    "content_type",
                                    "surface",
                                    "referrer",
                                    "device",
                                    "reader_district"
                                ]
                            },
                            "metric": {
                                "type": "string",
                                "enum": [
                                    "views",
                                    "uniques",
                                    "shares",
                                    "engaged",
                                    "completion",
                                    "comments",
                                    "push_opens",
                                    "ad_revenue",
                                    "growth"
                                ]
                            },
                            "uid": {
                                "type": "string",
                                "maxLength": 120
                            },
                            "type": {
                                "type": "string",
                                "enum": [
                                    "province",
                                    "district",
                                    "local-level"
                                ]
                            },
                            "slug": {
                                "type": "string",
                                "maxLength": 120
                            },
                            "role": {
                                "type": "string",
                                "enum": [
                                    "admin",
                                    "desk_head",
                                    "editor",
                                    "reporter",
                                    "stringer",
                                    "contributor",
                                    "fact_checker",
                                    "photo_video_editor",
                                    "radio",
                                    "epaper",
                                    "ads",
                                    "seo_social",
                                    "moderator"
                                ]
                            },
                            "sort": {
                                "type": "string",
                                "enum": [
                                    "credibility",
                                    "impact",
                                    "published",
                                    "accuracy_rate"
                                ]
                            },
                            "district": {
                                "type": "string",
                                "maxLength": 100
                            },
                            "limit": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 300
                            }
                        }
                    }
                },
                "required": [
                    "report",
                    "format"
                ],
                "title": "ExportRequest"
            },
            "ForgotPasswordRequest": {
                "type": "object",
                "description": "Starts a password reset by e-mail link or SMS code. Always answers 202.",
                "properties": {
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "email",
                        "examples": [
                            "sita@example.com"
                        ],
                        "maxLength": 191
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "9812345678"
                        ]
                    }
                },
                "title": "ForgotPasswordRequest"
            },
            "GrantPermissionRequest": {
                "type": "object",
                "description": "Direct allow or deny of one permission, optionally until expires_at.",
                "properties": {
                    "permission": {
                        "type": "string",
                        "examples": [
                            "workflow.publish.direct"
                        ]
                    },
                    "effect": {
                        "type": "string",
                        "enum": [
                            "allow",
                            "deny"
                        ],
                        "examples": [
                            "allow"
                        ]
                    },
                    "reason": {
                        "type": "string",
                        "examples": [
                            "Trusted Kailali reporter during election week"
                        ],
                        "minLength": 3,
                        "maxLength": 500
                    },
                    "expires_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time",
                        "examples": [
                            "2026-12-26T00:00:00+05:45"
                        ]
                    }
                },
                "required": [
                    "permission",
                    "effect",
                    "reason"
                ],
                "title": "GrantPermissionRequest"
            },
            "HealthResource": {
                "type": "object",
                "properties": {
                    "status": {
                        "type": "string",
                        "description": "ok | warn | fail"
                    },
                    "checks": {
                        "type": "string"
                    }
                },
                "required": [
                    "status",
                    "checks"
                ],
                "title": "HealthResource"
            },
            "HomeResource": {
                "type": "object",
                "properties": {
                    "layout": {
                        "type": "string"
                    },
                    "today": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "description": "Today (AD + BS) for the top bar.",
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "sections": {
                        "type": "array",
                        "items": {}
                    }
                },
                "required": [
                    "layout",
                    "today",
                    "sections"
                ],
                "title": "HomeResource"
            },
            "HoroscopeResource": {
                "type": "object",
                "properties": {
                    "period": {
                        "type": "string",
                        "description": "daily | weekly | monthly | yearly"
                    },
                    "date": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "range": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "from": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "iso": {
                                        "type": "string"
                                    },
                                    "bs": {
                                        "type": [
                                            "object",
                                            "null"
                                        ],
                                        "properties": {
                                            "year": {
                                                "type": "integer"
                                            },
                                            "month": {
                                                "type": "integer"
                                            },
                                            "day": {
                                                "type": "integer"
                                            },
                                            "formatted_ne": {
                                                "type": "string"
                                            },
                                            "formatted_en": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "year",
                                            "month",
                                            "day",
                                            "formatted_ne",
                                            "formatted_en"
                                        ]
                                    }
                                },
                                "required": [
                                    "iso",
                                    "bs"
                                ]
                            },
                            "to": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "iso": {
                                        "type": "string"
                                    },
                                    "bs": {
                                        "type": [
                                            "object",
                                            "null"
                                        ],
                                        "properties": {
                                            "year": {
                                                "type": "integer"
                                            },
                                            "month": {
                                                "type": "integer"
                                            },
                                            "day": {
                                                "type": "integer"
                                            },
                                            "formatted_ne": {
                                                "type": "string"
                                            },
                                            "formatted_en": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "year",
                                            "month",
                                            "day",
                                            "formatted_ne",
                                            "formatted_en"
                                        ]
                                    }
                                },
                                "required": [
                                    "iso",
                                    "bs"
                                ]
                            }
                        },
                        "required": [
                            "from",
                            "to"
                        ]
                    },
                    "signs": {
                        "type": "string"
                    }
                },
                "required": [
                    "period",
                    "date",
                    "range",
                    "signs"
                ],
                "title": "HoroscopeResource"
            },
            "IngestEventsRequest": {
                "type": "object",
                "description": "First-party analytics events (batch \u2264 50).",
                "properties": {
                    "visitor_id": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Stable anonymous device / browser id (never an e-mail or phone). @example 9f1c2b7e-3d4a-4b8e-9a51-0c2f6e1d7a33",
                        "maxLength": 100
                    },
                    "surface": {
                        "type": "string",
                        "description": "web | amp | android | ios | app @example web",
                        "enum": [
                            "web",
                            "amp",
                            "android",
                            "ios",
                            "app"
                        ]
                    },
                    "referrer": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "document.referrer of the landing page. @example https://www.google.com/",
                        "maxLength": 1000
                    },
                    "utm_source": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 100
                    },
                    "utm_medium": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 100
                    },
                    "district": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Reader district slug if known (app setting / profile). @example kailali",
                        "maxLength": 100
                    },
                    "events": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "type": {
                                    "type": "string",
                                    "description": "view, read_progress, engaged_seconds, share, click, play, complete, push_open, newsletter_click, ad_impression, ad_click, epaper_page_view, search",
                                    "enum": [
                                        "view",
                                        "read_progress",
                                        "engaged_seconds",
                                        "share",
                                        "click",
                                        "play",
                                        "complete",
                                        "push_open",
                                        "newsletter_click",
                                        "ad_impression",
                                        "ad_click",
                                        "epaper_page_view",
                                        "search"
                                    ]
                                },
                                "story": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "description": "Story uid. @example 01jdz3k6q8m4r2t7v9w1x3y5za"
                                },
                                "subject_type": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "description": "video | radio_episode | epaper_edition | ad_campaign",
                                    "enum": [
                                        "video",
                                        "radio_episode",
                                        "epaper_edition",
                                        "ad_campaign",
                                        null
                                    ]
                                },
                                "subject": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "value": {
                                    "type": [
                                        "integer",
                                        "null"
                                    ],
                                    "description": "read_progress: 25/50/75/90; engaged_seconds: 1\u2013600; epaper_page_view: page; play/complete: seconds watched.",
                                    "minimum": 0,
                                    "maximum": 86400
                                },
                                "network": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "description": "Share network (required for share).",
                                    "enum": [
                                        "facebook",
                                        "whatsapp",
                                        "viber",
                                        "messenger",
                                        "x",
                                        "linkedin",
                                        "telegram",
                                        "copy_link",
                                        "native",
                                        "email",
                                        "other",
                                        null
                                    ]
                                },
                                "query": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "description": "Search text (search events).",
                                    "maxLength": 200
                                },
                                "results": {
                                    "type": [
                                        "integer",
                                        "null"
                                    ],
                                    "minimum": 0
                                },
                                "path": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "description": "Page path for views without a story (home, category pages). @example /category/national",
                                    "maxLength": 500
                                },
                                "at": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "format": "date-time",
                                    "description": "When it happened (ISO 8601); clamped to the last 24 hours."
                                }
                            },
                            "required": [
                                "type"
                            ]
                        },
                        "minItems": 1,
                        "maxItems": 50
                    }
                },
                "required": [
                    "events"
                ],
                "title": "IngestEventsRequest"
            },
            "IngestResultResource": {
                "type": "object",
                "properties": {
                    "accepted": {
                        "type": "integer"
                    },
                    "duplicates": {
                        "type": "integer"
                    },
                    "dropped": {
                        "type": "integer"
                    }
                },
                "required": [
                    "accepted",
                    "duplicates",
                    "dropped"
                ],
                "title": "IngestResultResource"
            },
            "InitUploadRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string",
                        "maxLength": 255
                    },
                    "mime": {
                        "type": "string",
                        "maxLength": 100
                    },
                    "size": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 2147483648
                    },
                    "sha256": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "pattern": "^[a-f0-9]{64}$"
                    }
                },
                "required": [
                    "name",
                    "mime",
                    "size"
                ],
                "title": "InitUploadRequest"
            },
            "InvitationResource": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "array",
                        "items": {}
                    },
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Masked for the public invitation lookup."
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "role": {
                        "type": "string",
                        "examples": [
                            "editor"
                        ]
                    },
                    "scopes": {
                        "type": "object",
                        "additionalProperties": {}
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "accepted",
                            "pending",
                            "expired"
                        ]
                    },
                    "invited_by": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "expires_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "id",
                    "name",
                    "email",
                    "phone",
                    "role",
                    "status",
                    "expires_at",
                    "created_at"
                ],
                "title": "InvitationResource"
            },
            "LayoutResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "key": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "page": {
                        "type": "string"
                    },
                    "is_default": {
                        "type": "boolean"
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "starts_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "ends_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "sections": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "uid": {
                                    "type": "string"
                                },
                                "type": {
                                    "type": "string",
                                    "enum": [
                                        "top_bar",
                                        "header",
                                        "breaking_ticker",
                                        "top_stories",
                                        "latest_news",
                                        "news_across_nepal",
                                        "watch_nepal",
                                        "fm_radio",
                                        "business_news",
                                        "explore",
                                        "lifestyle_grid",
                                        "events",
                                        "community",
                                        "newsletter_cta",
                                        "ad_slot",
                                        "custom_html",
                                        "epaper",
                                        "footer"
                                    ]
                                },
                                "title": {
                                    "type": "string"
                                },
                                "settings": {
                                    "type": "string"
                                },
                                "sort": {
                                    "type": "integer"
                                },
                                "is_active": {
                                    "type": "boolean"
                                },
                                "starts_at": {
                                    "type": [
                                        "object",
                                        "null"
                                    ],
                                    "properties": {
                                        "iso": {
                                            "type": "string"
                                        },
                                        "bs": {
                                            "type": [
                                                "object",
                                                "null"
                                            ],
                                            "properties": {
                                                "year": {
                                                    "type": "integer"
                                                },
                                                "month": {
                                                    "type": "integer"
                                                },
                                                "day": {
                                                    "type": "integer"
                                                },
                                                "formatted_ne": {
                                                    "type": "string"
                                                },
                                                "formatted_en": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "year",
                                                "month",
                                                "day",
                                                "formatted_ne",
                                                "formatted_en"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "iso",
                                        "bs"
                                    ]
                                },
                                "ends_at": {
                                    "type": [
                                        "object",
                                        "null"
                                    ],
                                    "properties": {
                                        "iso": {
                                            "type": "string"
                                        },
                                        "bs": {
                                            "type": [
                                                "object",
                                                "null"
                                            ],
                                            "properties": {
                                                "year": {
                                                    "type": "integer"
                                                },
                                                "month": {
                                                    "type": "integer"
                                                },
                                                "day": {
                                                    "type": "integer"
                                                },
                                                "formatted_ne": {
                                                    "type": "string"
                                                },
                                                "formatted_en": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "year",
                                                "month",
                                                "day",
                                                "formatted_ne",
                                                "formatted_en"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "iso",
                                        "bs"
                                    ]
                                }
                            },
                            "required": [
                                "uid",
                                "type",
                                "title",
                                "settings",
                                "sort",
                                "is_active",
                                "starts_at",
                                "ends_at"
                            ]
                        }
                    },
                    "updated_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "key",
                    "name",
                    "page",
                    "is_default",
                    "is_active",
                    "starts_at",
                    "ends_at",
                    "sections",
                    "updated_at"
                ],
                "title": "LayoutResource"
            },
            "LocalLevelResource": {
                "type": "object",
                "properties": {
                    "slug": {
                        "type": "string",
                        "examples": [
                            "dhangadhi"
                        ]
                    },
                    "code": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "name": {
                        "type": "array",
                        "examples": [
                            {
                                "ne": "\u0927\u0928\u0917\u0922\u0940",
                                "en": "Dhangadhi"
                            }
                        ],
                        "items": {}
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "metropolitan",
                            "sub_metropolitan",
                            "municipality",
                            "rural_municipality"
                        ],
                        "examples": [
                            "sub_metropolitan"
                        ]
                    },
                    "type_label": {
                        "examples": [
                            {
                                "ne": "\u0909\u092a\u092e\u0939\u093e\u0928\u0917\u0930\u092a\u093e\u0932\u093f\u0915\u093e",
                                "en": "Sub-Metropolitan City"
                            }
                        ],
                        "anyOf": [
                            {
                                "type": "object",
                                "properties": {
                                    "ne": {
                                        "type": "string",
                                        "const": "\u092e\u0939\u093e\u0928\u0917\u0930\u092a\u093e\u0932\u093f\u0915\u093e"
                                    },
                                    "en": {
                                        "type": "string",
                                        "const": "Metropolitan City"
                                    }
                                },
                                "required": [
                                    "ne",
                                    "en"
                                ]
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "ne": {
                                        "type": "string",
                                        "const": "\u0909\u092a\u092e\u0939\u093e\u0928\u0917\u0930\u092a\u093e\u0932\u093f\u0915\u093e"
                                    },
                                    "en": {
                                        "type": "string",
                                        "const": "Sub-Metropolitan City"
                                    }
                                },
                                "required": [
                                    "ne",
                                    "en"
                                ]
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "ne": {
                                        "type": "string",
                                        "const": "\u0928\u0917\u0930\u092a\u093e\u0932\u093f\u0915\u093e"
                                    },
                                    "en": {
                                        "type": "string",
                                        "const": "Municipality"
                                    }
                                },
                                "required": [
                                    "ne",
                                    "en"
                                ]
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "ne": {
                                        "type": "string",
                                        "const": "\u0917\u093e\u0909\u0901\u092a\u093e\u0932\u093f\u0915\u093e"
                                    },
                                    "en": {
                                        "type": "string",
                                        "const": "Rural Municipality"
                                    }
                                },
                                "required": [
                                    "ne",
                                    "en"
                                ]
                            }
                        ]
                    },
                    "district": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "ward_count": {
                        "type": "integer",
                        "examples": [
                            19
                        ]
                    },
                    "area_sq_km": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "website": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "lat": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "lng": {
                        "type": [
                            "number",
                            "null"
                        ]
                    }
                },
                "required": [
                    "slug",
                    "code",
                    "name",
                    "type",
                    "type_label",
                    "district",
                    "ward_count",
                    "area_sq_km",
                    "website",
                    "lat",
                    "lng"
                ],
                "title": "LocalLevelResource"
            },
            "LoginRequest": {
                "type": "object",
                "description": "Login with e-mail, username or phone + password.",
                "properties": {
                    "login": {
                        "type": "string",
                        "description": "E-mail, username or phone.",
                        "examples": [
                            "editor@paschimtoday.com"
                        ],
                        "maxLength": 191
                    },
                    "password": {
                        "type": "string",
                        "examples": [
                            "correct-horse-battery"
                        ],
                        "maxLength": 255
                    },
                    "device_id": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Stable app-generated device id (also accepted as X-Device-Id header).",
                        "examples": [
                            "6f1c2a9e-4b7d-4e55-9a3c-2d0f8b1e7a11"
                        ],
                        "maxLength": 191
                    },
                    "device_name": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "Pixel 8"
                        ],
                        "maxLength": 100
                    }
                },
                "required": [
                    "login",
                    "password"
                ],
                "title": "LoginRequest"
            },
            "LogoutRequest": {
                "type": "object",
                "description": "Logout this device, or every device with all=true.",
                "properties": {
                    "all": {
                        "type": "boolean",
                        "examples": [
                            false
                        ]
                    }
                },
                "title": "LogoutRequest"
            },
            "MarketDateRequest": {
                "type": "object",
                "properties": {
                    "date": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "title": "MarketDateRequest"
            },
            "MarketOverrideRequest": {
                "type": "object",
                "description": "Manual rate (wins over imported values for that day).",
                "properties": {
                    "date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "buy": {
                        "type": [
                            "number",
                            "null"
                        ],
                        "minimum": 0
                    },
                    "sell": {
                        "type": [
                            "number",
                            "null"
                        ],
                        "minimum": 0
                    },
                    "value": {
                        "type": [
                            "number",
                            "null"
                        ],
                        "minimum": 0
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "title": "MarketOverrideRequest"
            },
            "MarketResource": {
                "type": "array",
                "items": {},
                "title": "MarketResource"
            },
            "MediaAssetResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "image",
                            "video",
                            "audio",
                            "document",
                            "embed"
                        ]
                    },
                    "title": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "caption": {
                        "type": "string"
                    },
                    "alt": {
                        "type": "string"
                    },
                    "credit": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "licence": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "uploading",
                            "scanning",
                            "processing",
                            "ready",
                            "rejected"
                        ]
                    },
                    "focal_point": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "additionalProperties": {
                            "type": "number"
                        }
                    },
                    "tags": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "usage_count": {
                        "type": "integer"
                    },
                    "metadata": {
                        "type": "string"
                    },
                    "urls": {
                        "type": "string"
                    },
                    "srcset": {
                        "type": "string",
                        "description": "Responsive `srcset` strings per format, e.g. {\"webp\": \"\u2026-320.webp 320w, \u2026\"}."
                    },
                    "embed": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "provider": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "url": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            }
                        },
                        "required": [
                            "provider",
                            "url"
                        ]
                    },
                    "caption_override": {
                        "type": "string"
                    },
                    "position": {
                        "type": "string"
                    },
                    "folder": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "type",
                    "title",
                    "caption",
                    "alt",
                    "credit",
                    "licence",
                    "status",
                    "focal_point",
                    "tags",
                    "usage_count",
                    "metadata",
                    "urls",
                    "srcset",
                    "embed",
                    "created_at"
                ],
                "title": "MediaAssetResource"
            },
            "MediaFolderResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "parent": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "name",
                    "parent"
                ],
                "title": "MediaFolderResource"
            },
            "MediaStatus": {
                "type": "string",
                "enum": [
                    "uploading",
                    "scanning",
                    "processing",
                    "ready",
                    "rejected"
                ],
                "title": "MediaStatus"
            },
            "MediaType": {
                "type": "string",
                "enum": [
                    "image",
                    "video",
                    "audio",
                    "document",
                    "embed"
                ],
                "title": "MediaType"
            },
            "MediaUploadResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "asset": {
                        "$ref": "#/components/schemas/MediaAssetResource"
                    },
                    "status": {
                        "type": "string"
                    },
                    "size": {
                        "type": "integer"
                    },
                    "chunk_size": {
                        "type": "integer"
                    },
                    "chunk_count": {
                        "type": "integer"
                    },
                    "received_chunks": {
                        "type": "array",
                        "items": {
                            "type": "integer"
                        }
                    },
                    "expires_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "asset",
                    "status",
                    "size",
                    "chunk_size",
                    "chunk_count",
                    "received_chunks",
                    "expires_at"
                ],
                "title": "MediaUploadResource"
            },
            "MenuItemType": {
                "type": "string",
                "enum": [
                    "category",
                    "page",
                    "url",
                    "module"
                ],
                "title": "MenuItemType"
            },
            "MenuResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "key": {
                        "type": "string",
                        "examples": [
                            "header"
                        ]
                    },
                    "name": {
                        "type": "string"
                    },
                    "location": {
                        "type": "string",
                        "examples": [
                            "header"
                        ]
                    },
                    "is_active": {
                        "type": "string"
                    },
                    "items": {
                        "description": "Nested: {uid, type, label, url, category, module, icon, new_tab, children[]}",
                        "type": [
                            "string",
                            "array"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "key",
                    "name",
                    "location",
                    "items"
                ],
                "title": "MenuResource"
            },
            "MessageResource": {
                "type": "array",
                "items": {},
                "title": "MessageResource"
            },
            "ModuleResource": {
                "type": "object",
                "properties": {
                    "key": {
                        "type": "string",
                        "examples": [
                            "comments"
                        ]
                    },
                    "name": {
                        "type": "array",
                        "items": {}
                    },
                    "description": {
                        "type": "array",
                        "items": {}
                    },
                    "is_core": {
                        "type": "boolean",
                        "description": "Core modules cannot be switched off."
                    },
                    "enabled": {
                        "type": "boolean"
                    },
                    "active": {
                        "type": "string",
                        "description": "Enabled, inside its schedule and all dependencies on."
                    },
                    "surfaces": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "audience": {
                        "type": "object",
                        "examples": [
                            {
                                "type": "percent",
                                "percent": 25
                            }
                        ],
                        "properties": {
                            "type": {
                                "type": "string"
                            },
                            "users": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "districts": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "percent": {
                                "type": "integer"
                            }
                        },
                        "required": [
                            "type"
                        ]
                    },
                    "depends_on": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "dependants": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "settings": {
                        "type": "string"
                    },
                    "enabled_from": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "enabled_until": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "updated_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "key",
                    "name",
                    "description",
                    "is_core",
                    "enabled",
                    "active",
                    "surfaces",
                    "audience",
                    "depends_on",
                    "dependants",
                    "settings",
                    "enabled_from",
                    "enabled_until",
                    "updated_at"
                ],
                "title": "ModuleResource"
            },
            "MyPermissionsResource": {
                "type": "object",
                "properties": {
                    "roles": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "super_admin": {
                        "type": "boolean"
                    },
                    "permissions": {
                        "type": "array",
                        "description": "Flat list for show/hide in the CMS.",
                        "examples": [
                            [
                                "content.stories.create",
                                "media.upload",
                                "workflow.submit"
                            ]
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "dangerous": {
                        "type": "array",
                        "description": "Held permissions that need a fresh 2FA confirmation.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "scopes": {
                        "type": "array",
                        "description": "Empty = unrestricted.",
                        "examples": [
                            [
                                {
                                    "type": "district",
                                    "key": "kailali",
                                    "name": {
                                        "ne": "\u0915\u0948\u0932\u093e\u0932\u0940",
                                        "en": "Kailali"
                                    }
                                }
                            ]
                        ],
                        "items": {
                            "type": "object",
                            "properties": {
                                "type": {
                                    "type": "string"
                                },
                                "key": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "name": {
                                    "type": [
                                        "object",
                                        "null"
                                    ],
                                    "additionalProperties": {
                                        "type": "string"
                                    }
                                }
                            },
                            "required": [
                                "type",
                                "key",
                                "name"
                            ]
                        }
                    }
                },
                "required": [
                    "roles",
                    "super_admin",
                    "permissions",
                    "dangerous",
                    "scopes"
                ],
                "title": "MyPermissionsResource"
            },
            "NotificationPreferencesResource": {
                "type": "object",
                "properties": {
                    "events": {
                        "type": "string",
                        "description": "Event \u00d7 channel; source = always (in-app) | user | default (role/event).",
                        "examples": [
                            [
                                {
                                    "event": "story_submitted",
                                    "channels": {
                                        "database": {
                                            "enabled": true,
                                            "source": "always",
                                            "locked": true
                                        },
                                        "sms": {
                                            "enabled": false,
                                            "source": "default",
                                            "locked": false
                                        }
                                    }
                                }
                            ]
                        ]
                    },
                    "quiet_hours": {
                        "type": "string",
                        "description": "Asia/Kathmandu; P0 ignores quiet hours. @example {\"start\": \"22:00\", \"end\": \"06:00\"}"
                    },
                    "daily_digest": {
                        "type": "string"
                    }
                },
                "required": [
                    "events",
                    "quiet_hours",
                    "daily_digest"
                ],
                "title": "NotificationPreferencesResource"
            },
            "OtpLoginRequest": {
                "type": "object",
                "description": "Login with phone + SMS code (request the code with purpose=login).",
                "properties": {
                    "phone": {
                        "type": "string",
                        "examples": [
                            "9812345678"
                        ]
                    },
                    "code": {
                        "type": "string",
                        "pattern": "^\\d{6}$",
                        "examples": [
                            "482913"
                        ]
                    },
                    "device_id": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Stable app-generated device id (also accepted as X-Device-Id header).",
                        "examples": [
                            "6f1c2a9e-4b7d-4e55-9a3c-2d0f8b1e7a11"
                        ],
                        "maxLength": 191
                    },
                    "device_name": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "Pixel 8"
                        ],
                        "maxLength": 100
                    }
                },
                "required": [
                    "phone",
                    "code"
                ],
                "title": "OtpLoginRequest"
            },
            "OtpSendRequest": {
                "type": "object",
                "description": "Sends (or resends) a one-time code. The response never reveals whether the account exists.",
                "properties": {
                    "target": {
                        "type": "string",
                        "description": "Phone (E.164 or 98XXXXXXXX) or e-mail.",
                        "examples": [
                            "9812345678"
                        ],
                        "maxLength": 191
                    },
                    "purpose": {
                        "type": "string",
                        "enum": [
                            "register",
                            "login",
                            "password_reset"
                        ],
                        "examples": [
                            "login"
                        ]
                    }
                },
                "required": [
                    "target",
                    "purpose"
                ],
                "title": "OtpSendRequest"
            },
            "OtpVerifyRequest": {
                "type": "object",
                "description": "Verifies a registration code and signs the reader in.",
                "properties": {
                    "target": {
                        "type": "string",
                        "examples": [
                            "9812345678"
                        ],
                        "maxLength": 191
                    },
                    "code": {
                        "type": "string",
                        "pattern": "^\\d{6}$",
                        "examples": [
                            "482913"
                        ]
                    },
                    "device_id": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Stable app-generated device id (also accepted as X-Device-Id header).",
                        "examples": [
                            "6f1c2a9e-4b7d-4e55-9a3c-2d0f8b1e7a11"
                        ],
                        "maxLength": 191
                    },
                    "device_name": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "Pixel 8"
                        ],
                        "maxLength": 100
                    }
                },
                "required": [
                    "target",
                    "code"
                ],
                "title": "OtpVerifyRequest"
            },
            "PageResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "slug": {
                        "type": "string",
                        "examples": [
                            "about"
                        ]
                    },
                    "title": {
                        "type": "string"
                    },
                    "summary": {
                        "type": "string"
                    },
                    "body_html": {
                        "type": "string",
                        "description": "Purified HTML per language."
                    },
                    "seo": {
                        "type": "string"
                    },
                    "template": {
                        "type": "string"
                    },
                    "is_published": {
                        "type": "boolean"
                    },
                    "sort": {
                        "type": "integer"
                    },
                    "updated_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "slug",
                    "title",
                    "summary",
                    "body_html",
                    "seo",
                    "template",
                    "updated_at"
                ],
                "title": "PageResource"
            },
            "PermissionGroupResource": {
                "type": "object",
                "properties": {
                    "module": {
                        "type": "string",
                        "examples": [
                            "content"
                        ]
                    },
                    "permissions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PermissionResource"
                        }
                    }
                },
                "required": [
                    "module",
                    "permissions"
                ],
                "title": "PermissionGroupResource"
            },
            "PermissionOverrideResource": {
                "type": "object",
                "properties": {
                    "permission": {
                        "type": "string",
                        "examples": [
                            "workflow.publish.direct"
                        ]
                    },
                    "effect": {
                        "type": "string",
                        "enum": [
                            "allow",
                            "deny"
                        ],
                        "examples": [
                            "allow"
                        ]
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "expires_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "permission",
                    "effect",
                    "reason",
                    "expires_at",
                    "created_at"
                ],
                "title": "PermissionOverrideResource"
            },
            "PermissionResource": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string",
                        "examples": [
                            "media.delete"
                        ]
                    },
                    "module": {
                        "type": "string",
                        "examples": [
                            "media"
                        ]
                    },
                    "label": {
                        "type": "array",
                        "items": {}
                    },
                    "description": {
                        "type": "array",
                        "items": {}
                    },
                    "is_dangerous": {
                        "type": "boolean",
                        "description": "Needs a 2FA confirmation in the last 15 minutes."
                    },
                    "is_custom": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "name",
                    "module",
                    "label",
                    "description",
                    "is_dangerous",
                    "is_custom"
                ],
                "title": "PermissionResource"
            },
            "ProvinceResource": {
                "type": "object",
                "properties": {
                    "slug": {
                        "type": "string",
                        "examples": [
                            "sudurpaschim"
                        ]
                    },
                    "code": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Official province number. @example 7"
                    },
                    "name": {
                        "type": "array",
                        "examples": [
                            {
                                "ne": "\u0938\u0941\u0926\u0942\u0930\u092a\u0936\u094d\u091a\u093f\u092e \u092a\u094d\u0930\u0926\u0947\u0936",
                                "en": "Sudurpaschim Province"
                            }
                        ],
                        "items": {}
                    },
                    "headquarter": {
                        "type": "array",
                        "items": {}
                    },
                    "area_sq_km": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "website": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "lat": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "lng": {
                        "type": [
                            "number",
                            "null"
                        ]
                    }
                },
                "required": [
                    "slug",
                    "code",
                    "name",
                    "headquarter",
                    "area_sq_km",
                    "website",
                    "lat",
                    "lng"
                ],
                "title": "ProvinceResource"
            },
            "PublicSettingsResource": {
                "type": "array",
                "items": {},
                "title": "PublicSettingsResource"
            },
            "PublicStoryResource": {
                "anyOf": [
                    {
                        "type": "array"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "slug": {
                                "type": "string"
                            },
                            "url": {
                                "type": "string"
                            },
                            "language": {
                                "type": "string"
                            },
                            "content_type": {
                                "type": "string"
                            },
                            "headline": {
                                "type": "string"
                            },
                            "summary": {
                                "type": "string"
                            },
                            "body_html": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "reading_time": {
                                "type": "integer"
                            },
                            "flags": {
                                "type": "string"
                            },
                            "primary_category": {
                                "type": "object",
                                "properties": {
                                    "uid": {
                                        "type": "string"
                                    },
                                    "slug": {
                                        "type": "string"
                                    },
                                    "name": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "uid",
                                    "slug",
                                    "name"
                                ]
                            },
                            "authors": {
                                "type": "array",
                                "items": {}
                            },
                            "featured_image": {
                                "anyOf": [
                                    {
                                        "type": "object",
                                        "properties": {
                                            "uid": {
                                                "type": "string"
                                            },
                                            "src": {},
                                            "srcset": {
                                                "type": "array",
                                                "items": {}
                                            },
                                            "sizes": {
                                                "type": "string",
                                                "const": "(max-width: 768px) 100vw, 768px"
                                            },
                                            "width": {},
                                            "height": {},
                                            "alt": {
                                                "type": "string"
                                            },
                                            "caption": {
                                                "type": "string"
                                            },
                                            "credit": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ]
                                            },
                                            "og": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ]
                                            }
                                        },
                                        "required": [
                                            "uid",
                                            "src",
                                            "srcset",
                                            "sizes",
                                            "width",
                                            "height",
                                            "alt",
                                            "caption",
                                            "credit",
                                            "og"
                                        ]
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "src": {},
                                            "alt": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "src",
                                            "alt"
                                        ]
                                    },
                                    {
                                        "type": "null"
                                    }
                                ]
                            },
                            "corrections": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "uid": {
                                            "type": "string"
                                        },
                                        "kind": {
                                            "type": "string"
                                        },
                                        "body": {
                                            "type": "string"
                                        },
                                        "published_at": {
                                            "type": [
                                                "object",
                                                "null"
                                            ],
                                            "properties": {
                                                "iso": {
                                                    "type": "string"
                                                },
                                                "bs": {
                                                    "type": [
                                                        "object",
                                                        "null"
                                                    ],
                                                    "properties": {
                                                        "year": {
                                                            "type": "integer"
                                                        },
                                                        "month": {
                                                            "type": "integer"
                                                        },
                                                        "day": {
                                                            "type": "integer"
                                                        },
                                                        "formatted_ne": {
                                                            "type": "string"
                                                        },
                                                        "formatted_en": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "required": [
                                                        "year",
                                                        "month",
                                                        "day",
                                                        "formatted_ne",
                                                        "formatted_en"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "iso",
                                                "bs"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "uid",
                                        "kind",
                                        "body",
                                        "published_at"
                                    ]
                                }
                            },
                            "published_at": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "iso": {
                                        "type": "string"
                                    },
                                    "bs": {
                                        "type": [
                                            "object",
                                            "null"
                                        ],
                                        "properties": {
                                            "year": {
                                                "type": "integer"
                                            },
                                            "month": {
                                                "type": "integer"
                                            },
                                            "day": {
                                                "type": "integer"
                                            },
                                            "formatted_ne": {
                                                "type": "string"
                                            },
                                            "formatted_en": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "year",
                                            "month",
                                            "day",
                                            "formatted_ne",
                                            "formatted_en"
                                        ]
                                    }
                                },
                                "required": [
                                    "iso",
                                    "bs"
                                ]
                            },
                            "first_published_at": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "iso": {
                                        "type": "string"
                                    },
                                    "bs": {
                                        "type": [
                                            "object",
                                            "null"
                                        ],
                                        "properties": {
                                            "year": {
                                                "type": "integer"
                                            },
                                            "month": {
                                                "type": "integer"
                                            },
                                            "day": {
                                                "type": "integer"
                                            },
                                            "formatted_ne": {
                                                "type": "string"
                                            },
                                            "formatted_en": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "year",
                                            "month",
                                            "day",
                                            "formatted_ne",
                                            "formatted_en"
                                        ]
                                    }
                                },
                                "required": [
                                    "iso",
                                    "bs"
                                ]
                            },
                            "updated_at": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "iso": {
                                        "type": "string"
                                    },
                                    "bs": {
                                        "type": [
                                            "object",
                                            "null"
                                        ],
                                        "properties": {
                                            "year": {
                                                "type": "integer"
                                            },
                                            "month": {
                                                "type": "integer"
                                            },
                                            "day": {
                                                "type": "integer"
                                            },
                                            "formatted_ne": {
                                                "type": "string"
                                            },
                                            "formatted_en": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "year",
                                            "month",
                                            "day",
                                            "formatted_ne",
                                            "formatted_en"
                                        ]
                                    }
                                },
                                "required": [
                                    "iso",
                                    "bs"
                                ]
                            }
                        },
                        "required": [
                            "uid",
                            "slug",
                            "url",
                            "language",
                            "content_type",
                            "headline",
                            "summary",
                            "body_html",
                            "reading_time",
                            "flags",
                            "primary_category",
                            "authors",
                            "featured_image",
                            "corrections",
                            "published_at",
                            "first_published_at",
                            "updated_at"
                        ]
                    }
                ],
                "title": "PublicStoryResource"
            },
            "QueueItemResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "headline": {
                        "type": "string",
                        "examples": [
                            {
                                "ne": "\u0915\u0948\u0932\u093e\u0932\u0940\u092e\u093e \u092c\u093e\u0922\u0940"
                            }
                        ]
                    },
                    "status": {
                        "type": "string",
                        "examples": [
                            "admin_review"
                        ]
                    },
                    "priority": {
                        "type": "string",
                        "enum": [
                            "P0",
                            "P1",
                            "P2",
                            "P3",
                            "P4"
                        ],
                        "examples": [
                            "P0"
                        ]
                    },
                    "desk": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "districts": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "assignee": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "uid",
                            "name"
                        ]
                    },
                    "submitted_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "waiting_seconds": {
                        "description": "Seconds since submission (queue order: priority, then longest waiting)."
                    },
                    "sla": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "first_action_due_at": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "iso": {
                                        "type": "string"
                                    },
                                    "bs": {
                                        "type": [
                                            "object",
                                            "null"
                                        ],
                                        "properties": {
                                            "year": {
                                                "type": "integer"
                                            },
                                            "month": {
                                                "type": "integer"
                                            },
                                            "day": {
                                                "type": "integer"
                                            },
                                            "formatted_ne": {
                                                "type": "string"
                                            },
                                            "formatted_en": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "year",
                                            "month",
                                            "day",
                                            "formatted_ne",
                                            "formatted_en"
                                        ]
                                    }
                                },
                                "required": [
                                    "iso",
                                    "bs"
                                ]
                            },
                            "decision_due_at": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "iso": {
                                        "type": "string"
                                    },
                                    "bs": {
                                        "type": [
                                            "object",
                                            "null"
                                        ],
                                        "properties": {
                                            "year": {
                                                "type": "integer"
                                            },
                                            "month": {
                                                "type": "integer"
                                            },
                                            "day": {
                                                "type": "integer"
                                            },
                                            "formatted_ne": {
                                                "type": "string"
                                            },
                                            "formatted_en": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "year",
                                            "month",
                                            "day",
                                            "formatted_ne",
                                            "formatted_en"
                                        ]
                                    }
                                },
                                "required": [
                                    "iso",
                                    "bs"
                                ]
                            },
                            "breached": {
                                "type": "boolean"
                            },
                            "escalation_level": {
                                "type": "integer"
                            }
                        },
                        "required": [
                            "first_action_due_at",
                            "decision_due_at",
                            "breached",
                            "escalation_level"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "headline",
                    "status",
                    "priority",
                    "desk",
                    "districts",
                    "assignee",
                    "submitted_at",
                    "waiting_seconds",
                    "sla"
                ],
                "title": "QueueItemResource"
            },
            "RadioEpisodeResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "programme": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "slug": {
                                "type": "string"
                            },
                            "title": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "slug",
                            "title"
                        ]
                    },
                    "audio": {
                        "type": "object",
                        "description": "MP3 / AAC renditions and a waveform image (null until processed).",
                        "properties": {
                            "mp3": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "aac": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "waveform": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            }
                        },
                        "required": [
                            "mp3",
                            "aac",
                            "waveform"
                        ]
                    },
                    "duration_seconds": {
                        "type": "integer"
                    },
                    "aired_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "published_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "is_published": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "uid",
                    "title",
                    "description",
                    "programme",
                    "audio",
                    "duration_seconds",
                    "aired_at",
                    "published_at"
                ],
                "title": "RadioEpisodeResource"
            },
            "RadioIngestRequest": {
                "type": "object",
                "description": "Streaming-server push (Authorization: Bearer RADIO_INGEST_TOKEN).",
                "properties": {
                    "listeners": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 10000000
                    },
                    "now_playing": {
                        "type": "object",
                        "properties": {
                            "title": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "maxLength": 200
                            },
                            "artist": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "maxLength": 200
                            },
                            "programme": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "maxLength": 200
                            }
                        }
                    }
                },
                "required": [
                    "listeners"
                ],
                "title": "RadioIngestRequest"
            },
            "RadioOverviewResource": {
                "type": "object",
                "properties": {
                    "station": {
                        "type": "array",
                        "items": {}
                    },
                    "now": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "programme": {
                                "type": "array",
                                "items": {}
                            },
                            "starts_at": {
                                "type": "string"
                            },
                            "ends_at": {
                                "type": "string"
                            },
                            "time": {
                                "type": "string",
                                "examples": [
                                    "06:00"
                                ]
                            }
                        },
                        "required": [
                            "uid",
                            "programme",
                            "starts_at",
                            "ends_at",
                            "time"
                        ]
                    },
                    "next": {
                        "type": "array",
                        "items": {}
                    },
                    "today": {
                        "type": "array",
                        "items": {}
                    },
                    "presenters": {
                        "type": "array",
                        "items": {}
                    },
                    "episodes": {
                        "type": "array",
                        "items": {}
                    }
                },
                "required": [
                    "station",
                    "now",
                    "next",
                    "today",
                    "presenters",
                    "episodes"
                ],
                "title": "RadioOverviewResource"
            },
            "RadioPresenterResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "bio": {
                        "type": "string"
                    },
                    "photo": {
                        "anyOf": [
                            {
                                "type": "object",
                                "properties": {
                                    "uid": {
                                        "type": "string"
                                    },
                                    "src": {},
                                    "srcset": {
                                        "type": "array",
                                        "items": {}
                                    },
                                    "sizes": {
                                        "type": "string",
                                        "const": "(max-width: 768px) 100vw, 768px"
                                    },
                                    "width": {},
                                    "height": {},
                                    "alt": {
                                        "type": "string"
                                    },
                                    "caption": {
                                        "type": "string"
                                    },
                                    "credit": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "og": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "uid",
                                    "src",
                                    "srcset",
                                    "sizes",
                                    "width",
                                    "height",
                                    "alt",
                                    "caption",
                                    "credit",
                                    "og"
                                ]
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "src": {},
                                    "alt": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "src",
                                    "alt"
                                ]
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "is_active": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "uid",
                    "name",
                    "bio",
                    "photo"
                ],
                "title": "RadioPresenterResource"
            },
            "RadioProgrammeResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "slug": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "cover": {
                        "anyOf": [
                            {
                                "type": "object",
                                "properties": {
                                    "uid": {
                                        "type": "string"
                                    },
                                    "src": {},
                                    "srcset": {
                                        "type": "array",
                                        "items": {}
                                    },
                                    "sizes": {
                                        "type": "string",
                                        "const": "(max-width: 768px) 100vw, 768px"
                                    },
                                    "width": {},
                                    "height": {},
                                    "alt": {
                                        "type": "string"
                                    },
                                    "caption": {
                                        "type": "string"
                                    },
                                    "credit": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "og": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "uid",
                                    "src",
                                    "srcset",
                                    "sizes",
                                    "width",
                                    "height",
                                    "alt",
                                    "caption",
                                    "credit",
                                    "og"
                                ]
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "src": {},
                                    "alt": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "src",
                                    "alt"
                                ]
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "is_podcast": {
                        "type": "boolean"
                    },
                    "podcast_url": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Podcast RSS (iTunes tags)."
                    },
                    "presenters": {
                        "type": "array",
                        "items": {}
                    },
                    "is_active": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "uid",
                    "slug",
                    "title",
                    "description",
                    "cover",
                    "is_podcast",
                    "podcast_url",
                    "presenters"
                ],
                "title": "RadioProgrammeResource"
            },
            "RadioRequestResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "district": {
                        "type": "string"
                    },
                    "song": {
                        "type": "string"
                    },
                    "message": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string"
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "type",
                    "name",
                    "district",
                    "song",
                    "message",
                    "status",
                    "created_at"
                ],
                "title": "RadioRequestResource"
            },
            "RadioRequestStatusRequest": {
                "type": "object",
                "properties": {
                    "status": {
                        "type": "string",
                        "enum": [
                            "new",
                            "read",
                            "played",
                            "rejected"
                        ]
                    }
                },
                "required": [
                    "status"
                ],
                "title": "RadioRequestStatusRequest"
            },
            "RadioScheduleResource": {
                "type": "array",
                "items": {},
                "title": "RadioScheduleResource"
            },
            "RadioStationResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "slug": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "frequency": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "104.6 MHz"
                        ]
                    },
                    "stream_url": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Live stream (HLS or Icecast); null until confirmed."
                    },
                    "fallback_stream_url": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "logo": {
                        "anyOf": [
                            {
                                "type": "object",
                                "properties": {
                                    "uid": {
                                        "type": "string"
                                    },
                                    "src": {},
                                    "srcset": {
                                        "type": "array",
                                        "items": {}
                                    },
                                    "sizes": {
                                        "type": "string",
                                        "const": "(max-width: 768px) 100vw, 768px"
                                    },
                                    "width": {},
                                    "height": {},
                                    "alt": {
                                        "type": "string"
                                    },
                                    "caption": {
                                        "type": "string"
                                    },
                                    "credit": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "og": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "uid",
                                    "src",
                                    "srcset",
                                    "sizes",
                                    "width",
                                    "height",
                                    "alt",
                                    "caption",
                                    "credit",
                                    "og"
                                ]
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "src": {},
                                    "alt": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "src",
                                    "alt"
                                ]
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "is_live": {
                        "type": "boolean"
                    },
                    "now_playing": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "description": "Current track from the streaming server, e.g. {\"title\": \"\u2026\", \"artist\": \"\u2026\"}.",
                        "additionalProperties": {}
                    },
                    "listeners": {
                        "type": "object",
                        "properties": {
                            "count": {
                                "type": "integer"
                            },
                            "at": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "iso": {
                                        "type": "string"
                                    },
                                    "bs": {
                                        "type": [
                                            "object",
                                            "null"
                                        ],
                                        "properties": {
                                            "year": {
                                                "type": "integer"
                                            },
                                            "month": {
                                                "type": "integer"
                                            },
                                            "day": {
                                                "type": "integer"
                                            },
                                            "formatted_ne": {
                                                "type": "string"
                                            },
                                            "formatted_en": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "year",
                                            "month",
                                            "day",
                                            "formatted_ne",
                                            "formatted_en"
                                        ]
                                    }
                                },
                                "required": [
                                    "iso",
                                    "bs"
                                ]
                            }
                        },
                        "required": [
                            "count",
                            "at"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "slug",
                    "name",
                    "frequency",
                    "stream_url",
                    "fallback_stream_url",
                    "logo",
                    "is_live",
                    "now_playing",
                    "listeners"
                ],
                "title": "RadioStationResource"
            },
            "RecoveryCodesResource": {
                "type": "object",
                "properties": {
                    "confirmed": {
                        "type": "string"
                    },
                    "recovery_codes": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "description": "Shown once on enrolment; store them safely.",
                        "examples": [
                            [
                                "ABCDE-12345",
                                "FGHIJ-67890"
                            ]
                        ],
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "required": [
                    "confirmed",
                    "recovery_codes"
                ],
                "title": "RecoveryCodesResource"
            },
            "RedirectResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "from_path": {
                        "type": "string",
                        "examples": [
                            "/team.php"
                        ]
                    },
                    "to_path": {
                        "type": "string",
                        "examples": [
                            "/team"
                        ]
                    },
                    "status_code": {
                        "type": "integer"
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "hits": {
                        "type": "integer"
                    },
                    "last_hit_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "from_path",
                    "to_path",
                    "status_code",
                    "is_active",
                    "hits",
                    "last_hit_at"
                ],
                "title": "RedirectResource"
            },
            "RefreshRequest": {
                "type": "object",
                "description": "Rotates a refresh token: returns a new access + refresh token; the old refresh token stops working.",
                "properties": {
                    "refresh_token": {
                        "type": "string",
                        "minLength": 80,
                        "maxLength": 80
                    },
                    "device_id": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Stable app-generated device id (also accepted as X-Device-Id header).",
                        "examples": [
                            "6f1c2a9e-4b7d-4e55-9a3c-2d0f8b1e7a11"
                        ],
                        "maxLength": 191
                    },
                    "device_name": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "Pixel 8"
                        ],
                        "maxLength": 100
                    }
                },
                "required": [
                    "refresh_token"
                ],
                "title": "RefreshRequest"
            },
            "RegisterReaderRequest": {
                "type": "object",
                "description": "Reader self-registration: phone (code by SMS) or e-mail + password (code by e-mail).",
                "properties": {
                    "name": {
                        "type": "string",
                        "examples": [
                            "Sita Bhatta"
                        ],
                        "minLength": 2,
                        "maxLength": 100
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Nepali mobile; send this OR email.",
                        "examples": [
                            "9812345678"
                        ]
                    },
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "email",
                        "examples": [
                            "sita@example.com"
                        ],
                        "maxLength": 191
                    },
                    "password": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Required with email; optional with phone.",
                        "examples": [
                            "kailali-news-2083"
                        ]
                    },
                    "password_confirmation": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "required": [
                    "name"
                ],
                "title": "RegisterReaderRequest"
            },
            "RegisterReporterRequest": {
                "type": "object",
                "description": "Public reporter application form (multipart/form-data when documents are attached).",
                "properties": {
                    "name": {
                        "type": "string",
                        "examples": [
                            "Ram Prasad Joshi"
                        ],
                        "minLength": 2,
                        "maxLength": 100
                    },
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "email",
                        "examples": [
                            "ram.joshi@example.com"
                        ],
                        "maxLength": 191
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "9858012345"
                        ]
                    },
                    "password": {
                        "type": "string",
                        "examples": [
                            "strong-pass-2083"
                        ]
                    },
                    "district": {
                        "type": "string",
                        "description": "District slug (GET /public/geo/districts).",
                        "examples": [
                            "kailali"
                        ],
                        "maxLength": 100
                    },
                    "experience": {
                        "type": "string",
                        "examples": [
                            "Five years reporting for local FM in Dhangadhi."
                        ],
                        "minLength": 20,
                        "maxLength": 5000
                    },
                    "samples": {
                        "type": "array",
                        "description": "Links to or descriptions of published work.",
                        "items": {
                            "type": "string",
                            "examples": [
                                "https://example.com/my-story"
                            ],
                            "maxLength": 500
                        },
                        "maxItems": 10
                    },
                    "documents": {
                        "type": "array",
                        "description": "ID / press documents: PDF, JPEG, PNG or WebP, up to 5 MB each.",
                        "items": {
                            "type": "string",
                            "format": "binary",
                            "contentMediaType": "application/octet-stream",
                            "description": "Maximum file size: 5120 kilobytes."
                        },
                        "maxItems": 5
                    },
                    "password_confirmation": {
                        "type": "string"
                    }
                },
                "required": [
                    "name",
                    "password",
                    "district",
                    "experience",
                    "password_confirmation"
                ],
                "title": "RegisterReporterRequest"
            },
            "RejectApplicationRequest": {
                "type": "object",
                "description": "Reject with a reason (sent to the applicant).",
                "properties": {
                    "reason": {
                        "type": "string",
                        "examples": [
                            "Sample work could not be verified."
                        ],
                        "minLength": 5,
                        "maxLength": 2000
                    }
                },
                "required": [
                    "reason"
                ],
                "title": "RejectApplicationRequest"
            },
            "ReplaceChaptersRequest": {
                "type": "object",
                "properties": {
                    "chapters": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "starts_at_seconds": {
                                    "type": "integer",
                                    "minimum": 0
                                },
                                "title": {
                                    "type": "string"
                                }
                            },
                            "required": [
                                "starts_at_seconds",
                                "title"
                            ]
                        },
                        "maxItems": 200
                    }
                },
                "required": [
                    "chapters"
                ],
                "title": "ReplaceChaptersRequest"
            },
            "ReplaceMenuItemsRequest": {
                "type": "object",
                "description": "The whole item tree (up to 3 levels: items.*.children.*.children.*).",
                "properties": {
                    "items": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "type": {
                                    "$ref": "#/components/schemas/MenuItemType"
                                },
                                "label": {
                                    "type": "string"
                                },
                                "category": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "page": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "maxLength": 120
                                },
                                "url": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "pattern": "#^(/|https://)#",
                                    "maxLength": 1000
                                },
                                "module": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "icon": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "maxLength": 60
                                },
                                "new_tab": {
                                    "type": "boolean"
                                },
                                "is_active": {
                                    "type": "boolean"
                                },
                                "children": {
                                    "type": "array",
                                    "items": {
                                        "type": "object",
                                        "properties": {
                                            "type": {
                                                "$ref": "#/components/schemas/MenuItemType"
                                            },
                                            "label": {
                                                "type": "string"
                                            },
                                            "category": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ]
                                            },
                                            "page": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 120
                                            },
                                            "url": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "pattern": "#^(/|https://)#",
                                                "maxLength": 1000
                                            },
                                            "module": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ]
                                            },
                                            "icon": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 60
                                            },
                                            "new_tab": {
                                                "type": "boolean"
                                            },
                                            "is_active": {
                                                "type": "boolean"
                                            },
                                            "children": {
                                                "type": "array",
                                                "items": {
                                                    "type": "object",
                                                    "properties": {
                                                        "type": {
                                                            "$ref": "#/components/schemas/MenuItemType"
                                                        },
                                                        "label": {
                                                            "type": "string"
                                                        },
                                                        "category": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "page": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ],
                                                            "maxLength": 120
                                                        },
                                                        "url": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ],
                                                            "pattern": "#^(/|https://)#",
                                                            "maxLength": 1000
                                                        },
                                                        "module": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "icon": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ],
                                                            "maxLength": 60
                                                        },
                                                        "new_tab": {
                                                            "type": "boolean"
                                                        },
                                                        "is_active": {
                                                            "type": "boolean"
                                                        },
                                                        "children": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "required": [
                                                        "type",
                                                        "label"
                                                    ]
                                                },
                                                "maxItems": 50
                                            }
                                        },
                                        "required": [
                                            "type",
                                            "label"
                                        ]
                                    },
                                    "maxItems": 50
                                }
                            },
                            "required": [
                                "type",
                                "label"
                            ]
                        },
                        "maxItems": 100
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "items"
                ],
                "title": "ReplaceMenuItemsRequest"
            },
            "ReplaceRegionsRequest": {
                "type": "object",
                "description": "Clickable regions of one page (x, y, width, height normalised 0..1).",
                "properties": {
                    "regions": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "x": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                },
                                "y": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                },
                                "width": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                },
                                "height": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                },
                                "story": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "url": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "format": "uri",
                                    "maxLength": 1000
                                },
                                "label": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                }
                            },
                            "required": [
                                "x",
                                "y",
                                "width",
                                "height"
                            ]
                        },
                        "maxItems": 200
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "regions"
                ],
                "title": "ReplaceRegionsRequest"
            },
            "ReplaceScheduleRequest": {
                "type": "object",
                "description": "The whole weekly schedule (Nepal time; day_of_week 0 = Sunday; ends_at 00:00 = midnight).",
                "properties": {
                    "slots": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "programme": {
                                    "type": "string"
                                },
                                "day_of_week": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 6
                                },
                                "starts_at": {
                                    "type": "string"
                                },
                                "ends_at": {
                                    "type": "string"
                                }
                            },
                            "required": [
                                "programme",
                                "day_of_week",
                                "starts_at",
                                "ends_at"
                            ]
                        },
                        "maxItems": 300
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "slots"
                ],
                "title": "ReplaceScheduleRequest"
            },
            "ReplaceSectionsRequest": {
                "type": "object",
                "description": "All sections of a layout, in display order.",
                "properties": {
                    "sections": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "type": {
                                    "$ref": "#/components/schemas/SectionType"
                                },
                                "title": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "settings": {
                                    "type": "object",
                                    "properties": {
                                        "pinned": {
                                            "type": "array",
                                            "description": "Pinned story uids, filled first.",
                                            "items": {
                                                "type": "string"
                                            },
                                            "maxItems": 30
                                        },
                                        "limit": {
                                            "type": "integer",
                                            "minimum": 1,
                                            "maximum": 30
                                        },
                                        "module": {
                                            "type": "string"
                                        },
                                        "html": {
                                            "type": "string",
                                            "description": "custom_html: purified with the story allow-list on save.",
                                            "maxLength": 50000
                                        },
                                        "rule": {
                                            "type": "object",
                                            "properties": {
                                                "source": {
                                                    "type": "string",
                                                    "description": "latest | featured | trending | most_read",
                                                    "enum": [
                                                        "latest",
                                                        "featured",
                                                        "trending",
                                                        "most_read"
                                                    ]
                                                },
                                                "categories": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "maxItems": 20
                                                },
                                                "content_type": {
                                                    "type": "string"
                                                },
                                                "period": {
                                                    "type": "string",
                                                    "enum": [
                                                        "day",
                                                        "week",
                                                        "month"
                                                    ]
                                                }
                                            }
                                        }
                                    }
                                },
                                "is_active": {
                                    "type": "boolean"
                                },
                                "starts_at": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "format": "date-time"
                                },
                                "ends_at": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "format": "date-time"
                                }
                            },
                            "required": [
                                "type"
                            ]
                        },
                        "maxItems": 60
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "sections"
                ],
                "title": "ReplaceSectionsRequest"
            },
            "ReporterApplicationResource": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "pending",
                            "approved",
                            "rejected"
                        ],
                        "examples": [
                            "pending"
                        ]
                    },
                    "applicant": {
                        "$ref": "#/components/schemas/UserResource"
                    },
                    "district": {
                        "type": "string",
                        "examples": [
                            "Kailali"
                        ]
                    },
                    "experience": {
                        "type": "string"
                    },
                    "samples": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "documents": {
                        "type": "array",
                        "description": "Short-lived signed links (private disk).",
                        "items": {
                            "type": "object",
                            "properties": {
                                "id": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "mime_type": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "size": {
                                    "type": "integer"
                                },
                                "url": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                }
                            },
                            "required": [
                                "id",
                                "mime_type",
                                "size",
                                "url"
                            ]
                        }
                    },
                    "approved_role": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "notes": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "reviewed_by": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "reviewed_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "id",
                    "status",
                    "district",
                    "experience",
                    "samples",
                    "approved_role",
                    "notes",
                    "reviewed_at",
                    "created_at"
                ],
                "title": "ReporterApplicationResource"
            },
            "ResetPasswordRequest": {
                "type": "object",
                "description": "Completes a reset with the e-mailed token (email + token) or the SMS code (phone + code).",
                "properties": {
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "email",
                        "examples": [
                            "sita@example.com"
                        ],
                        "maxLength": 191
                    },
                    "token": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "9812345678"
                        ]
                    },
                    "code": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "pattern": "^\\d{6}$",
                        "examples": [
                            "482913"
                        ]
                    },
                    "password": {
                        "type": "string",
                        "examples": [
                            "new-strong-pass-2083"
                        ]
                    },
                    "password_confirmation": {
                        "type": "string"
                    }
                },
                "required": [
                    "password",
                    "password_confirmation"
                ],
                "title": "ResetPasswordRequest"
            },
            "RestoreRevisionRequest": {
                "type": "object",
                "properties": {
                    "reason": {
                        "type": "string",
                        "maxLength": 1000
                    }
                },
                "required": [
                    "reason"
                ],
                "title": "RestoreRevisionRequest"
            },
            "RevisionResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "number": {
                        "type": "integer"
                    },
                    "snapshot": {
                        "type": "string"
                    },
                    "reason": {
                        "type": "string"
                    },
                    "created_by": {
                        "type": "object",
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "uid",
                            "name"
                        ]
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "number",
                    "snapshot",
                    "reason",
                    "created_by",
                    "created_at"
                ],
                "title": "RevisionResource"
            },
            "RevokeFlagRequest": {
                "type": "object",
                "description": "Revoke a flag.",
                "properties": {
                    "reason": {
                        "type": "string",
                        "examples": [
                            "Flag added to the wrong story."
                        ],
                        "minLength": 5,
                        "maxLength": 1000
                    }
                },
                "required": [
                    "reason"
                ],
                "title": "RevokeFlagRequest"
            },
            "RoleResource": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string",
                        "examples": [
                            "editor"
                        ]
                    },
                    "label": {
                        "type": "array",
                        "items": {}
                    },
                    "description": {
                        "type": "array",
                        "items": {}
                    },
                    "is_system": {
                        "type": "boolean",
                        "description": "Seeded roles cannot be deleted or renamed."
                    },
                    "requires_2fa": {
                        "type": "boolean"
                    },
                    "default_scope": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "category"
                        ]
                    },
                    "permissions": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "users_count": {
                        "type": "integer"
                    }
                },
                "required": [
                    "name",
                    "label",
                    "description",
                    "is_system",
                    "requires_2fa",
                    "default_scope"
                ],
                "title": "RoleResource"
            },
            "SaveAdCampaignRequest": {
                "type": "object",
                "description": "Campaign (editing an approved one sends it back for approval).",
                "properties": {
                    "client": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string",
                        "maxLength": 200
                    },
                    "starts_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "ends_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "budget": {
                        "type": "number",
                        "minimum": 0
                    },
                    "pricing": {
                        "type": "string",
                        "enum": [
                            "cpm",
                            "cpc",
                            "flat"
                        ]
                    },
                    "rate": {
                        "type": "number",
                        "minimum": 0
                    },
                    "priority": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 10
                    },
                    "is_political": {
                        "type": "boolean"
                    },
                    "daily_cap": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "minimum": 1
                    },
                    "impression_goal": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "minimum": 1
                    },
                    "pacing": {
                        "type": "string",
                        "enum": [
                            "even",
                            "asap"
                        ]
                    },
                    "frequency_cap": {
                        "type": "object",
                        "properties": {
                            "count": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 100
                            },
                            "hours": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 720
                            }
                        }
                    },
                    "zones": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "minItems": 1
                    },
                    "targeting": {
                        "type": "object",
                        "properties": {
                            "pages": {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "home",
                                        "story",
                                        "category",
                                        "location",
                                        "search",
                                        "video",
                                        "radio",
                                        "epaper",
                                        "any"
                                    ]
                                }
                            },
                            "categories": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "provinces": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "districts": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "devices": {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "desktop",
                                        "mobile",
                                        "tablet",
                                        "app"
                                    ]
                                }
                            },
                            "languages": {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "ne",
                                        "en"
                                    ]
                                }
                            },
                            "dayparts": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "days": {
                                            "type": "array",
                                            "items": {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 6
                                            }
                                        },
                                        "from": {
                                            "type": "string"
                                        },
                                        "to": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "from",
                                        "to"
                                    ]
                                }
                            }
                        }
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "client",
                    "name",
                    "starts_at",
                    "ends_at",
                    "zones",
                    "targeting"
                ],
                "title": "SaveAdCampaignRequest"
            },
            "SaveAdClientRequest": {
                "type": "object",
                "description": "Advertiser.",
                "properties": {
                    "name": {
                        "type": "string",
                        "maxLength": 200
                    },
                    "contact_name": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 150
                    },
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "email",
                        "maxLength": 191
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 30
                    },
                    "pan": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 20
                    },
                    "notes": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 5000
                    },
                    "is_active": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "name"
                ],
                "title": "SaveAdClientRequest"
            },
            "SaveAdCreativeRequest": {
                "type": "object",
                "description": "Creative (multipart for image / gif / video; html for html5; native = title/body/cta + optional image).",
                "properties": {
                    "type": {
                        "type": "string",
                        "enum": [
                            "image",
                            "gif",
                            "html5",
                            "video",
                            "native"
                        ]
                    },
                    "file": {
                        "type": "string",
                        "format": "binary",
                        "contentMediaType": "application/octet-stream",
                        "description": "Maximum file size: 20480 kilobytes."
                    },
                    "html": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 204800
                    },
                    "title": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "body": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "cta_label": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "click_url": {
                        "type": "string",
                        "format": "uri",
                        "maxLength": 1000
                    },
                    "width": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "minimum": 1
                    },
                    "height": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "minimum": 1
                    },
                    "weight": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100
                    },
                    "is_active": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "type",
                    "click_url"
                ],
                "title": "SaveAdCreativeRequest"
            },
            "SaveBreakingRequest": {
                "type": "object",
                "properties": {
                    "headline": {
                        "type": "string"
                    },
                    "story": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Story uid (link) \u2014 or an external url."
                    },
                    "url": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri",
                        "maxLength": 1000
                    },
                    "level": {
                        "type": "string",
                        "description": "breaking | alert | live",
                        "enum": [
                            "breaking",
                            "alert",
                            "live"
                        ]
                    },
                    "starts_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "expires_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time",
                        "description": "Auto-expires; defaults to no expiry."
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "sort": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1000
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "headline"
                ],
                "title": "SaveBreakingRequest"
            },
            "SaveEpisodeRequest": {
                "type": "object",
                "description": "Catch-up episode (audio = media library asset uid).",
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "audio": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "duration_seconds": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 86400
                    },
                    "aired_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "is_published": {
                        "type": "boolean"
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "title"
                ],
                "title": "SaveEpisodeRequest"
            },
            "SaveLayoutRequest": {
                "type": "object",
                "properties": {
                    "key": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                        "examples": [
                            "election-day"
                        ],
                        "maxLength": 60
                    },
                    "name": {
                        "type": "string"
                    },
                    "page": {
                        "type": "string",
                        "enum": [
                            "home"
                        ]
                    },
                    "is_default": {
                        "type": "boolean"
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "starts_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time",
                        "description": "Scheduled layouts replace the default while live (e.g. election day)."
                    },
                    "ends_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "key",
                    "name"
                ],
                "title": "SaveLayoutRequest"
            },
            "SaveMediaFolderRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string",
                        "maxLength": 150
                    },
                    "parent": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "required": [
                    "name"
                ],
                "title": "SaveMediaFolderRequest"
            },
            "SaveMenuRequest": {
                "type": "object",
                "properties": {
                    "key": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                        "examples": [
                            "footer-about"
                        ],
                        "maxLength": 60
                    },
                    "name": {
                        "type": "string"
                    },
                    "location": {
                        "type": "string",
                        "description": "header | more | footer | mobile",
                        "enum": [
                            "header",
                            "more",
                            "footer",
                            "mobile"
                        ]
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "key",
                    "name",
                    "location"
                ],
                "title": "SaveMenuRequest"
            },
            "SavePageRequest": {
                "type": "object",
                "properties": {
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                        "examples": [
                            "editorial-policy"
                        ],
                        "maxLength": 120
                    },
                    "title": {
                        "type": "string"
                    },
                    "summary": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "body_html": {
                        "type": "object",
                        "description": "{ne, en} HTML, purified on save.",
                        "properties": {
                            "ne": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "maxLength": 200000
                            },
                            "en": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "maxLength": 200000
                            }
                        }
                    },
                    "seo": {
                        "type": "object",
                        "properties": {
                            "title": {
                                "type": "string"
                            },
                            "description": {
                                "type": "string"
                            },
                            "keywords": {
                                "type": "string"
                            }
                        }
                    },
                    "template": {
                        "type": "string",
                        "enum": [
                            "default",
                            "contact",
                            "team",
                            "form"
                        ]
                    },
                    "is_published": {
                        "type": "boolean"
                    },
                    "sort": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 10000
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "slug",
                    "title"
                ],
                "title": "SavePageRequest"
            },
            "SavePlaylistRequest": {
                "type": "object",
                "properties": {
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                        "maxLength": 120
                    },
                    "title": {
                        "type": "string"
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "videos": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "maxItems": 200,
                        "uniqueItems": true
                    }
                },
                "required": [
                    "slug",
                    "title"
                ],
                "title": "SavePlaylistRequest"
            },
            "SavePresenterRequest": {
                "type": "object",
                "description": "RJ / presenter.",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "bio": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "photo": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "user": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "name"
                ],
                "title": "SavePresenterRequest"
            },
            "SaveProgrammeRequest": {
                "type": "object",
                "description": "Radio programme.",
                "properties": {
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                        "maxLength": 120
                    },
                    "title": {
                        "type": "string"
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "cover": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "is_podcast": {
                        "type": "boolean"
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "presenters": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "maxItems": 20
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "slug",
                    "title"
                ],
                "title": "SaveProgrammeRequest"
            },
            "SaveRedirectRequest": {
                "type": "object",
                "properties": {
                    "from_path": {
                        "type": "string",
                        "examples": [
                            "/team.php"
                        ],
                        "maxLength": 500
                    },
                    "to_path": {
                        "type": "string",
                        "description": "Site path or https URL. @example /team",
                        "pattern": "#^(/|https://)#",
                        "maxLength": 1000
                    },
                    "status_code": {
                        "type": "string",
                        "enum": [
                            "301",
                            "302",
                            "307",
                            "308"
                        ]
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "from_path",
                    "to_path"
                ],
                "title": "SaveRedirectRequest"
            },
            "SaveSeasonRequest": {
                "type": "object",
                "properties": {
                    "number": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100
                    },
                    "title": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "required": [
                    "number"
                ],
                "title": "SaveSeasonRequest"
            },
            "SaveSeriesRequest": {
                "type": "object",
                "properties": {
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                        "maxLength": 120
                    },
                    "title": {
                        "type": "string"
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "cover": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "sort": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "slug",
                    "title"
                ],
                "title": "SaveSeriesRequest"
            },
            "SaveStationRequest": {
                "type": "object",
                "description": "FM station.",
                "properties": {
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                        "maxLength": 80
                    },
                    "name": {
                        "type": "string"
                    },
                    "frequency": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 30
                    },
                    "stream_url": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri",
                        "maxLength": 1000
                    },
                    "fallback_stream_url": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri",
                        "maxLength": 1000
                    },
                    "logo": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "sort": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "slug",
                    "name"
                ],
                "title": "SaveStationRequest"
            },
            "SaveStoryRequest": {
                "type": "object",
                "properties": {
                    "content_type": {
                        "type": "string"
                    },
                    "language": {
                        "type": "string",
                        "enum": [
                            "ne",
                            "en"
                        ]
                    },
                    "translation_group_uid": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "headline": {
                        "type": "string"
                    },
                    "short_headline": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "subheadline": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "summary": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "key_points": {
                        "type": "array",
                        "items": {
                            "type": "string",
                            "maxLength": 2000
                        },
                        "maxItems": 20
                    },
                    "body_html": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000000
                    },
                    "body_blocks": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "type": {
                                    "$ref": "#/components/schemas/BodyBlockType"
                                },
                                "data": {
                                    "type": "array",
                                    "items": {
                                        "type": "string"
                                    },
                                    "minItems": 1
                                }
                            },
                            "required": [
                                "type",
                                "data"
                            ]
                        },
                        "maxItems": 1000
                    },
                    "categories": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "minItems": 1,
                        "maxItems": 20,
                        "uniqueItems": true
                    },
                    "primary_category": {
                        "type": "string"
                    },
                    "locations": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "province": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "district": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "local_level": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "ward": {
                                    "type": [
                                        "integer",
                                        "null"
                                    ],
                                    "minimum": 1,
                                    "maximum": 35
                                }
                            }
                        },
                        "minItems": 1,
                        "maxItems": 100
                    },
                    "authors": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "user": {
                                    "type": "string"
                                },
                                "role": {
                                    "$ref": "#/components/schemas/StoryAuthorRole"
                                },
                                "position": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 1000
                                }
                            },
                            "required": [
                                "user",
                                "role"
                            ]
                        },
                        "minItems": 1,
                        "maxItems": 50
                    },
                    "media": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "asset": {
                                    "type": "string"
                                },
                                "position": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 1000
                                },
                                "caption_override": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                }
                            },
                            "required": [
                                "asset"
                            ]
                        },
                        "maxItems": 100,
                        "uniqueItems": true
                    },
                    "featured_asset": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "desk": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                        "maxLength": 200
                    },
                    "flags": {
                        "type": "object",
                        "properties": {
                            "breaking": {
                                "type": "boolean"
                            },
                            "featured": {
                                "type": "boolean"
                            },
                            "exclusive": {
                                "type": "boolean"
                            },
                            "sponsored": {
                                "type": "boolean"
                            }
                        }
                    },
                    "seo": {
                        "type": "object",
                        "properties": {
                            "title": {
                                "type": "string"
                            },
                            "description": {
                                "type": "string"
                            },
                            "keywords": {
                                "type": "string"
                            }
                        }
                    },
                    "embargo_until": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "scheduled_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "sources": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "type": {
                                    "type": "string",
                                    "enum": [
                                        "person",
                                        "document",
                                        "link"
                                    ]
                                },
                                "name": {
                                    "type": "string",
                                    "maxLength": 255
                                },
                                "url": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "format": "uri",
                                    "maxLength": 1000
                                },
                                "notes": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "maxLength": 10000
                                },
                                "confidential": {
                                    "type": "boolean"
                                }
                            },
                            "required": [
                                "type",
                                "name"
                            ]
                        },
                        "maxItems": 50
                    },
                    "reason": {
                        "type": "string",
                        "maxLength": 1000
                    },
                    "workflow_template": {
                        "type": "string"
                    },
                    "tags": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "maxItems": 100,
                        "uniqueItems": true
                    },
                    "topics": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "maxItems": 100,
                        "uniqueItems": true
                    },
                    "entities": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "maxItems": 100,
                        "uniqueItems": true
                    },
                    "priority": {
                        "$ref": "#/components/schemas/StoryPriority"
                    },
                    "priority_reason": {
                        "type": "string",
                        "maxLength": 1000
                    }
                },
                "required": [
                    "headline",
                    "categories",
                    "locations"
                ],
                "title": "SaveStoryRequest"
            },
            "SaveTeamMemberRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "designation": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "bio": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "group": {
                        "type": "string",
                        "description": "leadership | editorial | reporters | district | management | technical",
                        "enum": [
                            "leadership",
                            "editorial",
                            "reporters",
                            "district",
                            "management",
                            "technical"
                        ]
                    },
                    "district_slug": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "District slug for district correspondents."
                    },
                    "links": {
                        "type": "object",
                        "properties": {
                            "facebook": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "uri",
                                "maxLength": 500
                            },
                            "x": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "uri",
                                "maxLength": 500
                            },
                            "instagram": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "uri",
                                "maxLength": 500
                            },
                            "linkedin": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "uri",
                                "maxLength": 500
                            },
                            "website": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "uri",
                                "maxLength": 500
                            }
                        }
                    },
                    "photo": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Media asset uid."
                    },
                    "user": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Staff user uid (links the author page)."
                    },
                    "sort": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 10000
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "name"
                ],
                "title": "SaveTeamMemberRequest"
            },
            "SaveVideoRequest": {
                "type": "object",
                "description": "Video / short / live stream.",
                "properties": {
                    "kind": {
                        "type": "string",
                        "enum": [
                            "video",
                            "short",
                            "live"
                        ]
                    },
                    "source": {
                        "type": "string",
                        "enum": [
                            "upload",
                            "youtube",
                            "hls"
                        ]
                    },
                    "title": {
                        "type": "string"
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                        "maxLength": 200
                    },
                    "asset": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "youtube_id": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "pattern": "^[A-Za-z0-9_-]{11}$"
                    },
                    "hls_url": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri",
                        "maxLength": 1000
                    },
                    "live_status": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "scheduled",
                            "live",
                            "ended",
                            null
                        ]
                    },
                    "scheduled_start_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "thumbnail": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "duration_seconds": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "series": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "season": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "episode_number": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "minimum": 1
                    },
                    "category": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "is_featured": {
                        "type": "boolean"
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "draft",
                            "published"
                        ]
                    },
                    "published_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "kind",
                    "source",
                    "title"
                ],
                "title": "SaveVideoRequest"
            },
            "SaveWorkflowSettingRequest": {
                "type": "object",
                "properties": {
                    "key": {
                        "examples": [
                            "editor_can_publish"
                        ],
                        "$ref": "#/components/schemas/WorkflowSettingKey"
                    },
                    "value": {
                        "type": "string",
                        "description": "Typed by key: booleans, verification/assignment enums, anti-starvation object or escalation role list. @example false"
                    },
                    "scope_type": {
                        "$ref": "#/components/schemas/WorkflowScope"
                    },
                    "scope": {
                        "type": "string",
                        "description": "Category, desk or user ULID; omit for global settings."
                    },
                    "base_version": {
                        "type": "integer",
                        "description": "Zero creates a new setting; otherwise the expected current version.",
                        "minimum": 0
                    },
                    "is_active": {
                        "type": "boolean",
                        "description": "False disables an override and falls back to a less specific setting."
                    },
                    "reason": {
                        "type": "string",
                        "maxLength": 1000
                    }
                },
                "required": [
                    "key",
                    "value",
                    "scope_type",
                    "base_version",
                    "reason"
                ],
                "title": "SaveWorkflowSettingRequest"
            },
            "SaveWorkflowTemplateRequest": {
                "type": "object",
                "description": "A complete graph definition; PATCH appends a version instead of mutating history.",
                "properties": {
                    "name": {
                        "type": "object",
                        "properties": {
                            "ne": {
                                "type": "string",
                                "maxLength": 255
                            },
                            "en": {
                                "type": "string",
                                "maxLength": 255
                            }
                        },
                        "required": [
                            "ne"
                        ]
                    },
                    "content_types": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "maxItems": 100,
                        "uniqueItems": true
                    },
                    "is_default": {
                        "type": "boolean"
                    },
                    "defaults": {
                        "type": "object",
                        "properties": {
                            "editor_can_publish": {
                                "type": "boolean"
                            }
                        },
                        "required": [
                            "editor_can_publish"
                        ]
                    },
                    "statuses": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "key": {
                                    "type": "string",
                                    "pattern": "^[a-z][a-z0-9_]*$",
                                    "maxLength": 100
                                },
                                "name": {
                                    "type": "object",
                                    "properties": {
                                        "ne": {
                                            "type": "string",
                                            "maxLength": 255
                                        },
                                        "en": {
                                            "type": "string",
                                            "maxLength": 255
                                        }
                                    },
                                    "required": [
                                        "ne"
                                    ]
                                },
                                "color": {
                                    "type": "string",
                                    "pattern": "^#[0-9a-fA-F]{6}$"
                                },
                                "is_initial": {
                                    "type": "boolean"
                                },
                                "is_final": {
                                    "type": "boolean"
                                },
                                "is_public": {
                                    "type": "boolean"
                                },
                                "locks_reporter": {
                                    "type": "boolean"
                                },
                                "sort": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 10000
                                }
                            },
                            "required": [
                                "key",
                                "name",
                                "color",
                                "is_initial",
                                "is_final",
                                "is_public",
                                "locks_reporter",
                                "sort"
                            ]
                        },
                        "minItems": 2,
                        "maxItems": 100,
                        "uniqueItems": true
                    },
                    "transitions": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "from": {
                                    "type": "string",
                                    "maxLength": 100
                                },
                                "to": {
                                    "type": "string",
                                    "maxLength": 100
                                },
                                "action": {
                                    "$ref": "#/components/schemas/WorkflowAction"
                                },
                                "permission": {
                                    "type": "string",
                                    "maxLength": 150
                                },
                                "requires_reason": {
                                    "type": "boolean"
                                },
                                "requires_assignee": {
                                    "type": "boolean"
                                },
                                "conditions": {
                                    "type": "object",
                                    "properties": {
                                        "editor_can_publish": {
                                            "type": "boolean"
                                        },
                                        "actor_roles": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            },
                                            "minItems": 1
                                        },
                                        "on_duty": {
                                            "type": "boolean"
                                        },
                                        "priority_in": {
                                            "type": "array",
                                            "items": {
                                                "type": "string",
                                                "enum": [
                                                    "P0",
                                                    "P1",
                                                    "P2",
                                                    "P3",
                                                    "P4"
                                                ]
                                            },
                                            "minItems": 1
                                        },
                                        "admin_verification": {
                                            "type": "string",
                                            "enum": [
                                                "required",
                                                "optional",
                                                "skip_trusted"
                                            ]
                                        },
                                        "fasttrack_p0": {
                                            "type": "boolean"
                                        }
                                    }
                                }
                            },
                            "required": [
                                "from",
                                "to",
                                "action",
                                "permission",
                                "requires_reason",
                                "requires_assignee",
                                "conditions"
                            ]
                        },
                        "minItems": 1,
                        "maxItems": 500
                    },
                    "key": {
                        "type": "string",
                        "pattern": "^[a-z][a-z0-9-]*$",
                        "maxLength": 100
                    },
                    "base_version": {
                        "type": "integer",
                        "minimum": 1
                    },
                    "reason": {
                        "type": "string",
                        "maxLength": 1000
                    }
                },
                "required": [
                    "name",
                    "content_types",
                    "is_default",
                    "defaults",
                    "statuses",
                    "transitions",
                    "key",
                    "reason"
                ],
                "title": "SaveWorkflowTemplateRequest"
            },
            "ScorecardAppealResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string",
                        "description": "pending | upheld | denied"
                    },
                    "reason": {
                        "type": "string"
                    },
                    "user": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "username": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "uid",
                            "username"
                        ]
                    },
                    "story": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "headline": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "uid",
                            "headline"
                        ]
                    },
                    "flag": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "kind": {
                                "type": "string"
                            },
                            "revoked": {
                                "type": "boolean"
                            }
                        },
                        "required": [
                            "uid",
                            "kind",
                            "revoked"
                        ]
                    },
                    "decided_by": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "username": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "uid",
                            "username"
                        ]
                    },
                    "decision_note": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "decided_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "status",
                    "reason",
                    "user",
                    "story",
                    "flag",
                    "decided_by",
                    "decision_note",
                    "decided_at",
                    "created_at"
                ],
                "title": "ScorecardAppealResource"
            },
            "ScorecardSnapshotResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "role": {
                        "type": "string"
                    },
                    "period_start": {
                        "type": "string"
                    },
                    "period_end": {
                        "type": "string"
                    },
                    "credibility": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "capped_until": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "metrics": {
                        "type": "string"
                    },
                    "computed_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "role",
                    "period_start",
                    "period_end",
                    "credibility",
                    "capped_until",
                    "metrics",
                    "computed_at"
                ],
                "title": "ScorecardSnapshotResource"
            },
            "ScorecardWeightResource": {
                "type": "object",
                "properties": {
                    "key": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "weight": {
                        "type": "number"
                    }
                },
                "required": [
                    "key",
                    "label",
                    "weight"
                ],
                "title": "ScorecardWeightResource"
            },
            "SectionType": {
                "type": "string",
                "description": "Homepage builder blocks. Chrome blocks (top_bar, header, breaking_ticker, footer) carry settings only; content blocks resolve stories (pinned slots + rule).\n",
                "enum": [
                    "top_bar",
                    "header",
                    "breaking_ticker",
                    "top_stories",
                    "latest_news",
                    "news_across_nepal",
                    "watch_nepal",
                    "fm_radio",
                    "business_news",
                    "explore",
                    "lifestyle_grid",
                    "events",
                    "community",
                    "newsletter_cta",
                    "ad_slot",
                    "custom_html",
                    "epaper",
                    "footer"
                ],
                "title": "SectionType"
            },
            "SetLiveRequest": {
                "type": "object",
                "description": "Go live / off air, with the current track.",
                "properties": {
                    "is_live": {
                        "type": "boolean"
                    },
                    "now_playing": {
                        "type": "object",
                        "properties": {
                            "title": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "maxLength": 200
                            },
                            "artist": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "maxLength": 200
                            },
                            "programme": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "maxLength": 200
                            }
                        }
                    }
                },
                "required": [
                    "is_live"
                ],
                "title": "SetLiveRequest"
            },
            "SetScopesRequest": {
                "type": "object",
                "description": "Replace a user's data scopes. Empty list = unrestricted.",
                "properties": {
                    "scopes": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "type": {
                                    "type": "string",
                                    "enum": [
                                        "category",
                                        "province",
                                        "district",
                                        "local_level",
                                        "desk",
                                        "content_type"
                                    ],
                                    "examples": [
                                        "district"
                                    ]
                                },
                                "key": {
                                    "type": "string",
                                    "description": "Slug for province/district/local_level, uid or slug for desk. @example kailali",
                                    "maxLength": 120
                                }
                            },
                            "required": [
                                "type",
                                "key"
                            ]
                        },
                        "maxItems": 100
                    }
                },
                "required": [
                    "scopes"
                ],
                "title": "SetScopesRequest"
            },
            "SignedLinkResource": {
                "type": "object",
                "properties": {
                    "url": {
                        "type": "string"
                    },
                    "expires_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "token": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Story previews only: token for GET /public/preview/{token}."
                    }
                },
                "required": [
                    "url",
                    "expires_at"
                ],
                "title": "SignedLinkResource"
            },
            "SiteSettingResource": {
                "type": "object",
                "properties": {
                    "key": {
                        "type": "string",
                        "examples": [
                            "contact.phone"
                        ]
                    },
                    "group": {
                        "type": "string",
                        "examples": [
                            "contact"
                        ]
                    },
                    "value": {
                        "type": "string"
                    },
                    "is_public": {
                        "type": "string"
                    },
                    "needs_confirmation": {
                        "type": "boolean",
                        "description": "True while the value is still a __CONFIRM_WITH_CLIENT__ placeholder."
                    },
                    "updated_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "key",
                    "group",
                    "value",
                    "is_public",
                    "needs_confirmation",
                    "updated_at"
                ],
                "title": "SiteSettingResource"
            },
            "StaffNotificationResource": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "event": {
                        "examples": [
                            "story_submitted"
                        ]
                    },
                    "body": {
                        "examples": [
                            "[P0] \u0928\u092f\u093e\u0901 \u0938\u092e\u093e\u091a\u093e\u0930: \u0915\u0948\u0932\u093e\u0932\u0940\u092e\u093e \u092c\u093e\u0922\u0940 \u2014 \u0930\u093e\u092e \u091c\u094b\u0936\u0940"
                        ]
                    },
                    "story_uid": {},
                    "priority": {},
                    "url": {},
                    "read": {
                        "type": "boolean"
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "id",
                    "event",
                    "body",
                    "story_uid",
                    "priority",
                    "url",
                    "read",
                    "created_at"
                ],
                "title": "StaffNotificationResource"
            },
            "StoreCorrectionRequest": {
                "type": "object",
                "properties": {
                    "kind": {
                        "type": "string",
                        "description": "correction | clarification | update",
                        "enum": [
                            "correction",
                            "clarification",
                            "update"
                        ]
                    },
                    "body": {
                        "type": "string"
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "body"
                ],
                "title": "StoreCorrectionRequest"
            },
            "StoreDeskRequest": {
                "type": "object",
                "description": "Create a desk.",
                "properties": {
                    "name": {
                        "type": "string",
                        "examples": [
                            {
                                "ne": "\u0915\u0948\u0932\u093e\u0932\u0940 \u0921\u0947\u0938\u094d\u0915",
                                "en": "Kailali desk"
                            }
                        ]
                    },
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
                        "examples": [
                            "kailali"
                        ],
                        "maxLength": 100
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "national",
                            "district",
                            "beat",
                            "multimedia"
                        ],
                        "examples": [
                            "district"
                        ]
                    },
                    "district": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "District slug for district desks. @example kailali"
                    },
                    "head": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Desk head user uid."
                    },
                    "is_active": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "name",
                    "slug",
                    "type"
                ],
                "title": "StoreDeskRequest"
            },
            "StoreInvitationRequest": {
                "type": "object",
                "description": "Invite a staff member by e-mail and/or phone with a role and scopes.",
                "properties": {
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "email",
                        "examples": [
                            "desk@paschimtoday.com"
                        ],
                        "maxLength": 191
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "9858011111"
                        ]
                    },
                    "role": {
                        "type": "string",
                        "examples": [
                            "editor"
                        ]
                    },
                    "scopes": {
                        "type": "array",
                        "description": "Data scopes applied when the invitation is accepted.",
                        "items": {
                            "type": "object",
                            "properties": {
                                "type": {
                                    "type": "string",
                                    "enum": [
                                        "category",
                                        "province",
                                        "district",
                                        "local_level",
                                        "desk",
                                        "content_type"
                                    ],
                                    "examples": [
                                        "district"
                                    ]
                                },
                                "key": {
                                    "type": "string",
                                    "description": "Slug (geo) or uid/slug (desk). @example kailali",
                                    "maxLength": 120
                                }
                            },
                            "required": [
                                "type",
                                "key"
                            ]
                        },
                        "maxItems": 50
                    },
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "required": [
                    "role"
                ],
                "title": "StoreInvitationRequest"
            },
            "StoreRoleRequest": {
                "type": "object",
                "description": "Create a custom role.",
                "properties": {
                    "name": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
                        "examples": [
                            "district-coordinator"
                        ],
                        "minLength": 3,
                        "maxLength": 64
                    },
                    "label": {
                        "type": "string",
                        "examples": [
                            {
                                "ne": "\u091c\u093f\u0932\u094d\u0932\u093e \u0938\u0902\u092f\u094b\u091c\u0915",
                                "en": "District coordinator"
                            }
                        ]
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "requires_2fa": {
                        "type": "boolean"
                    },
                    "default_scope": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "category",
                            "province",
                            "district",
                            "local_level",
                            "desk",
                            "content_type",
                            null
                        ],
                        "examples": [
                            "district"
                        ]
                    },
                    "permissions": {
                        "type": "array",
                        "items": {
                            "type": "string",
                            "examples": [
                                "content.stories.view.desk"
                            ]
                        }
                    }
                },
                "required": [
                    "name",
                    "label"
                ],
                "title": "StoreRoleRequest"
            },
            "StoreUserRequest": {
                "type": "object",
                "description": "Create a user directly (staff invitations are preferred for newsroom staff).",
                "properties": {
                    "name": {
                        "type": "string",
                        "examples": [
                            {
                                "ne": "\u0917\u0940\u0924\u093e \u0930\u093e\u0935\u0932",
                                "en": "Gita Rawal"
                            }
                        ]
                    },
                    "username": {
                        "type": "string",
                        "pattern": "^[a-z0-9._]+$",
                        "examples": [
                            "gita.rawal"
                        ],
                        "minLength": 3,
                        "maxLength": 50
                    },
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "email",
                        "examples": [
                            "gita@paschimtoday.com"
                        ],
                        "maxLength": 191
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "9848012345"
                        ]
                    },
                    "password": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "staff",
                            "contributor",
                            "reader"
                        ],
                        "examples": [
                            "staff"
                        ]
                    },
                    "role": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "editor"
                        ]
                    },
                    "preferred_locale": {
                        "type": "string",
                        "enum": [
                            "ne",
                            "en"
                        ]
                    },
                    "designation": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "bio": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "is_verified_reporter": {
                        "type": "boolean"
                    },
                    "press_card_no": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 50
                    },
                    "home_province_id": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "minimum": 1
                    },
                    "home_district_id": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "minimum": 1
                    },
                    "home_local_level_id": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "minimum": 1
                    }
                },
                "required": [
                    "name"
                ],
                "title": "StoreUserRequest"
            },
            "StoryAuthorRole": {
                "type": "string",
                "enum": [
                    "reporter",
                    "co-author",
                    "editor",
                    "photographer"
                ],
                "title": "StoryAuthorRole"
            },
            "StoryCardResource": {
                "anyOf": [
                    {
                        "type": "object",
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "slug": {
                                "type": "string"
                            },
                            "url": {
                                "type": "string"
                            },
                            "language": {
                                "type": "string"
                            },
                            "content_type": {
                                "type": "string"
                            },
                            "headline": {
                                "type": "string"
                            },
                            "short_headline": {
                                "type": "string"
                            },
                            "summary": {
                                "type": "string"
                            },
                            "primary_category": {
                                "type": "object",
                                "properties": {
                                    "slug": {
                                        "type": "string"
                                    },
                                    "name": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "slug",
                                    "name"
                                ]
                            },
                            "district": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "slug": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "name": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "slug",
                                    "name"
                                ]
                            },
                            "flags": {
                                "type": "string"
                            },
                            "reading_time": {
                                "type": "integer"
                            },
                            "image": {
                                "anyOf": [
                                    {
                                        "type": "object",
                                        "properties": {
                                            "uid": {
                                                "type": "string"
                                            },
                                            "src": {},
                                            "srcset": {
                                                "type": "array",
                                                "items": {}
                                            },
                                            "sizes": {
                                                "type": "string",
                                                "const": "(max-width: 768px) 100vw, 768px"
                                            },
                                            "width": {},
                                            "height": {},
                                            "alt": {
                                                "type": "string"
                                            },
                                            "caption": {
                                                "type": "string"
                                            },
                                            "credit": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ]
                                            },
                                            "og": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ]
                                            }
                                        },
                                        "required": [
                                            "uid",
                                            "src",
                                            "srcset",
                                            "sizes",
                                            "width",
                                            "height",
                                            "alt",
                                            "caption",
                                            "credit",
                                            "og"
                                        ]
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "src": {},
                                            "alt": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "src",
                                            "alt"
                                        ]
                                    },
                                    {
                                        "type": "null"
                                    }
                                ]
                            },
                            "authors": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "username": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "verified": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "username",
                                        "name",
                                        "verified"
                                    ]
                                }
                            },
                            "published_at": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "iso": {
                                        "type": "string"
                                    },
                                    "bs": {
                                        "type": [
                                            "object",
                                            "null"
                                        ],
                                        "properties": {
                                            "year": {
                                                "type": "integer"
                                            },
                                            "month": {
                                                "type": "integer"
                                            },
                                            "day": {
                                                "type": "integer"
                                            },
                                            "formatted_ne": {
                                                "type": "string"
                                            },
                                            "formatted_en": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "year",
                                            "month",
                                            "day",
                                            "formatted_ne",
                                            "formatted_en"
                                        ]
                                    }
                                },
                                "required": [
                                    "iso",
                                    "bs"
                                ]
                            },
                            "highlight": {
                                "description": "Search results only: highlighted fragments (`<mark>`).",
                                "type": [
                                    "string",
                                    "object"
                                ]
                            }
                        },
                        "required": [
                            "uid",
                            "slug",
                            "url",
                            "language",
                            "content_type",
                            "headline",
                            "short_headline",
                            "summary",
                            "primary_category",
                            "district",
                            "flags",
                            "reading_time",
                            "image",
                            "authors",
                            "published_at",
                            "highlight"
                        ]
                    },
                    {
                        "type": "object",
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "slug": {
                                "type": "string"
                            },
                            "url": {
                                "type": "string"
                            },
                            "headline": {
                                "type": "string"
                            },
                            "category": {
                                "type": "string"
                            },
                            "published_at": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "image": {}
                        },
                        "required": [
                            "uid",
                            "slug",
                            "url",
                            "headline",
                            "category",
                            "published_at",
                            "image"
                        ]
                    }
                ],
                "title": "StoryCardResource"
            },
            "StoryDiffResource": {
                "type": "object",
                "additionalProperties": {},
                "title": "StoryDiffResource"
            },
            "StoryPriority": {
                "type": "string",
                "enum": [
                    "P0",
                    "P1",
                    "P2",
                    "P3",
                    "P4"
                ],
                "title": "StoryPriority"
            },
            "StoryResource": {
                "type": "array",
                "items": {},
                "title": "StoryResource"
            },
            "StoryTransitionResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "action": {
                        "type": "string"
                    },
                    "actor": {
                        "type": "object",
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            },
                            "role": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            }
                        },
                        "required": [
                            "uid",
                            "name",
                            "role"
                        ]
                    },
                    "from_status": {
                        "type": "string"
                    },
                    "to_status": {
                        "type": "string"
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "revision": {
                        "type": "object",
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "number": {
                                "type": "integer"
                            }
                        },
                        "required": [
                            "uid",
                            "number"
                        ]
                    },
                    "waiting_seconds": {
                        "type": "integer"
                    },
                    "field_changes": {
                        "type": "string"
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "action",
                    "actor",
                    "from_status",
                    "to_status",
                    "reason",
                    "revision",
                    "waiting_seconds",
                    "field_changes",
                    "created_at"
                ],
                "title": "StoryTransitionResource"
            },
            "SubmitRadioRequest": {
                "type": "object",
                "description": "Song request or message to the RJ (3 per 10 minutes per IP).",
                "properties": {
                    "type": {
                        "type": "string",
                        "enum": [
                            "song",
                            "message"
                        ]
                    },
                    "name": {
                        "type": "string",
                        "minLength": 2,
                        "maxLength": 100
                    },
                    "song": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 200
                    },
                    "message": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    },
                    "district": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "required": [
                    "type",
                    "name"
                ],
                "title": "SubmitRadioRequest"
            },
            "SyncDeskMembersRequest": {
                "type": "object",
                "description": "Replace desk members (membership grants desk scope).",
                "properties": {
                    "members": {
                        "type": "array",
                        "items": {
                            "type": "string",
                            "description": "User uid."
                        },
                        "maxItems": 500,
                        "uniqueItems": true
                    }
                },
                "required": [
                    "members"
                ],
                "title": "SyncDeskMembersRequest"
            },
            "SyncRolePermissionsRequest": {
                "type": "object",
                "description": "Replace a role's permissions.",
                "properties": {
                    "permissions": {
                        "type": "array",
                        "items": {
                            "type": "string",
                            "examples": [
                                "media.upload"
                            ]
                        },
                        "uniqueItems": true
                    }
                },
                "required": [
                    "permissions"
                ],
                "title": "SyncRolePermissionsRequest"
            },
            "SyncUserRolesRequest": {
                "type": "object",
                "description": "Replace a user's roles.",
                "properties": {
                    "roles": {
                        "type": "array",
                        "items": {
                            "type": "string",
                            "examples": [
                                "reporter"
                            ]
                        },
                        "maxItems": 10,
                        "uniqueItems": true
                    }
                },
                "required": [
                    "roles"
                ],
                "title": "SyncUserRolesRequest"
            },
            "TagsMergeRequest": {
                "type": "object",
                "properties": {
                    "target": {
                        "type": "string"
                    }
                },
                "required": [
                    "target"
                ],
                "title": "TagsMergeRequest"
            },
            "TagsStoreRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "examples": [
                            {
                                "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                "en": "National"
                            }
                        ],
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "ne": {
                                        "type": "string"
                                    },
                                    "en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "ne"
                                ]
                            }
                        ]
                    },
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:[-_][a-z0-9]+)*$",
                        "examples": [
                            "national"
                        ],
                        "maxLength": 150
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "sort_order": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1000000
                    },
                    "seo": {
                        "type": "object",
                        "properties": {
                            "title": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            },
                            "description": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            },
                            "keywords": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                },
                "required": [
                    "name",
                    "slug"
                ],
                "title": "TagsStoreRequest"
            },
            "TagsUpdateRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "examples": [
                            {
                                "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                "en": "National"
                            }
                        ],
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "ne": {
                                        "type": "string"
                                    },
                                    "en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "ne"
                                ]
                            }
                        ]
                    },
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:[-_][a-z0-9]+)*$",
                        "examples": [
                            "national"
                        ],
                        "maxLength": 150
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "sort_order": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1000000
                    },
                    "seo": {
                        "type": "object",
                        "properties": {
                            "title": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            },
                            "description": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            },
                            "keywords": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                },
                "title": "TagsUpdateRequest"
            },
            "TaxonomyResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string",
                        "examples": [
                            "01KAFQEB32EVR4K4ZGJ27F6S13"
                        ]
                    },
                    "name": {
                        "type": "object",
                        "examples": [
                            {
                                "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                "en": "National"
                            }
                        ],
                        "properties": {
                            "ne": {
                                "type": "string"
                            },
                            "en": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "ne"
                        ]
                    },
                    "slug": {
                        "type": "string",
                        "examples": [
                            "national"
                        ]
                    },
                    "seo": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "additionalProperties": {}
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "sort_order": {
                        "type": "integer"
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "updated_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "person",
                            "organisation",
                            "place"
                        ]
                    },
                    "parent": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "legacy_slug": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "color": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "icon": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "layout_key": {
                        "type": "string",
                        "examples": [
                            "standard"
                        ]
                    },
                    "show_in_menu": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "uid",
                    "name",
                    "slug",
                    "seo",
                    "is_active",
                    "sort_order",
                    "created_at",
                    "updated_at"
                ],
                "title": "TaxonomyResource"
            },
            "TeamMemberResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "designation": {
                        "type": "string"
                    },
                    "bio": {
                        "type": "string"
                    },
                    "group": {
                        "type": "string",
                        "examples": [
                            "leadership"
                        ]
                    },
                    "district": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "links": {
                        "type": "string"
                    },
                    "photo": {
                        "anyOf": [
                            {
                                "type": "object",
                                "properties": {
                                    "uid": {
                                        "type": "string"
                                    },
                                    "src": {},
                                    "srcset": {
                                        "type": "array",
                                        "items": {}
                                    },
                                    "sizes": {
                                        "type": "string",
                                        "const": "(max-width: 768px) 100vw, 768px"
                                    },
                                    "width": {},
                                    "height": {},
                                    "alt": {
                                        "type": "string"
                                    },
                                    "caption": {
                                        "type": "string"
                                    },
                                    "credit": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "og": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "uid",
                                    "src",
                                    "srcset",
                                    "sizes",
                                    "width",
                                    "height",
                                    "alt",
                                    "caption",
                                    "credit",
                                    "og"
                                ]
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "src": {},
                                    "alt": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "src",
                                    "alt"
                                ]
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "author_url": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "user": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "sort": {
                        "type": "integer"
                    },
                    "is_active": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "uid",
                    "name",
                    "designation",
                    "bio",
                    "group",
                    "district",
                    "links",
                    "photo",
                    "author_url",
                    "sort"
                ],
                "title": "TeamMemberResource"
            },
            "TopicsStoreRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "examples": [
                            {
                                "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                "en": "National"
                            }
                        ],
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "ne": {
                                        "type": "string"
                                    },
                                    "en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "ne"
                                ]
                            }
                        ]
                    },
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:[-_][a-z0-9]+)*$",
                        "examples": [
                            "national"
                        ],
                        "maxLength": 150
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "sort_order": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1000000
                    },
                    "seo": {
                        "type": "object",
                        "properties": {
                            "title": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            },
                            "description": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            },
                            "keywords": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                },
                "required": [
                    "name",
                    "slug"
                ],
                "title": "TopicsStoreRequest"
            },
            "TopicsUpdateRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "examples": [
                            {
                                "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                "en": "National"
                            }
                        ],
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "ne": {
                                        "type": "string"
                                    },
                                    "en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "ne"
                                ]
                            }
                        ]
                    },
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(?:[-_][a-z0-9]+)*$",
                        "examples": [
                            "national"
                        ],
                        "maxLength": 150
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "sort_order": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1000000
                    },
                    "seo": {
                        "type": "object",
                        "properties": {
                            "title": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            },
                            "description": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            },
                            "keywords": {
                                "examples": [
                                    {
                                        "ne": "\u0930\u093e\u0937\u094d\u091f\u094d\u0930\u093f\u092f",
                                        "en": "National"
                                    }
                                ],
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "ne": {
                                                "type": "string"
                                            },
                                            "en": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                },
                "title": "TopicsUpdateRequest"
            },
            "TransitionRequest": {
                "type": "object",
                "properties": {
                    "action": {
                        "$ref": "#/components/schemas/WorkflowAction"
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 2000
                    },
                    "assignee": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "desk": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "deadline": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "instructions": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 10000
                    },
                    "relevance": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "minimum": 1,
                        "maximum": 5
                    },
                    "notes": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 10000
                    },
                    "rejection_reason": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "merge_into": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "scheduled_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "priority": {
                        "$ref": "#/components/schemas/StoryPriority"
                    },
                    "priority_reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    },
                    "content": {
                        "type": "object",
                        "properties": {
                            "content_type": {
                                "type": "string"
                            },
                            "language": {
                                "type": "string",
                                "enum": [
                                    "ne",
                                    "en"
                                ]
                            },
                            "translation_group_uid": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "headline": {
                                "type": "string"
                            },
                            "short_headline": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "subheadline": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "summary": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "key_points": {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "maxLength": 2000
                                },
                                "maxItems": 20
                            },
                            "body_html": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "maxLength": 1000000
                            },
                            "body_blocks": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "type": {
                                            "$ref": "#/components/schemas/BodyBlockType"
                                        },
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            },
                                            "minItems": 1
                                        }
                                    },
                                    "required": [
                                        "type",
                                        "data"
                                    ]
                                },
                                "maxItems": 1000
                            },
                            "categories": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                },
                                "minItems": 1,
                                "maxItems": 20,
                                "uniqueItems": true
                            },
                            "primary_category": {
                                "type": "string"
                            },
                            "locations": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "province": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "district": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "local_level": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "ward": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ],
                                            "minimum": 1,
                                            "maximum": 35
                                        }
                                    }
                                },
                                "minItems": 1,
                                "maxItems": 100
                            },
                            "authors": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "user": {
                                            "type": "string"
                                        },
                                        "role": {
                                            "$ref": "#/components/schemas/StoryAuthorRole"
                                        },
                                        "position": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 1000
                                        }
                                    },
                                    "required": [
                                        "user",
                                        "role"
                                    ]
                                },
                                "minItems": 1,
                                "maxItems": 50
                            },
                            "media": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "asset": {
                                            "type": "string"
                                        },
                                        "position": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 1000
                                        },
                                        "caption_override": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "asset"
                                    ]
                                },
                                "maxItems": 100,
                                "uniqueItems": true
                            },
                            "featured_asset": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "desk": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "slug": {
                                "type": "string",
                                "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                                "maxLength": 200
                            },
                            "flags": {
                                "type": "array",
                                "items": {
                                    "type": "boolean"
                                }
                            },
                            "seo": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "embargo_until": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "scheduled_at": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "sources": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "type": {
                                            "type": "string",
                                            "enum": [
                                                "person",
                                                "document",
                                                "link"
                                            ]
                                        },
                                        "name": {
                                            "type": "string",
                                            "maxLength": 255
                                        },
                                        "url": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "uri",
                                            "maxLength": 1000
                                        },
                                        "notes": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "maxLength": 10000
                                        },
                                        "confidential": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "type",
                                        "name"
                                    ]
                                },
                                "maxItems": 50
                            },
                            "reason": {
                                "type": "string",
                                "maxLength": 1000
                            },
                            "workflow_template": {
                                "type": "string"
                            },
                            "tags": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                },
                                "maxItems": 100,
                                "uniqueItems": true
                            },
                            "topics": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                },
                                "maxItems": 100,
                                "uniqueItems": true
                            },
                            "entities": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                },
                                "maxItems": 100,
                                "uniqueItems": true
                            }
                        }
                    }
                },
                "required": [
                    "action",
                    "content"
                ],
                "title": "TransitionRequest"
            },
            "TwoFactorChallengeRequest": {
                "type": "object",
                "description": "Second login step for TOTP-enrolled users.",
                "properties": {
                    "challenge_token": {
                        "type": "string",
                        "description": "challenge_token from the login response.",
                        "minLength": 64,
                        "maxLength": 64
                    },
                    "code": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "pattern": "^\\d{6}$",
                        "examples": [
                            "123456"
                        ]
                    },
                    "recovery_code": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "ABCDE-12345"
                        ],
                        "maxLength": 20
                    },
                    "device_id": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Stable app-generated device id (also accepted as X-Device-Id header).",
                        "examples": [
                            "6f1c2a9e-4b7d-4e55-9a3c-2d0f8b1e7a11"
                        ],
                        "maxLength": 191
                    },
                    "device_name": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "Pixel 8"
                        ],
                        "maxLength": 100
                    }
                },
                "required": [
                    "challenge_token"
                ],
                "title": "TwoFactorChallengeRequest"
            },
            "TwoFactorCodeRequest": {
                "type": "object",
                "description": "A 6-digit authenticator code.",
                "properties": {
                    "code": {
                        "type": "string",
                        "pattern": "^\\d{6}$",
                        "examples": [
                            "123456"
                        ]
                    }
                },
                "required": [
                    "code"
                ],
                "title": "TwoFactorCodeRequest"
            },
            "TwoFactorResendRequest": {
                "type": "object",
                "description": "Resend the e-mailed login code for a pending challenge.",
                "properties": {
                    "challenge_token": {
                        "type": "string",
                        "description": "challenge_token from the login response.",
                        "minLength": 64,
                        "maxLength": 64
                    }
                },
                "required": [
                    "challenge_token"
                ],
                "title": "TwoFactorResendRequest"
            },
            "TwoFactorSetupResource": {
                "type": "object",
                "properties": {
                    "secret": {
                        "type": "string",
                        "examples": [
                            "JBSWY3DPEHPK3PXPJBSWY3DPEHPK3PXP"
                        ]
                    },
                    "otpauth_url": {
                        "type": "string",
                        "examples": [
                            "otpauth://totp/Paschim%20Today:editor%40paschimtoday.com?secret=JBSW...&issuer=Paschim%20Today"
                        ]
                    }
                },
                "required": [
                    "secret",
                    "otpauth_url"
                ],
                "title": "TwoFactorSetupResource"
            },
            "UpdateAdZoneRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "sizes": {
                        "type": "array",
                        "items": {
                            "type": "string",
                            "pattern": "^(\\d+x\\d+|native|fluid)$"
                        },
                        "minItems": 1
                    },
                    "device": {
                        "type": "string",
                        "enum": [
                            "all",
                            "desktop",
                            "mobile"
                        ]
                    },
                    "max_ads": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 10
                    },
                    "is_active": {
                        "type": "boolean"
                    }
                },
                "title": "UpdateAdZoneRequest"
            },
            "UpdateAlertRuleRequest": {
                "type": "object",
                "description": "Change an alert rule (thresholds, recipients, cooldown, on/off).",
                "properties": {
                    "params": {
                        "type": "array",
                        "description": "Only keys the rule already has are kept, e.g. {\"min_views\": 3000}.",
                        "items": {
                            "type": [
                                "string",
                                "null"
                            ]
                        }
                    },
                    "recipient_roles": {
                        "type": "array",
                        "description": "Role names that receive the alert. @example [\"system-admin\"]",
                        "items": {
                            "type": "string"
                        },
                        "minItems": 1
                    },
                    "cooldown_minutes": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 10080
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 500
                    }
                },
                "title": "UpdateAlertRuleRequest"
            },
            "UpdateDeskRequest": {
                "type": "object",
                "description": "Update a desk.",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "slug": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
                        "maxLength": 100
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "national",
                            "district",
                            "beat",
                            "multimedia"
                        ]
                    },
                    "district": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "head": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "is_active": {
                        "type": "boolean"
                    }
                },
                "title": "UpdateDeskRequest"
            },
            "UpdateDeviceRequest": {
                "type": "object",
                "description": "Rename or (un)trust one of your devices.",
                "properties": {
                    "name": {
                        "type": "string",
                        "examples": [
                            "Office laptop"
                        ],
                        "minLength": 1,
                        "maxLength": 100
                    },
                    "trusted": {
                        "type": "boolean",
                        "examples": [
                            true
                        ]
                    }
                },
                "title": "UpdateDeviceRequest"
            },
            "UpdateEditionRequest": {
                "type": "object",
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "download_rule": {
                        "type": "string",
                        "enum": [
                            "public",
                            "registered",
                            "members"
                        ]
                    },
                    "is_published": {
                        "type": "boolean"
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "title": "UpdateEditionRequest"
            },
            "UpdateMediaRequest": {
                "type": "object",
                "properties": {
                    "title": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "caption": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "alt": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "credit": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 255
                    },
                    "licence": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 100
                    },
                    "folder": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "tags": {
                        "type": "array",
                        "items": {
                            "type": "string",
                            "maxLength": 100
                        },
                        "maxItems": 100,
                        "uniqueItems": true
                    },
                    "focal_point": {
                        "type": "object",
                        "properties": {
                            "x": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 1
                            },
                            "y": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 1
                            }
                        }
                    }
                },
                "title": "UpdateMediaRequest"
            },
            "UpdateModuleRequest": {
                "type": "object",
                "description": "Switch a module on/off or change its surfaces, audience, schedule or sub-flags.",
                "properties": {
                    "enabled": {
                        "type": "boolean"
                    },
                    "surfaces": {
                        "type": "array",
                        "items": {
                            "type": "string",
                            "enum": [
                                "web",
                                "android",
                                "ios",
                                "cms",
                                "api"
                            ],
                            "examples": [
                                "web"
                            ]
                        },
                        "uniqueItems": true
                    },
                    "audience": {
                        "type": "object",
                        "properties": {
                            "type": {
                                "type": "string",
                                "enum": [
                                    "all",
                                    "logged_in",
                                    "beta",
                                    "districts",
                                    "percent"
                                ],
                                "examples": [
                                    "percent"
                                ]
                            },
                            "users": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "districts": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "percent": {
                                "type": "integer",
                                "examples": [
                                    25
                                ],
                                "minimum": 0,
                                "maximum": 100
                            }
                        }
                    },
                    "settings": {
                        "type": "array",
                        "description": "Sub-feature flags (merged), e.g. {\"pre_moderation\": true}",
                        "items": {
                            "type": "string"
                        }
                    },
                    "enabled_from": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "enabled_until": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "cascade": {
                        "type": "boolean",
                        "description": "Also switch off dependants when disabling."
                    }
                },
                "title": "UpdateModuleRequest"
            },
            "UpdateNotificationPreferencesRequest": {
                "type": "object",
                "description": "Per-event channel switches, quiet hours (Asia/Kathmandu) and the daily digest.",
                "properties": {
                    "preferences": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "event": {
                                    "type": "string",
                                    "enum": [
                                        "story_submitted",
                                        "story_assigned",
                                        "story_returned",
                                        "story_rejected",
                                        "story_published",
                                        "verification_requested",
                                        "changes_needed",
                                        "priority_changed",
                                        "sla_warning",
                                        "sla_breach",
                                        "escalated",
                                        "mention",
                                        "lock_handover",
                                        "security_alert",
                                        "admin_digest",
                                        "analytics_alert",
                                        "accuracy_flagged",
                                        "appeal_decided"
                                    ],
                                    "examples": [
                                        "story_submitted"
                                    ]
                                },
                                "channel": {
                                    "type": "string",
                                    "enum": [
                                        "mail",
                                        "sms",
                                        "push",
                                        "broadcast"
                                    ],
                                    "examples": [
                                        "sms"
                                    ]
                                },
                                "enabled": {
                                    "type": "boolean"
                                }
                            },
                            "required": [
                                "event",
                                "channel",
                                "enabled"
                            ]
                        },
                        "maxItems": 100
                    },
                    "quiet_hours": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "description": "P0 alerts ignore quiet hours.",
                        "properties": {
                            "start": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "examples": [
                                    "22:00"
                                ]
                            },
                            "end": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "examples": [
                                    "06:00"
                                ]
                            }
                        }
                    },
                    "daily_digest": {
                        "type": "boolean"
                    }
                },
                "title": "UpdateNotificationPreferencesRequest"
            },
            "UpdateProfileRequest": {
                "type": "object",
                "description": "Updates the signed-in user's own profile.",
                "properties": {
                    "name": {
                        "type": "string",
                        "examples": [
                            {
                                "ne": "\u0938\u0940\u0924\u093e \u092d\u091f\u094d\u091f",
                                "en": "Sita Bhatta"
                            }
                        ]
                    },
                    "username": {
                        "type": "string",
                        "pattern": "^[a-z0-9._]+$",
                        "examples": [
                            "sita.bhatta"
                        ],
                        "minLength": 3,
                        "maxLength": 50
                    },
                    "designation": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            {
                                "ne": "\u0938\u0902\u0935\u093e\u0926\u0926\u093e\u0924\u093e",
                                "en": "Correspondent"
                            }
                        ]
                    },
                    "bio": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "preferred_locale": {
                        "type": "string",
                        "enum": [
                            "ne",
                            "en"
                        ],
                        "examples": [
                            "ne"
                        ]
                    }
                },
                "title": "UpdateProfileRequest"
            },
            "UpdateRoleRequest": {
                "type": "object",
                "description": "Update role metadata (system roles keep their name).",
                "properties": {
                    "name": {
                        "type": "string",
                        "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
                        "minLength": 3,
                        "maxLength": 64
                    },
                    "label": {
                        "type": "string"
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "requires_2fa": {
                        "type": "boolean"
                    },
                    "default_scope": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "category",
                            "province",
                            "district",
                            "local_level",
                            "desk",
                            "content_type",
                            null
                        ]
                    }
                },
                "title": "UpdateRoleRequest"
            },
            "UpdateSettingsRequest": {
                "type": "object",
                "properties": {
                    "values": {
                        "type": "array",
                        "description": "key => new value, e.g. {\"contact.phone\": \"+977-91-000000\"}. Keys must exist.",
                        "items": {
                            "type": "string"
                        },
                        "minItems": 1,
                        "maxItems": 100
                    },
                    "reason": {
                        "type": "string",
                        "maxLength": 1000
                    }
                },
                "required": [
                    "values",
                    "reason"
                ],
                "title": "UpdateSettingsRequest"
            },
            "UpdateUserRequest": {
                "type": "object",
                "description": "Update a user. Changing the password signs the user out everywhere.",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "username": {
                        "type": "string",
                        "pattern": "^[a-z0-9._]+$",
                        "minLength": 3,
                        "maxLength": 50
                    },
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "email",
                        "maxLength": 191
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "password": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "staff",
                            "contributor",
                            "reader"
                        ]
                    },
                    "role": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "preferred_locale": {
                        "type": "string",
                        "enum": [
                            "ne",
                            "en"
                        ]
                    },
                    "designation": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "bio": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "is_verified_reporter": {
                        "type": "boolean"
                    },
                    "press_card_no": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 50
                    },
                    "home_province_id": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "minimum": 1
                    },
                    "home_district_id": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "minimum": 1
                    },
                    "home_local_level_id": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "minimum": 1
                    }
                },
                "title": "UpdateUserRequest"
            },
            "UpdateWeightsRequest": {
                "type": "object",
                "description": "Credibility weights (percent, must add up to 100).",
                "properties": {
                    "weights": {
                        "type": "object",
                        "examples": [
                            {
                                "accuracy": 35,
                                "relevance": 20,
                                "acceptance": 15,
                                "edit_intensity": 10,
                                "timeliness": 10,
                                "impact": 10
                            }
                        ],
                        "properties": {
                            "accuracy": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                            },
                            "relevance": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                            },
                            "acceptance": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                            },
                            "edit_intensity": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                            },
                            "timeliness": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                            },
                            "impact": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                            }
                        }
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 500
                    }
                },
                "required": [
                    "weights"
                ],
                "title": "UpdateWeightsRequest"
            },
            "UploadEditionRequest": {
                "type": "object",
                "description": "Upload an e-paper PDF (multipart).",
                "properties": {
                    "file": {
                        "type": "string",
                        "format": "binary",
                        "contentMediaType": "application/octet-stream",
                        "description": "Maximum file size: 102400 kilobytes."
                    },
                    "edition_date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "edition_type": {
                        "type": "string",
                        "enum": [
                            "daily",
                            "special"
                        ]
                    },
                    "title": {
                        "type": "string"
                    },
                    "download_rule": {
                        "type": "string",
                        "enum": [
                            "public",
                            "registered",
                            "members"
                        ]
                    },
                    "is_published": {
                        "type": "boolean"
                    },
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 1000
                    }
                },
                "required": [
                    "file",
                    "edition_date"
                ],
                "title": "UploadEditionRequest"
            },
            "UploadSubtitleRequest": {
                "type": "object",
                "description": "WebVTT subtitle (multipart).",
                "properties": {
                    "file": {
                        "type": "string",
                        "format": "binary",
                        "contentMediaType": "application/octet-stream",
                        "description": "Maximum file size: 2048 kilobytes."
                    },
                    "language": {
                        "type": "string",
                        "enum": [
                            "ne",
                            "en"
                        ]
                    },
                    "label": {
                        "type": "string",
                        "maxLength": 60
                    }
                },
                "required": [
                    "file",
                    "language",
                    "label"
                ],
                "title": "UploadSubtitleRequest"
            },
            "UpsertHoroscopeRequest": {
                "type": "object",
                "description": "One period's readings (date BS or AD; the period containing it is used).",
                "properties": {
                    "period": {
                        "type": "string",
                        "enum": [
                            "daily",
                            "weekly",
                            "monthly",
                            "yearly"
                        ]
                    },
                    "date": {
                        "type": "string",
                        "maxLength": 10
                    },
                    "entries": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "sign": {
                                    "type": "string"
                                },
                                "body": {
                                    "type": "string"
                                },
                                "lucky_number": {
                                    "type": [
                                        "string",
                                        "null"
                                    ],
                                    "maxLength": 20
                                },
                                "lucky_color": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                }
                            },
                            "required": [
                                "sign",
                                "body"
                            ]
                        },
                        "minItems": 1,
                        "maxItems": 12
                    }
                },
                "required": [
                    "period",
                    "entries"
                ],
                "title": "UpsertHoroscopeRequest"
            },
            "UserActionRequest": {
                "type": "object",
                "description": "Optional reason recorded in the audit log.",
                "properties": {
                    "reason": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "examples": [
                            "Repeated policy violations"
                        ],
                        "maxLength": 1000
                    }
                },
                "title": "UserActionRequest"
            },
            "UserResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string",
                        "examples": [
                            "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                        ]
                    },
                    "name": {
                        "type": "array",
                        "examples": [
                            {
                                "ne": "\u0938\u0940\u0924\u093e \u092d\u091f\u094d\u091f",
                                "en": "Sita Bhatta"
                            }
                        ],
                        "items": {}
                    },
                    "username": {
                        "type": "string",
                        "examples": [
                            "sita.bhatta"
                        ]
                    },
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "E.164 for the user and admins, masked otherwise."
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "staff",
                            "contributor",
                            "reader"
                        ],
                        "examples": [
                            "reader"
                        ]
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "pending",
                            "active",
                            "suspended",
                            "deleted"
                        ],
                        "examples": [
                            "active"
                        ]
                    },
                    "preferred_locale": {
                        "type": "string",
                        "examples": [
                            "ne"
                        ]
                    },
                    "designation": {
                        "type": "array",
                        "items": {}
                    },
                    "bio": {
                        "type": "array",
                        "items": {}
                    },
                    "is_verified_reporter": {
                        "type": "boolean"
                    },
                    "press_card_no": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "avatar_url": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "roles": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "email_verified": {
                        "type": "boolean"
                    },
                    "phone_verified": {
                        "type": "boolean"
                    },
                    "two_factor_enabled": {
                        "type": "boolean"
                    },
                    "last_login_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "name",
                    "username",
                    "phone",
                    "type",
                    "status",
                    "preferred_locale",
                    "designation",
                    "bio",
                    "is_verified_reporter",
                    "avatar_url",
                    "email_verified",
                    "phone_verified",
                    "created_at"
                ],
                "title": "UserResource"
            },
            "VideoLiveStatusRequest": {
                "type": "object",
                "properties": {
                    "live_status": {
                        "type": "string",
                        "enum": [
                            "scheduled",
                            "live",
                            "ended"
                        ]
                    }
                },
                "required": [
                    "live_status"
                ],
                "title": "VideoLiveStatusRequest"
            },
            "VideoPlaylistResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "slug": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "videos": {
                        "type": "array",
                        "items": {}
                    }
                },
                "required": [
                    "uid",
                    "slug",
                    "title",
                    "videos"
                ],
                "title": "VideoPlaylistResource"
            },
            "VideoResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "slug": {
                        "type": "string"
                    },
                    "kind": {
                        "type": "string",
                        "description": "video | short | live"
                    },
                    "source": {
                        "type": "string",
                        "description": "upload | youtube | hls"
                    },
                    "title": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "aspect": {
                        "type": "string",
                        "description": "16:9, or 9:16 for shorts"
                    },
                    "duration_seconds": {
                        "type": "integer"
                    },
                    "playback": {
                        "type": "object",
                        "properties": {
                            "hls": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "youtube_id": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "embed_url": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            }
                        },
                        "required": [
                            "hls",
                            "youtube_id",
                            "embed_url"
                        ]
                    },
                    "thumbnail": {
                        "anyOf": [
                            {
                                "type": "object",
                                "properties": {
                                    "uid": {
                                        "type": "string"
                                    },
                                    "src": {},
                                    "srcset": {
                                        "type": "array",
                                        "items": {}
                                    },
                                    "sizes": {
                                        "type": "string",
                                        "const": "(max-width: 768px) 100vw, 768px"
                                    },
                                    "width": {},
                                    "height": {},
                                    "alt": {
                                        "type": "string"
                                    },
                                    "caption": {
                                        "type": "string"
                                    },
                                    "credit": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "og": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "uid",
                                    "src",
                                    "srcset",
                                    "sizes",
                                    "width",
                                    "height",
                                    "alt",
                                    "caption",
                                    "credit",
                                    "og"
                                ]
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "src": {},
                                    "alt": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "src",
                                    "alt"
                                ]
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "src": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "src"
                                ]
                            }
                        ]
                    },
                    "live": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "status": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "scheduled_start_at": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "iso": {
                                        "type": "string"
                                    },
                                    "bs": {
                                        "type": [
                                            "object",
                                            "null"
                                        ],
                                        "properties": {
                                            "year": {
                                                "type": "integer"
                                            },
                                            "month": {
                                                "type": "integer"
                                            },
                                            "day": {
                                                "type": "integer"
                                            },
                                            "formatted_ne": {
                                                "type": "string"
                                            },
                                            "formatted_en": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "year",
                                            "month",
                                            "day",
                                            "formatted_ne",
                                            "formatted_en"
                                        ]
                                    }
                                },
                                "required": [
                                    "iso",
                                    "bs"
                                ]
                            }
                        },
                        "required": [
                            "status",
                            "scheduled_start_at"
                        ]
                    },
                    "series": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "uid": {
                                "type": "string"
                            },
                            "slug": {
                                "type": "string"
                            },
                            "title": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "uid",
                            "slug",
                            "title"
                        ]
                    },
                    "season": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "number": {
                                "type": "integer"
                            }
                        },
                        "required": [
                            "number"
                        ]
                    },
                    "episode_number": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "category": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "slug": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "slug",
                            "name"
                        ]
                    },
                    "chapters": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "starts_at_seconds": {
                                    "type": "integer"
                                },
                                "title": {
                                    "type": "string"
                                }
                            },
                            "required": [
                                "starts_at_seconds",
                                "title"
                            ]
                        }
                    },
                    "subtitles": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "language": {
                                    "type": "string"
                                },
                                "label": {
                                    "type": "string"
                                },
                                "url": {
                                    "type": "string"
                                }
                            },
                            "required": [
                                "language",
                                "label",
                                "url"
                            ]
                        }
                    },
                    "is_featured": {
                        "type": "boolean"
                    },
                    "status": {
                        "type": "string"
                    },
                    "published_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "slug",
                    "kind",
                    "source",
                    "title",
                    "description",
                    "aspect",
                    "duration_seconds",
                    "playback",
                    "thumbnail",
                    "live",
                    "series",
                    "season",
                    "episode_number",
                    "category",
                    "is_featured",
                    "published_at"
                ],
                "title": "VideoResource"
            },
            "VideoSeriesResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "slug": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "cover": {
                        "anyOf": [
                            {
                                "type": "object",
                                "properties": {
                                    "uid": {
                                        "type": "string"
                                    },
                                    "src": {},
                                    "srcset": {
                                        "type": "array",
                                        "items": {}
                                    },
                                    "sizes": {
                                        "type": "string",
                                        "const": "(max-width: 768px) 100vw, 768px"
                                    },
                                    "width": {},
                                    "height": {},
                                    "alt": {
                                        "type": "string"
                                    },
                                    "caption": {
                                        "type": "string"
                                    },
                                    "credit": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "og": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "uid",
                                    "src",
                                    "srcset",
                                    "sizes",
                                    "width",
                                    "height",
                                    "alt",
                                    "caption",
                                    "credit",
                                    "og"
                                ]
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "src": {},
                                    "alt": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "src",
                                    "alt"
                                ]
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "seasons": {
                        "type": "string"
                    },
                    "episodes_without_season": {
                        "type": "array",
                        "items": {}
                    },
                    "is_active": {
                        "type": "string"
                    }
                },
                "required": [
                    "uid",
                    "slug",
                    "title",
                    "description",
                    "cover"
                ],
                "title": "VideoSeriesResource"
            },
            "WardResource": {
                "type": "object",
                "properties": {
                    "number": {
                        "type": "integer",
                        "examples": [
                            5
                        ]
                    },
                    "name": {
                        "type": "array",
                        "examples": [
                            {
                                "ne": "\u0935\u0921\u093e \u0928\u0902. \u096b",
                                "en": "Ward 5"
                            }
                        ],
                        "items": {}
                    }
                },
                "required": [
                    "number",
                    "name"
                ],
                "title": "WardResource"
            },
            "WatchResource": {
                "type": "object",
                "properties": {
                    "featured": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    },
                    "watch": {
                        "type": "array",
                        "items": {}
                    },
                    "shorts": {
                        "type": "array",
                        "items": {}
                    },
                    "shows": {
                        "type": "array",
                        "items": {}
                    },
                    "podcasts": {
                        "type": "array",
                        "items": {}
                    },
                    "live": {
                        "type": "array",
                        "items": {}
                    }
                },
                "required": [
                    "featured",
                    "watch",
                    "shorts",
                    "shows",
                    "podcasts",
                    "live"
                ],
                "title": "WatchResource"
            },
            "WeatherQueryRequest": {
                "type": "object",
                "properties": {
                    "district": {
                        "type": "string"
                    }
                },
                "title": "WeatherQueryRequest"
            },
            "WeatherResource": {
                "type": "object",
                "additionalProperties": {},
                "title": "WeatherResource"
            },
            "WorkflowAction": {
                "type": "string",
                "enum": [
                    "submit",
                    "auto_queue",
                    "publish_as_is",
                    "edit_and_publish",
                    "schedule",
                    "assign_editor",
                    "return_to_reporter",
                    "reject",
                    "merge",
                    "hold",
                    "release",
                    "send_for_verification",
                    "verify_approve",
                    "verify_changes_needed",
                    "editor_publish",
                    "update_live",
                    "correct",
                    "unpublish",
                    "takedown",
                    "archive",
                    "republish"
                ],
                "title": "WorkflowAction"
            },
            "WorkflowScope": {
                "type": "string",
                "enum": [
                    "global",
                    "category",
                    "desk",
                    "user"
                ],
                "title": "WorkflowScope"
            },
            "WorkflowSettingKey": {
                "type": "string",
                "enum": [
                    "editor_can_publish",
                    "reporter_lock_on_submit",
                    "admin_verification",
                    "auto_assign",
                    "fasttrack_p0",
                    "anti_starvation",
                    "escalation_chain"
                ],
                "title": "WorkflowSettingKey"
            },
            "WorkflowSettingResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "key": {
                        "type": "string",
                        "enum": [
                            "editor_can_publish",
                            "reporter_lock_on_submit",
                            "admin_verification",
                            "auto_assign",
                            "fasttrack_p0",
                            "anti_starvation",
                            "escalation_chain"
                        ]
                    },
                    "scope_type": {
                        "type": "string",
                        "enum": [
                            "global",
                            "category",
                            "desk",
                            "user"
                        ]
                    },
                    "scope": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "value": {},
                    "is_active": {
                        "type": "boolean"
                    },
                    "version": {
                        "type": "integer"
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "updated_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "key",
                    "scope_type",
                    "scope",
                    "value",
                    "is_active",
                    "version",
                    "created_at",
                    "updated_at"
                ],
                "title": "WorkflowSettingResource"
            },
            "WorkflowSettingVersionResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "version": {
                        "type": "integer"
                    },
                    "value": {},
                    "is_active": {
                        "type": "boolean"
                    },
                    "reason": {
                        "type": "string"
                    },
                    "created_by": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "version",
                    "value",
                    "is_active",
                    "reason",
                    "created_at"
                ],
                "title": "WorkflowSettingVersionResource"
            },
            "WorkflowSettingsResource": {
                "type": "object",
                "properties": {
                    "effective": {
                        "type": "string"
                    },
                    "overrides": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/WorkflowSettingResource"
                        }
                    }
                },
                "required": [
                    "effective",
                    "overrides"
                ],
                "title": "WorkflowSettingsResource"
            },
            "WorkflowStatusResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "key": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "color": {
                        "type": "string"
                    },
                    "is_initial": {
                        "type": "boolean"
                    },
                    "is_final": {
                        "type": "boolean"
                    },
                    "is_public": {
                        "type": "boolean"
                    },
                    "locks_reporter": {
                        "type": "boolean"
                    },
                    "sort": {
                        "type": "integer"
                    }
                },
                "required": [
                    "uid",
                    "key",
                    "name",
                    "color",
                    "is_initial",
                    "is_final",
                    "is_public",
                    "locks_reporter",
                    "sort"
                ],
                "title": "WorkflowStatusResource"
            },
            "WorkflowTemplateResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "key": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "content_types": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "defaults": {
                        "type": "string"
                    },
                    "is_default": {
                        "type": "boolean"
                    },
                    "version": {
                        "type": "integer"
                    },
                    "current_version": {
                        "anyOf": [
                            {
                                "$ref": "#/components/schemas/WorkflowVersionResource"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "updated_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    }
                },
                "required": [
                    "uid",
                    "key",
                    "name",
                    "content_types",
                    "defaults",
                    "is_default",
                    "version",
                    "created_at",
                    "updated_at"
                ],
                "title": "WorkflowTemplateResource"
            },
            "WorkflowTransitionResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "from": {
                        "type": "string"
                    },
                    "to": {
                        "type": "string"
                    },
                    "action": {
                        "type": "string",
                        "enum": [
                            "submit",
                            "auto_queue",
                            "publish_as_is",
                            "edit_and_publish",
                            "schedule",
                            "assign_editor",
                            "return_to_reporter",
                            "reject",
                            "merge",
                            "hold",
                            "release",
                            "send_for_verification",
                            "verify_approve",
                            "verify_changes_needed",
                            "editor_publish",
                            "update_live",
                            "correct",
                            "unpublish",
                            "takedown",
                            "archive",
                            "republish"
                        ]
                    },
                    "permission": {
                        "type": "string"
                    },
                    "requires_reason": {
                        "type": "boolean"
                    },
                    "requires_assignee": {
                        "type": "boolean"
                    },
                    "conditions": {
                        "type": "string"
                    }
                },
                "required": [
                    "uid",
                    "from",
                    "to",
                    "action",
                    "permission",
                    "requires_reason",
                    "requires_assignee",
                    "conditions"
                ],
                "title": "WorkflowTransitionResource"
            },
            "WorkflowVersionResource": {
                "type": "object",
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "version": {
                        "type": "integer"
                    },
                    "name": {
                        "type": "string"
                    },
                    "content_types": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "defaults": {
                        "type": "string"
                    },
                    "is_default": {
                        "type": "boolean"
                    },
                    "reason": {
                        "type": "string"
                    },
                    "created_at": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "properties": {
                            "iso": {
                                "type": "string"
                            },
                            "bs": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "year": {
                                        "type": "integer"
                                    },
                                    "month": {
                                        "type": "integer"
                                    },
                                    "day": {
                                        "type": "integer"
                                    },
                                    "formatted_ne": {
                                        "type": "string"
                                    },
                                    "formatted_en": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "year",
                                    "month",
                                    "day",
                                    "formatted_ne",
                                    "formatted_en"
                                ]
                            }
                        },
                        "required": [
                            "iso",
                            "bs"
                        ]
                    },
                    "created_by": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "statuses": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/WorkflowStatusResource"
                        }
                    },
                    "transitions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/WorkflowTransitionResource"
                        }
                    }
                },
                "required": [
                    "uid",
                    "version",
                    "name",
                    "content_types",
                    "defaults",
                    "is_default",
                    "reason",
                    "created_at"
                ],
                "title": "WorkflowVersionResource"
            }
        },
        "responses": {
            "ValidationException": {
                "description": "Validation error",
                "content": {
                    "application/json": {
                        "schema": {
                            "type": "object",
                            "properties": {
                                "error": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "string",
                                            "description": "Stable snake_case error code.",
                                            "examples": [
                                                "validation_failed"
                                            ]
                                        },
                                        "message": {
                                            "type": "string",
                                            "description": "Translated message (ne / en)."
                                        },
                                        "details": {
                                            "type": "object",
                                            "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                        },
                                        "request_id": {
                                            "type": "string",
                                            "examples": [
                                                "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "code",
                                        "message",
                                        "details",
                                        "request_id"
                                    ]
                                }
                            },
                            "required": [
                                "error"
                            ]
                        }
                    }
                }
            },
            "AuthenticationException": {
                "description": "Unauthenticated",
                "content": {
                    "application/json": {
                        "schema": {
                            "type": "object",
                            "properties": {
                                "error": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "string",
                                            "description": "Stable snake_case error code.",
                                            "examples": [
                                                "unauthenticated"
                                            ]
                                        },
                                        "message": {
                                            "type": "string",
                                            "description": "Translated message (ne / en)."
                                        },
                                        "details": {
                                            "type": "object",
                                            "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                        },
                                        "request_id": {
                                            "type": "string",
                                            "examples": [
                                                "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "code",
                                        "message",
                                        "details",
                                        "request_id"
                                    ]
                                }
                            },
                            "required": [
                                "error"
                            ]
                        }
                    }
                }
            },
            "ModelNotFoundException": {
                "description": "Not found",
                "content": {
                    "application/json": {
                        "schema": {
                            "type": "object",
                            "properties": {
                                "error": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "string",
                                            "description": "Stable snake_case error code.",
                                            "examples": [
                                                "not_found"
                                            ]
                                        },
                                        "message": {
                                            "type": "string",
                                            "description": "Translated message (ne / en)."
                                        },
                                        "details": {
                                            "type": "object",
                                            "description": "Extra data, e.g. {\"fields\": {...}} for validation_failed or {\"retry_after\": 60}."
                                        },
                                        "request_id": {
                                            "type": "string",
                                            "examples": [
                                                "01JDQ8Z6X3B7M2K9V4N5P6R7S8"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "code",
                                        "message",
                                        "details",
                                        "request_id"
                                    ]
                                }
                            },
                            "required": [
                                "error"
                            ]
                        }
                    }
                }
            }
        }
    }
}