{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/monit-rs/json-schema/monit-rs-open-apiimport-request-schema.json",
  "title": "OpenAPIImportRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/monit-rs-openapi.json#/components/schemas/OpenAPIImportRequest",
  "properties": {
    "spec_url": {
      "type": "string",
      "minLength": 5,
      "title": "Spec Url"
    },
    "base_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Base Url"
    },
    "interval_seconds": {
      "type": "integer",
      "maximum": 86400.0,
      "minimum": 30.0,
      "title": "Interval Seconds",
      "default": 900
    },
    "include_write_methods": {
      "type": "boolean",
      "title": "Include Write Methods",
      "default": false
    },
    "include_path_params": {
      "type": "boolean",
      "title": "Include Path Params",
      "default": false
    },
    "headers": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Headers"
    },
    "auth_config": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Auth Config"
    },
    "query_params": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Query Params"
    },
    "selected": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Selected"
    }
  },
  "type": "object",
  "required": [
    "spec_url"
  ]
}