{
    "openapi": "3.1.0",
    "info": {
        "title": "Nursing License Boards Public API",
        "version": "1.0.0",
        "description": "Read-only source-reviewed U.S. nursing licensure data. Informational only; confirm current requirements with the responsible authority."
    },
    "servers": [
        {
            "url": "https://nursinglicenseboards.com/api/v1"
        }
    ],
    "paths": {
        "/states.json": {
            "get": {
                "summary": "List published jurisdiction records",
                "responses": {
                    "200": {
                        "description": "Published jurisdiction data"
                    }
                }
            }
        },
        "/states/{slug}.json": {
            "get": {
                "summary": "Get one jurisdiction record",
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Jurisdiction record"
                    },
                    "404": {
                        "description": "Not found"
                    }
                }
            }
        },
        "/answers/{slug}/{task}.json": {
            "get": {
                "summary": "Get a concise cited answer for one jurisdiction task",
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "task",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "license-lookup",
                                "renewal",
                                "continuing-education",
                                "endorsement",
                                "fees",
                                "board-contact"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Answer, authority, verification date and official source URLs"
                    },
                    "404": {
                        "description": "Not found"
                    }
                }
            }
        }
    }
}