{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/notepad-page/json-schema/notepad-page-open-api-document-schema.json",
  "title": "OpenApiDocument",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/notepad-page-openapi.json#/components/schemas/OpenApiDocument",
  "type": "object",
  "required": [
    "openapi",
    "info",
    "servers",
    "externalDocs",
    "tags",
    "paths",
    "components",
    "x-notepad-policy"
  ],
  "properties": {
    "openapi": {
      "type": "string",
      "const": "3.1.0"
    },
    "info": {
      "type": "object",
      "required": [
        "title",
        "version",
        "summary",
        "description"
      ],
      "properties": {
        "title": {
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "summary": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "servers": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "url",
          "description"
        ],
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          },
          "description": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "paths": {
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    },
    "components": {
      "type": "object",
      "additionalProperties": true
    },
    "x-notepad-policy": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "additionalProperties": false
}